Raised This Month: $66 Target: $400
 16% 

xredirect rc2 beta problem


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
RoboCop
Member
Join Date: Dec 2010
Location: Scotland
Old 02-12-2014 , 12:34   xredirect rc2 beta problem
#1

I got a small problem using xRE 2.0 RC2 beta. What it is I'm trying to allow it to redirect my other CS servers like for CSDM CSGG and CS1.6 but when I checked by using /server and pressed the number to relocate to a different server, it failed. I used debug on xredirect.amxx and compiled the .sma with AMXX 1.8.2 package that came with the compile.sh. I did put the /include file in there as well, but I cannot make sense of this debug log error:

Code:
L 02/12/2014 - 16:25:11: Start of error session.
L 02/12/2014 - 16:25:11: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20140212.log")
L 02/12/2014 - 16:25:11: [AMXX] Displaying debug trace (plugin "xredirect-beta.amxx")
L 02/12/2014 - 16:25:11: [AMXX] Run time error 4: index out of bounds 
L 02/12/2014 - 16:25:11: [AMXX]    [0] xredirect-beta.sma::can_redirect_player (line 1371)
L 02/12/2014 - 16:25:11: [AMXX]    [1] xredirect-beta.sma::redirect (line 2428)
L 02/12/2014 - 16:25:11: [AMXX]    [2] xredirect-beta.sma::server_menu_select (line 2767)
This is what my serverlist.ini looks like:

Code:
[[APG] CS Classic]
address=94.23.210.10
localaddress=94.23.210.10
port=27015
cmdbackup=2
noauto=0
nomanual=0
nodisplay=0
adminslots=0
password=
publicpassword=0

[[APG] CS GG]
address=94.23.210.10
localaddress=94.23.210.10
port=27026
cmdbackup=2
noauto=0
nomanual=0
nodisplay=0
adminslots=0
password=
publicpassword=0

[[APG] CS DM]
address=94.23.210.10
localaddress=94.23.210.10
port=27028
cmdbackup=2
noauto=0
nomanual=0
nodisplay=0
adminslots=0
password=
publicpassword=0
Any reasons why this xRE-beta isn't working?
__________________
vBulletin Webmaster Since 2001

Last edited by RoboCop; 02-12-2014 at 12:39.
RoboCop is offline
Send a message via Skype™ to RoboCop
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 02-12-2014 , 12:36   Re: xredirect rc2 beta problem
#2

Probably because redirecting is not allowed anymore.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 02-12-2014 , 14:16   Re: xredirect rc2 beta problem
#3

Search the ๖atest topics, iirc there is a problem with the sockets since the last updates that causes this error above. Redirecting itslef doesn't work anymore since the steamcmd updates, that's why xOR didn't saw a reason to fix them.
xREDIRECT is dead currently.
__________________

Mordekay is offline
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 03-07-2014 , 10:27   Re: xredirect rc2 beta problem
#4

Test This Its A Simple Redirect
PHP Code:

    
/* Plugin generated by AMXX-Studio */
     
    #include <amxmodx>
    #include <colorchat>
     
    #define Deathrun "IP"
    #define BunnyHop "IP"
    #define Jailbreak "IP"
    #define FFA "IP"
     
    
public plugin_init() {
        
register_plugin("Simple Reditect""1.0""Spawner")
        
register_clcmd("say /server""Redirect")
        
register_clcmd("say_team /server""Redirect")
        
register_clcmd("say server""Redirect")
    }
     
    public 
Redirect(id)
    {
        new 
menu menu_create("\wRedirect Menu \d[\rYourServer\d]""Handler")
       
        
menu_additem(menu"\rD\weathrun Server #1#""1"0)
        
menu_additem(menu"\rB\wunnyHop Server #2#""2" 0)
        
menu_additem(menu"\rJ\wailbreak Server #3#""3" 0)
        
menu_additem(menu"\rF\wFA PubliC #4#""4" 0)
       
        
menu_setprop(menuMPROP_EXITMEXIT_ALL)
       
        
menu_display(idmenu0)
    }
     
    public 
Handler(idmenuitem)
    {
        if( 
item == MENU_EXIT ) {
            
menu_destroy(menu);
            return 
PLUGIN_HANDLED;
        }
        new 
data[6], szName[33];
        new 
accesscallback;
        
menu_item_getinfo(menuitemaccessdata5szName32callback)
        new 
key str_to_num(data);
        switch(
key)
        {
            case 
1: {
                new 
DRName[33];
                
get_user_name(idDRNamesizeof DRName 1)
                
client_cmd(id"Connect %s"Deathrun)
                
ColorChat(0TEAM_COLOR"^3 %s ^4Has Been Redirect To ^1Deathrun Club ^3#2"DRName)
            }
            case 
2: {
                new 
BHName[33];
                
get_user_name(idBHNamesizeof BHName 1)
                
client_cmd(id"Connect %s"BunnyHop)
                
ColorChat(0TEAM_COLOR"^3 %s ^4Has Been redirect To ^1BunnyHop Club ^3#2"BHName)
            }
            case 
3: {
                new 
JBName[33];
                
get_user_name(idJBNamesizeof JBName 1)
                
client_cmd(id"Connect %s"Jailbreak)
                
ColorChat(0TEAM_COLOR"^3 %s ^4Has Been Redirect To ^1Jailbreak Club ^3#2"JBName)
            }
            case 
4: {
                new 
FFAName[33];
                
get_user_name(idFFANamesizeof FFAName 1)
                
client_cmd(id"Connect %s"FFA)
                
ColorChat(0TEAM_COLOR"^3 %s ^4Has Been Redirect To ^1FFA  ^3#2"FFAName)
            }
        }
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED;
    } 
Spawner30 is offline
Send a message via Skype™ to Spawner30
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-07-2014 , 10:31   Re: xredirect rc2 beta problem
#5

The connect command is blocked by Valve.
__________________

Mordekay is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:15.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode