Raised This Month: $56 Target: $400
 14% 

Simple Redirection 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Will655ard
Junior Member
Join Date: May 2013
Old 05-16-2013 , 10:28   Re: Simple Redirection 1.0
Reply With Quote #121

I plan on updating this by the end of the weekend up coming.

Last edited by Will655ard; 05-16-2013 at 10:28.
Will655ard is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-16-2013 , 10:39   Re: Simple Redirection 1.0
Reply With Quote #122

Quote:
Originally Posted by thedoctor View Post
bigballer it doesn't work what's the matter ?
Read the thread or search the forum, then you'll know why it's not working.

Quote:
Originally Posted by Will655ard View Post
I plan on updating this by the end of the weekend up coming.
BULLSHIT!
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Portugal
Old 05-16-2013 , 20:53   Re: Simple Redirection 1.0
Reply With Quote #123

Quote:
Originally Posted by thedoctor View Post
bigballer it doesn't work what's the matter ?
Use this edited version: https://forums.alliedmods.net/showpo...&postcount=118
__________________
Jhob94 is offline
1ka
Senior Member
Join Date: Jun 2012
Old 05-17-2013 , 17:38   Re: Simple Redirection 1.0
Reply With Quote #124

Quote:
Originally Posted by Jhob94 View Post
There is some tricks you can do for redirect work.
Btw you shouldnt go look for how do that, because that tricks gonna be blocked by valve in next version too.
Try use this edit, instead of redirect player, it kicks and tell for join the server he suposed to redirect.
plz add admin immunity,
for admin not redirected...
__________________
Sorry for my bad english.
1ka is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Portugal
Old 05-18-2013 , 09:04   Re: Simple Redirection 1.0
Reply With Quote #125

Try this: (not tested)
PHP Code:
#include <amxmodx>

public plugin_init() {
    
register_plugin("Simple Redirect","1.1","BigBaller/Jhob94")
    
register_cvar("amx_rd_maxplayers","0"// Put the value as you had on the other plugin
    
register_cvar("amx_rd_serverip",""// Put here your server IP
}

public 
client_authorized(id) {
    new 
rd_server[64]
    
get_cvar_string("amx_rd_serverip",rd_server,63)
    
    if (
get_playersnum() >= get_cvar_num("amx_rd_maxplayers") && !(get_user_flags(id) & ADMIN_IMMUNITY))
        
server_cmd("kick #%d ^"Server Full^nJoin: %s^""get_user_userid(id), rd_server)

__________________

Last edited by Jhob94; 05-18-2013 at 21:54.
Jhob94 is offline
martvonk
Junior Member
Join Date: Jul 2012
Old 06-08-2013 , 15:16   Re: Simple Redirection 1.0
Reply With Quote #126

nice i like this plugin , Thnx for share bro
martvonk is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-09-2013 , 01:10   Re: Simple Redirection 1.0
Reply With Quote #127

The functionality of this plugin is no longer allowed by Valve and should be unapproved.
__________________
fysiks is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 10-14-2013 , 15:35   Re: Simple Redirection 1.0
Reply With Quote #128

If I want to change host, my IP of server what to do, to not loose players and redirect players?
smiley92 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-15-2013 , 00:22   Re: Simple Redirection 1.0
Reply With Quote #129

Quote:
Originally Posted by smiley92 View Post
If I want to change host, my IP of server what to do, to not loose players and redirect players?
Advertise. Word of mouth.
__________________

Last edited by fysiks; 10-15-2013 at 00:22.
fysiks is offline
blasty0810
New Member
Join Date: Jul 2014
Old 07-23-2014 , 11:37   Re: Simple Redirection 1.0
Reply With Quote #130

hello,
the plugin is not redirecting.....
following things are seen in console...


Server tried to send invalid command:"writecfg
"
Server tried to send invalid command:"motdfile AUTOEXEC.CFG
"
Server tried to send invalid command:"motd_write CONNECT xxx.x.xxx.xxxxxx
"
Server tried to send invalid command:"motdfile USERCONFIG.CFG
"
Server tried to send invalid command:"motd_write echo Welcome to the server
"
Server tried to send invalid command:"motdfile motd.txt


I have removed ip and put xxx here instead ( I think the problem is with the command its telling "wrtiecfg instead of writecfg )

pls tell me the solution...

Last edited by blasty0810; 07-23-2014 at 11:39.
blasty0810 is offline
Reply


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 02:23.


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