Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
There are currently no members online.

Members: 0
Guests: 27
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Smaug Snippets » Weather System.
Forum Rules | Mark all | Recent Posts

Weather System.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 May 7, 2011 10:03 pm   
Go to the top of the page
Go to the bottom of the page

dbna2
Sorcerer
GroupMembers
Posts600
JoinedDec 3, 2008

 
Question about the time part.

This is the problem I am having.

Old Player:
Age :-661
Birthday : June, 5th , 665.

Player Made Today:
Age :17
Birthday : July, 21st , -13

Time: command
It is 9 o'clock pm, Day of Thursday, 25th day in the Month of July.
It is the season of autumn, in the year 4.

See the problem? The age and year dates just don't add up right for some odd reason.

Post is unread #2 May 8, 2011 5:25 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
They add up perfectly.

The problem is, it appears you changed the saved year setting after older characters had already been updated.

Post is unread #3 May 9, 2011 8:09 pm   
Go to the top of the page
Go to the bottom of the page

dbna2
Sorcerer
GroupMembers
Posts600
JoinedDec 3, 2008

 
So how do I fix this?

Post is unread #4 May 10, 2011 10:14 am   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
Could have a check that checks character age after login and if it's negative re-run the birthday genereation stuff. Or you could remove the Age line from every pfile affected by this, and the code will automatically rerun the age stuff on the next login.

Post is unread #5 May 10, 2011 12:32 pm   
Go to the top of the page
Go to the bottom of the page

dbna2
Sorcerer
GroupMembers
Posts600
JoinedDec 3, 2008

 
Alrighty :) I will do so and let you know how it goes. Thanks :)

Pages:<< prev 1 next >>