Raised This Month: $46 Target: $400
 11% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 08-15-2019 , 04:27   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #751

Quote:
Originally Posted by colz View Post
[SM] Plugin ServerAdvertisements3 unloaded successfully.
[SM] Loaded plugin ServerAdvertisements3.smx successfully.

no errors now.
no messages are showing currently neither welcome message
try !sa3debug and look into client console for output. I don't see any missing {,} nor "

Please use [CODE] tag next time.

Code:
"ServerAdvertisements3"
{
    "Settings"
    {
        "ServerName" "✪[{orange}LIZARDHOSTING{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" "30" // Time in seconds
        "Languages" "EN;CZ" // 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" "geoip" // Value = "geoip" or "ingame"
        "Log expired messages" "0" // 1 = Enabled -> Messages are loged in Sourcemod's error log
        "ServerTracker" "0" // 1 = Enabled, 0 = Disabled
    }
    "Welcome Message"
    {
        "Enabled" "1" // 1 = Enabled / 0 = Disabled,
        "Type" "T" // Type of message - Only T and C types are supported right now
        "en" "{orange}************************************ *** \n{darkred}Velkommen til LizardHosting {PLAYERNAME}! \n {orange}************************************* **"
        "cz" "{orange}************************************ *** \n{darkred}Vítej na tomto serveru {PLAYERNAME}! \n {lime}Tento server používá ServerAdvertisements3 \n Autor: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}******************************* ********"
        "Delay" "6.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
            "enabledtill" "30.05.2020" // Date DD/MM/YYYY -> Message will be available till 30. May 2017
            "maps" "all" //- Default: all
            "en" "{Green} Der er{orange} {PLAYERCOUNT} {Green}spillere online. Hvis i nyder serveren sĺ tilfřj os til dine favoritter"
            "cz" "Momentálně se hraje: {CURRENTMAP} \n Počet hráčů: {PLAYERCOUNT} \n Příští mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravitace: {sv_gravity}"
            "type" "T"
            "ignore_maps" "de_inferno;ar_"
        }
        "2"
        {
            "enabled" "1" // Message is enabled
            "maps" "all"
            "en" "{Green}Admins:{orange} {ADMINSONLINE}"
            "cz" "{Green}Admins: {ADMINSONLINE}"
            "type" "T"
            "ignore_maps" "de_dust2"
        }
        "3"
        {
            "maps" "all"
            "en" "{Green} Tak {orange}{PLAYERNAME} {Green}fordi du střtter serveren og har křbt vip!"
            "cz" "<font color='#ff00ff'>Zpráva 3!</font>"
            "type" "T"
            "flags" "o"
        }
        "4" // Message with "ServerName" option tag 
        {
            "enabled" "1"
            "maps" "all"
            "en" "{Green} Join vores anden hoejhus eller jail{orange} !servers"
            "cz" "Zprava 4"
            "type" "T"
        }
        "5" // HUD MESSAGE
        {
            "enabled" "1"
            "maps" "all"
            "en" "{Green}Er du intreseret i vip? sĺ skriv {orange}!vip{Green} for at se bonuserne! "
            "cz" "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
            "type" "t"
        }
    }
}
__________________
Free free to add for private requests https://steamcommunity.com/id/esk0
Every single one donation is very appreciated
ESK0 is offline
colz
Junior Member
Join Date: Aug 2017
Old 08-15-2019 , 13:50   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #752

Quote:
Originally Posted by freak.exe_uLow View Post
I changed the cfg again, maybe the small gaps were the problem. Please also upload the Smx file, maybe do you use
IT WORKED

thank you so much!
colz is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 08-15-2019 , 13:54   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #753

Quote:
Originally Posted by colz View Post
IT WORKED

thank you so much!
perfect
freak.exe_uLow is offline
MalachE
Junior Member
Join Date: May 2019
Old 08-17-2019 , 15:46   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #754

[14] <FAILED> file "regex.ext.so": vstdlib_i486.so: cannot open shared object file: No such file or directory

[14] <FAILED> file "regex.ext.so": Could not find interface: ISourceMod

Sollutions to these 2 errors?
MalachE is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 10-05-2019 , 16:59   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #755

