Forum

> > CS2D > Servers > players can not enter USGN
Forums overviewCS2D overview Servers overviewLog in to reply

English players can not enter USGN

7 replies
To the start Previous 1 Next To the start

old players can not enter USGN

pbeloto
User Off Offline

Quote
Sorry for my mistakes , I am Brazilian , I ask the help of all released because my router port , but all players who come into my server can only enter without " USGN " Anyone know the answer?

old Re: players can not enter USGN

Ace Howl
User Off Offline

Quote
There is no setting to block non-USGN players to join your server. However, only script can change that by:
1
2
3
4
5
6
7
addhook("join","noUSGN")

function noUSGN(id)
	if player(id,"usgn")>0 then
		timer(1,'parse','kick '..id..' "Only non-USGN players can join the server."')
	end
end
This script will kick player once they successfully join the server.

old Re: players can not enter USGN

Talented Doge
User Off Offline

Quote
Quote
There is no setting to block non-USGN players to join your server.


That is absolutely wrong, when you see Server settings, on the first page there is a thing called Registered USGN Users only

Well, allow only people with usgn to join is easy. Just make sure to tick the Registered USGN Users only box.

And the script
1
2
3
4
5
6
7
addhook("join","noUSGN")

function noUSGN(id)
     if player(id,"usgn")>0 then
          timer(1,'parse','kick '..id..' "Only non-USGN players can join the server."')
     end
end

Will block all USGN users, in which that 100% doesn't fit the need of pbeloto.

old Re: players can not enter USGN

DC
Admin On Online

Quote
I think he has the problem that everyone who tries to join with U.S.G.N. login is stuck in the verifying U.S.G.N. screen. This would mean that there is a problem with the U.S.G.N. masterserver connection.

old Re: players can not enter USGN

GeoB99
Moderator Off Offline

Quote
@user DC: That's weird though. If it might be a problem of U.S.G.N. masterserver connection then it shouldn't happen almost to everyone while someone is joining a server? Just asking for curiosity.

If you host your server in a VPS, try to download another copy of Counter-Strike 2D and search for the "usgn.dat" file (without quotes) in the CS2D folder that you downloaded it and replace this file into cs2d/sys location folder on your VPS machine using FileZilla or WinSCP.
Actually I never experienced such issue like this, but the fix above that I posted it might help in some cases but I am not 100% sure however.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview