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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
thenumb3rguy
Senior Member
Join Date: Oct 2012
Location: Hong Kong
Old 08-11-2013 , 11:33   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1661

Any chance that you will add mysql support? Im hosting multiple servers and im tired of editing config files one by one
__________________
Founder of Hours Played, Inc.

http://steamcommunity.com/id/botarnold
thenumb3rguy is offline
alBert2000
Junior Member
Join Date: Feb 2013
Old 08-12-2013 , 03:53   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1662

Quote:
Originally Posted by thenumb3rguy View Post
Any chance that you will add mysql support? Im hosting multiple servers and im tired of editing config files one by one
Have you tried using hard links?

It only works when all servers are running on the same machine (same file system)
If you are hosting multiple servers on different machines then this does not work.
For me it works fine because I have 9 servers (3 L4D, 6 L4D2) running on one rented linux root server.

It works on linux and NTFS too.
You can have one file in multiple locations.
I'm using that e.g. for the badnames.txt which should be the same on all 9 servers.
I have hard linked all badnames.txt files on all server installations.
So I have to change the file contents only once and all servers see the new content.
__________________
alBert2000 is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 08-14-2013 , 01:31   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1663

Can anyone provide a working smx for csgo please !?
nguyenbaodanh is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-14-2013 , 23:15   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1664

Quote:
Originally Posted by nguyenbaodanh View Post
Can anyone provide a working smx for csgo please !?
CSGO has a working smx... <snipped>

Currently I am trying to fix the glitch of colors not being able to start at the beginning of the ad.
Example code:
Code:
{RED}[ANNOUCEMENT]{DEFAULT} Join {RED}our community, register at {RED}JIBBERJABBER
Example ad: [ANNOUCEMENT] Join our community, register at JIBBERJABBER

As well for blue the error is:
Example code:
Code:
{RED}[ANNOUCEMENT]{BLUE} Join {RED}our community, register at {RED}JIBBERJABBER
Example ad: [ANNOUCEMENT] Join our community, register at JIBBERJABBER

If anyone can assist me in fixing this, that would be great. Thanks.

Last edited by thetwistedpanda; 08-20-2013 at 17:39. Reason: snipped link to smx with no source
Maxximou5 is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 08-15-2013 , 00:46   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1665

same problem ^
__________________
PresidentEvil is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-15-2013 , 03:03   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1666

Quote:
Originally Posted by Maxximou5 View Post
CSGO has a working smx... <snipped>

Currently I am trying to fix the glitch of colors not being able to start at the beginning of the ad.
Example code:
Code:
{RED}[ANNOUCEMENT]{DEFAULT} Join {RED}our community, register at {RED}JIBBERJABBER
Example ad: [ANNOUCEMENT] Join our community, register at JIBBERJABBER

As well for blue the error is:
Example code:
Code:
{RED}[ANNOUCEMENT]{BLUE} Join {RED}our community, register at {RED}JIBBERJABBER
Example ad: [ANNOUCEMENT] Join our community, register at JIBBERJABBER

If anyone can assist me in fixing this, that would be great. Thanks.
Found a work around for the time being. Simply use a character to start with.
Such as:
Code:
[{RED}ANNOUCEMENT{DEFAULT}] Join {RED}our community, register at {RED}JIBBERJABBER
Example ad: [ANNOUCEMENT] Join our community, register at JIBBERJABBER

Last edited by thetwistedpanda; 08-20-2013 at 17:39. Reason: snipped link to smx with no source
Maxximou5 is offline
nikedu45
Senior Member
Join Date: May 2011
Old 08-17-2013 , 07:58   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1667

Would it be possible to display a random color?

{random}
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
Lourido
Junior Member
Join Date: Aug 2013
Location: Utah, US
Old 08-17-2013 , 21:55   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1668

This plugins works fine on CS:GO, but for some reason, I can't get the colors to work.

Currently I have this in my config file:

