Server crashing, might be relatedSolved
Good afternoon.

Yesterday, when i added the latest version of DTevent, i could not resist placing the speed of the bots running around. As you suggest from 0.0, you can make it into 25.0 makes them fast. However, setting it on 2.0 makes the bots flying like they are hoverboarding and it actually scared the living fudge out of me hehe. so eventually it would be good for Halloween themed for example. 

However......

The server doenst like it.. or I dont know what happened. The server randomly freezes, crashes and reboots itself. it happened 4 times today that the server crashed with the plugin active. Once deactivated, the server remains stable, people have been playing all night as nothing happened. Once back activated, it happened again.

So, i turned back the speed from the bots to its normal chill walk sessions, and users will have to wait again until the timer is gone. Everything seems to be going just fine now. ( if something would happen, i will update the post ofc )

Now, i dont know for sure if it could be related to DTevents as there won't be any logs for me to find out, running a server through a control panel works a bit different then having it manually run. The admins of the company where i host my game servers are also not able to find the issue due to the control panel its way of work. 

Do you know anything? or does anyone else know something about it? I'm running the latest oxide build. Or was it a issue with oxide and did Wulff a ninjafix? 
I've been wanting to make a thread like this since the latest update of DT, but I just wasn't sure if it was the plugin.  My server only crashes shortly after loading DT. I don't know if it's when the event ends and the boats despawn or what, because there is no clue in my logs to what happened.
Thanks for reporting this, I will limit the speed to prevent this from happening

@Covfefe Can you post your config for me?

Merged post

@knoepert 2.0 speed caused the server to crash? Or was it higher when this happened?

Merged post

@Covfefe The server crashes with those settings?

Merged post

@Covfefe The server crashes with those settings?

Merged post

Why are all my posts being merged after a new post? Thats not normal
nivex
Thanks for reporting this, I will limit the speed to prevent this from happening

@Covfefe Can you post your config for me?

Merged post

