Author Topic: ulx / ulib / utime not working correctly  (Read 2588 times)

0 Members and 1 Guest are viewing this topic.

Offline sme4gle

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
ulx / ulib / utime not working correctly
« on: March 18, 2012, 11:09:09 AM »
Hello,

i have made a setup for utime ulx and ulib .. but its not working correctly, my problem is that it is not creating the databases or something i guess
its like :  i join game .. utime time counts up .. but if i disconnect and reconnect it gets all reset (also the total time)
.. i tried doing EXACTLY the same at my desktop .. and everything works fine, does anyone know how i can solve this?
i tried multiple things like: installing microsoft server 2005 , install mysql , tried to turn off my Teamspeak server wich runs on that pc (also uses sql not sure if it
had something in common). does anyone else have some options left cuz im kinda running out...

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx / ulib / utime not working correctly
« Reply #1 on: March 18, 2012, 02:21:11 PM »
Which UTime are you using?
Several different versions exist, including one Megiddo of our Team Ulysses wrote.
The one he wrote has nothing to do with needing an SQL server.
It stores info in a local server file called sv.db in the root gmod/ folder using a format called 'SQLite'.
Your server might not have write access to sv.db, or some other mod is preventing the commands that normally write to it, those are all we can think of off hand.
You'd have to look for errors in your server logs when players join, server starts up, any other items that would normally allow UTime to write its data.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline sme4gle

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: ulx / ulib / utime not working correctly
« Reply #2 on: March 20, 2012, 08:08:34 AM »
I tried removing the sv.db and started the server again .. i dont know what was wrong .. but it seems to be working now thanks anyway :)