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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Sn4k3_shisha
New Member
Join Date: Aug 2012
Old 08-22-2012 , 19:48   Re: Advertisements 0.5.5
Reply With Quote #1431

That is working on CSGO!!! GREEN is the only Color who works! RED or REDLIGHT doesnt work on this plugin for CSGO!

"Advertisements"
{
"1"
{
"type" "S"
"text" "{DEFAULT} {GREEN} Hello and Welcome to our Pussyworld Server! HF & GL =)"
}
"2"
{
"type" "S"
"text" "{DEFAULT} {GREEN} NO BAD LANGUAGE/KEINE BELEIDIGUNGEN / NO EXTREM CAMP/KEIN EXTREMES CAMPEN !!!"
}
"3"
{
"type" "S"
"text" "{DEFAULT} {GREEN} Visit our Homepage: www.psw-clan.de.vc !!!"
}
"4"
{
"type" "S"
"text" "{DEFAULT} {GREEN} Wir suchen noch Member ab 18 / We search for Members from 18 !!!"
}
"5"
{
"type" "S"
"text" "{DEFAULT} {GREEN} This Server is fine? Add us to your favorites!!!"
}
"6"
{
"type" "M"
"text" "{DEFAULT} {GREEN} Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
"flags" "cft"
}
"7"
{
"type" "S"
"text" "{DEFAULT} {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
"flags" "z"
}
"8"
{
"type" "T"
"text" "{DEFAULT} {ORANGE} Admins: friendly fire is {BOOL:MP_FRIENDLYFIRE}."
"flags" ""
}
}

Last edited by Sn4k3_shisha; 08-22-2012 at 19:55.
Sn4k3_shisha is offline
Ana
Junior Member
Join Date: Jun 2011
Old 08-23-2012 , 02:23   Re: Advertisements 0.5.5
Reply With Quote #1432

Quote:
Originally Posted by Horsedick View Post
Mann vs Machine did not break this plugin - I run it just fine on MVM servers and other servers as of last night.

Now there are a few more snapshot releases of SM available as of this morning but either way it works fine so its something else you are doing if its not working for you.

Also Windows and Linux run servers for me - both worked fine.
Can you post here your adv configuration?
Ana is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 08-23-2012 , 06:16   Re: Advertisements 0.5.5
Reply With Quote #1433

@tnt, I accidentally deleted old advertisements.txt when I was trying to get it work .

@ snake, I confirm that kind of setup. Only green works.

Quote:
Originally Posted by Sn4k3_shisha View Post
That is working on CSGO!!! GREEN is the only Color who works! RED or REDLIGHT doesnt work on this plugin for CSGO!

"Advertisements"
{
"1"
{
"type" "S"
"text" "{DEFAULT} {GREEN} Hello and Welcome to our Pussyworld Server! HF & GL =)"
}
"2"
{
"type" "S"
"text" "{DEFAULT} {GREEN} NO BAD LANGUAGE/KEINE BELEIDIGUNGEN / NO EXTREM CAMP/KEIN EXTREMES CAMPEN !!!"
}
"3"
{
"type" "S"
"text" "{DEFAULT} {GREEN} Visit our Homepage: www.psw-clan.de.vc !!!"
}
"4"
{
"type" "S"
"text" "{DEFAULT} {GREEN} Wir suchen noch Member ab 18 / We search for Members from 18 !!!"
}
"5"
{
"type" "S"
"text" "{DEFAULT} {GREEN} This Server is fine? Add us to your favorites!!!"
}
"6"
{
"type" "M"
"text" "{DEFAULT} {GREEN} Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
"flags" "cft"
}
"7"
{
"type" "S"
"text" "{DEFAULT} {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
"flags" "z"
}
"8"
{
"type" "T"
"text" "{DEFAULT} {ORANGE} Admins: friendly fire is {BOOL:MP_FRIENDLYFIRE}."
"flags" ""
}
}
karil is offline
nismoskyline86
Member
Join Date: Nov 2010
Old 08-24-2012 , 12:51   Re: Advertisements 0.5.5
Reply With Quote #1434

CS:GO Advert types:

C: Center message - This comes up as an "Alert" with a question mark on the bottom center of the screen. Colors do not work for this advert type.
H: Hint message - This comes up as a "Hint" box at the bottom center of the screen, much like C does. Colors do not work for this advert type.
M: Menu message - This shows up on the left side middle of the screen. Colors do not work for this advert type.
S: Say message - Shows up in the chat feed. only the green color work for this advert type.
(NOTE: To use the green color you must start with the default color and then add the green [IE. {DEFAULT} {GREEN} welcome to my server!] otherwise it will show up white.)
T: Top message - This does NOT work with CS:GO

