Author Topic: Time  (Read 1863 times)

Time
« on: March 29, 2018, 04:04:34 pm »
There is some way to implement settime command into script or get exactly same effect whatever other way?
Or is possible to make that registration new character in game will reset global timer?


Offline Wipe

  • Rotator
  • Random is god
Re: Time
« Reply #1 on: March 31, 2018, 03:33:44 pm »
Code: [Select]
void SetTime(uint16 multiplier, uint16 year, uint16 month, uint16 day, uint16 hour, uint16 minute, uint16 second);However, it can and will screw up some stuff.

I once made synchronization with realworld time for some x1 multiplier server, and - IIRC - i had to tune all running time events [ChangeTimeEvent()] when using SetTime(). It was done on (re)start only, so before clock even started ticking, no idea what other issues you might have with time travelling on unfrozen world.

Why would you want to change world time on character registration anyway? oO ~settime alone is dangerous enough if used outside of CBT
Games are meant to be created, not played...

Re: Time
« Reply #2 on: March 31, 2018, 04:49:13 pm »
I forgot to say thats singleplayer mode related issue.
Let say you start new game at 2238.12.12 and end it at 2240.03.03. Then if you start another new game time is not reseted to 2238.12.12 but continue from 2240.03.03.
You know, start of timer is synchronized with start of first new game, so I search for way to fix it.
« Last Edit: March 31, 2018, 05:25:56 pm by loord »