Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Jakko80
New Member
Join Date: Mar 2011
Location: Germany
Old 03-24-2011 , 14:25   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1111

I use this plugin "off" by default.

Code:
 
in server.cfg

sm_advertisements_enabled "0"
To enable it on some maps i use an extra map.cfg (cstrike/maps/cfg)

Code:
in map_1.cfg

sm_advertisements_enabled "1"
sm_advertisements_file "file_1.txt"
sm_advertisements_interval "120"
Code:
in map_2.cfg
 
 sm_advertisements_enabled "1"
 sm_advertisements_file "file_2.txt"
 sm_advertisements_interval "40"
I would like to use some different "advertisements_files" and "advertisements_intervals" on each map.
But if i do this in this way as i discribed above I got an error message:


Code:
L 03/24/2011 - 15:49:39: [SM] Native "KillTimer" reported: Invalid timer handle 697902a9 (error 3)
L 03/24/2011 - 15:49:39: [SM] Displaying call stack trace for plugin "advertisements.smx":
L 03/24/2011 - 15:49:39: [SM]   [0]  Line 68,  /home/groups/alliedmodders/forums/files/3/4/6/6/8/24253.attach::ConVarChange_Interval()
Nevertheless the plugin seems to work but I believe this error is not indended by the author.

However a really nice plugin.
Jakko80 is offline
ssphreak
Senior Member
Join Date: Aug 2009
Old 03-26-2011 , 16:47   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1112

I have an issue with some of the advertisements on the top left being too long, and they cut off. This happens to the high end users when they up their video settings. is there a way to make the top left area utilize a longer line to be able to see the full advertizement?

thanks man - <phreak>
ssphreak is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-24-2011 , 23:44   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1113

Can you update the first post with the latest version? or is it unofficial ?
TnTSCS is offline
riley1234198
New Member
Join Date: Apr 2011
Old 04-25-2011 , 15:16   Advertisements 0.5.5
Reply With Quote #1114

Hi,
New to the allied forums. Have a ? hope this is the right place to post if not let me know. Ok im using the advertisement 0.5.5 plugin. The problem i am having it spams the messages i have in the text file. From what i read where i downloaded it from it supposed to be 30 seconds default but its spams everything message i put in there like 1 second. I will post the text file how i have it on the server but will take out our clan info so i dont advertise our clan info here. Any help would be great.


"Advertisements"
{
"1"
{
"type" "S"
"text" "Welcome"
}
"2"
{
"type" "T"
"text" "WWW.NET"
"flags" "a"
}
"3"
{
"type" "S"
"text" "Comments Or Suggestions Stop By"

}
"4"
{
"type" "S"
"text" "Check out Day Of Defeat Source"


}
"5"
{
"type" "S"
"text" "Check out CSS "

}
"6"
{
"type" "S"
"text" "We Are Recruiting For All Games "

}

{
riley1234198 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-25-2011 , 15:25   Re: Advertisements 0.5.5
Reply With Quote #1115

what is your sm_advertisements_interval cvar set to? by default it is 30 seconds... btw, you should update to the 0.6.1 version
TnTSCS is offline
riley1234198
New Member
Join Date: Apr 2011
Old 04-25-2011 , 18:56   Re: Advertisements 0.5.5
Reply With Quote #1116

Thanks for the advice i have it set to default 30 but it runs the messages like every 1-2 seconds. I looked on the allied site i dont see the upgrade plugin just the 0.5.5 could you leave a link for the download for the newer plugin.

Thanks
riley1234198 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-25-2011 , 19:19   Re: Advertisements 0.5.5
Reply With Quote #1117

http://forums.alliedmods.net/showthr...494#post899494 for 0.6.2

http://forums.alliedmods.net/showthr...6.1#post862715 for 0.6.1
TnTSCS is offline
Ade
I love purple
Join Date: May 2010
Old 04-25-2011 , 21:33   Re: Advertisements 0.5.5
Reply With Quote #1118

u have an extra {at the end tho doubt its important
i have 055 and runs at the right interval, u sure the cvar isnt in 2 places? check the value directly on server
Ade is offline
cssnik
Member
Join Date: Apr 2011
Location: Russia
Old 04-28-2011 , 17:45   I see the adverts only in spectators
Reply With Quote #1119

I have the same problem. I see the adverts only in pectators. Where is the Problem?
cssnik is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 04-28-2011 , 18:25   Re: Advertisements 0.5.5
Reply With Quote #1120

I wish someone would kill that fucking cry smily
__________________
Happy Happy Joy Joy

sinblaster 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 18:57.


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