Would there be a character limit for each message?

I set up the welcome message as follows:
Code:
"{darkred}*******************************************************\n{green}Bem-vindo ao servidor {darkred}{PLAYERNAME}{green}!\n{darkred}Site: {green}zkservidores.com\n{darkred}Discord: {green}discord.gg/SQ9eVqq\n{darkred}Grupo Steam: {green}steamcommunity.com/groups/zkservidores-csgo\n{darkred}*******************************************************\n{green}Adquirindo nossos {darkred}Privilégios {green}vocę tem acesso a vários benefícios em nossos servidores, aproveite!\n{darkred}*******************************************************"
He sends the message, but is cutting it, not the whole message.



Follows the config I use on the server: ServerAdvertisements3.cfg
__________________
paulo_crash is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 10-06-2019 , 08:04   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #756

Quote:
Originally Posted by paulo_crash View Post
Would there be a character limit for each message?

I set up the welcome message as follows:
Code:
"{darkred}*******************************************************\n{green}Bem-vindo ao servidor {darkred}{PLAYERNAME}{green}!\n{darkred}Site: {green}zkservidores.com\n{darkred}Discord: {green}discord.gg/SQ9eVqq\n{darkred}Grupo Steam: {green}steamcommunity.com/groups/zkservidores-csgo\n{darkred}*******************************************************\n{green}Adquirindo nossos {darkred}Privilégios {green}vocę tem acesso a vários benefícios em nossos servidores, aproveite!\n{darkred}*******************************************************"
He sends the message, but is cutting it, not the whole message.



Follows the config I use on the server: Attachment 177640
Hello, I did not count with this large one-time message. Message limit is currently 512chars, unfortunately your message has 541chars, which is 29chars out of limit.. The best way is remove some * chars from your message as a quickest fix
__________________
Free free to add for private requests https://steamcommunity.com/id/esk0
Every single one donation is very appreciated
ESK0 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 10-06-2019 , 10:54   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #757

Quote:
Originally Posted by ESK0 View Post
Hello, I did not count with this large one-time message. Message limit is currently 512chars, unfortunately your message has 541chars, which is 29chars out of limit.. The best way is remove some * chars from your message as a quickest fix
Hello, thanks for the reply...

I did that, it really showed the message, I will reduce it to the size limit of characters to be all right.
__________________
paulo_crash is offline
Hot Dog
Junior Member
Join Date: Oct 2019
Old 10-27-2019 , 02:55   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #758

Hello!
"ingame" language is not working, only geoip.
Code:
"Default language" "ingame" // Value = "geoip" or "ingame"
Hot Dog is offline
ItsCEED
Member
Join Date: Jun 2016
Old 10-30-2019 , 01:33   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #759

Quote:
Originally Posted by ESK0 View Post
Hello guys,

ServerAdvertisements3 is advertisement plugin wich contains a lot of features. It's very easy to use and almost everyone can manage to set it up

Admin Commands:
  • !sa3debug - Messages debug in console for current map
  • !sa3r - Messages reload

Client Commands:
  • !sa3lang - Client can change his language to any available language

LIST OF SERVERS USING THIS PLUGIN after 19.7.2017 update

Features:
  • Chat messages - Type: T. / Color support
  • Hud messages - Type: H. / R G B color
  • Center text messages - Type: C. / Support only HTML [hex] colors
  • Multi-Language support. LINK (Use Alpha-2 codes)
  • Up to 9 lines per message [\n].
  • Custom tag for message - Keep tag text empty to have message without tag
  • Messages for specific maps (e.g. all,de_dust2,de_inferno, de_, zm_, etc..)
  • Message can be banned for certain maps if you use all,de_,ar_, etc.... ("ignore_maps" "ar_;de_;etc..")
  • Messages for specific flags (e.g. a,b,c,d,z, etc..)
  • Message can be disabled for specific flags (e.g. a,b,c,d,z, etc..) - "ignore" "flag"
  • Enable option per message - Message can be temporarily disabled - By default its enabled
  • Message can be enabled till any date (e.g. Messages for some events or so). -> Added Log expired messages option in Settings part for debugging expired messages.
  • Welcome message - Preview
  • Client can change its language to any available language with !sa3lang command. Language is stored in a cache.

