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
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 11-09-2017 , 02:56   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #551

Quote:
Originally Posted by ESK0 View Post
Hi

Nice you hear you are interested about MySql function.. The MySql is in my todo list for this plugin, but the time is a bitch ************************************ I hope it will be available soon
doo it! 2 votes against 1!
Ejziponken is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-15-2017 , 14:21   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #552

PHP Code:
sm_rcon sm plugins load ServerAdvertisements3
KeyValues Error
RecursiveLoadFromBuffer:  got EOF instead of keyname in file addons/sourcemod/configs/ServerAdvertisements3.cfg
ServerAdvertisements3
, (*Messages*), (*16*), 
KeyValues ErrorRecursiveLoadFromBuffer:  got EOF instead of keyname in file addons/sourcemod/configs/ServerAdvertisements3.cfg
ServerAdvertisements3
, (*Messages*), (*16*), 
[
SMLoaded plugin ServerAdvertisements3.smx successfully
I'm getting this and I don't know what I've done wrong in my CFG, posted below:

PHP Code:
"ServerAdvertisements3"
{
  
"Settings"
  
{
    
"ServerName" "[{Lime}nudonudo{default}]" // Server tag
    
"MySQL" "0" // If 1 -> Messages will be loaded from MySQL
    
"ServerType" "default" // Only if MySQL is 1 -> Simply divide messages to groups (e.g. 3 servers uses ServerType surf and 2 servers uses jailbreak)
    
"Time" "240" // Time in seconds
    
"Languages"  "EN;IT" // List of languages / Keep the main language first (If player connect from Country you did not translated. He will get messages in language which is the first in list).
    
"Default language" "ingame" // Value = "geoip" or "ingame"
    
"Log expired messages" "0" // 1 = Enabled -> Messages are loged in Sourcemod's error log
  
}
  
"Welcome Message"
  
{
    
"Enabled" "1" // 1 = Enabled / 0 = Disabled,
    
"Type" "T" // Type of message - T, H, C
    
"it" "{Purple}<><><><><><><><><><><><><><><><><><><><>\n{Lime}Benvenuto su nudonudo, {Purple}{PLAYERNAME}! \n Per favore rispetta le regole, consultabili tramite {Green}!rules \n {lime}Cerchiamo moderatori! \n Unisciti al nostro gruppo Steam! Scrivi {Green}!group {Default}in chat\n {Purple}<><><><><><><><><><><><><><><><><><><><>"
    "en" "{Purple}<><><><><><><><><><><><><><><><><><><><>\n{Lime}Welcome to nudonudo, {Purple}{PLAYERNAME}! \n Please follow the rules, read them with {Green}!rules \n {lime}Visit our website: http://nudonudo.it \n Join our Steam group! Type {Green}!group {Default}for more\n {Purple}<><><><><><><><><><><><><><><><><><><><>"
    "Delay" "15.0" 
// Time in seconds after is client connected to server to show message
    
"flags" "" // Client with this flag will get welcome message - Keep empty for all
  
}
  
"Messages"
  
{
        
"1"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Verifica le tue prestazioni scrivendo {Green}rank"
      "en" "Check out your performance by typing {Green}rank"
      "type" "T"
    
}
        
"2"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Sei tu il RE del NOSCOPE? \n Scoprilo con {Green}!mynoscop{Default} o {Green}!noscop"
      "en" "Are you the NO SCOPE KING? Find out by typing {Green}!mynoscop{Default} or {Green}!noscop"
      "type" "T"
    
}
        
"3"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Scrivi {Green}top {Default}per visualizzare i primi 10 giocatori in classifica!"
      "en" "Type {Green}top {Default} to see the top10 rank"
      "type" "T"
    
}
        
"4"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Usa {Green}!takeknife {Default}per provare il coltello di un altro giocatore!"
      "en" "Use {Green}!takeknife {Default}to try another player's knife!"
      "type" "T"
    
}
        
"5"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Comandi RankMe: {Green}rank{Default}, {Green}next{Default}, {Green}top{Default}, {Green}tophs{Default} \n {Green}topweapon{Default}, {Green}topkills{Default}, {Green}topmvp{Default}, {Green}hitboxme"
      "en" "RankMe commands: {Green}rank{Default}, {Green}next{Default}, {Green}top{Default}, {Green}tophs{Default} \n {Green}topweapon{Default}, {Green}topkills{Default}, {Green}topmvp{Default}, {Green}hitboxme"
      "type" "T"
    
}
        
"6"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Visita il nostro sito! \n Scrivi {Green}!nudo {Default}oppure vai su {Green}nudonudo.it"
      "en" "Come pay us a visit! \n Type {Green}!nudo {Default}or go to {Green}nudonudo.it"
      "type" "T"
    
}
        
"7"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "TeamSpeak 3 server disponibile: {Green}nudonudo.it"
      "en" "TeamSpeak 3 server disponibile: {Green}nudonudo.it"
      "type" "T"
    
}
        
"8"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Mettici tra i preferiti: {Green}95.141.36.163:27016"
      "en" "Bookmark us: {Green}95.141.36.163:27016"
      "type" "T"
    
}
        
"9"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Il profilo Steam deve esser {Green}pubblico{Default} per permettere ai moderatori le dovute verifiche"
      "en" "Please keep your Steam profile {Green}public{Default} at all times while playing here"
      "type" "T"
    
}
        
