FIBS Board backgammon forum

who list incomplete?

Author Topic: who list incomplete?  (Read 7640 times)

Offline Chris

  • Fibsboarder
  • ***
  • Posts: 39
who list incomplete?
« 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

FIBS Board backgammon forum

who list incomplete?
« on: March 21, 2005, 03:04:31 PM »

Offline MadMatt

  • Fibsboarder plus
  • ****
  • Posts: 267
    • The FIBS TourneyBot Home Page
who list incomplete?
« Reply #1 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.
MadMatt
----------

TourneyBot Website

FIBS Board backgammon forum

who list incomplete?
« Reply #1 on: March 21, 2005, 04:51:42 PM »

Offline tryout

  • Fibsboarder plus
  • ****
  • Posts: 177
    • http://fibsleagammon.free.fr/team.htm
who list incomplete?
« Reply #2 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.


GammonLeague -- Join free Backgammon tournaments
[size=8] [/size]
FIBS TEAM League -- Play Backgammon with friends in a team

Offline socksey

  • Global Moderator
  • Expert
  • *
  • Posts: 2,916
who list incomplete?
« Reply #3 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
 

FIBS Board backgammon forum

who list incomplete?
« Reply #3 on: August 31, 2005, 02:52:48 PM »

Offline amarganth

  • Fibsboarder +
  • ***
  • Posts: 89
    • http://www.RedAndBlue.ch.vu
who list incomplete?
« Reply #4 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.

 
To be is to do
          Sokrates
To do is to be
          Sartre
Do be do be do
          Sinatra

Offline Hardy_whv

  • Gold member
  • Fibsboarder plus
  • *
  • Posts: 233
    • Hardy's Backgammon Pages
who list incomplete?
« Reply #5 on: September 02, 2005, 10:37:24 PM »
Hi amarganth,

Quote
I 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)  
Visit "Hardy's Backgammon Pages"

Tags:
 

TinyPortal © 2005-2018