Raised This Month: $51 Target: $400
 12% 

[CS:GO] [Redirect] Auto Redirect


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Rostu
Junior Member
Join Date: Feb 2019
Plugin ID:
6977
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Automatically redirect players to another server
    Old 03-11-2020 , 23:16   [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #1

    Auto Redirect Players
    This plugin allows you to automatically redirect player's to the server that you specify in the config. This is especially useful when you change server ip, and thus, players will automatically connect to the new server

    Installation:
    Place compiled plugin [redirect_AutoRedirect.smx] into the plugins folder [addons/sourcemod/plugins/]

    Requirements:
    Cvars:
    sm_redirect_server - server ip to which the player will automatically redirected [Default 192.168.0.1:27015]
    sm_redirect_maxplayers - After how many players do redirect to another server. 0 - auto redirect
    sm_redirect_admin - Flag of ignoring administrator redirection to another server
    Path to the config - cfg/sourcemod/AutoRedirect.cfg [Config automatically will be created when plugin startup]
    Attached Files
    File Type: sp Get Plugin or Get Source (redirect_AutoRedirect.sp - 1086 views - 2.2 KB)
    File Type: smx redirect_AutoRedirect.smx (3.9 KB, 1074 views)

    Last edited by Rostu; 03-23-2020 at 05:18. Reason: Update to 1.2 version
    Rostu is offline
    Vaggelis
    Senior Member
    Join Date: May 2017
    Old 03-12-2020 , 00:12   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #2

    i thought that was impossible for CS:GO
    Vaggelis is offline
    raj kaul
    Senior Member
    Join Date: Mar 2018
    Location: www.lotgaming.xyz
    Old 03-12-2020 , 00:59   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #3

    __________________

    Last edited by raj kaul; 03-12-2020 at 00:59.
    raj kaul is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 03-12-2020 , 01:43   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #4

    OMG, this is beautiful, congrats!

    Quote:
    Originally Posted by Vaggelis View Post
    i thought that was impossible for CS:GO
    I thought the same to be honest.
    Btw, i've decided to modify a bit this code, to add a timer message to players so they'll know that they'll be autoredirected, nothing special at all but i prefer messages to clean doubts

    This message will appear 10 seconds after full-join the server, then after others 5 seconds, players will be autoredirected to the other server:
    Code:
    [AutoRedirect] You'll be auto-redirected in 5 seconds!
    Attached Files
    File Type: sp Get Plugin or Get Source (redirect_AutoRedirect.sp - 290 views - 2.2 KB)
    File Type: smx redirect_AutoRedirect.smx (13.3 KB, 265 views)
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 03-12-2020 , 06:54   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #5

    Finally we have that feature on CS:GO.

    I made a module to force redirect on cs:go in the "Server Redirect plugin" HERE -> https://forums.alliedmods.net/showpo...&postcount=481
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 03-12-2020 at 07:05.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    freak.exe_uLow
    AlliedModders Donor
    Join Date: Jul 2012
    Location: Germany
    Old 03-12-2020 , 08:16   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #6

    Thank you

    Last edited by freak.exe_uLow; 03-12-2020 at 08:16.
    freak.exe_uLow is offline
    ninjaturtle
    Junior Member
    Join Date: Jun 2019
    Old 03-14-2020 , 08:32   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #7

    it doesn't work for me.
    I installed [Redirect] Core and LobbySessionFixer

    but it gives me error

    "you may only connect to this server from a lobby"

    and console error

    #Valve_Reject_Connect_From_Lobby
    ninjaturtle is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 03-14-2020 , 13:32   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #8

    Quote:
    Originally Posted by ninjaturtle View Post
    it doesn't work for me.
    I installed [Redirect] Core and LobbySessionFixer

    but it gives me error

    "you may only connect to this server from a lobby"

    and console error

    #Valve_Reject_Connect_From_Lobby
    I had this issue to, the way to fix it is: installing LobbySessionFixer on both servers and not just in that one to redirect.
    I told the plugin author to edit the thread and add this warning to clean doubts but he's busy
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    ninjaturtle
    Junior Member
    Join Date: Jun 2019
    Old 03-14-2020 , 15:26   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #9

    Quote:
    Originally Posted by NanoC View Post
    I had this issue to, the way to fix it is: installing LobbySessionFixer on both servers and not just in that one to redirect.
    I told the plugin author to edit the thread and add this warning to clean doubts but he's busy
    oh I got it, thank you very much !
    ninjaturtle is offline
    RealEdan
    Member
    Join Date: Dec 2016
    Location: United States
    Old 03-15-2020 , 06:13   Re: [CS:GO] [Redirect] Auto Redirect
    Reply With Quote #10

    Unbelievable. Nice work.
    __________________
    RealEdan is offline
    Reply



    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 13:11.


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