Hi, Scorpyon.
Trying to test /PVPGOLD function. When i set "99" or less there is no gold dropping from me every time.
When i set "100" and more here it is a lot of money (too much) drops from my body.
I hope you can understand my problem and help to set 5 or 10 percent of money which will drop from me.

The Grand Exchange
Buy and Sell your items and resources on the Grand Exchange Market!
Total Downloads: 2,827 - First Release: Jun 13, 2015 - Last Update: Nov 4, 2017
- 5/5, 15 likes
-
when trying to use the /setprice command, it just displays its usage and does not change the price at all.
[DOUBLEPOST=1434956727,1434894457][/DOUBLEPOST]Code:8:03 AM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Trade Tracker' (NullReferenceException: Object reference not set to an instance of an object) 8:03 AM [Debug] at Oxide.Plugins.TradeTracker.OnEntityDeath (CodeHatch.Networking.Events.Entities.EntityDeathEvent deathEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
-
Scorpyon updated The Grand Exchange with a new update entry:
Added logging to nail down Server Exception Cause
-
I had to remove the plugin due to error spam i was getting in the logs which caused some huge lag spikes. Other plugins work fine such was war tracker etc but this plugin im getting this error.
Code:7:00 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Trade Tracker' (KeyNotFoundException: The given key was not present in the dictionary.) 7:00 PM [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,System.Int32].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TradeTracker.GiveGold (CodeHatch.Engine.Networking.Player player, Int32 amount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TradeTracker.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 7:00 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Trade Tracker' (KeyNotFoundException: The given key was not present in the dictionary.) 7:00 PM [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,System.Int32].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TradeTracker.GiveGold (CodeHatch.Engine.Networking.Player player, Int32 amount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TradeTracker.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 7:00 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Trade Tracker' (KeyNotFoundException: The given key was not present in the dictionary.) 7:00 PM [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,System.Int32].get_Item (UInt64 key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TradeTracker.GiveGold (CodeHatch.Engine.Networking.Player player, Int32 amount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.TradeTracker.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
@Scorpyon, please update your plugin title and filename to reflect the name listed here, or vice versa.
-
Scorpyon updated The Grand Exchange with a new update entry:
Temp Fix
-
Scorpyon updated The Grand Exchange with a new update entry:
Fix - Health Error Spam
-
Got another here for you
Code:8:27 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'WarTracker' (NullReferenceException: Object reference not set to an instance of an object) 8:27 PM [Debug] at Oxide.Plugins.WarTracker.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 8:28 PM [Error] Failed to call hook 'OnEntityHealthChange' on plugin 'Grand Exchange' (NullReferenceException: Object reference not set to an instance of an object) 8:28 PM [Debug] at Oxide.Plugins.GrandExchange.OnEntityHealthChange (CodeHatch.Networking.Events.Entities.EntityDamageEvent damageEvent) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Scorpyon updated The Grand Exchange with a new update entry:
Bug Fix / Logging
[DOUBLEPOST=1435046399][/DOUBLEPOST]I'm hoping the latest patch changes should try and help narrow down the cause of that error, Gaming4Fun!
Technically, it's a pain because I can't replicate the errors on my test server at the moment.
But hopefully the new logging messages should help with this (or at least minimise the error spam!) -
From what i noticed the but I ain't no coder is that the 'OnEntityHealthChange' seems to be in many error logs that I have same for war tracker and also KOS at Night so I thought it was something on my end causing the issue?
Also noticed an issue where the PVE gold turns it's self back on after restart too.Last edited by a moderator: Jun 23, 2015 -
5:29 PM [Info] Loaded plugin Grand Exchange v1.3.2 by Scorpyon
5:29 PM [Warning] CallHook 'Loaded' on plugin 'Grand Exchange' took: 906ms -
I'll try and look into it tonight. -
Is there a way to make the buildings non destructable? or am i having to add a crest to it.
We added the plugin to our server, however i feel like all the buildings we made (in a market area) can just be salvaged?
any ideas on this? -
From the Alpha 16 update:
- Trebuchets are no longer invincible and will take normal damage again
Turns out it wasn't my plugin causing this after all.
You have no idea how much time I spent scratching my head trying to figure out what was happening here...
[DOUBLEPOST=1435303912][/DOUBLEPOST]
It's extremely fiddly, because of the "salvage" factor. Making the buildings indestructible is fairly easy.
Finding a suitable way to prevent the salvage becoming infinite isn't.
However, I'm hoping to get an Alpha fix out for this over the next few days. -
Hi Scorpyon.
I was just wondering if I can use the gold system in other plugings? I want to make a plugin that users can battle in an arena for gold. -
Sure, you can if you want.
-
Okay i really love this plug-in but there's a horrible bug with the new update, it makes trebs and ballista do no damage, i have to disable your plug-in until you fix this.
just a heads up -
No part of the plugin prevents damage from trebs / ballistas to my knowledge.
Are you running any other plugins at all? -
yes i am running a few plug-ins, but siege only works when i disable your plug in
[DOUBLEPOST=1435439027][/DOUBLEPOST]if you have a test server i will show you what i mean, i would do it on my server but i have 20+ busy players on right now, so i can't be restarting that often.
Note that this bug didn't occur until update 16 which came out a few days ago.