ULX

Author Topic: Utime Data  (Read 1762 times)

0 Members and 3 Guests are viewing this topic.

Offline Cucuy Gaming

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Utime Data
« on: August 13, 2016, 12:05:10 AM »
Where is the utime data file located in the files cause I want to see how much time someone has on the server that I haven't seen in a while. Please Help.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Utime Data
« Reply #1 on: August 13, 2016, 01:19:27 AM »
utime is stored in the sv.db file. It uses SQLite, not data files.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Utime Data
« Reply #2 on: August 13, 2016, 04:50:56 AM »
As a word of caution from someone who has experienced data loss due to this: resist the temptation to open the SQLite database while the server is running. If you try to read the file and something tries to write to the database at the same time, you're at risk of corruption. Shut down the server, then open sv.db.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.