Pages:<< prev 1 next >>



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!



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.



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.



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
Welcome back long time no see. Keep working at it dbna and youll get there



Conjurer

GroupMembers
Posts429
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.




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.



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/



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
I'd use time_t and current_time for saving the time.



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 >>