Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-27-2012 , 12:53   Re: Advertisements 0.5.5
Reply With Quote #1391

Quote:
Originally Posted by Horsedick View Post
I'm running gH0sTy's version to apply other colors so most likely no.... mind looking at his code on his last update and show the proper changes you are referring to?
something like this


*edit
Main reason why this plugin stop working, if cvar "sm_advertisements_interval" value is changed on map change (map config perhaps ?).
Plugin try "KillTimer" but timer not exist anymore when have added timer flag TIMER_FLAG_NO_MAPCHANGE. Error becomes and it stop creating new timer.

Last edited by Bacardi; 06-27-2012 at 13:10.
Bacardi is offline
C0nw0nk
Senior Member
Join Date: May 2011
Location: United Kingdom
Old 06-27-2012 , 13:35   Re: Advertisements 0.5.5
Reply With Quote #1392

So what you are saying Bacardi is that your new version 0.5.5.1 https://forums.alliedmods.net/showpo...postcount=1282

Fixes this issue by removing the "TIMER_FLAG_NO_MAPCHANGE"
C0nw0nk is offline
Send a message via MSN to C0nw0nk
Pendaz
Junior Member
Join Date: Oct 2008
Old 06-29-2012 , 02:47   Re: Advertisements 0.5.5
Reply With Quote #1393

The pyro update seemed to have broke this?


any news on a fix?
Pendaz is offline
Helvetica
Senior Member
Join Date: Nov 2011
Location: U.S.
Old 06-29-2012 , 12:05   Re: Advertisements 0.5.5
Reply With Quote #1394

Quote:
Originally Posted by Pendaz View Post
The pyro update seemed to have broke this?


any news on a fix?
It still works fine, did you update Sourcemod to a 1.4 snapshot?
Helvetica is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 06-29-2012 , 12:14   Re: Advertisements 0.5.5
Reply With Quote #1395

Quote:
Originally Posted by Bacardi View Post
something like this


*edit
Main reason why this plugin stop working, if cvar "sm_advertisements_interval" value is changed on map change (map config perhaps ?).
Plugin try "KillTimer" but timer not exist anymore when have added timer flag TIMER_FLAG_NO_MAPCHANGE. Error becomes and it stop creating new timer.
You should update your first post to this version then: https://forums.alliedmods.net/showpo...postcount=1282
Mr. Man is offline
coolzie
Member
Join Date: Jul 2012
Old 07-12-2012 , 04:02   Re: Advertisements 0.5.5
Reply With Quote #1396

I have this plugin working on my CSGO server, however I am unable to get colors working.

I am using:
Code:
    "1"
    {
        "type"        "S"
        "text"        "{GREEN}Advertising something here"
    }
    "2"
    {
        "type"        "S"
        "text"        "{LIGHTGREEN}Advertising something else here"
    }
The advertisements work, however they always come out white. Am I doing something wrong?
coolzie is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-12-2012 , 09:37   Re: Advertisements 0.5.5
Reply With Quote #1397

coolzie... no, you're not doing anything wrong, CS:GO with colors is still a little hokey... it's not impossible, because our CS:GO servers have colors green and some shade of red are the only colors I've been able to get work.
__________________
View my Plugins | Donate
TnTSCS is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 07-16-2012 , 11:56   Re: Advertisements 0.5.5
Reply With Quote #1398

Is there a version of this plugin that supports translations? I searched through the thread but didn't find anything stating that. But then again there's over a 100 pages in this topic so I could have easily missed it if there is one.
The 5th Survivor is offline
Jetlag
Member
Join Date: Jul 2012
Old 07-17-2012 , 16:40   Re: Advertisements 0.5.5
Reply With Quote #1399

I have a CS GO Server i tryed it but something is wrong cause it comes no advertisements
I have :

advertisements.sp
advertisements.smx
advertisements.txt
in /server/csgo/csgo/addons/sourcemod/configs

I have this in my Server.cfg:

sm_advertisements_enabled 1
sm_advertisements_file advertisements.txt
sm_advertisements_interval 30
sm_advertisements_reload

and this is the txt :

Quote:
"Advertisements"
{
"1"
{
"type" "ST"
"text" "{LIGHTGREEN}www.csgo-surfserver.de"
}
"2"
{
"type" "S"
"text" "{GREEN}Beuscht uns doch im Ts3: {LIGHTGREEN}ts.csgo-surfserver.de"
}
"3"
{
"type" "S"
"text" "Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
}
"4"
{
"type" "S"
"text" "{GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
}
}
Please help
Jetlag is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-17-2012 , 19:12   Re: Advertisements 0.5.5
Reply With Quote #1400

Quote:
Originally Posted by Jetlag View Post
I have :

advertisements.sp
advertisements.smx
advertisements.txt
in /server/csgo/csgo/addons/sourcemod/configs

...
You should have the .smx in your sourcemod/plugins, not configs
__________________
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 19:24.


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