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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Tipsy Snake
Junior Member
Join Date: May 2009
Location: Belarus
Old 05-06-2009 , 18:21   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #491

Quote:
Originally Posted by -Sky View Post
oh yea. okay. thanks. what bout the following errors while reloading the advertisements? what means EOF instead of keyname?
and, for example, i typed in {GREEN}{DATE}{TIME} <-- is this correct or only 1 is allowed?
yes, this is correct
EOF = End of file. Don't you forget "}" in the end?
Tipsy Snake is offline
-Sky
Member
Join Date: May 2009
Old 05-08-2009 , 14:34   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #492

yup.. added but then, i've got

Quote:
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file addons\sourcemod\configs\advertisements.txt
in, GREEN, (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*in*), (*GREEN*), (*13*),
__________________

-Sky is offline
lop
New Member
Join Date: May 2009
Old 05-08-2009 , 20:51   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #493

Quick question, say i have the default advertisements.txt and i set the interval to 1 it should spam adverts right? It doesn't do this for me. Even with the default setting, the first advert shows up and thats it..im playing for the next 5-6 mintues and no adverts. This is a straight forward script so i dont know what the problem could be
lop is offline
-Sky
Member
Join Date: May 2009
Old 05-09-2009 , 11:10   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #494

Quote:
Originally Posted by Tipsy Snake View Post
yes, this is correct
EOF = End of file. Don't you forget "}" in the end?
hey, i've got the following error while attempting to refresh advertisement:
i did add } and {
Quote:
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*Advertisements*), (*{*), (*13*),
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file addons\sourcemod\configs\advertisements.txt
in, GREEN, (*13*),
KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt
(*in*), (*GREEN*), (*13*),
the following is what i've written:

Quote:
}
"14"
{
"type" "S"
"text" "{LIGHTGREEN}Admin List-\n{GREEN}*bLooD\nLegend:\nBlue = Trial

Admin\nYellow = Standard Admin\nYellow with * = Bronze Admin\nYellow with ** = Silver

Admin\nYellow with *** = Gold Admin\nYellow with **** = Supervisor Admin\nYellow with ***** =

Administrator"
__________________


Last edited by -Sky; 05-09-2009 at 11:17.
-Sky is offline
Tipsy Snake
Junior Member
Join Date: May 2009
Location: Belarus
Old 05-09-2009 , 14:10   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #495

-Sky
see the default advertisements.txt to understand file structure
Tipsy Snake is offline
-Sky
Member
Join Date: May 2009
Old 05-09-2009 , 19:00   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #496

Quote:
Originally Posted by Tipsy Snake View Post
-Sky
see the default advertisements.txt to understand file structure
i solved it..
Quote:
{LIGHTGREEN}Admin List:-\n{GREEN}1. bLooD\n2. {LIGHTGREEN}

noobsheep\nLegend:\nBlue = Trial Admin\nYellow = Standard Admin\nYellow with * = Bronze

Admin\nYellow with ** = Silver Admin\nYellow with *** = Gold Admin\nYellow with **** =

Supervising Admin\nYellow with ***** = Administrator"
did showed up in-game but unfortunately, when it only displays
Quote:
Admin List:-
1. xxx
2. xxx
Legend:
Blue = Trial Admin
Yellow = Standard Admin
Yellow with * = Bronze Admin
Yellow with ** = Silver Admin
Yellow with *** = Gold Admin
Yellow with * [cont]
what bout the rest?
([cont from above] *** = Supervising Admin
Yellow with ***** = Administrator)

why cant the author make it simpler and more user-friendly

and also he didn't put what's the word limit like max words 300 etc etc
__________________


Last edited by -Sky; 05-10-2009 at 00:41.
-Sky is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-10-2009 , 04:35   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #497

If you have a suggestion on how to make it simpler and yet still have all these options, then enlighten me. If I make it smaller then I get a million requests of people that want this and that added. And it really isn't that difficult, I explained it thoroughly in the first post.

The character limit per advertisement is 255.
__________________
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
santaclaus
Senior Member
Join Date: Dec 2008
Old 05-10-2009 , 05:13   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #498

Quote:
why cant the author make it simpler and more user-friendly
lol ... i really think it's easy to set up the adverts ... you shouldn't blame the author
__________________

santaclaus is offline
gward
Member
Join Date: May 2009
Old 05-10-2009 , 13:41   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #499

I can't get this thing to work for anything. "H" and "C" will work but I'd like to use "S". This is for l4d. Here's my advertisments.txt file:

Quote:
"Advertisements"
{w
"1"
{
"type" "S"
"text" "blablabla"
}
"2"
{
"type" "S"
"text" "blablabla"
}

"3"
{
"type" "S"
"text" "blablabla"
}
"4"
{
"type" "S"
"text" "blablabla"
}
"5"
{
"type" "S"
"text" "blablabla"
}
"6"
{
"type" "S"
"text" "blablabla"
}
"7"
{
"type" "S"
"text" "blablabla"
}
}
And yes the txt file is saves in /addons/sourcemod/configs/ and the advertisments.smx file is saved in /addons/sourcemod/plugins/. Also do the cvars go in server.cfg? Like just add the line

Quote:
sm_advertisements_interval "60"
Thanks.
gward is offline
gward
Member
Join Date: May 2009
Old 05-10-2009 , 13:51   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #500

Somehow a stray w got in there :O.... Wierd.

Anyway that works now what about the cvar thing.

Last edited by gward; 05-10-2009 at 15:46.
gward 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 19:46.


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