December 01, 2008, 07:52:13 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Join the team league NOW!.......3 of the same species NOT IMPORTANT for a team...http://fibsleagammon.free.fr/TEAMRules.htm
 
  Home   Forum   Chat links PLAY NOW! Help Search Calendar Members Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Players List: All players listed tiwce  (Read 1217 times)
0 Members and 1 Guest are viewing this topic.
Hardy_whv
Gold members
Beginner
*
Offline Offline

Gender: Male
Posts: 229



WWW
« on: August 25, 2005, 05:40:50 PM »

I am sometimes experiencing an error in the players list .

Due to a timeout problem of FIBS, sometimes not all players are displayed in the players list. This is a known problem and can be solved by sending the commands:

 - set sortwho rating
  - who
  - set sortwho rrating
  - who


(Or something similar). I programmed some buttons for those commands. After giving the commands, the complete list of players is shown.

Somtimes however, after giving the above commands, all players in the players list are displayed twice . Also the displayed amount of FIBSters online is much higher:



The rest of JavaFIBS works fine, but the double amount of players in the players list is somewhat annoying.

Is anyone else experiencing the same problem? Any solutions for that?

Yours,

Hardy  blink  
Logged

Visit "Hardy's Backgammon Pages"
FIBS Board backgammon forum
« on: August 25, 2005, 05:40:50 PM »



 Logged
socksey
Global Moderator
Advanced
*
Offline Offline

Gender: Female
Posts: 1,317



« Reply #1 on: August 25, 2005, 05:50:13 PM »

Yes, I experience the same problem.  No, I have no solution for Javafibs, but I do sometimes log on with my 3DFibs with an alternate nick just to get the correct number of players on Fibs since I can never get it right with Javavibs.    Cheesy

socksey



"There is only one satisfying way to boot a computer. " - J.H. Goldfuss
 
Logged
amarganth
Beginner
**
Offline Offline

Posts: 86



WWW
« Reply #2 on: August 25, 2005, 07:11:45 PM »

Sometimes, I have only one or two players listed twice.

If you press the "update table" button, JavaFIBS gets a complete new user list from FIBS. Mostly, that works.
Logged

To be is to do
          Sokrates
To do is to be
          Sartre
Do be do be do
          Sinatra
tryout
Beginner
**
Offline Offline

Posts: 177



WWW
« Reply #3 on: August 27, 2005, 08:00:54 PM »

Hi Hardy,

You mustn't be too impatient and need to wait several seconds before issuing the second who command. Javafibs (or any other client) doesn't have any means to recognise for which who command the server answers come. If the second command is sent before the first has completed both answers are interleaved and produce double entries in the player list.

As a fix Javafibs ought to check on CLIP_WHO_INFO messages whether the player exists already in the player list and only else create a new entry.


 
Logged

GammonLeague -- Join free Backgammon tournaments

FIBS TEAM League -- Play Backgammon with friends in a team
Hardy_whv
Gold members
Beginner
*
Offline Offline

Gender: Male
Posts: 229



WWW
« Reply #4 on: August 27, 2005, 09:27:35 PM »

Hi tryout!

Quote
Hi Hardy,
You mustn't be too impatient

I am impatient, so your solution doesn't help at all Cheesy

I think, that JavaFIBS should recognize identical player information and not display them twice in the list. I have the impression, it also happens if I wait a while between the different who-commands.

This error is not reproduceable. It sometimes appears (around every 10th time I log in), sometimes not. Will have a closer look at it .... beeing more patient and trying the "update" button. Will report, as soon as I have more information available.

Thanks,

Hardy  cool





 
Logged

Visit "Hardy's Backgammon Pages"
cthulhu
Moderator
Beginner
*
Offline Offline

Posts: 99


« Reply #5 on: August 28, 2005, 01:08:22 PM »

"As a fix Javafibs ought to check on CLIP_WHO_INFO messages whether the player exists already in the player list and only else create a new entry."

It already does but for some reason this bug happens occasionally anyway. It's a bug which is hard to locate.
Logged
tryout
Beginner
**
Offline Offline

Posts: 177



WWW
« Reply #6 on: August 28, 2005, 05:04:28 PM »

Hi cthulhu,

Perhaps I can help you to narrow the bug with some details of my observations so far.

Due to the (very often) incomplete FIBS player listing I proceed with the "set sortwho rating; who; set sortwho rrating; who" sequence after every login. Since I wait for the first who command to complete I'm not experiencing double entries caused by this.

Now and then however I see one or very few players having a double entry in the list. I assume this happens when JavaFIBS receives the initial player list and other CLIP_WHO_INFO messages get interspersed in the listing. I've observed on several occasions that the replies from FIBS for who or rawwho commands are unfortunately not a continuous block. This may happen for instance when a match is started or finished or a player toggles his ready status.

So far I've only gotten these double entries right at the initial population of the list, which could indicate a timing issue. This would also explain that it's difficult to find. Later, when I've obtained already a complete list and therefore an entry for every player exists, no problems appear even on successively repeated who commands. On a wild guess I'd say that the creation of a player entry takes a little while, during which checks for the existance of this player returns false (and on the second CLIP_WHO_INFO message for the same player a double entry is generated). Maybe it's even possible that triple or more entries are generated under extreme conditions.

A further interesting observation is that one of these double entries never gets updated, be it rating or any other status.

Hth and please feel free to ask for more details if needed.




 
Logged

GammonLeague -- Join free Backgammon tournaments

FIBS TEAM League -- Play Backgammon with friends in a team
cthulhu
Moderator
Beginner
*
Offline Offline

Posts: 99


« Reply #7 on: September 01, 2005, 11:00:10 PM »

Thanks, but it's not really helpful. I can't stress this bug to appear no matter how hard I try when I login. I also use to do the "set sortwho rating; who; set sortwho rrating; who" sequence when I login and as fast as I can without being able to make the bug to happen. Therefore it's hard to do changes and see if I have succeeded. It is as pointed out, some timing error and there are happening things behind the scenes in the Java components that I don't have full control over.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  



Cheap Electricity - Renegade motorhomes - Mobile Phones - Credit Cards
Terms & Conditions | Privacy policy
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!