Author Topic: NWNX and Sqlite persistent time after server reboots  (Read 322 times)

Legacy_Repe87

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
NWNX and Sqlite persistent time after server reboots
« on: June 30, 2013, 09:39:04 am »


               Hi,

got a new problem to solve for our server. How should I got about storing the server time into the database (sqlite) and then getting it from there after reboot?

Is there some "best" practice for this? I would appreciate any help I can get.

Thank you '<img'>
               
               

               
            

Legacy_Sandrax

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
NWNX and Sqlite persistent time after server reboots
« Reply #1 on: July 08, 2013, 07:40:10 am »


               You can use NWNX_Time.  It can get and set gametime (game month, game day, game hour, etc..).
               
               

               
            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
NWNX and Sqlite persistent time after server reboots
« Reply #2 on: July 08, 2013, 08:35:40 pm »


               http://social.biowar...index/7870259/1
http://social.biowar...2/index/4495419
http://pastebin.myrr....php?v=db1-2626
               
               

               


                     Modifié par virusman, 08 juillet 2013 - 07:37 .