Login
User Name:

Password:



Register

Forgot your password?
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
I3 and IMC
Jan 17, 2025 9:35 pm
By Samson
AFKMud 2.5.1
Jan 17, 2025 2:22 pm
By Samson
Array out of bounds ?
Jan 16, 2025 4:48 am
By Remcon
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
AFKMud 2.5.1
Author: AFKMud Team
Submitted by: Samson
Kayle's Weather Code for AFKMud
Author: Kayle
Submitted by: Samson
AFKMud 2.5.0
Author: AFKMud Team
Submitted by: Samson
SWFotEFUSS 1.5.2
Author: Various
Submitted by: Samson
Users Online
Anthropic, Bing, AhrefsBot, Baiduspider, GPTBot

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
503
3,811
19,714
589
xhuul

» 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,199
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,199
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 >>