1. Code:
    [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'PlayTimeTracker v1.0.0' (FormatException: The specified format 'D2' is invalid)
     
  2. Any luck fixing this?
     
  3. Sorry guys, not yet. I have a bunch of homework due by Friday. I'll push a fix over the weekend. In the meantime, you can use the previous version if you still have access to it.
     
  4. ArcaneCraeda updated Playtime and AFK Tracker with a new update entry:

    1.1.1

     
  5. ArcaneCraeda updated Playtime and AFK Tracker with a new update entry:

    1.2.0

     
  6. Requests:
    • add commands (/playtime /lastseen /mostonline )
    • add command for checking (Playtime minus AfkTime ) - nice for admins to check
    • add permissions for commands
    • add reward system for top [x] mostonline (Playtime minus AfkTime)
     
  7. Yes to your first three requests. /playtime is already available, alongside /afktime. I'll add permissions in the next few days, with targeted checking (/playtime <player>) for admins. /lastseen is out of the scope of this plugin, but I'll throw it in anyways, it's super easy to do.

    As for the reward system, I'm working on a plugin that does something similar. It's out of the scope of this plugin.

    Edit: I'm not gonna do /mostonline, since I feel it's also out of the scope of this plugin
     
    Last edited by a moderator: Oct 28, 2015
  8. ArcaneCraeda updated Playtime and AFK Tracker with a new update entry:

    1.3.0

     
  9. How do I grant the group players permission to check self playtime? oxide.grant group player CanCheckSelfPlayTime doesn't seem to work.
     
  10. That command should work. Note that CanCheckSelfPlayTime is for a chat command with no args (/playtime), while CanCheckPlayTime is for one with args (/playtime arcane). Could you post your oxide.groups.data file? And are you getting any errors in console? Is You do not have access to this command. being printed in the players chat?
     
  11. Seems the permission system has changed a bit recently. I got it to work with:

    oxide.grant group "all" "CanCheckSelfPlayTime"

    BTW, the forum won't allow upload of files with .data extension. ;)
     
  12. Awesome!
    Typical -.-
     
  13. cant get it to work at all like i do that command and get nothing back if i use someone who actually is in the file but if i misspell (or forget a capital) it says doesnt exist in file or what ever it says...
     
  14. Did you remember to add the permissions? Also, you might have to disconnect and reconnect for it to work. Is the console throwing any errors?

    As for the name thing, it'll be changed in the next update to accept any case. Can't do anything about misspell though.
     
  15. no i was saying it does do something when i intentionally misspell lol... so i knew it was working sorta... and yes i have permissions but i didnt relog ill try that now
     
  16. Cool, thanks! I might not answer ti'll tomorrow morning, since it's midnight here now, so just post whatever you got and I'll comment then. What exactly are you typing in the chat, as a player, in both cases? Like the one that returns nothing and the one that returns "Not found" or whatever.
     
  17. works after relog
     
  18. Awesome, thanks for testing it out! I'll try and find a fix for that by the next update.
     
  19. ArcaneCraeda updated Playtime and AFK Tracker with a new update entry:

    1.3.1

     
  20. Was there a glitch in the tracking of AFK time before the update to v1.3.1? It seems I accumulated nearly a million seconds (~800K) AFK time over about a day and a half. See attached data files. I'm referring to player Boa Constrictor, 4th down in the data list, you'll see over 1.1 million seconds. I assume a glitch, if any, would apply to all players. Unless I'm misunderstanding something here. I was logged in AFK for maybe 15 hours over that period, but that should only be about 54,000 seconds. No idea what's up here, but something doesn't seem to be adding up or I'm just confused, lol. :confused:
     

    Attached Files: