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

[ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4


Post New Thread Reply   
 
Thread Tools Display Modes
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-14-2016 , 07:48   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #311

Quote:
Originally Posted by Floppin View Post
Hi, my version of this plugin only shows the first 3 advertisements then restarts...

Spoiler
Code:
                 "4"
        {
            "default"    "{Green}Apply for admin! Type !apply
            "type"        "T"
        }
Both your 4th and 5th doesn't end:

Code:
"default"    "{Green}Apply for admin! Type !apply"
Starting quotes (") should always be ended (...somewhere) with another quote (").
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Kamizun
AlliedModders Donor
Join Date: May 2015
Location: Portugal
Old 02-14-2016 , 13:46   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #312

Do you know when the new version is done? :S
Kamizun is offline
Fragenstein
Member
Join Date: Mar 2005
Old 02-15-2016 , 13:01   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #313

Plugin seems to be working fine, but getting this error in console:

Code:
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod
/configs/ServerAdvertisement.cfg
ServerAdvertisement, Settings,
KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file addons/sourcemod
/configs/ServerAdvertisement.cfg
Any ideas?
Attached Files
File Type: cfg ServerAdvertisement.cfg (1.5 KB, 102 views)
__________________
Fragenstein is offline
barvica
Senior Member
Join Date: Oct 2014
Old 02-15-2016 , 17:38   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #314

Plugin doesnt work for me it loads successfully but doesnt print and messages in chat ?


Quote:
rcon sm plugins load ServerAdvertisement.smx
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg

KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg

KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file addons/sourcemod/configs/ServerAdvertisement.cfg
ServerAdvertisement, (*Messages*), (*2*),
L 02/15/2016 - 2339: [SM] Plugin encountered error 25: Call was aborted
L 02/15/2016 - 2339: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 02/15/2016 - 2339: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 02/15/2016 - 2339: [SM] [0] Line 193, D:\Pluginy\ServerAdvertisement\scripting\Serv erAdvertisement.sp::LoadConfig()
L 02/15/2016 - 2339: [SM] [1] Line 36, D:\Pluginy\ServerAdvertisement\scripting\Serv erAdvertisement.sp::OnPluginStart()
[SM] Loaded plugin ServerAdvertisement.smx successfully.
Also my serveradvertisment.cfg file

Quote:
// ServerAdvertisement - Help //
//
// Message Types:
// Chat messages - Type: "T" / Colour support
// Center text messages - Type: "C" / Support only [hex] codes / Ex: <font color='#ff0000'>This message is red</font>
// Colours could be found at http://www.color-hex.com/
//
// Message Variables:
// {NEXTMAP}
// {CURRENTMAP}
// {CURRENTTIME}
// {TIMELEFT}
// {ADMINSONLINE}
//
////////////////////////////////


"ServerAdvertisement"
{
"Settings"
{
"Enable" "1" // 1 for Enable, 0 Otherwise
"Delay_between_messages" "30.0" // In seconds
"Time_Format" "%H:%M:%S" // Hours,Minutes,Secods
"Advertisement_tag" "[{Lime}Gaming.si{default}]" // Exmp: "[UltraGaming]"
}
"Messages"
{
"1"
{
"default" "Admins online: {ADMINSONLINE}" // When someone is from country which is not defined.
"cz" "Náhodný text1" // Players from Czech Republic will see this message
"type" "T" // Message will be printed in Chat.
}
"2"
{
"default" "{RED} Testiram"
"type" "T"
}

}
barvica is offline
Floppin
Junior Member
Join Date: Dec 2015
Old 02-16-2016 , 18:11   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #315

Hello again, how do I change the {ADMINSONLINE} flag to something like G or H?
__________________
Floppin is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 02-16-2016 , 18:21   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #316

Quote:
Originally Posted by Floppin View Post
Hello again, how do I change the {ADMINSONLINE} flag to something like G or H?
edit code
ESK0 is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 02-18-2016 , 15:25   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #317

Hi, is it possible to add something to our custom colors for T messages ? Or maybe just put some more colors on requests ?

Also, got some news about mysql management ?

EDIT: Just found that there is an issue with advertisement tag colors when displaying a hint message
http://steamcommunity.com/sharedfile.../?id=627217932
__________________

Last edited by irepz; 02-18-2016 at 15:34.
irepz is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 02-19-2016 , 02:13   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #318

Quote:
Originally Posted by irepz View Post
Hi, is it possible to add something to our custom colors for T messages ? Or maybe just put some more colors on requests ?

Also, got some news about mysql management ?

EDIT: Just found that there is an issue with advertisement tag colors when displaying a hint message
http://steamcommunity.com/sharedfile.../?id=627217932
Hello. I know about this issue ) I hope i will release new version next week ).

Last edited by ESK0; 02-19-2016 at 02:14.
ESK0 is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 02-19-2016 , 18:56   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #319

Quote:
Originally Posted by ESK0 View Post
Hello. I know about this issue ) I hope i will release new version next week ).
Nice !

Would be awesome if you could add the same orange color in hint on my screenshot for chat messages :p

Will it fix tag bug ?
__________________
irepz is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 02-19-2016 , 20:39   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #320

Quote:
Originally Posted by irepz View Post
Nice !

Would be awesome if you could add the same orange color in hint on my screenshot for chat messages :p

Will it fix tag bug ?
Ye, it will
ESK0 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 06:06.


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