Moderator: Tech Team
Silent Hysteria wrote:If I can see the auto attack button yeti, I am still gonna use it. Even if I have to confirm it. If it isn't there I can't use it. =)
Would that mean it would bog the site down? I didn't think stuff like that would effect the site itself. I just thought it would be nice to be able to see who was online in the games I am in without having to check everyone's profile. 23 games is a lot of profiles to check. Especially when there is a minimum of 3 people per game. =)
Thanks for the response!
Regards,
SH
chipv wrote:Actually this isn't so bad - you would only need one AJAX request.
(...)
cspare wrote:chipv wrote:Actually this isn't so bad - you would only need one AJAX request.
(...)
Hmm, wouldn't you need 1 request for each player? So for 23 active games with 3 people per game that would add up to 69 requests. One profile page is about 22KB size so that would make 22*69 = 1518Kb for every time you refresh the active games page, which probably will be quite alot of times per day.
chipv wrote:cspare wrote:chipv wrote:Actually this isn't so bad - you would only need one AJAX request.
(...)
Hmm, wouldn't you need 1 request for each player? So for 23 active games with 3 people per game that would add up to 69 requests. One profile page is about 22KB size so that would make 22*69 = 1518Kb for every time you refresh the active games page, which probably will be quite alot of times per day.
No. This is not recommended at all.You could get a maximum of 700 ajax requests for a mygames page with 100 8 player games assuming
all different players. You can get all non-hidden online status with a single AJAX request.
cspare wrote:chipv wrote:cspare wrote:chipv wrote:Actually this isn't so bad - you would only need one AJAX request.
(...)
Hmm, wouldn't you need 1 request for each player? So for 23 active games with 3 people per game that would add up to 69 requests. One profile page is about 22KB size so that would make 22*69 = 1518Kb for every time you refresh the active games page, which probably will be quite alot of times per day.
No. This is not recommended at all.You could get a maximum of 700 ajax requests for a mygames page with 100 8 player games assuming
all different players. You can get all non-hidden online status with a single AJAX request.
Sounds interesting, how exactly?:)
lancehoch wrote:Couldn't you just get the information from the bottom of the Index page? Possibly code the script to search the index page and the My Games page for any names that appear on both? Would that be more than one request?
chipv wrote:cspare wrote:chipv wrote:cspare wrote:chipv wrote:Actually this isn't so bad - you would only need one AJAX request.
(...)
Hmm, wouldn't you need 1 request for each player? So for 23 active games with 3 people per game that would add up to 69 requests. One profile page is about 22KB size so that would make 22*69 = 1518Kb for every time you refresh the active games page, which probably will be quite alot of times per day.
No. This is not recommended at all.You could get a maximum of 700 ajax requests for a mygames page with 100 8 player games assuming
all different players. You can get all non-hidden online status with a single AJAX request.
Sounds interesting, how exactly?:)
I'll SKype you.
Correction, though, the single AJAX request only tells you online users so you would still need to scrape (#mygames player - #online) users profiles.
Silent Hysteria wrote:Would that be possible to have it search the index page and match them to the mygames page?
Silent Hysteria wrote:I wouldn't have the first idea with how to write the script. I have asked Yeti to add it to the BOB script so it can be used by anyone that wants it.
Users browsing this forum: No registered users