ID:170401
 
Ok im trying to make year system by every 136 (game) days, but I get a weird error, can someone help:
    New()
..() // begin the daycycle
while(1)
sleep(1800)
Repop()
world << "<b><font color = yellow>(A new day begins.)"
sleep(9600)
Repop()
world << "<b><font color = silver>(It is now Night time.)"
usr.day+=1
Post the error and your repop proc please
In response to Spire8989
Well, you could check <shameless plug>here</shameless plug> for some help. :)
In response to Hell Ramen
Check your forum again btw.
In response to DeathAwaitsU
DeathAwaitsU wrote:
Check your forum again btw.

Fixed it. :o
In response to Hell Ramen
Ok now it's even more weird o.O

If you put the second increase as 3600, it should go up an hour a second. It does this but also says 60 minutes. So it's like:

1st second = 00:60:00
2nd second = 01:60:00
3rd second = 02:60:00
4th second = 03:60:00
etc
13th second = 12:60:00
14th second = -11:60:00
15th second = -10:60:00
etc
Couldn't be bothered to count till second = 1:60:00
Couldn't be bothered to count till second 2 = 2:60:00

And then it loops this.

Another problem is that when it changes months, it starts off with the 0th day of the month. Last time I checked the calender, there's no such thing =P

And finally, if you change the second increase variable(and I'd suspect other variables) then the savefile doesn't update with those. What you should do is, let the savefile know the time at which the world ended. When that world is recreated with the savedfile, have it use the current time increasing variables in order to change the time.
In response to Hell Ramen
I used your time demo, as suggested, just becouse I can lol, but Igot these two errors:runtime error: cannot read from list
proc name: New (/world/New)
usr: null
src:
call stack:
: New()
: New()
Reconnecting...
runtime error: Cannot read null.name
proc name: SaveMob (/client/proc/SaveMob)
usr: null
src: (/client)
call stack:
(/client): SaveMob()
(/client): Del()

Any idea how to fix them.
In response to Chwgt
Looks like it's something in your SaveMob proc.
Show it.