"10"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Chi vincerà il round? \n Piazza la tua scommessa digitando {Green}bet"
      "en" "Who's going to win this round? Place your bets by typing {Green}bet"
      "type" "T"
    
}
        
"11"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Unisciti al gruppo e imposta la tag {Green}nudonudo{Default}! \n Per te un {Purple}BONUS{Default} in game! Digita {Green}!group"
      "en" "Join our Steam group and set our {Green}nudonudo{Default} tag! \n An in-game {Purple}BONUS{Default} is available! Type {Green}!group"
      "type" "T"
    
}
        
"12"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Per proposte, reclami, contatti con lo staff: \n Digita {Green}!nudo {Default}oppure vai su {Green}nudonudo.it"
      "en" "Get in touch with us & keep up to date about the server: \n Type {Green}!nudo {Default}or surf to {Green}nudonudo.it"
      "type" "T"
    
}
        
"13"
    
{
      
"enabled" "0" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Visita la nostra pagina Facebook! \n Digita {Green}!fb"
      "en" "Like our Facebook page! \n Type {Green}!fb"
      "type" "T"
    
}
        
"14"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Player rumorosi o tossici in team? Digita {Green}!sm{Default} per risolvere :)"
      "en" "Toxic or noisy player in your team? Type {Green}!sm{Default} to fix that! :)"
      "type" "T"
    
}
        
"15"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Stiamo attualmente cercando moderatori. Contattare l'admin {Green}baking soda"
      "en" "We're hiring! Get in touch with {Green}baking soda{Default} for more information."
      "type" "T"
    
}
        
"16"
    
{
      
"enabled" "1" // Message is temporarily disabled - Default: 1
      
"maps" "all" //- Default: all
      
"it" "Se vuoi sostenerci, effettua una donazione! PayPal o Steam offer. Visita il gruppo per info"
      "en" "If you like our server, please consider donating! PayPal or Steam offers are welcome. Visit our group for more"
      "type" "T"
    
}
  }

__________________

Last edited by Obyboby; 11-15-2017 at 14:22.
Obyboby is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-15-2017 , 14:29   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #553

did you save config in UTF-8 without BOM
__________________
8guawong is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-15-2017 , 14:32   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #554

Quote:
Originally Posted by 8guawong View Post
did you save config in UTF-8 without BOM
Not sure, to be honest. I actually forgot about that. I'll have a look asap.


Quote:
Originally Posted by Ejziponken View Post
doo it! 2 votes against 1!


What advantage does MySQL add?
__________________

Last edited by Obyboby; 11-15-2017 at 14:33.
Obyboby is offline
Slove
Junior Member
Join Date: Aug 2015
Old 11-15-2017 , 14:36   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #555

Quote:
Originally Posted by Obyboby View Post


What advantage does MySQL add?
if you have multiple servers you can just add and edit ads in a database compared to each individual server.
Slove is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-15-2017 , 15:42   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #556

Quote:
Originally Posted by Slove View Post
if you have multiple servers you can just add and edit ads in a database compared to each individual server.
Oh, I see. I run a single server, that's why I couldn't see the advantage of MySQL

Quote:
Originally Posted by 8guawong View Post
did you save config in UTF-8 without BOM
That fixed the issue, thanks a lot.
__________________

Last edited by Obyboby; 11-16-2017 at 14:59.
Obyboby is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-20-2017 , 16:02   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #557

I really don't understand how to reload messages.
!sa3r doesn't report anything back so I am always worried that it didn't work.
I've added some new messages in my cfg but they never show up :/
__________________
Obyboby is offline
IT_KILLER
Member
Join Date: Jul 2017
Old 11-20-2017 , 19:34   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #558

Quote:
Originally Posted by Obyboby View Post
I really don't understand how to reload messages.
!sa3r doesn't report anything back so I am always worried that it didn't work.
I've added some new messages in my cfg but they never show up :/
You must be connected and join a team and be alive.

If you are dead, it will not work.

Be alive and write !sa3r in chat or sm_sa3r in console
__________________
If you have any suggestions for improvement, let me know. I appreciate all feedback.
>>> GITHUB <<<

Last edited by IT_KILLER; 11-20-2017 at 19:35.
IT_KILLER is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 11-21-2017 , 08:31   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #559

Quote:
Originally Posted by IT_KILLER View Post
You must be connected and join a team and be alive.

If you are dead, it will not work.

Be alive and write !sa3r in chat or sm_sa3r in console
Uhm, yeah, I was most of the time alive when I tried it.
But now I have one question, why do I need to be alive for that command to work?
Also, it would be nice to see some feedback in the chat or console, just to be sure that the new file has been read. Know what I mean?
And yeah, I have quite a few messages that rotate on my server, and apart from waiting until the new ones show up, I have no way to confirm that they have been loaded. Kinda sucks :C
__________________
Obyboby is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 11-21-2017 , 11:00   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #560

Quote:
Originally Posted by Obyboby View Post
Uhm, yeah, I was most of the time alive when I tried it.
But now I have one question, why do I need to be alive for that command to work?
Also, it would be nice to see some feedback in the chat or console, just to be sure that the new file has been read. Know what I mean?
And yeah, I have quite a few messages that rotate on my server, and apart from waiting until the new ones show up, I have no way to confirm that they have been loaded. Kinda sucks :C
You dont have to be alive.. To check if new messages are loaded,, you can use !sa3debug and then check client console
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 15:01.


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