Raised This Month: $ Target: $400
 0% 

[ANY|Source 2009] Advanced Advertisements


Post New Thread Reply   
 
Thread Tools Display Modes
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 08-19-2012 , 15:03   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #151

Quote:
Originally Posted by Groger View Post
Can you point out where i'm making this mistake?

Code:
"Advertisements"
{
	"1"
	{
		"type"		"CHS"
		"text"		"www.dimension-gaming.be"
	}
	"2"
	{
		"type"		"S"
		"text"		"{green}Server {lightgreen}#2 {green}bevindt zich hier : {lightgreen}46.249.40.147:27016"
	}
	"3"
	{
		"type"		"S"
		"text"		"{green}INFO: {lightgreen}Type {green}!joinct {lightgreen}om jezelf aan de wachtrij toe te voegen."
	}
	"4"
	{
		"type"		"S"
		"text"		"{green}Typ{lightgreen} !regels {green}Voor een duidelijk overzicht van al onze regels!"
	}
	"5"
	{
		"type"		"S"
		"text"		"{green}INFO: {lightgreen}Type {green}!hats {lightgreen}om jou hat in te stellen!"
	}
	"6"
	{
		"type"		"S"
		"text"		"{green}Type: {lightgreen}!settings {lightgreen}voor jou persoonlijke donate instellingen."
	}
	"7"
	{
		"type"		"S"
		"text"		"{green}JIHAD: type {lightgreen}koopbom {green}in console om een bom te kopen"
	}
	"8"
	{
		"type"		"S"
		"text"		"{green}JIHAD: type {lightgreen}bomb_explode {green}in console om je bom te laten ontploffen"
	}
	"9"
	{
		"type"		"S"
		"text"		"{green}TIP: {lightgreen} Beschikbare commands: !regels, !joinct, !models"
	}
	"10"
	{
		"type"		"S"
		"text"		"{green}{client_name}, {lightgreen}Uw beschikbare donate commands zijn: {green}!settings, !models, !hats, !trails"
		"flags"		"t"
	}
	"11"
	{
		"type"		"S"
		"text"		"{green}INFO: {lightgreen}De volgende map start over {green}{timeleft} {lightgreen}minuten."
	}
	"12"
	{
		"type"		"M"
		"text"		"Next map is {nextmap} in {timeleft} minutes."
		"flags"		"cft"
	}
}
Seems really weird. Try putting a message like
Code:
{teamcolor}test
and tell me the result.
P.S. You can use the sm_showad command to show the next advertisement immediately.

Quote:
Originally Posted by Dr. McKay View Post
It's not a bug, it's a limitation of the engine.

You can only use one of the following:

{lightgreen}
{red}
{blue}
Meant to say an error thrown, thanks.

Last edited by minimoney1; 08-19-2012 at 15:04.
minimoney1 is offline
chikarkas36
AlliedModders Donor
Join Date: Oct 2009
Location: santa rosa ca
Old 08-21-2012 , 18:42   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #152

well i try everythiing and my ads not working whit any color some one can help me is for csgo server
__________________
[U]
chikarkas36 is offline
Send a message via MSN to chikarkas36 Send a message via Skype™ to chikarkas36
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 08-21-2012 , 19:55   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #153

CS:GO colors are messed up for now. A patch has been given by exvel for the color inc; expect a CS:GO update.
minimoney1 is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 08-22-2012 , 04:26   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #154

Quote:
Originally Posted by minimoney1 View Post
Seems really weird. Try putting a message like
Code:
{teamcolor}test
and tell me the result.
P.S. You can use the sm_showad command to show the next advertisement immediately.
Works perfectly fine, no errors.
Groger is offline
BrainInBlack
Junior Member
Join Date: Aug 2012
Old 08-22-2012 , 05:48  
Reply With Quote #155

Maybe i'm kinda blind, but is there any documentation on the "type" param, or does it work like in the original? Even then, it would be nice to have this in the documentation ;)

Also a little suggestion: Could you add a ignore param, the counterpart of the flag param? I don't wanna spam our Admins with the same stuff all day

Last edited by Dr. McKay; 08-22-2012 at 14:30. Reason: Merged posts
BrainInBlack is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 08-22-2012 , 10:41   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #156

Quote:
Originally Posted by BrainInBlack View Post
Maybe i'm kinda blind, but is there any documentation on the "type" param, or does it work like in the original? Even then, it would be nice to have this in the documentation ;)
Quote:
Originally Posted by BrainInBlack View Post
Also a little suggestion: Could you add a ignore param, the counterpart of the flag param? I don't wanna spam our Admins with the same stuff all day
Suggestions are always appreciated by the devs, but if you must double post, please just modify your existing post using the Edit button to the right.
__________________
11530 is offline
BrainInBlack
Junior Member
Join Date: Aug 2012
Old 08-22-2012 , 10:50   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #157

Well, the last dev complained about the edit... the next one wants some candy for every post... and i better not talk about what the creepy one wants.
BrainInBlack is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 08-22-2012 , 16:17   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #158

I apologize for the lack of documentation.
The type field is a field that you can add types to, for example:
"S" means say
"M" means menu
"T" means topsay
"H" means hint text
and "C" means center text
So if you use something like "SMT" it would paste it to the chat, through a menu, and through a topsay.

There is already a "noflags" field in which you can set the flags (for each advertisement) that ignores the ad for the client.
minimoney1 is offline
BrainInBlack
Junior Member
Join Date: Aug 2012
Old 08-22-2012 , 16:20   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #159

Quote:
Originally Posted by minimoney1 View Post
I apologize for the lack of documentation.
The type field is a field that you can add types to, for example:
"S" means say
"M" means menu
"T" means topsay
"H" means hint text
and "C" means center text
So if you use something like "SMT" it would paste it to the chat, through a menu, and through a topsay.

There is already a "noflags" field in which you can set the flags (for each advertisement) that ignores the ad for the client.
No problem, already found out that it was pretty much the same system as in the original. But i didn't knew about the "noflags" field, thanks
BrainInBlack is offline
BrainInBlack
Junior Member
Join Date: Aug 2012
Old 08-22-2012 , 16:51   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #160

One little problem: Looks like the "flags" and "noflags" fields are strict, so that i can't really use "i" to noflag an admin with "z". Even adding all possible flags to an admin wont help there.

The funny thing is if i'm using "a" as flag or noflag, it works fine, even if the admin is flagged with "abi...". So i think your method just check's against the first letter in the player-flags and not against all letters.

Or i'm just stupid and didn't see the obvious thing
BrainInBlack 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 03:51.


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