1. I dont know when I replace my old plugin file with the updated one, i get this message:

    Code:
    (18:41:33) | [Oxide] 6:42 PM [Info] LastManStanding was compiled successfully in 142ms
    (18:41:33) | [Oxide] 6:42 PM [Info] Rolling back plugin to last good version: LastManStanding
    (18:41:33) | [Oxide] 6:42 PM [Info] Loaded plugin LastManStanding v1.1.1 by TheMechanical97
    (18:41:33) | [Oxide] 6:42 PM [Info] [Event Manager] Registered event game: Last Man Standing
    (18:41:34) | [Oxide] 6:42 PM [Info] Unloaded plugin LastManStanding v1.1.1 by TheMechanical97
    (18:41:34) | [Oxide] 6:42 PM [Info] Loaded plugin LastManStanding v1.1.1 by TheMechanical97
    (18:41:34) | [Oxide] 6:42 PM [Info] [Event Manager] Registered event game: Last Man Standing
     
  2. Wulf

    Wulf Community Admin

    Plugins roll back when there was an error with compiling. Check the compiler log for possible errors that weren't shown in the normal log.
     
  3. But it says:

    Code:
    (18:41:33) | [Oxide] 6:42 PM [Info] LastManStanding was compiled successfully in 142ms
    (18:41:33) | [Oxide] 6:42 PM [Info] Rolling back plugin to last good version: LastManStanding
    (18:41:33) | [Oxide] 6:42 PM [Info] Loaded plugin LastManStanding v1.1.1 by TheMechanical97
     
  4. Wulf

    Wulf Community Admin

    Check the log I mentioned above.
     
  5. Where is that log?
    [DOUBLEPOST=1453830693][/DOUBLEPOST]Get This log:

    Code:
    6:44 PM [Error] Unable to load LastManStanding. System.ArgumentException: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,System.String].Add (System.String key, System.String value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding..ctor () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoCMethod.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

    Did you delete any lang/localization files while the server was loaded?
     
  7. mm no, i just remove the plugin , data and lang and then put the new file in
     
  8. Wulf

    Wulf Community Admin

    So you did delete the lang, which is why you are getting that I believe. You'd need to restart the server now I believe. I thought it was fixed, which Oxide version are you on?
     
  9. Last version
     
  10. Wulf

    Wulf Community Admin

    Last version isn't a version, what is the actual version? ;)
     
  11. I have just updated Oxide
    [DOUBLEPOST=1453833293][/DOUBLEPOST]Got this after reload

    Code:
    (19:33:30) | [Oxide] 7:33 PM [Info] LastManStanding was compiled successfully in 2019ms
    (19:33:30) | [Oxide] 7:33 PM [Info] No previous version to rollback plugin: LastManStanding
    Code:
    7:33 PM [Info] LastManStanding was compiled successfully in 2019ms
    7:33 PM [Error] Unable to load LastManStanding. System.ArgumentException: An element with the same key already exists in the dictionary.
      at System.Collections.Generic.Dictionary`2[System.String,System.String].Add (System.String key, System.String value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LastManStanding..ctor () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    7:33 PM [Info] No previous version to rollback plugin: LastManStanding
    [DOUBLEPOST=1453846295,1453831600][/DOUBLEPOST]Help?
     
  12. Wulf

    Wulf Community Admin

    I passed it by @Nogrod, waiting for a reply. It should have been fixed as I mentioned. I'd avoid deleting data and lang while the server is running though.
     
  13. And how can i fix that? I reloaded and stopped it and now its not working at all. Norollback version
     
  14. Wulf

    Wulf Community Admin

    For now, likely a restart.
     
  15. I've done that already :S
     
  16. I have had no issues unloading a plugin and removing data or Lang files whilst server is still running, and I do it frequently when I'm In the development process
     
  17. the error is in your LastManStanding plugin lines 214 & 215