Text variables:
  • {NEXTMAP}
  • {CURRENTMAP}
  • {PLAYERCOUNT}
  • {CURRENTTIME}
  • {SERVERIP}
  • {SERVERNAME}
  • {PLAYERNAME}
  • {ADMINSONLINE}
  • {TIMELEFT}
  • {STEAMID}
  • {CONVAR} ->{mp_friendlyfire},{sv_cheats},...., or convar from any pluigin.
  • {CURRENTDATE}
  • {CURRENTDATE_US}
  • {VIPONLINE} - Flag A

Supported colors: Maybe some will not work or be different.

?CS:GO Only?
Spoiler

?Other games?
Spoiler



Required! - Only if you have enabled Server Tracker in .cfg / Enabled by default
- SteamWorks

Installation:
  • Move ServerAdvertisemen3.cfg to your addons/sourcemod/configs folder.
  • Move ServerAdvertisemen3.smx to addons/sourcemod/plugins folder.
  • Restart server/Change map

Todo list:
  • MySQL support
  • Updater
  • Print more types of messages at once.
  • Do you have an idea? Let me know below!

Upcoming features/fixes in 3.1.4:
Config editing:
Spoiler

Screens/Previews
Spoiler



Change log:
Code:
Version 3.1.3a:

- Possible memory leaks fix (testing version)

Version 3.1.3:

- Added Server tracking (List of servers which uses ServerAdvertisement3)
- Added support for more Welcome message types (T, H, C)
- Text variable '{CURRENTMAP}' now support workshop maps
- Added support for No More Room In Hell - MultiColors 2.1.1 or the latest needed for compile.
- Added new color Yellow - MultiColors 2.1.1 or the latest needed for compile.
- Fixed issue when Timer tries to get message from empty ArrayList.
- Added "ServerTracker" option to Settings part of .cfg

Version 3.1.2:

- Fixed typo in Welcome Message part in .cfg -> "Enable" - There is missing d "Enabled" 
- Added support for mutiple maps in map restriction
- Added support for banning certain maps if you use all,de_,ar_, etc.... ("ignore_maps" "ar_;de_;etc..")
- Added multi line support for hud messages.. (Type: H)
- Fixed infinite game_text creation if it already exists

Version 3.1.1:

- Increased ServerName size
- Menu memory leak prevention
- CheckCommandAccess performance improvement
- Added SA3_version ConVar for tracking servers which use ServerAdvertisement3
- Message language can be based on ingame language (Option added to !sa3lang)
- Added "effect", "channel" and "color2" to hud message
- Added {CURRENTDATE} and {CURRENTDATE_US} text variable
- Message can be disabled for specific flags (e.g. a,b,c,d,z, etc..)

Version 3.1:

- Added Enable option per message - Message can be temporarily disabled - By default its enabled
- Message can be enabled till any date (e.g. Messages for some events or so). -> Added Log expired messages option in Settings part for debugging expired messages.
- Added welcome message
- Client can change its language to any available language
- Added !sa3lang command with which can client change its language
- Added {CONVAR} text variable
- \n limit increased to 9 since CSGO chat can handle up to 9 messages at once

Version 3.0 hotfix:

- FindString function is case-sensitive - Keep language code in Settings part upper-case

Version 3.0:

- Fully re-scripted
- Hud messages - Type: H. / R G B color - Only single line messages
- Up to 5 lines per message [\n].
- Custom tag for message - Keep tag text empty to have message without tag
- Messages for specific maps (e.g. all,de_dust2,de_inferno, de_, zm_, etc..)
- Messages for specific flags (e.g. a,b,c,d,z, etc..)
- More text variables
Download
HEY!

Are we getting the SQL Update anytime soon?
ItsCEED is offline
Send a message via Skype™ to ItsCEED
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 10-30-2019 , 05:01   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #760

Quote:
Originally Posted by ItsCEED View Post
HEY!

Are we getting the SQL Update anytime soon?
Probably
__________________
Free free to add for private requests https://steamcommunity.com/id/esk0
Every single one donation is very appreciated
ESK0 is offline
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 22:56.


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