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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
johwievangeffen
New Member
Join Date: Aug 2013
Old 07-10-2018 , 14:49   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2061

small question i installed it works fine but the color is not working i like the messages to be green and i did edit it like this: "{green}Typ: /Report Full Name & Reason to report the misbehaving plater"
johwievangeffen is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 07-10-2018 , 17:36   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2062

Quote:
Originally Posted by johwievangeffen View Post
small question i installed it works fine but the color is not working i like the messages to be green and i did edit it like this: "{green}Typ: /Report Full Name & Reason to report the misbehaving plater"
try this here: https://forums.alliedmods.net/showthread.php?t=248314
freak.exe_uLow is offline
rikka0w0
Member
Join Date: May 2018
Location: Sydney, Australia / Beij
Old 07-11-2018 , 06:49   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2063

To make the color work in L4D2, compile this plugin with the attached inc file
Attached Files
File Type: inc colorvariables.inc (32.9 KB, 446 views)
__________________
rikka0w0 is offline
ElTioRata
Junior Member
Join Date: Jul 2018
Old 08-17-2018 , 15:53   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2064

KeyValues Error: LoadFromBuffer: missing

How do I fix that error
ElTioRata is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 08-18-2018 , 12:00   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2065

You probably have a typo in your advertisements.txt. We would need to see your full advertisements.txt to be able to point out the exact mistake.
__________________
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
runkeballe
Member
Join Date: Jul 2011
Old 09-01-2018 , 14:16   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2066

This doesnt work, colours dont show up ingame, whatevver colour i edited in advertisements.txt. really want this plugin to work, only default colour show up. I installed everything as said, even tried the above.
runkeballe is offline
turkcodec
Member
Join Date: Nov 2010
Old 10-08-2018 , 09:00   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2067

Hello friends,

L 10/08/2018 - 09:10:43: [SM] Exception reported: Invalid timer handle e1ed0b59 (error 7)
L 10/08/2018 - 09:10:43: [SM] Blaming: advertisements.smx
L 10/08/2018 - 09:10:43: [SM] Call stack trace:
L 10/08/2018 - 09:10:43: [SM] [0] KillTimer
L 10/08/2018 - 09:10:43: [SM] [1] Line 77, advertisements.sp::ConVarChange_Interval

I got this error with cs go. Can anybody help me?
turkcodec is offline
ultimatgold
BANNED
Join Date: Jan 2013
Location: https://t.me/pump_upp
Old 10-26-2018 , 09:59   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2068

Hi!
My problem would be that the advertiser plugin starts to advertise, and after the last ad, it does not start advertising from the front.


The error is as follows:
Code:
] sm_rcon sm_advertisements_reload
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: LoadFromBuffer: missing { in file addons/sourcemod/configs/advertisements.txt
(*8*),
I checked and did not miss any characters from the file!

But if I run the server again, you start to advertise it. But when it comes first after the last ad, it just does not start from the front.

advertisements.txt:
I checked and did not miss any characters from the file!
Code:
// Advertisements 2.0
// by Tsunami
//
// Types
// -----
// center: Center message
// chat: Chat message
// hint: Hint message
// menu: Menu message
// top: Top message
//
// Flags (optional)
// -----
// Accepts flags of admins that will not see the advertisement.
// When omitted everyone will see the advertisement.
// When left empty only admins will see the advertisement.

"Advertisements"
{
    "1"
    {
       	"chat"		"{green}Jelenleg a szerver konfigolás alatt áll, szíves megértéseteket kérjük!"
    }
    "2"
    {
        "chat"		"{RED}Szerverünk IP címe: {default}**.**.**.**:27015 {RED}- {PURPLE}TEDD FAVORITBA!"
    }
    "3"
    {
        "chat"		"{RED}A szabályzat nem ismerete, {LIME}nem mentesít {RED}a betartásuk alól!"
    }
    "4"
    {
        "chat"		"{RED}Parancsok: {PURPLE}!rs{default},{PURPLE}rank{default},{PURPLE}top10{default},{PURPLE}voteban{default},{PURPLE}votekick{default},{PURPLE}RTV{default},{PURPLE}NOMINATE"
    }
    "5"
    {
        "chat"		"{RED}ADMIN TGF: {PURPLE}ON!"
    }
    "6"
    {
        "chat"		"{PURPLE}FB Group(UNBAN,Csaló jelentése): {LIME}fb.com/***** | CSATLAKOZZ!"
    }
    "7"
    {
        "chat"		"{PURPLE}[INFÓ] {RED}KisAdmin: {LIME}1100Ft/hó, {RED}VIP: {LIME}500Ft/hó"
    }
    "8"
    {
        "chat"		"{PURPLE}Tulajdonos & Konfigos: {RED}*tOrNaDo | {LIME}https://steamcommunity.com/id/*****/"
    }
}
The plugin uses morecolor.inc!

sm plugins list:
Code:
] sm plugins list
 "SMAC CS:S Anti-Flash" (0.8.5.1) by SMAC Development Team
 "SMAC Client Protection" (0.8.5.1) by SMAC Development Team
 "Sound Commands" (1.10.0.6353) by AlliedModders LLC
 "Double Jump" (1.0.1) by Paegus
 "Traffic Cash" (0.8.7) by Traffic Cash
 "Basic Chat" (1.10.0.6353) by AlliedModders LLC
 "Basic Commands" (1.10.0.6353) by AlliedModders LLC
 "FireWaLL Super Admin" (1.03c) by LightningZLaser
 "Fun Votes" (1.10.0.6353) by AlliedModders LLC
 "Advertisements" (2.0.2) by Tsunami
