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

SourceTV Redirect


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NinjaSK
Senior Member
Join Date: Sep 2012
Plugin ID:
3370
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Redirects a player to SourceTV on execute of one of the following commands: /stv /sourcetv !stv !sourcetv.
    Old 11-16-2012 , 18:16   SourceTV Redirect
    Reply With Quote #1

    • Description
      • Redirects a player to SourceTV on execute of one of the following commands: /stv /sourcetv !stv !sourcetv.
    • CVAR
      • sm_stv_serverip - Your server's IP.
      • sm_stv_serverport - Your server's Port.
      • sm_stv_serverpassword - Your server's Password.
    • Changelog
    Quote:
    19-11-2012 (v1.1)

    *Added password feature for password protected SourceTV.

    17-11-2012 (v1.0)

    *Plugin created.
    • Installation instructions
      • Place the SourceTVRedirect.sp in cstrike/addons/sourcemod/scripting
      • Place the SourceTVRedirect.smx in cstrike/addons/sourcemod/plugins

    Enjoy
    Attached Files
    File Type: sp Get Plugin or Get Source (SourceTVRedirect.sp - 1083 views - 2.1 KB)

    Last edited by NinjaSK; 11-19-2012 at 15:10. Reason: Update
    NinjaSK is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 11-16-2012 , 18:39   Re: SourceTV Redirect
    Reply With Quote #2

    Nice plugin Oded.
    I recommend to use SteamTools to get the IP and port, then just modify the port to the value of tv_port.

    Also:
    PHP Code:
    AutoExecConfig(true); 
    The boolean is true by default, means you can type:
    PHP Code:
    AutoExecConfig(); 
    __________________
    retired

    Last edited by shavit; 11-16-2012 at 18:40.
    shavit is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 11-16-2012 , 19:14   Re: SourceTV Redirect
    Reply With Quote #3

    Quote:
    Originally Posted by shavit View Post
    Also:
    PHP Code:
    AutoExecConfig(true); 
    The boolean is true by default, means you can type:
    PHP Code:
    AutoExecConfig(); 
    That honestly doesn't matter =|
    ReFlexPoison is offline
    Despirator
    Senior Member
    Join Date: Jun 2011
    Location: Kazakhstan ->Shymkent
    Old 11-17-2012 , 05:52   Re: SourceTV Redirect
    Reply With Quote #4

    Quote:
    Originally Posted by shavit View Post
    Also:
    PHP Code:
    AutoExecConfig(true); 
    The boolean is true by default, means you can type:
    PHP Code:
    AutoExecConfig(); 
    god of optimization
    Despirator is offline
    minimoney1
    SourceMod Donor
    Join Date: Dec 2010
    Old 11-17-2012 , 18:57   Re: SourceTV Redirect
    Reply With Quote #5

    Quote:
    Originally Posted by shavit View Post
    Nice plugin Oded.
    I recommend to use SteamTools to get the IP and port, then just modify the port to the value of tv_port.
    Well, that would work but there is a system for SourceTV where you can set it to be ran from another server or something like that, so this method should be better.
    __________________
    Need help? PM me or add me on Steam.
    My Steam




    Quote:
    Originally Posted by Rp.KryptoNite View Post
    For some reason his Plugin never worked for me ,
    @credits were added
    im not stealing any plugins dude its my THING
    minimoney1 is offline
    Mirandor
    Senior Member
    Join Date: Jun 2006
    Location: Ile de France
    Old 11-19-2012 , 06:22   Re: SourceTV Redirect
    Reply With Quote #6

    i can't get it to work: the console asks me to "bind a key" :/
    my source tv is password protected ; dunno if it causes the issue...
    Mirandor is offline
    NinjaSK
    Senior Member
    Join Date: Sep 2012
    Old 11-19-2012 , 13:45   Re: SourceTV Redirect
    Reply With Quote #7

    Quote:
    Originally Posted by Mirandor View Post
    i can't get it to work: the console asks me to "bind a key" :/
    my source tv is password protected ; dunno if it causes the issue...
    Under: Options -> Keyboard -> Miscellaneous(Caption) -> Accept redirect to another server.
    The default value is F3, you need to put some key for the mod to work.

    If your SourceTV is password protected i'm afraid my mod would not work, i'll try to fix it
    for you as soon as I am able to. That is a good addition, thank you!

    EDIT: I have updated the plugin to be able to connect to password protected SourceTV.

    Last edited by NinjaSK; 11-19-2012 at 15:02.
    NinjaSK is offline
    ChickenFighter
    Junior Member
    Join Date: Oct 2010
    Location: Germany
    Old 11-19-2012 , 15:01   Re: SourceTV Redirect
    Reply With Quote #8

    Do you know what the exact cvar is for actually accepting the redirect? I'm using this on my L4D2 Server and as far as i know it works and i can see SourceTV as a spectator. anyway i need to bind a key for the redirection because l4d2 doesnt have a option to bind this using actually the options so thats why i need the cvar :/
    ChickenFighter is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 11-19-2012 , 15:05   Re: SourceTV Redirect
    Reply With Quote #9

    askconnect_accept?
    __________________
    Leonardo is offline
    ChickenFighter
    Junior Member
    Join Date: Oct 2010
    Location: Germany
    Old 11-19-2012 , 15:25   Re: SourceTV Redirect
    Reply With Quote #10

    Thanks i will try this one out.
    //edit worked for me ^^ thanks

    Last edited by ChickenFighter; 11-19-2012 at 15:29.
    ChickenFighter 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 15:04.


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