Furthermore, If this plugin could be updated to utilize the banner type add in game (The banner that shows up when a team wins on the top center of the screen) that would be excellent.
nismoskyline86 is offline
paterinvictus
Senior Member
Join Date: Aug 2012
Old 08-27-2012 , 08:59   Re: Advertisements 0.5.5
Reply With Quote #1435

Quote:
Originally Posted by DJ Tsunami View Post
This is a simple advertisements plugin based on basechat. It supports say, csay, hsay, msay and tsay.

sm_advertisements_enabled (0/1, def 1)
Enable/disable displaying advertisements.

sm_advertisements_file (def "advertisements.txt")
File to read the advertisements from. Useful if you're running multiple servers from one installation, and want to use different advertisements per server.

sm_advertisements_interval (def 30)
Amount of seconds between advertisements.

sm_advertisements_reload
Server command to reload the advertisements from advertisements.txt.

Where do These Commands go? I did not see a cfg generated and I tried putting them into my main cfg startup file but it doesnt seem to be working.
paterinvictus is offline
Scipizoa
Senior Member
Join Date: Aug 2012
Location: ask me
Old 08-27-2012 , 09:17   Re: Advertisements 0.5.5
Reply With Quote #1436

Quote:
Originally Posted by paterinvictus View Post
Where do These Commands go? I did not see a cfg generated and I tried putting them into my main cfg startup file but it doesnt seem to be working.

the only command you need is
sm_advertisements_interval and that goes into your server.cfg file, the rest aren't required since they are default,, you also need a txt file called advertisements.txt and put it into your sourcemod/configs folder

If you need an example, scroll back a few pages and you'll find mine you can use.

sm_advertisements_reload is an rcon command, it'll reread from the txt file w/o a need for a total server restart[of course the server needs to be restarted for the smx to become enabled]
__________________

ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
Scipizoa is offline
paterinvictus
Senior Member
Join Date: Aug 2012
Old 08-27-2012 , 09:51   Re: Advertisements 0.5.5
Reply With Quote #1437

Quote:
Originally Posted by Scipizoa View Post
the only command you need is
sm_advertisements_interval and that goes into your server.cfg file, the rest aren't required since they are default,, you also need a txt file called advertisements.txt and put it into your sourcemod/configs folder

If you need an example, scroll back a few pages and you'll find mine you can use.

sm_advertisements_reload is an rcon command, it'll reread from the txt file w/o a need for a total server restart[of course the server needs to be restarted for the smx to become enabled]

Still No good. I am Running this on my CS:GO server.


In my server.cfg I have

sm_advertisements_interval 30


and In my addons/sourcemod/configs I have

advertisements.txt (I basically copied your txt file and just replaced a couple of things for testing)


Server has been restarted.

Tried loading and unloading the plugin. It says it is loaded when I use sm plugins load...
I get no rcon errors when I sm_rcon any of the other commands.

I'm at a bit of a loss here....
paterinvictus is offline
Scipizoa
Senior Member
Join Date: Aug 2012
Location: ask me
Old 08-27-2012 , 10:28   Re: Advertisements 0.5.5
Reply With Quote #1438

Quote:
Originally Posted by paterinvictus View Post
Still No good. I am Running this on my CS:GO server.


In my server.cfg I have

sm_advertisements_interval 30


and In my addons/sourcemod/configs I have

advertisements.txt (I basically copied your txt file and just replaced a couple of things for testing)


Server has been restarted.

Tried loading and unloading the plugin. It says it is loaded when I use sm plugins load...
I get no rcon errors when I sm_rcon any of the other commands.

I'm at a bit of a loss here....
ahh cs:go from my time idling in the sourcemod irc channel, some mods aren't playing nice with that game since it released, might wanna browse the forums abit to see how ppl are coping with this, any workarounds etc, any errors in sourcemod/logs?
__________________

ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB

Last edited by Scipizoa; 08-27-2012 at 10:28.
Scipizoa is offline
paterinvictus
Senior Member
Join Date: Aug 2012
Old 08-27-2012 , 10:37   Re: Advertisements 0.5.5
Reply With Quote #1439

Quote:
Originally Posted by Scipizoa View Post
ahh cs:go from my time idling in the sourcemod irc channel, some mods aren't playing nice with that game since it released, might wanna browse the forums abit to see how ppl are coping with this, any workarounds etc, any errors in sourcemod/logs?

Nope, Im not getting any errors at all. Not Sure but as far as I can tell it should be working just peachy, lol.
paterinvictus is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-27-2012 , 10:46   Re: Advertisements 0.5.5
Reply With Quote #1440

this plugin works with CS:GO, just have to preface the ad with "{default} " then you can jump into some colors
__________________
View my Plugins | Donate
TnTSCS 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 12:20.


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