Temporary solution for "reliable command cycled out" error.

Everything technical and nerdy stuff here plz !

Temporary solution for "reliable command cycled out" error.

Postby Rayne » 08.05.10

We all got cycled out in the past, we all know how annoying it is.
And we still don't know what exactly causes this. After some thinking about this error i decided to try something new.
I made a simple bind on F11, /reconnect.

Once the map is over and the scoreboard is displayed i wait till the last moment and then i hit F11 and reconnect to the server.
Like this the server loses all track of my presence from the previous map and behaves like I'm a new player trying to connect.
I don't know about others but i never got dropped during the "first" visit to the server. Even when i was connecting while the loading was in progress.

The scoreboard is displayed for 13 to 15 seconds. Timing is important cause if you hit the /reconnect bind to early you will load the previous map first and then just jump to the loading screen of the next map.
If you hit it to late, the bind wont work.

If anyone know what causes this feel free to drop a line. I had a chance to talk with Svarox about this today, and we managed to find half a dozen reasons why this might be happening. Any idea is welcome.
Image

Bring the Rayne.
User avatar
Rayne
posted some :)
 
Posts: 368
Joined: 08.05.09
Location: Zagreb, Croatia

Re: Temporary solution for "reliable command cycled out" error.

Postby eXtr33m » 08.05.10

Hooooray i thought i am only one but i see everybody is cursed by this :)
User avatar
eXtr33m
Ingame Mod
 
Posts: 806
Joined: 12.19.09
Location: @Gauss:
-----tdm:  
nick: [dswp]Jan
skill: 330.877
kills: 220
deaths: 210
ratio: 1.04
-----bomb:  
nick: [dswp]Jan
skill: 664.203

Re: Temporary solution for "reliable command cycled out" error.

Postby XTJ7 » 08.05.10

<XTJ7> !penis
<CuntBot> XTJ7, your penis is 23.3 cm long. 8=========D
<XTJ7> !8ball do i rock?
<CuntBot> XTJ7: OH YEAH !
<BEH> !8ball you lieing too?
<CuntBot> BEH: Totally not.
<BEH> -_-''
User avatar
XTJ7
Kanzlerin
 
Posts: 1063
Joined: 07.24.08
Location: Germany
-----tdm:  
nick: [dswp]xtj7
skill: 753.35
kills: 98
deaths: 95
ratio: 1.03

Re: Temporary solution for "reliable command cycled out" error.

Postby Crusher » 08.05.10

#define MAX_RELIABLE_COMMANDS 64
qcommon.h

Maybe I should try this :)

Btw this error appears a lot on Crossing and Subterra. Sometimes on Tunis.
User avatar
Crusher
Godlike
 
Posts: 1602
Joined: 08.30.08
-----tdm:  
nick: Blah
skill: 1113.98
kills: 15850
deaths: 10118
ratio: 1.56
-----bomb:  
nick: I_Play_Games
skill: 734.04
kills: 2551
deaths: 2228
ratio: 1.14

Re: Temporary solution for "reliable command cycled out" error.

Postby SvaRoX » 08.05.10

XTJ7 wrote:http://forums.urbanterror.info/topic/8272-error-cl-getservercommand-a-reliable-command-was-cycled-out/page__st__20

NulL pointed out the problem.

I read this forum a while ago but I don't fully agree with his explanation. He says that the cause is the excessive number of players and time spent to load a map, while this bug is due to excessive number of players and which map you are about to play on. For example, I never get this error on suburbs and toxic but almost always on subterra, despite their loading time is maybe two times the one of subterra. (Irony, subterra is NulL's map, maybe I will ask him some information about it).
Crusher wrote:#define MAX_RELIABLE_COMMANDS 64
qcommon.h

Like I wrote somewhere else, I don't understand how increasing this value could stop this error to happen. Here is the code from ioq3 :
Code: Select all
    if ( serverCommandNumber <= clc.serverCommandSequence - MAX_RELIABLE_COMMANDS ) {
        // when a demo record was started after the client got a whole bunch of
        // reliable commands then the client never got those first reliable commands
        if ( clc.demoplaying )
            return qfalse;
        Com_Error( ERR_DROP, "CL_GetServerCommand: a reliable command was cycled out" );
        return qfalse;
    }

It means that if you increase MAX_RELIABLE_COMMANDS, you have more chances to get a true condition for the if, then more chances to get the error...
Sniffing the network traffic would be interesting, only problem is that you need lots of clients to operate in normal conditions (maybe fake clients would do the trick ?)
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger
User avatar
SvaRoX
Leader
 
Posts: 1972
Joined: 11.29.08

Re: Temporary solution for "reliable command cycled out" error.

Postby XTJ7 » 08.05.10

I mean, I don't know the context, but that doesn't make any sense to me. clc.serverCommandSequence + MAX_RELIABLE_COMMANDS would make sense, but subtracting it? It seems like the name is actually wrong. Instead of MAX_RELIABLE_COMMANDS, the way it is used it should be named RELIABLE_COMMAND_OFFSET or something like that instead. I don't know, no matter how I look at it, it just seems to be wrong.
<XTJ7> !penis
<CuntBot> XTJ7, your penis is 23.3 cm long. 8=========D
<XTJ7> !8ball do i rock?
<CuntBot> XTJ7: OH YEAH !
<BEH> !8ball you lieing too?
<CuntBot> BEH: Totally not.
<BEH> -_-''
User avatar
XTJ7
Kanzlerin
 
Posts: 1063
Joined: 07.24.08
Location: Germany
-----tdm:  
nick: [dswp]xtj7
skill: 753.35
kills: 98
deaths: 95
ratio: 1.03

Re: Temporary solution for "reliable command cycled out" error.

Postby eXtr33m » 08.05.10

Monitoring these variables On Run should help to solve tthis mystery.. no? :)
User avatar
eXtr33m
Ingame Mod
 
Posts: 806
Joined: 12.19.09
Location: @Gauss:
-----tdm:  
nick: [dswp]Jan
skill: 330.877
kills: 220
deaths: 210
ratio: 1.04
-----bomb:  
nick: [dswp]Jan
skill: 664.203

Re: Temporary solution for "reliable command cycled out" error.

Postby XTJ7 » 08.05.10

Decreasing the value could possibly help - if the constant was only used in one place, or if it was consequently used in this (imho wrong) way.
<XTJ7> !penis
<CuntBot> XTJ7, your penis is 23.3 cm long. 8=========D
<XTJ7> !8ball do i rock?
<CuntBot> XTJ7: OH YEAH !
<BEH> !8ball you lieing too?
<CuntBot> BEH: Totally not.
<BEH> -_-''
User avatar
XTJ7
Kanzlerin
 
Posts: 1063
Joined: 07.24.08
Location: Germany
-----tdm:  
nick: [dswp]xtj7
skill: 753.35
kills: 98
deaths: 95
ratio: 1.03


Who is online

Users browsing this forum: No registered users and 0 guests

Misc