To see more, type "sm plugins 11"
] sm plugins 11
 "Healthkit From Dead (HFD)" (0.6) by Bacardi
 "Round End Sound" (2.3.9) by FrozDark
 "SMAC AutoTrigger Detector" (0.8.5.1) by SMAC Development Team
 "Simple Chat Colors" (2.0.0) by Simple Plugins
 "ELO Ranking" (1.2) by Mike + R_Hehl
 "SourceMod Anti-Cheat" (0.8.5.1) by SMAC Development Team
 "SM Parachute" (2.5) by SWAT_88
 "Knife Fight" (1.3.8) by XARiUS, Otstrel.Ru Team
 "CSS Anti Team Flash" (1.2.3) by Twisted|Panda (Orig: SAMURAI16/Kigen)
 "SMAC Rcon Locker" (0.8.5.1) by SMAC Development Team
 "Basic Info Triggers" (1.10.0.6353) by AlliedModders LLC
To see more, type "sm plugins 22"
] sm plugins 22
 "SMAC CS:S Anti-Smoke" (0.8.5.1) by SMAC Development Team
 "Reserved Slots" (1.10.0.6353) by AlliedModders LLC
 "QuickDefuse" (0.3) by pRED*
 "Client Preferences" (1.10.0.6353) by AlliedModders LLC
 "CSS Bank" (1.6.6) by Miraculix
 "IP Name & Say Block" (2.0) by R1KO
 "Custom Votes" (0.5.6) by chundo
 "AutoSilencer.smx" AutoSilencer.smx
 "Simple Chat Processor (Redux)" (2.1.0) by Simple Plugins, Mini
 "Map Nominations Extended" (1.10.0) by Powerlord and AlliedModders LLC
 "Show Damage" (1.0.7) by exvel
To see more, type "sm plugins 33"
] sm plugins 33
 "Basic Comm Control" (1.10.0.6353) by AlliedModders LLC
 "AFK Manager Lite - CSS" (1.1-css) by KorDen, orig by Rothgar
 "Grenade Smoke Color" (1.3.4) by HSFighter
 "Basic Ban Commands" (1.10.0.6353) by AlliedModders LLC
 "HideChatTriggers" (1.0) by Neatek
 "Anti-Flood" (1.10.0.6353) by AlliedModders LLC
 "SMAC Command Monitor fix MA" (0.8.5.1) by SMAC Development Team
 "[CSS] Round End Most Kills" (0.7) by Bacardi
 "Quake Sounds" (2.7) by dalto, Grrrrrrrrrrrrrrrrrrr, and psychonic
 "Advanced c4 Countdown Timer" (1.4.1) by dalto
 "No Spec Hop Cash" (1.6) by TnTSCS aka ClarkKent
