Forum

> > CS2D > Servers > USGN verifying fails in cs2d dedicated server
Forums overviewCS2D overview Servers overviewLog in to reply

English USGN verifying fails in cs2d dedicated server

10 replies
To the start Previous 1 Next To the start

old USGN verifying fails in cs2d dedicated server

device
User Off Offline

Quote
Hi all!

I have decided to host a cs2d server on my debian box. It is hold in an open network, it has got its own net ip (no NAT or router or anything in front of it) , and I have shut the firewall down as a possible source of problem.

I have downloaded the windows zip pack, and the dedicated linux pack, extracted them, set the permissions, edited the sys/server.cfg , changed the name, the mapcycle and thats all. I have launched the binary, all went fine, but when I want to join it from my home computer , it keeps hanging on the user validation "Server is checking your USGN account..." and waits and waits and waits forever.

Here is the server log :

device@battleaxe: ~/cs2ddevice@battleaxe:~/cs2d$ ./cs2d_dedicated
#######################################################
Unreal Software's Counter-Strike 2D Dedicated Server
> visit www.CS2D.com for info and updates <
Game Version: b 0.1.1.9
Server Version: b 0.1.0.1
System Time: 27 Oct 2011 - 00:57:30
Operating System: GNU/Linux
#######################################################
UDP socket initialized using port 55486
U.S.G.N.: Your game version is up to date!
UDP socket initialized using port 36963
load map 'de_dust2'
----- Server started -----
recv join attempt... (...248.206.192:19080)
device clientdata: LINUX {}
U.S.G.N.: device (...248.206.192) joining with U.S.G.N. ID #79192 - verifying...
NET: Received incomplete packet (9, ...248.206.192:19080)

I could not ask anybody else to join the server, but before I do, have you ever met this kind of problem before? Which port does the server needed for USGN verification?

Thanks for your time and help!

Tamas
Hungary

ps.: I commented out the ips, sry

old Re: USGN verifying fails in cs2d dedicated server

DC
Admin Off Offline

Quote
the server has only one UDP connection which is used for all communication. with clients and the USGN masterserver.
the USGN itself uses port 36963 (like the default cs2d port).

I'm not sure why the verification fails because the USGN communication seems to work in general (it was able to check the version) but you can disable it with
cs2d cmd sv_checkusgnlogin 0
attention: this can be a security risk if you use Lua scripts which rely on the correctness of the USGN id. hackers might be able to fake their ID without this check.

old Re: USGN verifying fails in cs2d dedicated server

device
User Off Offline

Quote
Its weird. Have a look at the log :


#######################################################
ERROR: Unknown command 'sv_checkusgnlogin' (sv_checkusgnlogin 0)
Use quotation marks for parameters with blanks. e.g.: mp_unbuyable "Tactical Shield"
Visit CS2D.com/help for a command reference
UDP socket initialized using port 44927
U.S.G.N.: Your game version is up to date!
UDP socket initialized using port 36963
load map 'de_dust2'
----- Server started -----
sv_checkusgnlogin 0 // I tried to type it in manually here
recv join attempt... (...27.193.157:54934)
device clientdata: LINUX {}
U.S.G.N.: device (...27.193.157) joining with U.S.G.N. ID #79192 - verifying...
NET: Received incomplete packet (9, ...27.193.157:54934)

And it hangs up like it did before. Can I check somehow what modules has it got? Like status in cs1.6 or meta list in metamod ?

old Re: USGN verifying fails in cs2d dedicated server

Hador
User Off Offline

Quote
I'm not sure abou the bug itsself, but the correct command for the one you're trying to use is
1
sv_usgnonly 0

Also just in case you haven't tried it yet, it might just be a case of restarting cs2d (helps when I get problems like that).

old Re: USGN verifying fails in cs2d dedicated server

device
User Off Offline

Quote
No, that is a separate command.

Some news. I have asked my friend to install the game and try to pop in the server. He had no usgn account, and the server immediately let him in.

I have logged out from my usgn account, and I could join too.

So.. what could be wrong?

old Re: USGN verifying fails in cs2d dedicated server

DC
Admin Off Offline

Quote
the game does not have to verify your login when you are not logged in - obviously.
enter the command I gave you in your server.cfg and restart the server. it should work with login then.

your server somehow fails to ask the usgn masterserver / get the response of the usgn masterserver for login verification. I don't know why.

old Re: USGN verifying fails in cs2d dedicated server

device
User Off Offline

Quote
ERROR: Unknown command 'sv_checkusgnlogin' (sv_checkusgnlogin 0)

Nope, not working again.

I have some ldd, maybe it helps :


ldd ./cs2d_dedicated
     linux-gate.so.1 => (0xf76ed000)
     libdl.so.2 => /lib32/libdl.so.2 (0xf76dc000)
     libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75ee000)
     libm.so.6 => /lib32/libm.so.6 (0xf75ca000)
     libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf75bd000)
     libpthread.so.0 => /lib32/libpthread.so.0 (0xf75a5000)
     libc.so.6 => /lib32/libc.so.6 (0xf7453000)
     /lib/ld-linux.so.2 (0xf76ee000)

old Re: USGN verifying fails in cs2d dedicated server

Deafcon1
User Off Offline

Quote
I've had the same problem with my own server.
It just hangs in the usgn checking process.

I've found a quick way to get around this:

1. Remove last letter from ur usgn account so you're not logged in anymore.
2. Append the last letter again so you are logged in to usgn again.
3. Reconnect

I think it's a bug between USGN masterserver and normal server.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview