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

[ANY] Hidden MOTD URL opener


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Caps Lock Fuck Yeah
Member
Join Date: Oct 2010
Plugin ID:
2363
Plugin Version:
1.1
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Opens a specified URL on a client using their MOTD browser, without showing it
    Old 05-28-2011 , 22:40   [ANY] Hidden MOTD URL opener
    Reply With Quote #1

    This plugin opens a website on any client using their MOTD browser, without ever showing the MOTD page.
    I mainly use it to play music to the entire server, since i have sv_allow_voice_from_file 0.

    sm_hiddenurl <target> <url>
    On the URL part of the command, don't include the http://.
    This won't work if the client has HTML-enabled MOTD pages disabled.
    sm_openurl <target> <url>
    Opens a website using the MOTD browser, not hidden.
    Attached Files
    File Type: sp Get Plugin or Get Source (motdurl.sp - 6033 views - 3.8 KB)

    Last edited by Caps Lock Fuck Yeah; 07-11-2011 at 19:11.
    Caps Lock Fuck Yeah is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-28-2011 , 23:39   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #2

    neato, I'll let a few people know about this because they've been asking for this type of thing... but there's a plugin to play a sound to all joining players - Welcome Sound
    TnTSCS is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 06-20-2011 , 16:59   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #3

    I'm not able to get your plugin to compile. Is there anything else you may have forgotten to post?
    Sreaper is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-20-2011 , 17:20   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #4

    It's missing a semicolon ";" after the lines 52 and 56.
    __________________
    Silvers is offline
    Caps Lock Fuck Yeah
    Member
    Join Date: Oct 2010
    Old 07-11-2011 , 19:12   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #5

    UpdateBump
    Apparently I uploaded the wrong version, with the semicolon missing.
    Fixed, and added new command
    Caps Lock Fuck Yeah is offline
    DarkEnergy
    SourceMod Donor
    Join Date: Apr 2008
    Location: Georgia Tech, MSECE
    Old 07-11-2011 , 20:52   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #6

    public Action: DoUrlVisible(client, String:url[128])

    You actually dont need to specify Action: or [128], your function returns the same thing, might as well just return; or you dont actually need to return anything as the code stands right now.
    Arrays are passed by reference. I believe KvSetString(setup, "msg", url); will keep reading url until it hits a '\0'. When the size is needed, its usually passed as a separate parameter.

    public DoUrlVisible(client, String:url[]) function header would be fine

    none of this is a big deal
    __________________
    War3:Source Developer
    "Your CPU is just a bunch of Muxes"
    DarkEnergy is offline
    woldu
    Junior Member
    Join Date: Jun 2010
    Old 07-28-2011 , 00:01   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #7

    Hey, just wanted to say how Great this plugin is! Been running it on our TF2 server for about a week, whether I'm trolling unsuspecting players with random pictures, or playing "hidden" bg music @all (from youtube or one of my own flash-loaded html pages) for a lil spam fest, it does just fine.

    Ever since Advanced Admin Commands was disabled and Grooveshark was hindered by a site update, there was no hope for this kind of function. But this allows unlimited access to music and sounds - No more loading FastDL server with unnecessary bandwith!

    Thanks Caps Lock!

    -Hope to see more plugins
    woldu is offline
    mikhdenis
    Member
    Join Date: Aug 2009
    Location: Ukraine
    Old 08-11-2011 , 01:30   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #8

    Hello Caps! Can do when connect client,hideurl opens for him?
    mikhdenis is offline
    hawky72
    Junior Member
    Join Date: Sep 2010
    Old 08-20-2011 , 04:16   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #9

    Ello, When using ether of those commands it minimizes the game (Zombie Master) and opens windows media player. Does this mean HTML is off, if so how would I go about turning it back on? Thanks for your time.
    hawky72 is offline
    Unreal1
    AlliedModders Donor
    Join Date: Dec 2010
    Old 11-26-2011 , 23:41   Re: [ANY] Hidden MOTD URL opener
    Reply With Quote #10

    In tf2 this doent do anything... are there any other things that might interfere with this?
    Unreal1 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 01:33.


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