FIBS Board backgammon forum

Bots & other tech stuff => Other bots & tech stuff. => Topic started by: Chris on March 21, 2005, 03:04:31 PM

Title: who list incomplete?
Post by: Chris on March 21, 2005, 03:04:31 PM
Hi again  -_-

My bot tries to hold a always actual list of all fibs users who are logged in.

I observed that the "who list", which the bot gets when it logs in, is not complete.
There are perhaps 20 users missing.
When I send the "rawwho" command, I get a list with more users, but again some are missing (not the same ones as at the log in).

So either my bot is flawed and ignores some lines or there is a bug in fibs.
Is this a known issue? Are there known workarounds?

Thanks for your help, Chris
Title: who list incomplete?
Post by: MadMatt on March 21, 2005, 04:51:42 PM
Yeah, that is a known bug. No workaround for it either, although if a user toggles the ready status it will put him back on the list.
Title: who list incomplete?
Post by: tryout on March 21, 2005, 07:11:17 PM
I have found that the actual number of missing players from the list a who or rawwho command returns depends on the connection speed. On a modem connection far less entries come through which suggests it's a server internal timeout. The incomplete list is neither dependent on whether it's the initial list, btw. I can also confirm that one usually get's more users with rawwho than with who.

You can get more or less easily to a complete list by changing the sort order in which (raw)who returns the data and multiple (raw)who requests. In general a four command sequence is enough: set sortwho rating; rawwho; set sortwho rrating; rawwho. Note the double r on the second sort.


Title: who list incomplete?
Post by: socksey on August 31, 2005, 02:52:48 PM
This is an old topic refound today.   ;)

Thanks tryout.  Chris pointed me here and your solution seems to help.   :yes:

socksey



"Education is not the filling of a pail, but the lighting of a fire." - William Butler Yeats
Title: who list incomplete?
Post by: amarganth on September 01, 2005, 09:35:54 AM
Because of that, I've asked some day in shouts, how much players some players with different FIBS-Clients are seeing.

The number of users were different by about 20%. I think, no client or bot can manage a correct number.

Title: who list incomplete?
Post by: Hardy_whv on September 02, 2005, 10:37:24 PM
Hi amarganth,

QuoteI think, no client or bot can manage a correct number.

I think with the method layed out by tryout (set sortwho rating - who - set sortwho rrating - who - set sortwho login - who) you finally get - if you wait enough between the different "who" commands - the correct amout of players online. [Doing only 2 whos with different settings for sortwho somtimes left some players missing in the players list here. So I do 3 different whos.]

After that, its only a question of correctly taking into consideration the logins and logouts.

Without using this "trick", especially using slow connections, probably every client will be "trapped". Was there a significant difference between the amount of players online at the different clients?

Hardy  B)