Pages:<< prev 1 next >>
#1 Mar 4, 2012 12:01 am
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
So I'm coding MUDs again. Isn't that exciting?
No? I didn't think so...
How's everyone been? Ten years doesn't seem like a long time, but it really is. How has everyone else faired?
Samson, we really ought to catch up some!
No? I didn't think so...
How's everyone been? Ten years doesn't seem like a long time, but it really is. How has everyone else faired?
Samson, we really ought to catch up some!
#3 Mar 4, 2012 9:28 am
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
Nice to meet you too!
I'm spending my Sunday morning trying to get the hang of coding again. It's not that I forgot the basic syntax of C++, but I forgot how unforgiving MUD code can be...
Ah well.
I'm spending my Sunday morning trying to get the hang of coding again. It's not that I forgot the basic syntax of C++, but I forgot how unforgiving MUD code can be...
Ah well.
#4 Mar 4, 2012 1:32 pm
Sorcerer
GroupMembers
Posts600
JoinedDec 3, 2008
I'm spending it trying to get a lottery system coded... but I am not that good at coding yet so having a hard time.
#5 Mar 4, 2012 1:34 pm
Geomancer
GroupAdministrators
Posts1,946
JoinedJul 26, 2005
Welcome back long time no see. Keep working at it dbna and youll get there
#6 Mar 4, 2012 1:40 pm
Conjurer
GroupMembers
Posts423
JoinedMar 7, 2005
Welcome back to the fold.
We had a few new bugs posted recently and now this. Things are getting more lively around here.
Again, good to have ya back.
We had a few new bugs posted recently and now this. Things are getting more lively around here.
Again, good to have ya back.
#7 Mar 4, 2012 2:54 pm
Sorcerer
GroupMembers
Posts600
JoinedDec 3, 2008
I'm trying... its just figuring out how to have these tickets save.... I am thinking of having them save in a .dat file, but until sure how to save the time they were purchased.
#8 Mar 4, 2012 6:12 pm
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
If I recall, you can use now time() to grab the current system time in UNIX format.
See: http://www.cplusplus.com/reference/clibrary/ctime/time/
See: http://www.cplusplus.com/reference/clibrary/ctime/time/
#9 Mar 7, 2012 7:04 pm
Geomancer
GroupAdministrators
Posts1,946
JoinedJul 26, 2005
I'd use time_t and current_time for saving the time.
#10 Mar 10, 2012 7:25 am
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003
Remcon said:
I'd use time_t and current_time for saving the time.
Ah yes, I forgot about current_time.
Pages:<< prev 1 next >>