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

Simple_Source_Radio v1.6.8 (updated 2/17/09)


Post New Thread Reply   
 
Thread Tools Display Modes
PStar
Veteran Member
Join Date: Mar 2008
Old 01-06-2009 , 15:55   Re: Simple_Source_Radio (Updated)
Reply With Quote #11

Where's the .htm file?
PStar is offline
{7~11} TROLL
Senior Member
Join Date: Oct 2008
Location: Atlanta,Georgia
Old 01-06-2009 , 15:57   Re: Simple_Source_Radio (Updated)
Reply With Quote #12

Quote:
Originally Posted by PStar View Post
Where's the .htm file?
save the two txt files i supplyed you with on your pc and do the following

Code:
simple_source_radio.htm - after you customize save as .htm and upload to your site
simple_source_radio_off.htm - after you customize save as .htm and upload to your site
i uploaded them as .txt files so you can customize it how every you like and so you can change the players url to what ever you wish. both files you can fully customize how ever you wish.
__________________
{7~11} TROLL is offline
{7~11} TROLL
Senior Member
Join Date: Oct 2008
Location: Atlanta,Georgia
Old 01-07-2009 , 21:32   Re: Simple_Source_Radio v1.3.3
Reply With Quote #13

***UPDATE***

[v1.3.3]
[1/07/09]
-added client message when connting to the radio (only shows once)
[SSR] You Are Now Listening To Simple Source Radio

--added client message when disconnecting from radio (only shows once)
[SSR] Thank You For Listening

-fixed cvar name
-fixed some coding (nothing was wrong just to run better)
--updated attached files (both .sp & .smx)
__________________
{7~11} TROLL is offline
IH_Jimbo
Junior Member
Join Date: Jan 2009
Old 01-25-2009 , 18:26   Re: Simple_Source_Radio v1.3.3
Reply With Quote #14

I am hoping someone can offer some advice on configuring this plugin. I modified the plugin to bring up my desired music page which is sourcetunes. The plugin commands work correctly, but they still bring up the authors player page which happens to be broken rather than the change I made to add sourcetunes. I have included the snippet of the .sp file that I edited to change the url. Any help would be appreciated. Pretty new to Vavlve servers and especially sourcemod. Many thanks.

Code:
public OnPluginStart()
{
    RegConsoleCmd("listen", RadioOn);
    RegConsoleCmd("stopmusic", RadioOff);
    g_href = CreateConVar("sm_radio_href", "http://www.sourcetunes.com/players/server_player/radio.php?id=default", "href link to clans internet radio or favorite winamp station");
    g_test = CreateConVar("sm_radio_href_2","http://www.sourcetunes.com/players/server_player/off.php?id=default","Link to radio off panel");
    g_cvarWelcome = CreateConVar("ssr_welcome_enabled", "1", "Show welcome message to newly connected users.", FCVAR_PLUGIN|FCVAR_NOTIFY);
}
IH_Jimbo is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 01-25-2009 , 20:20   Re: Simple_Source_Radio v1.3.3
Reply With Quote #15

You don't need to change the .sp to do that.

Just put

sm_radio_href "http:/www.sourcetunes.com/players/server_player/radio.php?id=default"
sm_radio_href_2 "http://www.sourcetunes.com/players/server_player/off.php?id=default"

In your server.cfg
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
{7~11} TROLL
Senior Member
Join Date: Oct 2008
Location: Atlanta,Georgia
Old 01-26-2009 , 14:06   Re: Simple_Source_Radio v1.3.3
Reply With Quote #16

yeah as lebson said just use the 2 cvars i included and put them in your server.cfg file make sure you add the quotes.

the ones in the .sp are just for example.
__________________
{7~11} TROLL is offline
{7~11} TROLL
Senior Member
Join Date: Oct 2008
Location: Atlanta,Georgia
Old 02-17-2009 , 12:49   Re: Simple_Source_Radio v1.6.8 (updated 2/17/09)
Reply With Quote #17

***UPDATE***

[v1.6.8]
[2/17/09]
-this is a big update for this plugin ive had some issues with the menu
but thanks to a buddy of mine got it it working really well.

--added a menu to the plugin. this menu has options for the following.
-tune in
-no thank you (if you chage ur mind and dont wanna listen)
-radio off
-radio status (shows current dj,song,listeners )
-last10 (shows last 10 songs played)
__________________
{7~11} TROLL is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 09-21-2009 , 06:03   Re: Simple_Source_Radio v1.6.8 (updated 2/17/09)
Reply With Quote #18

If i don't have a website where i can upload the htm file, am i still able to use the plugin?
I mean are there any deafault configs pointig to a workint site?
PStar is offline
{7~11} TROLL
Senior Member
Join Date: Oct 2008
Location: Atlanta,Georgia
Old 09-21-2009 , 13:37   Re: Simple_Source_Radio v1.6.8 (updated 2/17/09)
Reply With Quote #19

nope you need ftp access to a site
__________________
{7~11} TROLL is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 09-27-2009 , 21:03   Re: Simple_Source_Radio v1.6.8 (updated 2/17/09)
Reply With Quote #20

Can somebody help me to get this working?

I tried to set this:

sm_radio_href "http:/www.sourcetunes.com/players/server_player/radio.php?id=default"
sm_radio_href_2 "http://www.sourcetunes.com/players/server_player/off.php?id=default"

I putt it in my server.cfg and i changed the .sp file too but nothing happens.
If i wan to start the radio it only bring up the servers-s MOTD window and that's all nothing will load or something.

Am i doing something wrong?
PStar 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 23:52.


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