@knoepert 2.0 speed caused the server to crash? Or was it higher when this happened?
{
"Settings": {
"Permission Name": "dangeroustreasures.use",
"Event Chat Command": "dtevent",
"Distance Chat Command": "dtd",
"Draw Location On Screen With Distance Command": true,
"Event Console Command": "dtevent",
"Show X Z Coordinates": false
},
"Countdown": {
"Use Countdown Before Event Starts": false,
"Time In Seconds": [
120,
60,
30,
15
]
},
"Events": {
"Automated": true,
"Every Min Seconds": 3500.0,
"Every Max Seconds": 3600.0,
"Use Vending Map Marker": false,
"Use Explosion Map Marker": true,
"Marker Event Name": "Dangerous Treasure Chest",
"Max Manual Events": 10,
"Amount Of Items To Spawn": 7,
"Use Spheres": true,
"Amount Of Spheres": 5,
"Player Limit For Event": 1,
"Fire Aura Radius (Advanced Users Only)": 25.0,
"Auto Draw On New Event For Nearby Players": false,
"Auto Draw Minimum Distance": 0.0,
"Grant DDRAW temporarily to players": true,
"Grant Draw Time": 15.0,
"Time To Loot": 600.0
},
"Event Messages": {
"Show Barrage Message": false,
"Show Despawn Message": false,
"Show First Player Entered": true,
"Show First Player Opened": true,
"Show Opened Message": false,
"Show Prefix": true,
"Show Started Message": false
},
"Fireballs": {
"Enabled": true,
"Damage Per Second": 0.0,
"Lifetime Min": 30.0,
"Lifetime Max": 30.0,
"Radius": 1.0,
"Tick Rate": 1.0,
"Generation": 5.0,
"Water To Extinguish": 1,
"Spawn Every X Seconds": 5
},
"GUIAnnouncements": {
"Enabled": false,
"Text Color": "White",
"Banner Tint Color": "Grey",
"Maximum Distance": 300.0
},
"Lusty Map": {
"Enabled": false,
"Icon Name": "dtchest",
"Icon File": "http://i.imgur.com/XoEMTJj.png",
"Icon Rotation": 0.0
},
"Monuments": {
"Blacklisted": [
"Bandit Camp",
"Outpost"
],
"Auto Spawn At Monuments Only": true,
"Chance To Spawn At Monuments Instead": 1.0,
"Allow Treasure Loot Underground": false
},
"Newman Mode": {
"Protect Nakeds From Fire Aura": false,
"Protect Nakeds From Other Harm": false
},
"NPCs": {
"Enabled": true,
"Spawn Murderers": false,
"Spawn Scientists Only": true,
"Spawn Murderers And Scientists": false,
"Amount To Spawn": 10,
"Minimum Amount To Spawn": 10,
"Despawn Inventory On Death": false,
"Spawn Random Amount": false,
"Health For Murderers (100 min, 5000 max)": 150.0,
"Health For Scientists (100 min, 5000 max)": 200.0,
"Murderer Sprinting Speed (0 min, 25 max)": 2.5,
"Murderer Walking Speed (0 min, 25 max)": 1.5,
"Scientist Sprinting Speed (0 min, 25 max)": 1.0,
"Scientist Walking Speed (0 min, 25 max)": 0.0,
"Murderer Items": [
"metal.facemask",
"metal.plate.torso",
"pants",
"tactical.gloves",
"boots.frog",
"tshirt",
"machete"
],
"Scientist Items": [
"scientistsuit_heavy",
"lmg.m249"
],
"Murderer Kits": [
"murderer_kit_1",
"murderer_kit_2"
],
"Scientist Kits": [
"heavy"
],
"Blacklisted": [
"Bandit Camp",
"Outpost"
],
"Random Names": [
"Scientist @ Treasure Chest"
]
},
"Missile Launcher": {
"Acquire Time In Seconds": 10.0,
"Enabled": true,
"Damage Per Missile": 1.0,
"Detection Distance": 15.0,
"Life Time In Seconds": 1800.0,
"Ignore Flying Players": false,
"Spawn Every X Seconds": 5.0,
"Target Chest If No Player Target": true
},
"Ranked Ladder": {
"Award Top X Players On Wipe": 3,
"Enabled": true,
"Group Name": "treasurehunter",
"Permission Name": "dangeroustreasures.th"
},
"Rewards": {
"Economics Money": 0.0,
"ServerRewards Points": 0.0,
"Use Economics": false,
"Use ServerRewards": false
},
"Rocket Opener": {
"Enabled": true,
"Rockets": 10,
"Speed": 0.1,
"Use Fire Rockets": false
},
"Skins": {
"Use Random Skin": false,
"Preset Skin": 1426861332,
"Include Workshop Skins": true
},
"Treasure": {
"Loot": [
{
"shortname": "ammo.pistol",
"amount": 40,
"skin": 0,
"amountMin": 40
},
{
"shortname": "ammo.pistol.fire",
"amount": 40,
"skin": 0,
"amountMin": 40
},
{
"shortname": "ammo.pistol.hv",
"amount": 40,
"skin": 0,
"amountMin": 40
},
{
"shortname": "ammo.rifle",
"amount": 60,
"skin": 0,
"amountMin": 60
},
{
"shortname": "ammo.rifle.explosive",
"amount": 60,
"skin": 0,
"amountMin": 60
},
{
"shortname": "ammo.rifle.hv",
"amount": 60,
"skin": 0,
"amountMin": 60
},
{
"shortname": "ammo.rifle.incendiary",
"amount": 60,
"skin": 0,
"amountMin": 60
},
{
"shortname": "ammo.shotgun",
"amount": 24,
"skin": 0,
"amountMin": 24
},
{
"shortname": "ammo.shotgun.slug",
"amount": 40,
"skin": 0,
"amountMin": 40
},
{
"shortname": "explosive.timed",
"amount": 2,
"skin": 0,
"amountMin": 20
},
{
"shortname": "metal.refined",
"amount": 150,
"skin": 0,
"amountMin": 150
},
{
"shortname": "bucket.helmet",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "cctv.camera",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "coffeecan.helmet",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "explosive.timed",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "metal.facemask",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "metal.plate.torso",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "mining.quarry",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "pistol.m92",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "rifle.ak",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "rifle.bolt",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "rifle.lr300",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "smg.2",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "smg.mp5",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "smg.thompson",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "supply.signal",
"amount": 1,
"skin": 0,
"amountMin": 1
},
{
"shortname": "targeting.computer",
"amount": 1,
"skin": 0,
"amountMin": 1
}
],
"Minimum Percent Loss": 0.0,
"Percent Increase When Using Day Of Week Loot": false,
"Use Random Skins": false,
"Include Workshop Skins": false,
"Day Of Week Loot Monday": [],
"Day Of Week Loot Tuesday": [],
"Day Of Week Loot Wednesday": [],
"Day Of Week Loot Thursday": [],
"Day Of Week Loot Friday": [],
"Day Of Week Loot Saturday": [],
"Day Of Week Loot Sunday": [],
"Use Day Of Week Loot": false,
"Percent Increase On Monday": 0.0,
"Percent Increase On Tuesday": 0.0,
"Percent Increase On Wednesday": 0.0,
"Percent Increase On Thursday": 0.0,
"Percent Increase On Friday": 0.0,
"Percent Increase On Saturday": 0.0,
"Percent Increase On Sunday": 0.0
},
"TruePVE": {
"Allow Building Damage At Events": false,
"Allow PVP At Events": true,
"Allow PVP Server-Wide During Events": false
},
"Unlock Time": {
"Min Seconds": 1800.0,
"Max Seconds": 180.0,
"Unlock When Npcs Die": true,
"Require All Npcs Die Before Unlocking": true
},
"Unlooted Announcements": {
"Enabled": false,
"Notify Every X Minutes (Minimum 1)": 3.0
}
}
nivex


@Covfefe The server crashes with those settings?
Yes, I haven't loaded DT all day and my server hasn't crashed. It's the only thing I can pin point.
I'll just remove the ability to set their speed so this doesn't happen anymore.
* drinks hot cup of steamy coffee * Good morning.

i had it placed on 2.0 when they started hoverboarding. if I would spawn a Dt event for example in front of me.. like said.. uhm.. 100Meters for example and the bots would be hanging as Justin Bieber fans all around me. 

Once that removed and reset back to its basics, the plugin worked fine...ish

With plugin version 2.0.0, you had an NRE with on player death, the same error as in 2.0.1 https://pastebin.com/qgaKKrWp

not sure if this data could help out. If you have any questions, ask them and ill answer them when possible. 
Let me know if 2.0.5 fixes the NRE. The crash shouldn't happen anymore as I've disabled the settings for changing npc speed.
Fixed, the update did the trick.
Hey @knoepert have you crashed since? Even after the DT update I would get a crash every few to couple hours, so I turned it off for today (13 hours so far) and havent had a single crash. Went through the logs and it's still a mystery to me. I also turned off CraftQueueSaver just in case it was that (before update)
Its possible this is related to the SphereCollider. I distinctly remember it being an issue with its first implementation. I will revert my change to it

Merged post

Changes reverted in 2.0.6
morning.

no, after the fix I had no more crashes or errors inside the logs. But, if something would go sideways, i update my post ofc.
Locked automatically