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
  1. 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.

    [​IMG]

    I hope you can understand my problem and help to set 5 or 10 percent of money which will drop from me.
     
    Last edited by a moderator: Jun 21, 2015
  2. 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
    Getting this error constantly, its also displaying for server logs.
     
  3. I'll take a look. :)
     
  4. Scorpyon updated The Grand Exchange with a new update entry:

    Added logging to nail down Server Exception Cause

     
  5. 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
     
  6. Wulf

    Wulf Community Admin

    @Scorpyon, please update your plugin title and filename to reflect the name listed here, or vice versa.
     
  7. Scorpyon updated The Grand Exchange with a new update entry:

    Temp Fix

     
  8. Scorpyon updated The Grand Exchange with a new update entry:

    Fix - Health Error Spam

     
  9. 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 
    Not sure if that is a mix of errors between two plugins..
     
  10. 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!)
     
  11. 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
  12. 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
     
  13. Just a quick note to say I haven't forgotten about this and I think I know what's causing the problem.
    I'll try and look into it tonight.
     
  14. 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?
     
  15. 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]
    I'm currently working on this at the moment.
    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.
     
  16. 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.
     
  17. Sure, you can if you want.
     
  18. 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
     
  19. Which part does this?
    No part of the plugin prevents damage from trebs / ballistas to my knowledge.

    Are you running any other plugins at all?
     
  20. 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.