Help please...
After update I tried to reload and get this issue:
Code:Unable to load DangerousTreasures. Timed out waiting for compilation Previous version of plugin failed to load: DangerousTreasures
DangerousTreasures
Moved
Total Downloads: 3,087 - First Release: May 20, 2017 - Last Update: Jul 20, 2018
- 5/5, 24 likes
-
-
-
My CFG
Code:{ "Countdown": { "Time In Seconds": [ "15" ], "Use Countdown Before Event Starts": true }, "Event Messages": { "Show Barrage Message": true, "Show Opened Message": true, "Show Prefix": true, "Show Started Message": true }, "Events": { "Amount Of Items To Spawn": 6, "Amount Of Spheres": 6, "Auto Draw Minimum Distance": 300.0, "Auto Draw On New Event For Nearby Players": false, "Automated": true, "Every Max Seconds": 5000.0, "Every Min Seconds": 4200.0, "Fire Aura Radius (Advanced Users Only)": 25.0, "Grant DDRAW temporarily to players": true, "Grant Draw Time": 10.0, "Max Manual Events": 2, "Player Limit For Event": 5, "Time To Loot": 1200.0, "Use Spheres": true }, "Fireballs": { "Damage Per Second": 10.0, "Enabled": true, "Generation": 5.0, "Lifetime Max": 6.0, "Lifetime Min": 3.0, "Radius": 1.0, "Spawn Every X Seconds": 5, "Tick Rate": 1.0 }, "Lusty Map": { "Enabled": true, "Icon File": "special", "Icon Name": "dtchest", "Icon Rotation": 0.0 }, "Missile Launcher": { "Acquire Time In Seconds": 10.0, "Detection Distance": 15.0, "Enabled": true, "Ignore Flying Players": true, "Life Time In Seconds": 60.0, "Spawn Every X Seconds": 15.0, "Target Chest If No Player Target": false }, "Newman Mode": { "Protect Nakeds From Fire Aura": false, "Protect Nakeds From Other Harm": false }, "Ranked Ladder": { "Award Top X Players On Wipe": 3, "Enabled": false, "Group Name": "treasurehunter", "Permission Name": "dangeroustreasures.th" }, "Rewards": { "Economics Money": 10.0, "ServerRewards Points": 10.0, "Use Economics": false, "Use ServerRewards": true }, "Rocket Opener": { "Enabled": true, "Rockets": 10, "Speed": 25.0, "Use Fire Rockets": true }, "Settings": { "Distance Chat Command": "dtd", "Event Chat Command": "dtevent", "Event Console Command": "dtevent", "Permission Name": "dangeroustreasures.use" }, "Skins": { "Include Workshop Skins": true, "Preset Skin": 0, "Use Random Skin": true }, "Treasure": { "Day Of Week Loot Friday": [], "Day Of Week Loot Monday": [], "Day Of Week Loot Saturday": [], "Day Of Week Loot Sunday": [], "Day Of Week Loot Thursday": [], "Day Of Week Loot Tuesday": [], "Day Of Week Loot Wednesday": [], "Include Workshop Skins": false, "Loot": [ { "amount": 100, "shortname": "ammo.pistol", "skin": 0 }, { "amount": 80, "shortname": "ammo.pistol.fire", "skin": 0 }, { "amount": 60, "shortname": "ammo.pistol.hv", "skin": 0 }, { "amount": 100, "shortname": "ammo.rifle", "skin": 0 }, { "amount": 80, "shortname": "ammo.rifle.explosive", "skin": 0 }, { "amount": 60, "shortname": "ammo.rifle.hv", "skin": 0 }, { "amount": 60, "shortname": "ammo.rifle.incendiary", "skin": 0 }, { "amount": 64, "shortname": "ammo.shotgun", "skin": 0 }, { "amount": 64, "shortname": "ammo.shotgun.slug", "skin": 0 }, { "amount": 1, "shortname": "bucket.helmet", "skin": 0 }, { "amount": 1, "shortname": "cctv.camera", "skin": 0 }, { "amount": 1, "shortname": "coffeecan.helmet", "skin": 0 }, { "amount": 1, "shortname": "explosive.timed", "skin": 0 }, { "amount": 1, "shortname": "metal.facemask", "skin": 0 }, { "amount": 1, "shortname": "metal.plate.torso", "skin": 0 }, { "amount": 500, "shortname": "metal.refined", "skin": 0 }, { "amount": 1, "shortname": "mining.quarry", "skin": 0 }, { "amount": 1, "shortname": "pistol.m92", "skin": 0 }, { "amount": 1, "shortname": "rifle.ak", "skin": 0 }, { "amount": 1, "shortname": "rifle.bolt", "skin": 0 }, { "amount": 1, "shortname": "rifle.lr300", "skin": 0 }, { "amount": 1, "shortname": "smg.2", "skin": 0 }, { "amount": 1, "shortname": "smg.mp5", "skin": 0 }, { "amount": 1, "shortname": "smg.thompson", "skin": 0 }, { "amount": 1, "shortname": "supply.signal", "skin": 0 }, { "amount": 20, "shortname": "surveycharge", "skin": 0 }, { "amount": 1, "shortname": "targeting.computer", "skin": 0 } ], "Minimum Percent Loss": 0.0, "Percent Increase On Friday": 0.0, "Percent Increase On Monday": 0.0, "Percent Increase On Saturday": 0.0, "Percent Increase On Sunday": 0.0, "Percent Increase On Thursday": 0.0, "Percent Increase On Tuesday": 0.0, "Percent Increase On Wednesday": 0.0, "Percent Increase When Using Day Of Week Loot": false, "Use Random Skins": true }, "Unlock Time": { "Max Seconds": 600.0, "Min Seconds": 600.0 }, "Unlooted Announcements": { "Enabled": true, "Notify Every X Minutes (Minimum 1)": 60.0 } }
Code:at Oxide.Plugins.DangerousTreasures.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo hitInfo) [0x00000] in <filename unknown>:0 at Oxide.Plugins.DangerousTreasures.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
@VinylFresh This exception is harmless as it's thrown when an entity is killed instantly while an event is active. However, I'll still patch it.
-
alltime return true
Code:bool AssignTreasureHunters() { Puts(eventPlayers.Count.ToString()); if (string.IsNullOrEmpty(ladderPerm) || string.IsNullOrEmpty(ladderGroup) || !recordStats || eventPlayers.Count == 0) return true;
-
-
Also check your logs in /oxide/logs/DangerousTreasures/ folder. A log file will be created each wipe if Ranked Ladder -> Enabled is 'true'Last edited by a moderator: Jul 11, 2017 -
cfg, How does the group issue? When restarting the server?
Code:{ "Countdown": { "Time In Seconds": [ "120", "60", "30", "15" ], "Use Countdown Before Event Starts": false }, "Event Messages": { "Show Barrage Message": true, "Show Opened Message": true, "Show Prefix": true, "Show Started Message": true }, "Events": { "Amount Of Items To Spawn": 6, "Amount Of Spheres": 1, "Auto Draw Minimum Distance": 300.0, "Auto Draw On New Event For Nearby Players": false, "Automated": true, "Every Max Seconds": 7200.0, "Every Min Seconds": 3600.0, "Fire Aura Radius (Advanced Users Only)": 25.0, "Grant DDRAW temporarily to players": true, "Grant Draw Time": 15.0, "Max Manual Events": 1, "Player Limit For Event": 0, "Time To Loot": 900.0, "Use Spheres": true }, "Fireballs": { "Damage Per Second": 10.0, "Enabled": true, "Generation": 5.0, "Lifetime Max": 10.0, "Lifetime Min": 7.5, "Radius": 1.0, "Spawn Every X Seconds": 5, "Tick Rate": 1.0 }, "Lusty Map": { "Enabled": true, "Icon File": "special", "Icon Name": "Сундук", "Icon Rotation": 0.0 }, "Missile Launcher": { "Acquire Time In Seconds": 10.0, "Detection Distance": 15.0, "Enabled": false, "Ignore Flying Players": false, "Life Time In Seconds": 60.0, "Spawn Every X Seconds": 15.0, "Target Chest If No Player Target": false }, "Newman Mode": { "Protect Nakeds From Fire Aura": false, "Protect Nakeds From Other Harm": false }, "Ranked Ladder": { "Award Top X Players On Wipe": 1, "Enabled": true, "Group Name": "treasurehunter", "Permission Name": "dangeroustreasures.th" }, "Rewards": { "Economics Money": 250.0, "ServerRewards Points": 20.0, "Use Economics": true, "Use ServerRewards": false }, "Rocket Opener": { "Enabled": true, "Rockets": 10, "Speed": 25.0, "Use Fire Rockets": false }, "Settings": { "Distance Chat Command": "dtd", "Event Chat Command": "dtevent", "Event Console Command": "dtevent", "Permission Name": "dangeroustreasures.use" }, "Skins": { "Include Workshop Skins": true, "Preset Skin": 0, "Use Random Skin": true }, "Treasure": { "Day Of Week Loot Friday": [], "Day Of Week Loot Monday": [], "Day Of Week Loot Saturday": [], "Day Of Week Loot Sunday": [], "Day Of Week Loot Thursday": [], "Day Of Week Loot Tuesday": [], "Day Of Week Loot Wednesday": [], "Include Workshop Skins": false, "Loot": [ (delete loot in message) ], "Minimum Percent Loss": 0.0, "Percent Increase On Friday": 0.0, "Percent Increase On Monday": 0.0, "Percent Increase On Saturday": 0.0, "Percent Increase On Sunday": 0.0, "Percent Increase On Thursday": 0.0, "Percent Increase On Tuesday": 0.0, "Percent Increase On Wednesday": 0.0, "Percent Increase When Using Day Of Week Loot": false, "Use Random Skins": false }, "Unlock Time": { "Max Seconds": 480.0, "Min Seconds": 300.0 }, "Unlooted Announcements": { "Enabled": false, "Notify Every X Minutes (Minimum 1)": 3.0 } }
-
@eed
It waits until the server has initialized.
[07/06/2017 15:55:05] [Dangerous Treasures] Granted s.hague (76561198354034676) permission dangeroustreasures.th for group treasurehunter
[07/06/2017 15:55:05] [Dangerous Treasures] Granted Stewie farmskins.com (76561198190792818) permission dangeroustreasures.th for group treasurehunter
[07/06/2017 15:55:06] [Dangerous Treasures] Granted nakieon (76561197990504607) permission dangeroustreasures.th for group treasurehunter
[07/06/2017 15:55:06] [Dangerous Treasures] Treasure Hunters have been logged to: C:\rustserver\oxide\logs\dangeroustreasures_treasurehunters-2017-07-06.txt
...
[07/06/2017 15:55:09] Server startup complete
Banned players and admins cannot receive the permission/group. It's for players only.
[DOUBLEPOST=1499793103][/DOUBLEPOST]Is anyone experiencing this issue? Either way, I'll rewrite how it's handled to avoid any possible case of the data being erased before it's being used. This is why it uses a bool to return true only. So the plugin wants for a response before it continues. Without the bool the plugin can erase the data before it's used. -
@nivex one of my players (I have also confirmed it) has reported that if you don't take all the items into your inventory instead throw them from the box to the ground (for items the player not want or need) you don't get the rewarded RP or cash or completion of the event. Is this meant to do this or is it a bug?
-
What if the server is restarted once a week? -
FYI, a couple players told me that the treasure spawned in the air instead of on the ground. Not sure if anyone reported that. Great mod btw!
-
-
@eed It won't do anything if you add it to Init() since the data is loaded in OnServerInitialized. It doesn't matter when you restart as it's only called when you wipe the server.
@Tunnleram Any more details?
@PryMary The player must loot the last item in the box in order to receive credit. I'll be changing this to award credit to the last person who took an item instead.Last edited by a moderator: Jul 12, 2017 -
Hi Nivex, yes I did loot that last item and put the middle 2 items (total of 6) onto the floor and was still not awarded the credit or completion of the event. Middle 2 items were shotgun shells and a riot helmet others were 1st: lr, 2nd, rifle ammo, 3rd shotgun shells 4th riot helmet, 5th bolt action, 6th C4
As you can see I did not need the middle 2 items so dragged them from the container and into the blurry area.
Thank you for your response and my players will be glad to hear of the changes that you are planning. -
nivex updated Dangerous Treasures with a new update entry:
0.1.22
[DOUBLEPOST=1499868745][/DOUBLEPOST]To note, this will also prevent players from dropping all of the loot on the ground to bypass the message that the event ended. -
I do not quite understand when the group is being given out and for how long, in my view it's like this: who at the moment is the top one and gets a group and privileges -
@eed Yes. By default, the top 3 players in the ladder are given the group/permission after a wipe, and it remains until the next time the server is wiped.
-
That's all I was told. I didn't actually see it happen.