[20:15:15] Error: Server sent ambiguous command! help!

[20:15:15] Error: Server sent ambiguous command! help!

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
xhaq
Posts: 4
Joined: 12 Sep 2005, 20:18

[20:15:15] Error: Server sent ambiguous command! help!

Post by xhaq »

i get this errorevery few minutes and it gets me disconnected every time :(
what seems to be the problem? i'm behind a router but i forwarded and opened default ports.
10053r
Posts: 297
Joined: 28 Feb 2005, 19:19

Post by 10053r »

Bump. This happens to me all the time as well. Normally, it is while I'm already in a game, so it isn't a problem, but it is annoying to have to rejoin the game lobby after every game.
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

Would you two happen to have narrowband? I've got a 56k modem and sometimes I engage in the folly of multitasking. Thus, ambiguous server commands hit me. I haven't crashed- yet- all it does is just not do what I told it to do.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

"Ambiguous commands" are usually not critical, they can happen due to lag (most often). For example, if you get command telling you about updated battle state but you are no longer participating in a battle (client tries to resolve these kind of problems automatically).

Anyway, press SHIFT+CTRL+F6 or run client with -debug command and tell me after which line do you get this error.
xhaq
Posts: 4
Joined: 12 Sep 2005, 20:18

Post by xhaq »

Code: Select all

[11:59:47] Client: "PING"
[11:59:47] Server: "PONG"
[11:59:57] Client: "PING"
[11:59:58] Client: "PING"
[11:59:59] Client: "PING"
[12:00:00] Client: "PING"
[12:00:01] Client: "PING"
[12:00:02] Client: "PING"
[12:00:03] Client: "PING"
[12:00:04] Client: "PING"
[12:00:05] Client: "PING"
[12:00:06] Client: "PING"
[12:00:07] Client: "PING"
[12:00:08] Client: "PING"
[12:00:09] Client: "PING"
[12:00:10] Client: "PING"
[12:00:11] Client: "PING"
[12:00:12] Client: "PING"
[12:00:13] Client: "PING"
[12:00:14] Client: "PING"
[12:00:15] Client: "PING"
[12:00:16] Client: "PING"
[12:00:17] Client: "PING"
[12:00:17] Connection to server closed!
[12:00:17] Server: "ADDUSER solsifix FR 3200"
[12:00:17] Server: "CLIENTSTATUS solsifix 0"
[12:00:17] Server: "JOINED main solsifix"
[12:00:17] Error: Server sent ambiguous command!
I guess that when i have 20 sec lag with no response from server it automaticly gets me disconnected :D I can be totally wrong about this.Just guessing.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

I just might know what the problem here is - I didn't change FlushTimeout property of socket from default, which is 60 seconds. I don't really know how this actually works, but it seems your system doesn't send data immediately, but rather waits for buffer to fill up and send the data then. I've created a fixed version which has FlushTimeout set to 1 second, please test it and tell me if this resolves your problem:

http://users.sentvid.org/~tomaz/temp/TASClient.zip
xhaq
Posts: 4
Joined: 12 Sep 2005, 20:18

Post by xhaq »

It didnt work
here are 2 sets of lines

Code: Select all

16:08:07] Client: "PING"
[16:08:08] Client: "PING"
[16:08:08] Server: "CLIENTSTATUS Zaphod 9"
[16:08:09] Server: "CLIENTSTATUS Zaphod 12"
[16:08:18] Client: "PING"
[16:08:19] Client: "PING"
[16:08:20] Client: "PING"
[16:08:21] Client: "PING"
[16:08:22] Client: "PING"
[16:08:22] Client: "MYSTATUS 0"
[16:08:23] Client: "PING"
[16:08:24] Client: "PING"
[16:08:25] Client: "PING"
[16:08:26] Client: "PING"
[16:08:27] Client: "PING"
[16:08:28] Client: "PING"
[16:08:29] Client: "PING"
[16:08:30] Client: "PING"
[16:08:31] Client: "PING"
[16:08:32] Client: "PING"
[16:08:33] Client: "PING"
[16:08:34] Client: "PING"
[16:08:35] Client: "PING"
[16:08:35] Server: "PONG"
[16:08:35] Server: "PONG"
[16:08:35] Server: "CLIENTSTATUS BvDorp 11"
[16:08:35] Server: "CLIENTSTATUS BvDorp 9"
[16:08:35] Server: "CLIENTSTATUS BvDorp 8"
[16:08:35] Server: "CLIENTSTATUS Betalord 8"
[16:08:35] Server: "CLIENTSTATUS RIFFTOR 5"
[16:08:35] Server: "CLIENTSTATUS RIFFTOR 4"
[16:08:35] Server: "BATTLECLOSED 377"
[16:08:39] Connection to server closed!
at first i thought it's been fixed but after 10 mins i got disconnected(no ambigous error tho)

heres the second set

Code: Select all

