Jump to content

Economics

Closed 2.4.2 2.4.3

Economics not working with VQ 

 

 

Failed to call hook 'VirtualQuarriesConsoleCommand' on plugin 'VirtualQuarries v2.4.2' (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00019] in <ff4e3fe86250407285eaebda8f185c35>:0 
  at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <ff4e3fe86250407285eaebda8f185c35>:0 
  at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Plugins.VirtualQuarries.TryUpgradeQuarry (BasePlayer player, System.Int32 quarryId, System.String type) [0x000ac] in <fadff0ad45554ec08dfbded307a47d19>:0 
  at Oxide.Plugins.VirtualQuarries.VirtualQuarriesConsoleCommand (ConsoleSystem+Arg arg) [0x006d7] in <fadff0ad45554ec08dfbded307a47d19>:0 
  at Oxide.Plugins.VirtualQuarries.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00be7] in <fadff0ad45554ec08dfbded307a47d19>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 

  • Like 1
Link to comment

I have fixed it. doubt I'm allowed to share...

 

Here is what I did.

Edit all entries matching this "player.userID" CHANGE TO player.userID.Get() 

BUT DO NOT CHANGE THESE ONES "player.UserIDString

  • Love 1
Link to comment

dont hurry yourself too much. This updated messed up way too many plugins.

I just updated your plugin and reloaded it, now all is working fine.

thx a lot.

  • Like 1
Link to comment
1.4m

Downloads

Total number of downloads.

6.7k

Customers

Total customers served.

99.6k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.