Political Survival

Become the President, tax the server, and subjugate everyone!

Total Downloads: 772 - First Release: May 13, 2016 - Last Update: Jun 10, 2018

5/5, 13 likes
  1. Wulf

    Wulf Community Admin

    Did you want to take over this one too? :p
     
  2. Jonty updated Political Survival with a new update entry:

    0.3


    [DOUBLEPOST=1502242217][/DOUBLEPOST]
    No need - I fixed the nullref/not in dict error that was occuring.

    I'll fix more bugs as they come in, and will implement my new, reliable MySQL wrapper once I've finished on other plugins.
     
  3. Jonty updated Political Survival with a new update entry:

    0.3.2

     
  4. Be aware that as of this time there is a null ref that I haven't fixed - it doesn't impair the script so I'll fix it another time when I'm more readily available.
     
  5. Wulf

    Wulf Community Admin

    Thought you disappeared! Hello. :)
     
  6. I use TimedExecute to reload this plugin a few minutes after Server Restart, it has trouble finding the tax chest when loaded after server restarts, Ive seen this same issue on another plugin Proximity Scanners, not sure what root issue is, just wanted to comment about it :)

    Im glad your back Jonty!
    On the mysql usage, Im not sure a database is actually needed, could definitley just use a data file and would be easier for server admins to use ;)
     
  7. I encountered some coordinate issues on my new plugin where it was unable to find things, though I since fixed it somehow on a late night coding binge. I'll have to look at that soon.

    As for MySQL, I made it use that because personal preference, I handle a lot of applications using it as the backend so anything else I kind of consider primitive :p

    Cheers for the comment :~)
    [DOUBLEPOST=1502276310][/DOUBLEPOST]
    Oh, I guarantee I will disappear at least a few times a year. Hello :)
     
  8. Jonty updated Political Survival with a new update entry:

    0.3.3

     
  9. Spamming like crazy


    Code:
    Failed to call hook 'OnDispenserGather' on plugin 'PoliticalSurvival v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    (18:52:34) | at Oxide.Plugins.PoliticalSurvival.OnDispenserGather (.ResourceDispenser Dispenser, .BaseEntity Entity, .Item Item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PoliticalSurvival.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
    (18:52:36) | Failed to call hook 'OnDispenserGather' on plugin 'PoliticalSurvival v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    (18:52:36) | at Oxide.Plugins.PoliticalSurvival.OnDispenserGather (.ResourceDispenser Dispenser, .BaseEntity Entity, .Item Item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PoliticalSurvival.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
    (18:52:37) | Failed to call hook 'OnDispenserGather' on plugin 'PoliticalSurvival v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    (18:52:37) | at Oxide.Plugins.PoliticalSurvival.OnDispenserGather (.ResourceDispenser Dispenser, .BaseEntity Entity, .Item Item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PoliticalSurvival.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
    (18:52:38) | [Rewards] [porn] Lastoators got 250 for killing an autoturret
    (18:52:38) | Failed to call hook 'OnDispenserGather' on plugin 'PoliticalSurvival v0.3.3' (NullReferenceException: Object reference not set to an instance of an object)
    (18:52:38) | at Oxide.Plugins.PoliticalSurvival.OnDispenserGather (.ResourceDispenser Dispenser, .BaseEntity Entity, .Item Item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PoliticalSurvival.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
     
  10. Code:
    Failed to call hook 'SetTaxCommand' on plugin 'PoliticalSurvival v0.3.3' (FormatException: Invalid format.)at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in :0 at System.Double.Parse (System.String s) [0x00000] in :0 at System.Convert.ToDouble (System.String value) [0x00000] in :0 at Oxide.Plugins.PoliticalSurvival.SetTaxCommand (.BasePlayer Player, System.String Command, System.String[] Arguments) [0x00000] in :0 at Oxide.Plugins.PoliticalSurvival.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
    Code:
    Failed to call hook 'RealmNameCommand' on plugin 'PoliticalSurvival v0.3.3' (InvalidOperationException: Connection must be valid and open.)
      at MySql.Data.MySqlClient.MySqlCommand.Throw (System.Exception ex) [0x00000] in :0
      at MySql.Data.MySqlClient.MySqlCommand.CheckState () [0x00000] in :0
      at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in :0
      at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in :0
      at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery () [0x00000] in :0
      at Oxide.Plugins.PoliticalSurvival.SetRealmName (System.String NewName) [0x00000] in :0
      at Oxide.Plugins.PoliticalSurvival.RealmNameCommand (.BasePlayer Player, System.String Command, System.String[] Arguments) [0x00000] in :0
      at Oxide.Plugins.PoliticalSurvival.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0 
     
  11. Jonty updated Political Survival with a new update entry:

    0.3.4

     
  12. Jonty updated Political Survival with a new update entry:

    0.3.5

     
  13. I'll check these out tomorrow or the next day fellas and get back with a fix.
     
  14. Thanks - I'll rename it again to something that (hopefully) doesn't conflict.
     
  15. my players are saying they are not getting any taxed items from mining if they are the president and set their box. note I'm not seeing any errors in console
     
  16. Any chance this is happening after a server reboot or plugin reload?
     
  17. I've just loaded this plugin again after months of it not working. Seems to be working but when you /settaxchest, nothing goes in it
     
  18. same with my server