Dragon Basher: newstamp.pl

Posted: 02‑18‑2017 07:29


Joe


Fire Flipper
1406 posts
I've created a new module "newstamp.pl" which will assign $estamp to the item $new.

This is an attempt to keep all timestamps uniform where if you want to change the length of time an item exists, this one routine will change all instances of the item's creation so we don't have to change it in each module the item may be created.

I want to propose human-readable timestamps for all sysop created items. This way, no math would be required to place items in-game:

minute (60)
hour (3600)
day (86400)
weekend (259200)
weed (605800)
month (2592000)
season (7778000)
year (31104000)
decade (311040000)

So the command "/add Bj-week" would add a net that lasts for one week before expiring, a lot easier than "/add Bj-604800".

Do this client-side? Server? Thoughts? Probably client so we don't need server resources?

-Joe

DevTeam Member

 


Posted: 02‑18‑2017 09:56


QuaCzar


Fire Flipper
1803 posts
The client can handle it, I'm sure. I'll plan on adding it.

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


Posted: 02‑18‑2017 11:15


QuaCzar


Fire Flipper
1803 posts
It seems natural for the client to handle it as it would handle a menu with the same purpose.

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


Posted: 02‑22‑2017 15:45


taz


Troll Trasher
101 posts

Joe said:



weed (605800)




-Joe




That's some long lasting weed..hehe

 


Posted: 03‑09‑2017 17:02


QuaCzar


Fire Flipper
1803 posts
I'm making the time names configurable in JavaScript. They could be used by a menu or something in the future, as well.

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


Posted: 03‑19‑2017 11:11


QuaCzar


Fire Flipper
1803 posts
This will be included in my next upload, which hopefully will be soon.

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


Hunt food, smith weapons, and prepare for battle! Can you stop
the Evil Que from taking over the entire game? Browser based multi-player
fantasy role-playing game that requires no downloads or plug-ins! Free to play forever!

By being at queville.com, you agree to our Terms of Service.