ULX

Author Topic: Utime broken?  (Read 8266 times)

0 Members and 1 Guest are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Utime broken?
« on: March 25, 2015, 09:27:11 AM »
I know, I know, this is usually a topic you'd see a newb post not understanding something, but as the circumstances are, I am not a newb.

My issue is that utime appears to have stopped recording times, or even picking times up, and I don't know why it's doing this. MySQL is still working for all other addons, so it's not the .dll, or garry's mod not loading the module. Utime is just pretending that all users joining are new.

Edit
According to my friend who does not use the mysql version of utime, it is doing the same thing.
« Last Edit: March 25, 2015, 09:28:55 AM by Bite That Apple »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: Utime broken?
« Reply #1 on: March 25, 2015, 10:12:28 AM »
Hello there,
I am also not using the MySQL version of utime, yet it works perfectly fine.
I think players loose their playtime sometimes, but this usually happens if the users.txt file is getting too large.

Avoid

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Utime broken?
« Reply #2 on: March 25, 2015, 10:22:24 AM »
Hello there,
I am also not using the MySQL version of utime, yet it works perfectly fine.
I think players loose their playtime sometimes, but this usually happens if the users.txt file is getting too large.

Avoid

utime != users.txt || utime != DATA_FOLDER

All utime data is stored in sv.db (unless you have a mysql database that you are using). Though, this isn't the case, because I joined my server this morning, and it was not storing information, but I have a command in-game to check players hours, ect, and my hours are still stored, just aren't being stored.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: Utime broken?
« Reply #3 on: March 25, 2015, 10:29:48 AM »
utime != users.txt || utime != DATA_FOLDER

All utime data is stored in sv.db (unless you have a mysql database that you are using). Though, this isn't the case, because I joined my server this morning, and it was not storing information, but I have a command in-game to check players hours, ect, and my hours are still stored, just aren't being stored.
You misunderstood me there, or I was not clear enough! I am well aware utime does not store anything in the data folder nor the user.txt!
I wanted to say that players do lose their rank, when the users.txt file gets too big.

Anyhow, I also could not store my playtime after todays GMod update, so I copied the sv.db from a backup and so far everything is working just fine.

Offline Tigster

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Utime broken?
« Reply #4 on: March 25, 2015, 10:40:13 AM »
I think it is too :/

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Utime broken?
« Reply #5 on: March 25, 2015, 10:41:29 AM »
I'm going to download utime and try it, I'll let you know if I find anything.

Offline Dannyy

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Utime broken?
« Reply #6 on: March 25, 2015, 11:00:38 AM »
I logged onto my server to find that indeed, the times reset. After every restart or rejoin it resets it. I hope there is a fix for this. This new GMod update has completely ruined every addon!!!  >:(

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Utime broken?
« Reply #7 on: March 25, 2015, 11:05:30 AM »
I'm going to assume that means that utime is broken, if enough people can confirmed this. Now, someone needs to contact Meggidlasdkfasodk and request him to take a look at it when he has a chance.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Utime broken?
« Reply #8 on: March 25, 2015, 11:14:28 AM »
According to Garry's Mod.com Updates:
The previously obsolete NWVars have been remade from scratch and now provide the same features and speed benefits as NetworkVars (formerly known as DTVars). Unlike NetworkVars, NWVars require no prior initialization and are identified by a name rather than a numerical index, making them suitable for every type of entity while minimizing conflicts with other addons.
As a result, the maximum number of NetworkVars per entity has been reduced from 64 to 32 to reduce server load.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Utime broken?
« Reply #9 on: March 25, 2015, 11:22:02 AM »
I haven't been able to replicate it, but I'm on a listen server by myself with very few addons.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Utime broken?
« Reply #10 on: March 25, 2015, 11:27:25 AM »
I haven't been able to replicate it, but I'm on a listen server by myself with very few addons.

I'm not sure, but if you look at the post above, Garry apparently redid Network Variable, and I'm not really familiar with those, so I'll have to look into them later.

- - - - - - - -

If you can, try adding lots of addons. Find a collection that has addons on the workshop too.

That wouldn't have anything to do with it..
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Utime broken?
« Reply #11 on: March 25, 2015, 12:22:53 PM »
This very likely could be an issue with NWVars- However, there was a Garry's Mod update today, so double check and make sure that your servers and stuff are up to date:
http://facepunch.com/showthread.php?t=1450721&p=47393776&viewfull=1#post47393776 (seems like people had to run the update several times to fix the bug).
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Utime broken?
« Reply #12 on: March 25, 2015, 12:55:22 PM »
This very likely could be an issue with NWVars- However, there was a Garry's Mod update today, so double check and make sure that your servers and stuff are up to date:
http://facepunch.com/showthread.php?t=1450721&p=47393776&viewfull=1#post47393776 (seems like people had to run the update several times to fix the bug).
Makes sense...  I remember it seemed like I had the issue at one point.  I decided to shutdown gmod and delete my sv.db to start fresh, and I believe I got an update.  I couldn't replicate it after that.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Utime broken?
« Reply #13 on: March 26, 2015, 05:09:53 PM »
Gotta love the Garry's Mod update cycle -- NWVars (which UTime uses) were declared obsolete and presumably planned on being removed in a few updates, replaced with something else, which then got replaced with an updated NWVars with the same API as before. I take no action and have saved myself from two obsolescences.
Experiencing God's grace one day at a time.

Offline Canne

  • Newbie
  • *
  • Posts: 41
  • Karma: -9
Re: Utime broken?
« Reply #14 on: March 26, 2015, 06:13:10 PM »
Utime stil dont work for me what i need to do exactly?