[16:21:23] Server: "CLIENTSTATUS test 0"
[16:21:23] Server: "JOINED main test"
[16:21:29] Client: "PING"
[16:21:33] Client: "PING"
[16:21:34] Client: "PING"
[16:21:34] Server: "PONG"
[16:21:45] Server: "PONG"
[16:21:45] Server: "CLIENTSTATUS min3mat 13"
[16:21:45] Client: "PING"
[16:21:55] Client: "PING"
[16:21:56] Client: "PING"
[16:21:57] Client: "PING"
[16:21:58] Client: "PING"
[16:21:59] Client: "PING"
[16:22:00] Client: "PING"
[16:22:01] Client: "PING"
[16:22:02] Client: "PING"
[16:22:03] Client: "PING"
[16:22:04] Client: "PING"
[16:22:05] Client: "PING"
[16:22:06] Client: "PING"
[16:22:07] Client: "PING"
[16:22:08] Client: "PING"
[16:22:09] Client: "PING"
[16:22:10] Client: "PING"
[16:22:11] Client: "PING"
[16:22:12] Client: "PING"
[16:22:13] Client: "PING"
[16:22:14] Client: "PING"
[16:22:15] Connection to server closed!
[16:22:15] Server: "PONG"
[16:22:15] Server: "LEFT main test"
[16:22:15] Error: Server sent ambiguous command!
[16:22:15] Server: "REMOVEUSER test"
[16:22:15] Error: Server sent ambiguous command!
the error is still there
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

I've just reuploaded the client (http://users.sentvid.org/~tomaz/temp/TASClient.zip), I've set wsoTcpNoDelay to True this time, tell me if it works.
xhaq
Posts: 4
Joined: 12 Sep 2005, 20:18

Post by xhaq »

ok now its a bit different let me paste log

Code: Select all

[17:22:55] Server: "CLIENTSTATUS xhaq 0"
[17:22:56] Server: "JOIN main"
[17:22:56] Server: "CLIENTS main Betalord Gillmor_TA heze SJ Torrasque mother RulerOfHeck Peace Wei280 niko thamien"
[17:22:56] Server: "CLIENTS main safi Majortomster bamboo22 farbrortumm Scorpius Spectre GenBlood Andy111 xhaq"
[17:22:56] Server: "CHANNELTOPIC main Enjoy your stay :)"
[17:23:05] Client: "PING"
[17:23:05] Server: "PONG"
[17:23:14] Server: "CLIENTSTATUS Spectre 8"
[17:23:15] Client: "PING"
[17:23:22] Server: "LEFT main Andy111"
[17:23:23] Server: "REMOVEUSER Andy111"
[17:23:25] Client: "PING"
[17:23:25] Server: "CLIENTSTATUS Betalord 8"
[17:23:29] Server: "LEFT main GenBlood"
[17:23:34] Server: "REMOVEUSER GenBlood"
[17:23:34] Server: "ADDUSER Andy111 GB 2500"
[17:23:34] Server: "CLIENTSTATUS Andy111 0"
[17:23:34] Server: "JOINED main Andy111"
[17:23:35] Client: "PING"
[17:23:35] Connection to server closed!
i get disconnected more frequently with this client

i'll just use the default client for now. thx for fast reaction :) waiting for further updates on friday.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

It seems xhaq and me figured out what the problem was, it seems his connection was lagging pretty bad (10+ seconds in-game), which was causing constant timeouts from the lobby.
Now, does anyone else have this problem with broadband by any chance?
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

Betalord wrote:It seems xhaq and me figured out what the problem was, it seems his connection was lagging pretty bad (10+ seconds in-game), which was causing constant timeouts from the lobby.
Now, does anyone else have this problem with broadband by any chance?
I get it from time to time. Not constantly.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

I get it from time to time. Not constantly.
You get disconnected due to timeout? Or due to connection reset?
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Post by mongus »

i get disconnected from time to time too.
and its not due to my connection to internet dropping, my connection to internet is very stable,

Code: Select all

up 6 days,
,so its gotta be something else.

i have the slight impression the client is a bit sensitive to lag.

whats disgusting is when my spring gets disconnected from the server (or something like that) and im the only one that gets that, everybody else keeps playing normally.
But thats not related to the TASclient.
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

