Raised This Month: $32 Target: $400
 8% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
alansdit12
AlliedModders Donor
Join Date: Nov 2015
Location: Indonesia
Old 07-02-2016 , 14:26   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2001

After I update this plugin, from 0.6 to 2.0, and renew the advertisements.txt, I have problem.
All text is white. I tried with various color, but didnt work
Game = No More Room in Hell


This is my advertisements.txt
Code:
//
"Advertisements"
{
	"1"
	{
		"chat"		"{green}[本章节地图]: {green}{CURRENTMAP} \n{lightgreen}[服务器时间]: {green}{TIME24} - {DATE}"
	}
	"2"
	{
		"chat"		"{green}[HKLOL.ORG] Welcome to [HKLOL.ORG] , we have 4 servers now, If you like our servers, welcome add us favourite."
	}
	"3"
	{
		"chat"		"{green}[HKLOL.ORG] type rtv in chat to change map."
	}
	"4"
	{
		"chat"		"{green}[HKLOL.ORG] type rank to see your rank in our servers."
	}
	"5"
	{
		"chat"		"{green}[HKLOL.ORG] Want to be VIP in our servers? Join us on: http://hklol.org."
	}
	"6"
	{
		"chat"		"{green}[HKLOL.ORG] Press v to push zombie away before you make every attack to zombie."
	}
}
There is something wrong with my config?
alansdit12 is offline
alansdit12
AlliedModders Donor
Join Date: Nov 2015
Location: Indonesia
Old 07-06-2016 , 11:47   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2002

Quote:
Originally Posted by alansdit12 View Post
After I update this plugin, from 0.6 to 2.0, and renew the advertisements.txt, I have problem.
All text is white. I tried with various color, but didnt work
Game = No More Room in Hell

So, anyone can help me?
alansdit12 is offline
SimplyJpk
Member
Join Date: Oct 2013
Location: Just Jump
Old 07-08-2016 , 01:12   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2003

Quote:
Originally Posted by alansdit12 View Post
So, anyone can help me?
Going off a message only a bit further down, it looks like the includes this plugin uses doesn't seem to work for green or lightgreen? Try a different colour first? {chartreuse} and {lime} are similar to green, dunno any others off the top of my head that'd be similar to lightgreen. Sorry :s

edit: I'd also try something like red or blue just to confirm greens don't work.
__________________
Code is Fun
If your plugin is broken, add me. If I have some free time I don't mind taking a look and fixing. (FreeTime lately is Limited).

Last edited by SimplyJpk; 07-08-2016 at 01:14. Reason: Late thoughts
SimplyJpk is offline
alansdit12
AlliedModders Donor
Join Date: Nov 2015
Location: Indonesia
Old 07-08-2016 , 02:22   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2004

Quote:
Originally Posted by SimplyJpk View Post
Going off a message only a bit further down, it looks like the includes this plugin uses doesn't seem to work for green or lightgreen? Try a different colour first? {chartreuse} and {lime} are similar to green, dunno any others off the top of my head that'd be similar to lightgreen. Sorry :s

edit: I'd also try something like red or blue just to confirm greens don't work.
Well, It's even worse
alansdit12 is offline
SimplyJpk
Member
Join Date: Oct 2013
Location: Just Jump
Old 07-08-2016 , 04:06   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2005

Quote:
Originally Posted by alansdit12 View Post
Well, It's even worse
Then i'm not to sure, sorry all I can say is double check you don't have multiple advertisement plugins running at same time. I don't run a server with that game, but it should work from what I can see. :s
__________________
Code is Fun
If your plugin is broken, add me. If I have some free time I don't mind taking a look and fixing. (FreeTime lately is Limited).
SimplyJpk is offline
justincase1
New Member
Join Date: Jun 2016
Old 07-12-2016 , 14:47   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2006

Hello, I've installed this on insurgency server. It's working, but not the colors.
I'd like to change the interval but am unable to find this.

Where do I set this value? In which file?

sm_advertisements_interval (def 30)
Amount of seconds between advertisements.

When I input in console or chat it is not accepting the command - unknown command in console.

Thanks

Last edited by justincase1; 07-12-2016 at 14:49.
justincase1 is offline
Sil3nt702
Member
Join Date: May 2016
Old 07-23-2016 , 11:14   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2007

Quote:
Originally Posted by justincase1 View Post
Hello, I've installed this on insurgency server. It's working, but not the colors.
I'd like to change the interval but am unable to find this.

Where do I set this value? In which file?

sm_advertisements_interval (def 30)
Amount of seconds between advertisements.

When I input in console or chat it is not accepting the command - unknown command in console.

Thanks

For interval: 'rcon sm_advertisements_interval 'x''

x = seconds

Last edited by Sil3nt702; 07-23-2016 at 16:06.
Sil3nt702 is offline
Usernamehere
Member
Join Date: Feb 2016
Old 07-25-2016 , 11:27   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2008

Can sm_advertisements_interval work in the server.cfg?
Usernamehere is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 07-25-2016 , 11:33   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2009

Quote:
Originally Posted by Usernamehere View Post
Can sm_advertisements_interval work in the server.cfg?
Yes.
Snaggle is offline
Dirtfox
Junior Member
Join Date: Sep 2015
Old 07-25-2016 , 20:17   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2010

Where is the .smx file for this plugin?
I have the cfg, script, but no actual .smx
Dirtfox 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 17:16.


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