Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
MnM3o5
Junior Member
Join Date: Jan 2009
Old 04-06-2009 , 23:53   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #441

You can't have olive or orange in the say messages?
__________________
MnM3o5 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-07-2009 , 02:52   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #442

Do you have a screenshot of those colors being used in chat? And if so, what game is it? As far as I know there's no game that supports those colors in chat.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
MnM3o5
Junior Member
Join Date: Jan 2009
Old 04-07-2009 , 21:43   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #443

I wanted it for my Team Fortress 2 Server. You know the options to have more colors in the say messages. I can find a screeny on one. The only problem is that i don't know how to add it, and if its alright to do so.
__________________
MnM3o5 is offline
Mikey
Junior Member
Join Date: Apr 2009
Old 04-08-2009 , 02:41   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #444

I can't get this plugin to work, its been over a week now and I tried everything.

What I have:
CS:Source
MetaMod:Source v1.7.1V, SourceMod v1.2.0
with HLstatsX Plugin thats it.

What I did:
Uploaded advertisments.smx into plugin folder addons/sourcemod/plugins

Added these lines into my cfg/server.cfg file (I even tried adding to cfg/soucremod/sourcemod.cfg)
sm_advertisements_enabled 1
sm_advertisements_file advertisements.txt
sm_advertisements_interval 30
sm_advertisements_reload

My advertisments.txt file reads this:
Quote:
// Advertisements 0.5
// by Tsunami
//
// Types
// -----
// C: Center message
// H: Hint message
// M: Menu message
// S: Say message
// - Colors: {DEFAULT}, {TEAM}, {GREEN}, {LIGHTGREEN}
// - Example: {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}
// T: Top message
// - Colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
// {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {LIGHTBLUE}
// - Example: {ORANGE} www.domain.com
//
// Flags (optional)
// -----
// Accepts flags of admins that will not see the advertisement.
// When omitted everyone will see the advertisement.
// When left empty only admins will see the advertisement.

"Advertisements"
{
"1"
{
"type" "s"
"text" "{GREEN}We invite you to sign up on our website: {LIGHTGREEN}www.aaaaaaaa.com"
}
"2"
{
"type" "s"
"text" "{GREEN}We are looking for {RED}admins{BLUE}! More information @ {LIGHTGREEN}www.aaaaaaa.com"
}
"3"
{
"type" "s"
"text" "{GREEN}Type !vent in chat to join our Ventrilo channel."
}
}
I placed the advertisments.txt file in addons/sourcemod/configs/

Restarted the server and still can not see the advertisments.

What am I doing wrong here? Any help is greatly appricated.

Last edited by Mikey; 04-08-2009 at 02:44.
Mikey is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 04-08-2009 , 06:59   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #445

Look at your cvar and at your filename.

"advertisements.txt" is not the same as "advertisments.txt"

Sigh.
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
Mikey
Junior Member
Join Date: Apr 2009
Old 04-08-2009 , 16:30   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #446

Quote:
Originally Posted by Doggie52 View Post
Look at your cvar and at your filename.

"advertisements.txt" is not the same as "advertisments.txt"

Sigh.
Nope, they are the same I just happened to misspell it in my previous post...
Mikey is offline
Mikey
Junior Member
Join Date: Apr 2009
Old 04-08-2009 , 20:58   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #447

Alright, it looks like I got it working. within advertisements.txt I had to replace the small s with a capitol S. I guess that made a difference.
However in my server it seems to advertise once per map and skips the first advertisement. This script is odd but thanks anyways.
Mikey is offline
vegetablegod
Member
Join Date: Mar 2009
Location: Greeneville, TN
Old 04-10-2009 , 20:10   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #448

I know this is a stupid question, but I can't find the file to edit the sm commands. gameservers.com install the plugins for me so I really dont know where it is.

What is the path to find that file?
__________________
vegetablegod is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 04-10-2009 , 21:21   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #449

http://forums.alliedmods.net/attachm...3&d=1211829209
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
vegetablegod
Member
Join Date: Mar 2009
Location: Greeneville, TN
Old 04-11-2009 , 08:47   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #450

I got it working last and and I think its pretty cool, but I wanna make sm_advertisements_interval 240. no matter what number I put it stays at 30 seconds.
__________________
vegetablegod 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:59.


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