Raised This Month: $32 Target: $400
 8% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-11-2016 , 07:37   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1981

I did not have that issue when testing, can you post your advertisements.txt?
__________________
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
dustydevil
Member
Join Date: Feb 2016
Old 05-11-2016 , 13:16   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1982

Having Problem in css server

Quote:
getting error KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt

KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt

KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt

KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt

KeyValues Error: LoadFromBuffer: missing { in file addons\sourcemod\configs\advertisements.txt

KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file addons\sourcemod\configs\advertisements.txt
7,

Last edited by dustydevil; 05-11-2016 at 13:37.
dustydevil is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 05-11-2016 , 14:10   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1983

Quote:
Originally Posted by dustydevil View Post
Having Problem in css server
Seems pretty straightforward if you read & understood the error message, your formatting is incorrect. Make sure you have the correct brackets and setup. Use the given file that comes with it as a reference.
sneaK is offline
dustydevil
Member
Join Date: Feb 2016
Old 05-11-2016 , 18:40   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1984

What does the EOF instead Mean?
dustydevil is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-12-2016 , 06:49   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1985

EOF means End Of File, so it reached the end of the file, but it was expecting a key.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 05-12-2016 at 08:07.
DJ Tsunami is offline
Jcrr
Senior Member
Join Date: Jul 2015
Old 05-13-2016 , 04:35   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1986

Here is mine file.
Now to bypass that error with adverts showed only once per map, i copied over some of them and istead of desired 8 i have 64 (it's copied 8 times)

http://pastebin.com/raw/Kt0VWG8z
__________________


Last edited by Jcrr; 05-13-2016 at 04:41.
Jcrr is offline
dustydevil
Member
Join Date: Feb 2016
Old 05-13-2016 , 14:22   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1987

Quote:
"Advertisements"
{
"1"
{
"chat" "{green}Join us at www.thegoldenknights.co.uk"
}
"2"
{
"chat" "{red}ADMINS: {orange} Dusty,deadwalkin,angel,trooper,keanu,maddog,j oshhy,luke,demon,weedee,"
}
"3"
{

"chat" "{red}ADMINS: {orange}wellsy,ogri,v,bandit,rhino,phat phuk,crapshot,killer,angel_rex'3fps"
}
"4"
{
"chat" "Next map is {sm_nextmap} in {timeleft} minutes."
"flags" "cft"
}
"5"
{
"chat" "{green}Current {lightgreen}Map: {default}{currentmap}"
"flags" "z"
}
"6"
{
"top" "{orange}Admins: friendly fire is {mp_friendlyfire}."
"flags" ""
}
"7"
{
"chat" "{blue}server rules: {red}No bunnyhopping. No rasicm. No Sexism. Respect the admins. Dont be aggressive to other players
}
"8"
{
"chat" {red}Our Gungame server: {cyan}81.19.208.69:27021
}
"9"
{
"chat" {blue}Join us at http://thegoldenknights.co.uk
}

}
where am I going wrong
dustydevil is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 05-13-2016 , 14:26   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1988

Quote:
Originally Posted by dustydevil View Post
where am I going wrong
You're missing a lot of quotation marks. " " " " " " " Everything through #6 is fine, after that isn't.

Last edited by sneaK; 05-13-2016 at 14:31.
sneaK is offline
dustydevil
Member
Join Date: Feb 2016
Old 05-13-2016 , 15:12   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1989

ah would that be why
dustydevil is offline
Jcrr
Senior Member
Join Date: Jul 2015
Old 05-15-2016 , 16:27   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #1990

Quote:
Originally Posted by DJ Tsunami View Post
I did not have that issue when testing, can you post your advertisements.txt?
Here, It's 8 adverts copied 8 times because of this error with showing advert only once per map

http://pastebin.com/raw/Kt0VWG8z
__________________


Last edited by Jcrr; 05-15-2016 at 16:28.
Jcrr 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:11.


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