Page 6 of 6

Re: August security update

Posted: Tue Sep 25, 2012 3:13 pm
by Juliette
Sol wrote:
Juliette wrote:
Preem Palver wrote:
Juliette wrote:They are not supposed to appear at all.
So, a small glitch then?
It appears to be.
Could randomly choose a section to display as numbers to lighten the load...not sure if AJ has that in his code.
AJ just has a function to generate images, and calls it in a certain number of places (all AS / UU / Naq areas, among others). If you want to randomise that, you are adding a heck of a lot of code. Then again, Ascended *can* handle it.. *grin* Whether Main can, though..

;)

Re: August security update

Posted: Tue Sep 25, 2012 3:19 pm
by Sol
Juliette wrote:
Sol wrote:
Juliette wrote:
Preem Palver wrote:
Juliette wrote:They are not supposed to appear at all.
So, a small glitch then?
It appears to be.
Could randomly choose a section to display as numbers to lighten the load...not sure if AJ has that in his code.
AJ just has a function to generate images, and calls it in a certain number of places (all AS / UU / Naq areas, among others). If you want to randomise that, you are adding a heck of a lot of code. Then again, Ascended *can* handle it.. *grin* Whether Main can, though..

;)

Well it shouldn't be that hard...but every so often it might not show the images...

Re: August security update

Posted: Tue Sep 25, 2012 3:22 pm
by Juliette
Sol wrote:
Juliette wrote:AJ just has a function to generate images, and calls it in a certain number of places (all AS / UU / Naq areas, among others). If you want to randomise that, you are adding a heck of a lot of code. Then again, Ascended *can* handle it.. *grin* Whether Main can, though..

;)
Well it shouldn't be that hard...but every so often it might not show the images...
Hard is one thing.. slowing down things is another. This update slows down enough as it is.. not sure what you intend with randomising it? Except maybe lessening the slow-down. I am one of the few who complain about that though, hardly anyone else seems to be bothered by it. ;)

Re: August security update

Posted: Tue Sep 25, 2012 3:39 pm
by Sol
Juliette wrote:
Sol wrote:
Juliette wrote:AJ just has a function to generate images, and calls it in a certain number of places (all AS / UU / Naq areas, among others). If you want to randomise that, you are adding a heck of a lot of code. Then again, Ascended *can* handle it.. *grin* Whether Main can, though..

;)
Well it shouldn't be that hard...but every so often it might not show the images...
Hard is one thing.. slowing down things is another. This update slows down enough as it is.. not sure what you intend with randomising it? Except maybe lessening the slow-down. I am one of the few who complain about that though, hardly anyone else seems to be bothered by it. ;)

randomizing would only speed it up...it isn't that hard.

Re: August security update

Posted: Tue Sep 25, 2012 3:42 pm
by Juliette
Sol wrote:randomizing would only speed it up...it isn't that hard.
I readily admit your superiority in coding things. ;) (Though in my opinion adding a randomising function to the existing 'generation' code will slow things down.. but I *do* have a lack of knowledge.)

Re: August security update

Posted: Tue Sep 25, 2012 4:16 pm
by Sol
Juliette wrote:
Sol wrote:randomizing would only speed it up...it isn't that hard.
I readily admit your superiority in coding things. ;) (Though in my opinion adding a randomising function to the existing 'generation' code will slow things down.. but I *do* have a lack of knowledge.)

$x = rand(1,1000)
if($x <11)
display numbers
else
display images.

So for every 100 odd pages chances are a user will stumble on one that uses numbers instead of images, decreasing load time but still deterring scripters.
Pretty simple, it is possible, but whether or not AJ did it you will have to find out.

Re: August security update

Posted: Tue Sep 25, 2012 11:26 pm
by Sphinx42
Actually, it happened again twice this turn, it lasted for maybe a minute at most each time, and all the pages I checked during that time had the old text numbers instead of the new image numbers. So I doubt it's a randomized function.

It's not that I'm too upset about it, mind you (I liked the old numbers better anyway). It's just that, if it's a small glitch that goes unfixed, it might end up messing up the rankings again and stopping people from doing their usual farming, raiding and stuff. Then the game goes offline for a while, a farm fest occurs afterwards (which some of us will miss, as usual), PPTs are missed, there's complaining and so on - it happened before with less notice.

Re: August security update

Posted: Sun Oct 07, 2012 6:17 pm
by The Doctor
Another suggestion, for anyone who is on PPT or in a realm opposite to yours (perg if you're in normal, normal if you're in perg) naq and army size show as numbers. Should help decrease loading time, and won't affect any scripters, since if a user is on PPT or in a different realm, they can't be hit.