inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 2, 2014 8:34:39 GMT -8
Bump.
|
|
inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 3, 2014 10:09:06 GMT -8
Bump.
|
|
inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 5, 2014 15:08:17 GMT -8
Bump.
|
|
inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 6, 2014 21:09:24 GMT -8
Bump.
|
|
inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 14, 2014 9:42:24 GMT -8
Bump.
|
|
inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 15, 2014 17:39:28 GMT -8
Bump.
|
|
inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 17, 2014 6:56:08 GMT -8
Bump.
|
|
inherit
186590
0
Jan 19, 2019 8:28:55 GMT -8
Trainer Green
127
December 2012
tgreen
|
Post by Trainer Green on May 20, 2014 16:52:30 GMT -8
Bump.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on May 29, 2014 22:43:43 GMT -8
Trainer Green Wow that's weird that Elf linked me here but I'm sort of doing what you want. I've been wanting to do this for 5 months. support.proboards.com/thread/513248/₪» ⅀ ƪ Ƒ «₪ Wormo has explained to me basically that there is no way to make a time in the plugin. There's no "in one week if you ignore them then -blank-" because the plugin doesn't know a week passed. Totally not true, var todayclock=new Date(proboards.data('user').last_online.unix_timestamp*1000); var hclock=todayclock.getHours(); var mclock=todayclock.getMinutes(); var sclock=todayclock.getSeconds(); if(hclock <12){amorpm = 'am'}; if(parseInt(sclock) ==60){sclock=0;mclock++;} if(parseInt(mclock) ==60){mclock=0;hclock++;} if(parseInt(hclock) ==13){hclock = 1;if(amorpm == 'am'){amorpm = 'pm'}else {amorpm = 'am'};} that will give me an exact moment based on the server no matter how long the idle if i add one to the sclock based on a timer I actually am making this plugin for all animals but pokemon could work easily (I am actually going to add this to my pokemon forum) I already know how to work with times and weeks based on server time and it's totally do-able HOWEVER it will NOT include happiness bar, experience, levels, or abilities. NOT to say I won't add that as a feature request and it could in fact make it's way into my LATER releases. I would love to make levels. But I'm just going to work on the basics for now. You have a tall order sir and I believe I have answered your prayer
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on May 30, 2014 8:45:11 GMT -8
sigh.. I enjoy being misinterpreted.
I said there isnt a way for time to be tracked in the plugins as a real world event. you can timestamp anything sure. but lets say you want something to be dead in 3 days from now. then you dont log in for 5. when you log in, the object wont actually be dead and gone already. you have to go through and calculate all of the objects expirations to see if any died. they dont just get managed offline by a server. it takes actual logins to make those changes. which means that until someone logs in that can actually save new data to the storage, those objects still remain in storage and have to be re-killed everytime they are checked upon. if you have a forum with 100 users. and each user has 10 animals. and 3 animals die for whatever reason for every person, everytime you go to look at the populated list (if you are doing it with a forum key) it has to manually kill off 300 animals that didnt need to actually be there anymore.
I DID say that you could timestamp and calculate events from the timestamp. but automatic things wont be happening. if you tell it to automatically feed your animal every two days and you dont log in for a month, your animal wasnt actually fed every two days. it would have to be calculated based off the last actual log in timestamp of the owner. or whoever could modify the storage. it would still take an actual log in from someone to MAKE those changes. there wouldnt be a "behind the scenes server does some housecleaning" function. as another example, lets say your animal dies a week after not feeding. but you dont log in for 2 weeks. after the week, you could have it check that according to its feeding timestamp, it hasnt been fed in a week, it dies. but you would still need someone to actually check on that animal by looking at whatever is storing them. the server isnt going to be able to periodically go through each member and check their storage and send out death notices for every animal that dies. not in the background on its own, and unless you are looking at each page of the member list not really by browsing either (but you could do sweeps that way). you could move all animals into the forum key so everyone always has access to every animal. great, but again, unless someone logs into the site and the code scans the data and makes changes to it, the data remains as it was since the last time someone modified it. if literally NO member logs in for 2 weeks, then animals that die after 1 week arent actually dead and removed from the list yet until someone actually logs in for a code to make those changes.
somewhere along the way someone had asked if it could be done behind the scenes and that was what I was trying to convey was that time wasnt a "behind the scenes" monster. it required presence. I use timestamps from events in probably half of my plugins that have storage, so yes I understand you can get an age on something.
|
|