Page 1 of 1

PPT Termination

Posted: Mon May 28, 2012 2:22 pm
by Sarevok
As most of you are probably aware, PPTs end at the end of the turn when the time is less than 0.

What are people's thought about them ending the minute they do? Less strain on future turn changes, and a reason to do some checking off account between turns.

Re: PPT Termination

Posted: Mon May 28, 2012 2:25 pm
by Juliette
You would need to drastically increase the number of checks.. increasing server load. :?

Re: PPT Termination

Posted: Mon May 28, 2012 4:09 pm
by Sarevok
Not true I don't believe.

Having a script that runs every minute, but its ONLY checking for those with PPT time remaining, and if the time remaining is 0 or less, then PPT is turned off. Would be a few lines.

Get those on PPT, with Min < 0
Set PPT to 0.

Pseudo-code there, but its only really 1 SQL select, then SQL updates for the ones found.


Of course, if people are opposed to, or feel this would generate to much lag, I'm happy to skip the idea.

Re: PPT Termination

Posted: Tue May 29, 2012 4:11 am
by Kroony
change ppt from a bool to a date time, then check for ppt when a user record is interacted with rather than running timed scripts :S

Re: PPT Termination

Posted: Tue May 29, 2012 4:42 am
by Sarevok
Won't that cause even more lag? :?

I mean, assume that the game gets to 100 players online like main, and they all farm at turn change. If they can hit say 3x/minute, that's 300 check each minute, as opposed to checking however many accounts once per minute.

Unless you were to store their end PPT time in their session, and just check the session instead of checking the database.... hmmm

Re: PPT Termination

Posted: Tue May 29, 2012 6:08 am
by jedi~tank
Why not just leave it alone.

Re: PPT Termination

Posted: Tue May 29, 2012 10:53 am
by thorsworld1
2 ideas 1 really pants but some will like it

1) time stamp count down so if you go on ppt game time 22:21 then it ends 22:21 48hr later unless cancelled by the user or a continued ppt set

2) auto bank at end of ppt and keep as is, great for the ppt user pants on those hoping to find a end of ppt bonus LOL

really though, why change it at all I see no reason and no benefit to changing another part of the game code you would be just risking a bug for no real outcome

Re: PPT Termination

Posted: Tue May 29, 2012 11:51 am
by byrne_1
Leave it as it is.

Re: PPT Termination

Posted: Tue May 29, 2012 11:54 am
by Empy
As said already, nothing is gained for making the change. You only run the risk of creating bugs or increasing server load. In addition your changing the game in a way that people will have to get used to, but get nothing out of it... change for the sake of change.

No point in this really, but it was a good thought.

Re: PPT Termination

Posted: Tue May 29, 2012 2:30 pm
by Sarevok
Aye, was just a thought for people to consider. Though it seems the general consensus is either why bother, or leave it.

Re: PPT Termination

Posted: Tue May 29, 2012 9:59 pm
by ƒëmmë
I dont see a real reason to change it, but I also don't see how hard it would be to impliment

after all ppt starts the minute you set it.. it doesn't wait til turn to start and with ascending the clock thing that allows you to be able to ascend again is in place..
ie is set to exactly 2weeks to the minute. so why would a clock set to the minute for ppt end be any harder to make?

a plus for the idea I guess would stop script runners from picking up so many missed ppts.. as scripts seem to be set around turn change overs

Re: PPT Termination

Posted: Tue May 29, 2012 10:10 pm
by Sarevok
An interesting point you raise in relation to scipters there Fem.

Perhaps I'll fiddle with the code every now and then, and get a poll going about if people would be interested in having it going.

Re: PPT Termination

Posted: Fri Jun 08, 2012 11:31 am
by Calesta
ppt in origins?

when was the last time you took one?
should be enough said

Re: PPT Termination

Posted: Fri Jun 08, 2012 3:35 pm
by Sarevok
I do realise at this point it is not needed. However, i'm thinking about future growth, so greater risk to accounts tgan at this time