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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-21-2012 , 11:44   Re: Advertisements 0.5.5
Reply With Quote #1351

@MarcoPixel.
Make sure you downloaded compiled plugin.smx and not plugin source code.sp
Look errors from SM logs
Bacardi is offline
Yodag566
Junior Member
Join Date: Apr 2012
Old 05-04-2012 , 19:59   Re: Advertisements 0.5.5
Reply With Quote #1352

Nice!
Yodag566 is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 05-06-2012 , 20:55   Re: Advertisements 0.5.5
Reply With Quote #1353

Quote:
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file addons\sourcemod\configs\advertisements.txt
Advertisements, (*6*), (*7*),
I keep getting that in my console...what does it mean?
killjoy64 is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 05-06-2012 , 21:27   Re: Advertisements 0.5.5
Reply With Quote #1354

Quote:
Originally Posted by killjoy64 View Post
I keep getting that in my console...what does it mean?
You're probably missing a } somewhere.
__________________
11530 is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 05-08-2012 , 15:44   Re: Advertisements 0.5.5
Reply With Quote #1355

Quote:
Originally Posted by 11530 View Post
You're probably missing a } somewhere.
After i found the missing }

i get this


KeyValues Error: RecursiveLoadFromBuffer: got } in key in file addons\sourcemod\configs\advertisements.txt
Advertisements, 8, type,
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file addons\sourcemod\configs\advertisements.txt
Advertisements, 8, !commands,
KeyValues Error: RecursiveLoadFromBuffer: got NULL key in file addons\sourcemod\configs\advertisements.txt
Advertisements, 8,
}
}
, (*!commands*),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file addons\sourcemod\configs\advertisements.txt
Advertisements, (*8*), (*
}
}
*), (*!commands*),
[
*EDIT*
I found the problem, i was missing a " at the end of a advertisement text. thank you 11530 for helping me with the last error

Last edited by killjoy64; 05-08-2012 at 15:50. Reason: found the error
killjoy64 is offline
Lanc
Member
Join Date: Oct 2011
Old 05-12-2012 , 19:27   Re: Advertisements 0.5.5
Reply With Quote #1356

Please add support for RGB colors It was added in the latest update ;>
Lanc is offline
xomp
BANNED
Join Date: Jul 2008
Old 05-12-2012 , 22:41   Re: Advertisements 0.5.5
Reply With Quote #1357

Quote:
Originally Posted by Lanc View Post
Please add support for RGB colors It was added in the latest update ;>
Don't hold your breath. The author hasn't updated a plugin in a long time and is hardly active anymore. Someone will have to re-write this with RGB support added and well.. that sounds a lot like work so. Here have some bacon!
xomp is offline
Send a message via Skype™ to xomp
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 05-13-2012 , 00:00   Re: Advertisements 0.5.5
Reply With Quote #1358

Quote:
Originally Posted by xomp View Post
Don't hold your breath. The author hasn't updated a plugin in a long time and is hardly active anymore. Someone will have to re-write this with RGB support added and well.. that sounds a lot like work so. Here have some bacon!
I'm working on a newer TF2-Only version that supports the new system.
It'll be difficult for me as I don't play TF2 (I don't have a server either), but the release date should be pretty close.
minimoney1 is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 05-13-2012 , 09:18   Re: Advertisements 0.5.5
Reply With Quote #1359

Quote:
Originally Posted by Lanc View Post
Please add support for RGB colors It was added in the latest update ;>
There you go!
Usage is pretty easy, just use
Code:
{#RGBHexCode}Text
TF2 only

Example:
Code:
"Advertisements"
{
	"1"
	{
		"type"		"S"
		"text"		"{#000000}Black {#FFFF00}Yellow {#FF00FF}Magenta {#C85A17}Chocolate {DEFAULT}Default {#FFFFFF}White"
	}
	"2"
	{
		"type"		"S"
		"text"		"{TEAM}Team {#FF0000}Red {#0000FF}Blue {#000000}Black {#FFFF00}Yellow {#FF00FF}Magenta {#C85A17}Chocolate {DEFAULT}Default {#FFFFFF}White"
	}
}
Result:
Attached Files
File Type: sp Get Plugin or Get Source (advertisements.sp - 802 views - 13.0 KB)

Last edited by gH0sTy; 05-16-2012 at 02:21. Reason: added support for RGBA + TF2 Beta
gH0sTy is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 05-13-2012 , 09:45   Re: Advertisements 0.5.5
Reply With Quote #1360

Quote:
Originally Posted by gH0sTy View Post
There you go!
Usage is pretty easy, just use
Code:
{#RGBHexCode}Text
Example:
Code:
"Advertisements"
{
	"1"
	{
		"type"		"S"
		"text"		"{#000000}Black {#FFFF00}Yellow {#FF00FF}Magenta {#C85A17}Chocolate {DEFAULT}Default {#FFFFFF}White"
	}
	"2"
	{
		"type"		"S"
		"text"		"{TEAM}Team {#FF0000}Red {#0000FF}Blue {#000000}Black {#FFFF00}Yellow {#FF00FF}Magenta {#C85A17}Chocolate {DEFAULT}Default {#FFFFFF}White"
	}
}
Result:
Would this work in CSS as well?
Nolongerinthegame 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 07:45.


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