AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Redirect problem after update (https://forums.alliedmods.net/showthread.php?t=208827)

FiFiX 02-17-2013 19:40

Redirect problem after update
 
Hello. After the update part of code is broken and player isn't redirected to the other server...

Code:

client_cmd(id, "connect %s", g_redirIp)
Before update it worked fine... Also tried put Connect instead of connect with no result.

In my console I see:
[code]Server tried to send invalid command:"Connect xxx"[code]
or
Code:

Server tried to send invalid command:"connect xxx"

YamiKaitou 02-17-2013 20:18

Re: Redirect problem after update
 
You cannot forcibly redirect a client anymore, Valve fixed it in the latest CS update (yes it was a fix as they attempted to do it before but failed to do it completely)

FiFiX 02-17-2013 20:35

Re: Redirect problem after update
 
That's not forcibly ;) Player has to choose server to which he wants to connect.
Is there any way to workaround?

YamiKaitou 02-17-2013 20:38

Re: Redirect problem after update
 
By forcibly, I meant sending the connect command to the client's console. No, there is no workaround. Valve fixed it

Blizzard_87 02-17-2013 23:53

Re: Redirect problem after update
 
so how do we have redirect menus now ?

YamiKaitou 02-17-2013 23:55

Re: Redirect problem after update
 
You tell the client to join that server. You can no longer forcibly redirect the user. This is actually a bug that I (and probably most of the CS1.6 community) are glad is finally fixed.

ConnorMcLeod 02-17-2013 23:55

Re: Redirect problem after update
 
no, but there is still this way i think : https://github.com/ValveSoftware/halflife/issues/268
but won't work a lot of time, i hope valve gonna bring a redirect dialog so player can accept to be redirected.

AngeIII 02-18-2013 07:21

Re: Redirect problem after update
 
use "Connect"
not "connect"

and also if all of you said that is not allowed and etc. why older topics and APPROVED plugins not removed?
what the fuck?

we can find a lot of redirect-plugins in amxmodx.org
xRedirect for example.

all of them use simple commads:

client_cmd("Connect %s",yourconnectvariable);

-- edit as you can see xPaw message:
client_cmd(";Connect**CR**%s",yourconnectvari able); // should work..
hate this.

YamiKaitou 02-18-2013 08:51

Re: Redirect problem after update
 
It is only a matter of time before Valve gets it right and permanently blocks it

xOR 03-04-2013 17:10

Re: Redirect problem after update
 
my understanding of "getting it right" would be to ask the user instead of just blindly blocking commands. my hope is with this being considered, "alfred-valve" already said it's on his TODO list.


All times are GMT -4. The time now is 21:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.