If you have dynamic IP (most of people do, at least with ISPs in my country) your IP probably gets changed automatically on some fixed intervals (24 hours with my ISP, was 12 hours a year ago). That means your internet connection gets reset, you drop from IRC/MSN/Spring/* and have to reconnect. And it has nothing to do with internet stability. Just to make sure, type /uptime in lobby client to check server's uptime.
svendi
Posts: 4
Joined: 26 Feb 2006, 01:00

Post by svendi »

Same pb here

Code: Select all

XP sp2, NAT but DMZ. 3.0 Ghz, 1 Go Ram, 8Mbps down, 1 Mbps up.
Get this :

Code: Select all

[00:47:33] Error: Server sent ambiguous command!
[00:47:33] Error: Server sent ambiguous command!
[00:47:33] Error: Server sent ambiguous command!
[00:47:33] Error: Server sent ambiguous command!
[00:47:33] Error: Server sent ambiguous command!
[00:47:33] Error: Server sent ambiguous command!
[00:47:33] Error: Server sent ambiguous command! [#9]
[00:47:33] Error: Server sent ambiguous command!
[00:47:33] Error: Server sent ambiguous command!
[00:47:36] Error: Must be connected to send data!
every 10 or 15 minutes, most of the time it's when i play a game (as a host most times)

verbose log give me this :

Code: Select all

[02:15:26] Client: "PING"
[02:15:26] Server: "ADDUSER hombre US 3200 24.254.39.252"
[02:15:27] Server: "CLIENTSTATUS hombre 4"
[02:15:27] Server: "UPDATEBATTLEINFO 2107 0 0 Mars.smf"
[02:15:27] Server: "JOINED main hombre"
[02:15:35] Connection to server closed!
[02:15:35] Server: "CLIENTSTATUS hyalin 12"
[02:15:35] Error: Server sent ambiguous command!
[02:22:24] Error: Must be connected to send data!
and this one

Code: Select all

[02:27:24] Client: "PING"
[02:27:27] Server: "BATTLEOPENED 2124 0 1 [SWS]DragonMaster45 70.228.59.185 4791 4 0 0 2_Valleys_V.3-By_Wired.smf	Kirbeh! <("  )< | >(  ")>	Absolute Annihilation 1.44"
[02:27:28] Server: "UPDATEBATTLEINFO 2124 0 0 2_Valleys_V.3-By_Wired.smf"
[02:27:29] Server: "BATTLECLOSED 2124"
[02:27:35] Client: "PING"
[02:27:35] Connection to server closed!
[02:47:58] Error: Must be connected to send data!
or this one :

Code: Select all

[03:18:42] Server: "PONG"
[03:18:52] Client: "PING"
[03:18:53] Server: "PONG"
[03:19:03] Client: "PING"
[03:19:04] Client: "PING"
[03:19:05] Client: "PING"
[03:19:06] Client: "PING"
[03:19:07] Client: "PING"
[03:19:10] Server: "PONG"
[03:19:10] Server: "PONG"
[03:19:10] Server: "PONG"
[03:19:10] Server: "PONG"
[03:19:10] Server: "PONG"
[03:19:11] Server: "SAID main Nino264 is that what they say?"
[03:19:11] Server: "UPDATEBATTLEINFO 2096 0 0 2_Valleys_V.3-By_Wired.smf"
[03:19:18] Client: "PING"
[03:19:22] Client: "PING"
[03:19:22] Server: "CLIENTSTATUS Iklash222 16"
[03:19:24] Server: "ADDUSER Skudoo US 1596 64.194.23.49"
[03:19:24] Server: "CLIENTSTATUS Skudoo 0"
[03:19:33] Client: "PING"
[03:19:33] Server: "JOINED main Skudoo"
[03:19:33] Server: "CLIENTSTATUS DeathPena1ty 6"
[03:19:33] Server: "SAID main Bobtree rumor is the devs went on holliday"
[03:19:44] Client: "PING"
[03:19:49] Server: "BATTLECLOSED 2160"
[03:19:55] Client: "PING"
[03:19:57] Server: "JOINEDBATTLE 2165 Skudoo"
[03:20:06] Connection to server closed!
[03:20:06] Server: "UPDATEBATTLEINFO 2165 2 0 Canyons-v09.smf"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "LEFTBATTLE 2120 Temm"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "BATTLEOPENED 2170 0 0 kamiro1987 130.215.226.41 8452 4 0 0 FloodedDesert.smf	2v2 battle. 10 min startup	XTA v0.66 SE"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "LEFT main Temm"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "REMOVEUSER Temm"
[03:20:06] Error: Server sent ambiguous command! [#9]
[03:20:06] Server: "CLIENTSTATUS GuiltySpark 14"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "CLIENTSTATUS alphabeta 16"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "CLIENTSTATUS RedDragon 13"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "LEFTBATTLE 2128 BoredJoe"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "CLIENTSTATUS RedDragon 12"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "CLIENTSTATUS Conti 0"
[03:20:06] Error: Server sent ambiguous command!
[03:20:06] Server: "SAID main Nino264 nice"
[03:36:05] Error: Must be connected to send data!

My isp is known to have pb sometimes, but I have met some other guys with the same isp who do not have these pb.

Thanks
Betalord
Former Engine Dev
Posts: 543
Joined: 29 Jun 2005, 09:31

Post by Betalord »

Did increasing the send/recv buffers in 0.21 help anything with this issue?
svendi
Posts: 4
Joined: 26 Feb 2006, 01:00

Post by svendi »

More or less, they were no disconnection at the beginning. there is a few right now, same errors "ambigous command". Should I launch the -debug mode to help ?

Code: Select all

[23:21:54] Error: Server sent ambiguous command!
[23:22:09] Error: Server sent ambiguous command!
[23:22:33] Error: Server sent ambiguous command!
[23:22:33] Error: Server sent ambiguous command!
[23:25:51] Connection to server closed!
[23:25:51] Error: Server sent ambiguous command!
[23:25:51] Error: Server sent ambiguous command! [#9]
@+

Svendi
Post Reply

Return to “Help & Bugs”