To see more, type "sm plugins 44"
] sm plugins 44
 "Admin File Reader" (1.10.0.6353) by AlliedModders LLC
 "Noblock players and Nades" (2.1) by Originally by Tony G. Fixed by Rogue
 "Admin Menu" (1.10.0.6353) by AlliedModders LLC
 "Player Commands" (1.10.0.6353) by AlliedModders LLC
 "SMAC Eye Angle Test" (0.8.5.1) by SMAC Development Team
 "SMAC Spinhack Detector" (0.8.5.1) by SMAC Development Team
 "Resetscore" (1.1) by tuty
 "Admin Help" (1.10.0.6353) by AlliedModders LLC
 "Nextmap" (1.10.0.6353) by AlliedModders LLC
 "Auto Swap Team" (2.2.1) by Experto
 "Weapon Restrict" (3.1.7) by Dr!fter
To see more, type "sm plugins 55"
] sm plugins 55
 "Connect Announce" (1.8) by Arg!
 "SMAC ConVar Checker" (0.8.5.1) by SMAC Development Team
 "SMAC Anti-Speedhack" (0.8.5.1) by SMAC Development Team
 "Basic Votes" (1.10.0.6353) by AlliedModders LLC
 "Fun Commands" (1.10.0.6353) by AlliedModders LLC
 "MapChooser Extended" (1.10.2) by Powerlord, Zuko, and AlliedModders LLC
 "Rock The Vote Extended" (1.10.0) by Powerlord and AlliedModders LLC
 "SMAC Aimbot Detector" (0.8.5.1) by SMAC Development Team
ultimatgold is offline
Send a message via ICQ to ultimatgold Send a message via AIM to ultimatgold Send a message via Yahoo to ultimatgold Send a message via Skype™ to ultimatgold
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-26-2018 , 12:38   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2069

https://forums.alliedmods.net/showpo...75&postcount=5
Quote:
Originally Posted by ultimatgold
SourceMod version: 1.10.0.6353, by AlliedModders LLC
Yes, i save UTF8-without BOM
Error:
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/advertisements.txt
Work good for me.
Attach your advertisements.txt in archive.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
ultimatgold
BANNED
Join Date: Jan 2013
Location: https://t.me/pump_upp
Old 10-26-2018 , 13:12   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2070

Code:
// Advertisements 2.0
// by Tsunami
//
// Types
// -----
// center: Center message
// chat: Chat message
// hint: Hint message
// menu: Menu message
// top: Top message
//
// Flags (optional)
// -----
// Accepts flags of admins that will not see the advertisement.
// When omitted everyone will see the advertisement.
// When left empty only admins will see the advertisement.

"Advertisements"
{
    "1"
    {
       	"chat"		"{green}Jelenleg a szerver konfigolás alatt áll, szíves megértéseteket kérjük!"
		"flags"			""
    }
    "2"
    {
        "chat"		"{RED}Szerverünk IP címe: {default}87.229.71.52:27015 {RED}- {PURPLE}TEDD FAVORITBA!"
		"flags"			""
    }
    "3"
    {
        "chat"		"{RED}A szabályzat nem ismerete, {LIME}nem mentesít {RED}a betartásuk alól!"
		"flags"			""
    }
    "4"
    {
        "chat"		"{RED}Parancsok: {PURPLE}!rs{default},{PURPLE}rank{default},{PURPLE}top10{default},{PURPLE}voteban{default},{PURPLE}votekick{default},{PURPLE}RTV{default},{PURPLE}NOMINATE"
		"flags"			""
    }
    "5"
    {
        "chat"		"{RED}ADMIN TGF: {PURPLE}ON!"
		"flags"			""
    }
    "6"
    {
        "chat"		"{PURPLE}FB Group(UNBAN,Csaló jelentése): {LIME}fb.com/cssonlyd2 | CSATLAKOZZ!"
		"flags"			""
    }
    "7"
    {
        "chat"		"{PURPLE}[INFÓ] {RED}KisAdmin: {LIME}1100Ft/hó, {RED}VIP: {LIME}500Ft/hó"
		"flags"			""
    }
    "8"
    {
        "chat"		"{PURPLE}Tulajdonos & Konfigos: {RED}*tOrNaDo | {LIME}https://steamcommunity.com/id/notpublic/"
		"flags"			""
    }
}
Quote:
Originally Posted by Dragokas View Post
https://forums.alliedmods.net/showpo...75&postcount=5


Work good for me.
Attach your advertisements.txt in archive.

Last edited by ultimatgold; 10-26-2018 at 13:13.
ultimatgold is offline
Send a message via ICQ to ultimatgold Send a message via AIM to ultimatgold Send a message via Yahoo to ultimatgold Send a message via Skype™ to ultimatgold
Reply


Thread Tools
Display Modes

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 16:13.


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