Code:
// Advertisements 0.5
// by Tsunami
// 
// Types
// -----
// C: Center message
// H: Hint message
// M: Menu message
// S: Say message
//    - Colors:  {DEFAULT}, {TEAM}, {GREEN}, {GREEN}
//    - Example: {GREEN}Current {GREEN}Map: {DEFAULT}{CURRENTMAP}
// T: Top message
//    - Colors:  {WHITE},  {RED},  {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
//               {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {BLUE}
//    - 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}Do you like our server? Then favorite us! Add csgo.doozygaming.com to your favorites!"
	}
	"2"
	{
		"type"		"S"
		"text"		"{GREEN}Type 'motd' in chat to see our server rules and news!"
	}
	"3"
	{
		"type"		"S"
		"text"		"{GREEN}Speak to an admin by typing '@ <message>' in team chat"
	}
	"4"
	{
		"type"		"S"
		"text"		"{GREEN}Join our Steam group at steamcommunity.com/groups/doozygc"
	}
	"5"
	{
		"type"		"S"
		"text"		"{GREEN}CTs must go for the objective! Losing the objective will get you slayed!"
	}
	"6"
	{
		"type"		"S"
		"text"		"{GREEN}Have a suggestion? Let us know!"
	}		
}
Does anyone have any ideas?

Last edited by Lourido; 08-17-2013 at 21:56.
Lourido is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-17-2013 , 22:45   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1669

Quote:
Originally Posted by Lourido View Post
This plugins works fine on CS:GO, but for some reason, I can't get the colors to work.

Currently I have this in my config file:

Code:
// Advertisements 0.5
// by Tsunami
// 
// Types
// -----
// C: Center message
// H: Hint message
// M: Menu message
// S: Say message
//    - Colors:  {DEFAULT}, {TEAM}, {GREEN}, {GREEN}
//    - Example: {GREEN}Current {GREEN}Map: {DEFAULT}{CURRENTMAP}
// T: Top message
//    - Colors:  {WHITE},  {RED},  {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
//               {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {BLUE}
//    - 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}Do you like our server? Then favorite us! Add csgo.doozygaming.com to your favorites!"
    }
    "2"
    {
        "type"        "S"
        "text"        "{GREEN}Type 'motd' in chat to see our server rules and news!"
    }
    "3"
    {
        "type"        "S"
        "text"        "{GREEN}Speak to an admin by typing '@ <message>' in team chat"
    }
    "4"
    {
        "type"        "S"
        "text"        "{GREEN}Join our Steam group at steamcommunity.com/groups/doozygc"
    }
    "5"
    {
        "type"        "S"
        "text"        "{GREEN}CTs must go for the objective! Losing the objective will get you slayed!"
    }
    "6"
    {
        "type"        "S"
        "text"        "{GREEN}Have a suggestion? Let us know!"
    }        
}
Does anyone have any ideas?
https://www.sourcemod.net/showpost.p...postcount=1667
Maxximou5 is offline
Lourido
Junior Member
Join Date: Aug 2013
Location: Utah, US
Old 08-17-2013 , 23:31   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1670

So strange. That fixed it. I changed my to:

Code:
// S: Say message
//    - Colors:  {DEFAULT}, {TEAM}, {GREEN}, {GREEN}
//    - Example: {GREEN}Current {GREEN}Map: {DEFAULT}{CURRENTMAP}
// T: Top message
//    - Colors:  {WHITE},  {RED},  {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
//               {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {BLUE}
//    - 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}Announcement{DEFAULT}] Do you like our server? Then {GREEN}favorite{DEFAULT} us! Add {GREEN}csgo.doozygaming.com{DEFAULT}"
	}
	"2"
	{
		"type"		"S"
		"text"		"[{GREEN}Announcement{DEFAULT}] Do you like our server? Then {GREEN}donate{DEFAULT} to keep us going! It's as simple as typing {GREEN}!donate{DEFAULT} in-game!"
	}
	"3"
	{
		"type"		"S"
		"text"		"[{GREEN}Announcement{DEFAULT}]Speak to an admin by typing {GREEN}@<message>{DEFAULT} (Example: @Hello) in {GREEN}team chat!{DEFAULT}"
	}
	"4"
	{
		"type"		"S"
		"text"		"[{GREEN}Announcement{DEFAULT}]Join our Steam group at {GREEN}steamcommunity.com/groups/doozygc{DEFAULT}"
	}
	"5"
	{
		"type"		"S"
		"text"		"[{GREEN}Announcement{DEFAULT}]CTs must go for the {GREEN}objective{DEFAULT}! Losing the objective will get you {GREEN}slayed!{DEFAULT}"
	}
	"6"
	{
		"type"		"S"
		"text"		"[{GREEN}Announcement{DEFAULT}]Have a suggestion? Is there a hacker on our server? Let us know! Type {GREEN}!contact{DEFAULT} in-game and fill out the form. An admin will be notified {GREEN}IMMEDIATELY!{DEFAULT}"
	}		
}
Hopefully the above helps others in need. Thanks again Maxximou5!
Lourido 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 11:41.


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