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

[ANY|Source 2009] Advanced Advertisements


Post New Thread Reply   
 
Thread Tools Display Modes
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 07-15-2012 , 13:14   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #121

Any word on the new update?
Groger is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 07-23-2012 , 14:22   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #122

Quote:
Originally Posted by minimoney1 View Post
Look at http://forums.alliedmods.net/showthread.php?t=96831
If the color is listed in that list for your game, then you can use it. (Look at the color table)
So does that mean it will work for L4D1? I ask cuz L4D1 is from 2008, but works with colors.inc.
Basically, what I'm asking is if you'll be able to use the new color system from TF2 in L4D1 with this plugin? If so, that would be awesome. I'm thinking the answer is no since I remember reading that the custom colors only work for TF2 and CS:S, but I'd figure I'd ask anyway.

Also, can you use the "T" type for L4D with this? I remember T types not working with DJ Tsunami's version (or is that a game limitation?).

And can you add translation support for this plugin please?

Last edited by The 5th Survivor; 07-23-2012 at 14:30.
The 5th Survivor is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 07-23-2012 , 22:15   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #123

I apologize for the long delay, I've been really busy with many stuff, but enough with that.
Version 1.2.6 is out!
You guys will need to update manually as the updater part of this plugin had been broken (and has been fixed in this version).
In the github, you will see a dev folder, that is for the changes for the next major version, as the whole config structure and multi-plugin support part of this plugin will change and improve.
minimoney1 is offline
moxie2020
Veteran Member
Join Date: Aug 2011
Old 07-24-2012 , 01:27   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #124

Quote:
Originally Posted by minimoney1 View Post
I apologize for the long delay, I've been really busy with many stuff, but enough with that.
Version 1.2.6 is out!
You guys will need to update manually as the updater part of this plugin had been broken (and has been fixed in this version).
In the github, you will see a dev folder, that is for the changes for the next major version, as the whole config structure and multi-plugin support part of this plugin will change and improve.
Ok, I can't tell from the configs if multiline support is in the 1.2.6 version. Does /n work now?
moxie2020 is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 07-24-2012 , 01:31   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #125

Quote:
Originally Posted by moxie2020 View Post
Ok, I can't tell from the configs if multiline support is in the 1.2.6 version. Does /n work now?
\n is indeed supporter in this version.
minimoney1 is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 07-24-2012 , 11:47   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #126

This error appears everytime it tries to print out a chat advert:

Code:
L 07/24/2012 - 17:45:09: [SM] Plugin encountered error 25: Call was aborted
L 07/24/2012 - 17:45:09: [SM] Native "ThrowError" reported: Using two team colors in one message is not allowed
L 07/24/2012 - 17:45:09: [SM] Displaying call stack trace for plugin "adv_adverts_nontf2.smx":
L 07/24/2012 - 17:45:09: [SM]   [0]  Line 300, C:\Users\Mini\Desktop\SM 1.4.3\include\colors.inc::CFormat()
L 07/24/2012 - 17:45:09: [SM]   [1]  Line 131, C:\Users\Mini\Desktop\SM 1.4.3\include\colors.inc::CPrintToChatEx()
L 07/24/2012 - 17:45:09: [SM]   [2]  Line 886, C:\Users\Mini\Documents\GitHub\SM-TF2-Advanced-Ads\scripting\adv_adverts.sp::AdvertisementTimer()
Other adverts work just fine

This is my config, no team colors:
Code:
"Advertisements"
{
	"1"
	{
		"type"		"CHS"
		"text"		"www.onlyfriends.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"
	}
}

Last edited by Groger; 07-24-2012 at 11:52.
Groger is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 07-24-2012 , 14:27   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #127

Quote:
Originally Posted by Groger View Post
This error appears everytime it tries to print out a chat advert:

Code:
L 07/24/2012 - 17:45:09: [SM] Plugin encountered error 25: Call was aborted
L 07/24/2012 - 17:45:09: [SM] Native "ThrowError" reported: Using two team colors in one message is not allowed
L 07/24/2012 - 17:45:09: [SM] Displaying call stack trace for plugin "adv_adverts_nontf2.smx":
L 07/24/2012 - 17:45:09: [SM]   [0]  Line 300, C:\Users\Mini\Desktop\SM 1.4.3\include\colors.inc::CFormat()
L 07/24/2012 - 17:45:09: [SM]   [1]  Line 131, C:\Users\Mini\Desktop\SM 1.4.3\include\colors.inc::CPrintToChatEx()
L 07/24/2012 - 17:45:09: [SM]   [2]  Line 886, C:\Users\Mini\Documents\GitHub\SM-TF2-Advanced-Ads\scripting\adv_adverts.sp::AdvertisementTimer()
Other adverts work just fine

This is my config, no team colors:
Code:
"Advertisements"
{
	"1"
	{
		"type"		"CHS"
		"text"		"www.onlyfriends.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"
	}
}
Hm.. that's an error on Colors library's side, but it seems like your config is fine. Keep in mind that {lightgreen} is considered a teamcolor, so you can't add that with more team colors.
minimoney1 is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 07-24-2012 , 14:42   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #128

Mmh so what do you suggest. Cause this worked fine with the default adverts plugin.

Last edited by Groger; 07-24-2012 at 14:42.
Groger is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-25-2012 , 09:18   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #129

Quote:
Originally Posted by The 5th Survivor View Post
Basically, what I'm asking is if you'll be able to use the new color system from TF2 in L4D1 with this plugin? If so, that would be awesome. I'm thinking the answer is no since I remember reading that the custom colors only work for TF2 and CS:S, but I'd figure I'd ask anyway.
Sadly, no... its the game engine doing the color parsing for those. Heck, I don't even think the L4D2 update that just came out yesterday added it to L4D2!
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 07-25-2012 , 10:48   Re: [ANY|TF2] Advanced Advertisements
Reply With Quote #130

Quote:
Originally Posted by Powerlord View Post
Sadly, no... its the game engine doing the color parsing for those. Heck, I don't even think the L4D2 update that just came out yesterday added it to L4D2!
I see. Well, that sucks. Thanks for the clarification.

TF2 is an older game than L4D1 or 2. Was there a massive fan demand for more chat colors or something that cause Valve to make such an update? I don't play the game so I don't know much about it.


Also, never mind about the use of "T" type messages for L4D. I read over at DJ Tsunami's version that it is a game limitation. Damn, that sucks too.

Last edited by The 5th Survivor; 07-25-2012 at 10:57.
The 5th Survivor 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 08:48.


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