1. that would be amazing if u could write that :) <3
     
  2. getting this error when running it

    Code:
    [6/28/2015 9:36:55 PM] [Oxide] 9:36 PM [Debug]  at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayerInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayTime.OnPlayerDisconnected (.BasePlayer player) [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
     
  3. Just to give everyone a heads up, I am working on rewriting the plugin and improving everything. I'm about 50% done. Have to head to bed now, but you should see the update in a few days.
     
  4. AnExiledGod updated PlayTime with a new update entry:

    Rewrote the Plugin - Data file Deletion is advised

     
  5. would love to config the message broadcast on connect ! :)
    Really love the update as well great job!
     
  6. Yeah, that option is in the configuration file. Set it to false and it shouldn't broadcast.

    And thanks!
     
  7. Nah nah don't mean that like change what it says and customize it etc :)
     
  8. Ohh I see what you mean. Yeah I'll look into throwing that into next update. I have to figure out the best way to do it. :)
     
  9. Save Interval in minute ?
     
    Last edited by a moderator: Jul 5, 2015
  10. Seconds.
     
  11. Code:
    [Oxide] 1:22 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'PlayTime' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 1:22 PM [Debug]   at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayTimeInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayTime.OnPlayerDisconnected (.BasePlayer player) [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 
     
  12. nope i'll do that now :)
    [DOUBLEPOST=1436121823][/DOUBLEPOST]
    Code:
    [Oxide] 4:42 AM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'PlayTime' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 4:42 AM [Debug]   at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayTimeInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayTime.OnPlayerDisconnected (.BasePlayer player) [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 
     
  13. where is the data file to delete for the fix of 16600 days played?

    it would b nice to edit people so if someone was banned we could set them at 0 to get them off the list or even remove them, but maybe its in the data file i cant find
     
    Last edited by a moderator: Jul 5, 2015
  14. It's in the data folder.
     
  15. Code:
    [Oxide] 11:25 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'PlayTime' (KeyNotFoundException: The given key was not present in the dictionary.)[Oxide] 11:25 PM [Debug]   at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayTimeInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayTime.OnPlayerInit (.BasePlayer player) [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 major lag when someone connects to the server
    TimeWarning: Net.sv.Cycle took 10.30 seconds (10302ms)
     
  16. I highly doubt it's my plugin, but remove it and see if it fixes. I haven't had this on my own server, which runs my plugin. Also, make sure your using the latest version.
     
  17. okay i'll redo everything and see if its still lagging the server
    [DOUBLEPOST=1436195239][/DOUBLEPOST]okay just stopped the server, deleted everything. Data, config & plugin. Started my server then downloaded it directly from here and placed it in on my server when it was up again and i still get the error:
    Code:
    [Oxide] 1:05 AM [Error] Failed to call hook 'OnPlayerInit' on plugin 'PlayTime' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 1:05 AM [Debug]   at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.PlayTime+PlayTimeInfo].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayTime.OnPlayerInit (.BasePlayer player) [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 
     
  18. The error isn't an issue. It's a harmless error.

    The issue was the lag. Is the lag resolved?