TASClient logon problems - Page 2

TASClient logon problems

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
flop
Posts: 335
Joined: 22 Nov 2006, 05:44

Re: TASClient logon problems

Post by flop »

i really dont like springlobby, but it seems to be working. do you guys know what my problem is using tasclient? is it a problem with my connection or what?
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient logon problems

Post by Satirik »

aegis wrote:springlobby people say it works now

also satirik, you probably don't have the type of computer and connection likely to timeout ;)
it's a serverside disconnection now if it works with springlobby .... i don't understand why i don't know shit to networking
Last edited by Satirik on 27 Jan 2008, 20:42, edited 2 times in total.
User avatar
flop
Posts: 335
Joined: 22 Nov 2006, 05:44

Re: TASClient logon problems

Post by flop »

woah i got new shit
[11:39:36 AM] Server: "UPDATEBATTLEINFO 1826 1 0 1352702063 SpeedMetal.smf"
[11:39:36 AM] Server: "UPDATEBATTLEINFO 1826 0 0 1352702063 SpeedMetal.smf"
[11:39:36 AM] Connection to server closed!
[11:39:37 AM] Server: "CLIENTSTATUS lfing 20"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "LEFTBATTLE 1826 Wisse[PiRO]"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS Cosmos 15"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS Cosmos 13"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS [TT]JAZCASH 19"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS [BF]sensorman 23"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS bastafari202 23"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS [TT]JAZCASH 17"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS [BF]sensorman 21"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS saul 19"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS bastafari202 21"
[11:39:37 AM] Error: Server sent ambiguous command!
[11:39:37 AM] Server: "CLIENTSTATUS qxl32 19"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS Manda 19"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS saul 17"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS fc14159 19"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS MegaPihar 19"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS qxl32 17"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS Manda 17"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS hlodvick 3"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS fc14159 17"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS MegaPihar 17"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS hlodvick 1"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS masterlychief 15"
[11:39:38 AM] Error: Server sent ambiguous command!
[11:39:38 AM] Server: "CLIENTSTATUS cmsJustin 19"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS SergeantDeadeye 11"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS masterlychief 13"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS cmsJustin 17"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS [Fr]Snake 23"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS SergeantDeadeye 9"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS [Fr]Snake 21"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS lfing 21"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS rollese 1"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS Isodrink 3"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS Isodrink 1"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS konitshiwa 132"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:39 AM] Server: "CLIENTSTATUS sombriks 133"
[11:39:39 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS Rymosrac 1"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS sikakraa 1"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS Riedel 1"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS neti 1"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS [dib]ivsq 19"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS SirSyriusz 19"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS gaou 15"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS m4stergrill3r 15"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS gaou 13"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS SirSyriusz 17"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "ADDUSER JIGSAW2 US 0"
[11:39:40 AM] Server: "CLIENTSTATUS JIGSAW2 0"
[11:39:40 AM] Server: "CLIENTSTATUS [dib]ivsq 17"
[11:39:40 AM] Error: Server sent ambiguous command!
[11:39:40 AM] Server: "CLIENTSTATUS m4stergrill3r 13"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "CLIENTSTATUS Tkdn 11"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "CLIENTSTATUS Tkdn 9"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "ADDUSER SpunkyMunky GB 2992"
[11:39:41 AM] Server: "CLIENTSTATUS SpunkyMunky 8"
[11:39:41 AM] Server: "LEFTBATTLE 1794 qxl32"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "CLIENTSTATUS qxl32 16"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "REMOVEUSER qxl32"
[11:39:41 AM] Error: Server sent ambiguous command! [#9]
[11:39:41 AM] Server: "CLIENTSTATUS shtbag667 11"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "CLIENTSTATUS eon 7"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "CLIENTSTATUS shtbag667 9"
[11:39:41 AM] Error: Server sent ambiguous command!
[11:39:41 AM] Server: "REMOVEUSER [butt]BeefofAges"
[11:39:41 AM] Error: Server sent ambiguous command! [#9]
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: TASClient logon problems

Post by Peet »

Satirik wrote:ANYWAY this is not the answer BECAUSE this is not a clientside timeout BECAUSE client side timeout return that msg "Ping dropped locally (timeout)" or "Timeout assumed. Disconnecting ..."

and i just made some test with a 1s timeout and i can log in without problem
You set the CLIENTSIDE timeout to 1s, which is irrelevant in this situation. tasclient is not pinging during login, due to being completely locked up as it processes login data. So the server is killing it.

And flop, you can stop posting logs, they're all showing the exact same situation :P
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: TASClient logon problems

Post by Satirik »

Peet wrote:
Satirik wrote:ANYWAY this is not the answer BECAUSE this is not a clientside timeout BECAUSE client side timeout return that msg "Ping dropped locally (timeout)" or "Timeout assumed. Disconnecting ..."

and i just made some test with a 1s timeout and i can log in without problem
You set the CLIENTSIDE timeout to 1s, which is irrelevant in this situation. tasclient is not pinging during login, due to being completely locked up as it processes login data. So the server is killing it.

And flop, you can stop posting logs, they're all showing the exact same situation :P
that's what i say from the beginning it's not a client side timeout ... but if it works with springlobby ... it's a tasclient problem but i have no idea which one
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient logon problems

Post by aegis »

Satirik wrote:
aegis wrote:springlobby people say it works now

also satirik, you probably don't have the type of computer and connection likely to timeout ;)
it's a serverside disconnection now if it works with springlobby .... i don't understand why i don't know shit to networking
networking is a good thing to know when writing a program based on it
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: TASClient logon problems

Post by lurker »

Just trust us that pinging in a seperate thread like all the other lobbies is best. v_v
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient logon problems

Post by aegis »

or take my suggestion
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: TASClient logon problems

Post by lurker »

For wanting you to fix a huge glaring bug? k then.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient logon problems

Post by aegis »

Satirik wrote:ok now im not the "tasclient maintainer" anymore, i'll commit some shit sometimes ... but don't ask me anything just download and use springlobby ty (and don't forget that instead of crying for something you want in the lobby ... it is open source)

if a moderator can lock this topic ty
but mostly nobody can compile it (i tried)
User avatar
flop
Posts: 335
Joined: 22 Nov 2006, 05:44

Re: TASClient logon problems

Post by flop »

flop misses tasclient
btw im on vista if that changes anything
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: TASClient logon problems

Post by Masure »

use windows xp
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient logon problems

Post by AF »

Make a separate thread that sends PING at regular timed intervals regardless of what traffic is being processed.

Problem solved, it's a 30 second job in most languages too, and requires little or no network knowledge of any kind except if(connected).

Why this solution should be made out to be horrifically complicated or that the problem should be denied and fobbed off on tasserver at all is quite laughable. It doesn't happen in aflobby or springlobby, only tasclient so it must be a bug in tasserver!

See my point? This sort of behaviour is called digging yourself a grave, it's far more effective to acknowledge the issue and say you don't have time to fix it.
User avatar
flop
Posts: 335
Joined: 22 Nov 2006, 05:44

Re: TASClient logon problems

Post by flop »

english plz
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: TASClient logon problems

Post by AF »

90% of all tasclients grumbles, issues, bugs, and complaints, can all be solved using code that can be written in a handful of lines. Here is an example:

Code: Select all

class CPingTask extends TimerTask {
    public CConnection c;
    public void run() {
        c.sendLine("PING");
    }
}
Timer pingtask = new Timer();
CPingTask t = new CPingTask();
t.c = this;
pingtask.schedule(t, 500, 8000);
Albeit it is Java not Delphi but it does the job and it does it so much better than tasclient does it for such a simple piece of code. A C++ Boost version would take up a similar amount of space but with a loop and some variables for time control, and an escape condition, and a groovy version would probably be even tinier.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient logon problems

Post by aegis »

for anyone interested, i'm making a tasclient build environment so i can poke at it
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: TASClient logon problems

Post by Tobi »

Maybe once you have it upload it somewhere?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient logon problems

Post by aegis »

ehhhh i just followed the steps in the readme file for tasclient
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: TASClient logon problems

Post by Tobi »

but you didn't get it to compile yet right?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: TASClient logon problems

Post by aegis »

ehhh i got it to compile without errors

and i hate delphi even more now :)

i don't have a compatible unitsync so i can't test it
Post Reply

Return to “Engine”