PDA

View Full Version : Stats Integration Update



ZERO
09-14-2011, 03:47 AM
As you may have noticed I have reprogrammed the stats integration in the forums. This is designed to hopefully reduce server load and load times. Previously the stats data was literally image files which the server had to dynamically generate on the fly for every page load. The new system allows for the data to be sent directly with no post processing. In addition the data is not cached for 60seconds but that may be increased in the future to fine tune the benefits.

Please post comments below :wtg:

Spasm
09-14-2011, 05:18 AM
Nice, 80 gun game wins zero... STEP IT UP :)

StarsMine
09-14-2011, 08:48 AM
So now we get little scrolling single lines?
Sort of odd. That or my computer is being retarded.

acolyte_to_jippity
09-14-2011, 12:46 PM
So now we get little scrolling single lines?
Sort of odd. That or my computer is being retarded.

same.

if it helps, i'm on chrome build 13.0.782.220 m

ZERO
09-14-2011, 01:17 PM
Can you post a pic of what you see?

I will try to set scrolling to no even though that is not an officially supported wc3 parameter for <object>

Steamer
09-14-2011, 01:43 PM
4069

Also the same as profile one. FF 6.0.2 W764

ZERO
09-14-2011, 02:23 PM
I do not see what you mean by scrolling but I made it so the rank that you hover over underlines itself so it is clear to new users of the forums that these are links.

acolyte_to_jippity
09-14-2011, 03:31 PM
http://www.webpagescreenshot.info/img/398328-9142011113027PM

ZERO
09-14-2011, 04:17 PM
You need to bitch at Google <object> tag is not supped to have scroll bars ever. That browser is not following wc3 validation. You might as well use a cardboard box to view the internet if your browser is going to make up its own rules as to how things display.

---------- Post added at 05:04 PM ---------- Previous post was at 04:56 PM ----------

You can see that the browser does not work correctly here: http://code.google.com/p/chromium/issues/detail?id=75415

---------- Post added at 05:17 PM ---------- Previous post was at 05:04 PM ----------

I have fixed it by making the objects larger. Apparently chrome basically displays shit however it feels.

acolyte_to_jippity
09-14-2011, 04:42 PM
You need to bitch at Google <object> tag is not supped to have scroll bars ever. That browser is not following wc3 validation. You might as well use a cardboard box to view the internet if your browser is going to make up its own rules as to how things display.

---------- Post added at 05:04 PM ---------- Previous post was at 04:56 PM ----------

You can see that the browser does not work correctly here: http://code.google.com/p/chromium/issues/detail?id=75415

---------- Post added at 05:17 PM ---------- Previous post was at 05:04 PM ----------

I have fixed it by making the objects larger. Apparently chrome basically displays shit however it feels.

these three posts made my day.

edit: also, thanks zero!

Steamer
09-14-2011, 05:14 PM
You might as well use a cardboard box to view the internet if your browser is going to make up its own rules as to how things display.

LMFAO! :lmao: :icon_mrgreen: I can't stand chrome...

acolyte_to_jippity
09-14-2011, 05:18 PM
LMFAO! :lmao: :icon_mrgreen: I can't stand chrome...

fuck you! chrome is wonderful!!

ZERO
09-14-2011, 05:30 PM
I have updated the scripts for the stats and steam integration to include proper encoding headers. This should improve load times for these scripts as they will now fully validate and be error free. :wtg:

Rosie
09-14-2011, 06:15 PM
http://www.megaupload.com/?d=GA0LUWUZ

This is what I am seeing. Although I am still rocking XP which could be the problem.

ZERO
09-14-2011, 07:08 PM
No the problem is your browser is from the Jurassic era.

Did the steam integration icon show up correctly before today?

ZERO
09-14-2011, 09:25 PM
Also what ie version is that?

Rosie
09-14-2011, 09:59 PM
I use IE 8 Serv pack 3. Like I said I am still using XP pro. I have never seen the ranks as they are shown in the other screenshots. The interface use to just say Pub, GG, Zm from top to bottom, and if I hover over them it then shows the quick stats screen. The hover still works, I just get those dashes instead of the server name.

ZERO
09-14-2011, 10:09 PM
Ok so you never saw anything in those places before as far as dynamic content goes?

I have updated the code to have backup txt for old browsers that can not read <object> tags did this change anything for you?

Rosie
09-14-2011, 10:31 PM
It now says Pub rank GG rank and ZM rank. Still have to hover, but all is well as far as I am concerned.

ZERO
09-14-2011, 10:33 PM
OK and for reference did it ever work in the past like for example when was the last time you saw the steam integration. The issue is clearly that your browser does not support the object tag so a solution may be to use iframes as a fall back :smirk:

ZERO
09-15-2011, 12:37 AM
I also wanted to update that these changes have had a massive impact on reducing server usage. There has been over a 75% reduction in load.

acolyte_to_jippity
09-15-2011, 11:45 PM
could you up the size of whatever you did just a little bit more?

i'm still getting the scroll thing if the zombie activity is 100%

Rosie
09-16-2011, 10:27 AM
It shows the names of the servers now, but now I cant click on them to go to the stats page. And to answer you Zero, no I have never had anything there.

ZERO
09-16-2011, 01:15 PM
Wow that is very interesting... are you able to see the servers status on the home page?

I will increase the width again when I get a chance by another 2px, will post when it is done. My main focus is to see if the iframes work in the old browsers so I could use that as a backup instead of alt txt.

Rosie
09-16-2011, 01:34 PM
Everything on the homepage looks fine.

ZERO
09-16-2011, 01:49 PM
Ok I have updated it one last time for the threads how does it looks now? Are you able to see the dynamic data or just the same as before?

Rosie
09-16-2011, 01:57 PM
May have went too far. I now show a large white block before the server name.

ZERO
09-16-2011, 03:16 PM
OK so now you just see a box and then the same thing as earlier?

Rosie
09-16-2011, 11:02 PM
That is correct sir.

ZERO
09-17-2011, 01:53 AM
Wow that browser is from the Jurassic period! Literally "First introduced by Microsoft Internet Explorer in 1997" thus your browser is pre 1997!

ZERO
09-20-2011, 12:29 AM
OK stats should show up correctly for chrome now. Also for old browsers that do not support objects or iframes I have made it so the text will show up but still link to the correct location such as a players stats ect. Can you guys confirm that this is working?