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
GTAmama16
Member
Join Date: Jun 2019
Old 12-13-2019 , 11:59   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #771

Quote:
Originally Posted by paulo_crash View Post
You are missing some "quotes" in message 9 and missing the "}" key at the end of config.

Follows the config all corrected:
Code:
"ServerAdvertisements3"
{
  "Settings"
  {
    "ServerName" "[{orange}SERVER{default}]" // Server tag
    "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.0" // Time in seconds
    "Languages"  "EN;TW" // 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
  }
  "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}Welcome to this server {PLAYERNAME}!"
    "tw" "{darkred} *************************************** \n{PLAYERNAME} 歡迎來到 {blue} {SERVERNAME} ! {lime} 祝您有個美好的一天!!"
    "Delay" "5.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" "0" // Message is temporarily disabled - Default: 1
      "enabledtill" "30.05.2099" // Date DD/MM/YYYY -> Message will be available till 30. May 2017
      "maps" "all" //- Default: all
      "en" "Current map is: {CURRENTMAP} \n Players online: {PLAYERCOUNT} \n Next map: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravity: {sv_gravity}"
      "tw"  "{darkred} 目前地圖是 {CURRENTMAP}"
      "type" "T"
      "tag" "[{darkred}肯尼仔]"
    }
    "2"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{darkred} Hi welcome to {SERVERNAME} Have a nice day, The current map is (CURRENTMAP}!"
      "tw"  "{darkred}  你好 {Green}{PLAYERNAME}{Default} {Purple}伺服器名稱 {Blue}{SERVERNAME} ,當前的地圖為 {Grey}{CURRENTMAP}"
      "type" "T"
	  "flag" ""
       "tag" "{darkred}[肯尼仔]"
    }
    "3"
    {
	  "enabled" "1"
      "maps" "all"
      "en" "{darkred} you can type {green}!ws {default}in chat for choosing weapon skins, {purple}!gloves {default}for choosing gloves and {lime}!knife {default}for the knives, {red} !guns can choose between different weapons"
      "tw"  " 輸入 {green} !ws {default} 來選擇您的武器皮膚 , {purple} !gloves {default}可以選擇手套, {lime} !knife {default} 可以選擇刀的種類, {red} !guns 可以選擇槍枝"
      "type" "T"
      "tag" "{darkred}[肯尼仔]" // Message without tag
	  "flag" ""
    }
    "4" // Message with "ServerName" option tag
    {
      "enabled" "1"
      "maps" "all"
      "en" "join our discord for more inforamtion https://discord.gg/z6nXPna"
      "tw"  "{darkred} 歡迎加入官方Discord:https://discord.gg/z6nXPna"
      "type" "t"
	  "tag" "{darkred}[肯尼仔]"
    }
	"5"
    {
	"en"	"Please follow the follwing rules, DO NOT use any bugs or hack, the resault is getting a permanent ban!!"
	"tw"	"禁止使用任何外掛, bug等破壞平衡的方法 違者一律永久封鎖!!"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
	"flag" ""
    }
	"6"
    {
	"en"	"please type !call in the chat for reporting players"
	"tw"	"新增呼叫管理員上線插件 如果遇到白目or外掛請使用!call來呼叫管理員"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"7"
    {
	"en"	"please type votekick in chat for kicking griefers"
	"tw"	"遇到白目來亂的請善用votekick指令踢人"
	"type"	"T"
	"tag" "{darkred}[肯尼仔]"
    }
	"8"
    {
	"en"	"our offical steam group:https://steamcommunity.com/groups/kennyretakehvhserver"
	"tw"	"歡迎加入官方Steam群組https://steamcommunity.com/groups/kennyretakehvhserver"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"9"
    {
	"en"	"type !sa3lang in chat for choosing different language for the advertisment"
	"tw"	"輸入!sa3lang來更改左下廣告語言"
	"type" "T"
    }
	"10"
    {
	"en" "RankMe score will be reset at 01/01/2020"
	"tw" "RankMe分數將在01/01/2020重置"
	"type"  "T"
    }
}
msg 9 actually display correctly, only 10 doesnt display, will try to add the } at the end
thanks
GTAmama16 is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 12-16-2019 , 04:39   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #772

Quote:
Originally Posted by GTAmama16 View Post
msg 9 actually display correctly, only 10 doesnt display, will try to add the } at the end
thanks
Here you go Now it looks good
Code:
"ServerAdvertisements3"
{
  "Settings"
  {
    "ServerName" "[{orange}SERVER{default}]" // Server tag
    "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.0" // Time in seconds
    "Languages"  "EN;TW" // 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
  }
  "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}Welcome to this server {PLAYERNAME}!"
    "tw" "{darkred} *************************************** \n{PLAYERNAME} 歡迎來到 {blue} {SERVERNAME} ! {lime} 祝您有個美好的一天!!"
    "Delay" "5.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" "0" // Message is temporarily disabled - Default: 1
      "enabledtill" "30.05.2099" // Date DD/MM/YYYY -> Message will be available till 30. May 2017
      "maps" "all" //- Default: all
      "en" "Current map is: {CURRENTMAP} \n Players online: {PLAYERCOUNT} \n Next map: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravity: {sv_gravity}"
      "tw"  "{darkred} 目前地圖是 {CURRENTMAP}"
      "type" "T"
      "tag" "[{darkred}肯尼仔]"
    }
    "2"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{darkred} Hi welcome to {SERVERNAME} Have a nice day, The current map is {CURRENTMAP}!"
      "tw"  "{darkred}  你好 {Green}{PLAYERNAME}{Default} {Purple}伺服器名稱 {Blue}{SERVERNAME} ,當前的地圖為 {Grey}{CURRENTMAP}"
      "type" "T"
	  "flag" ""
      "tag" "{darkred}[肯尼仔]"
    }
    "3"
    {
	  "enabled" "1"
      "maps" "all"
      "en" "{darkred} you can type {green}!ws {default}in chat for choosing weapon skins, {purple}!gloves {default}for choosing gloves and {lime}!knife {default}for the knives, {red} !guns can choose between different weapons"
      "tw"  " 輸入 {green} !ws {default} 來選擇您的武器皮膚 , {purple} !gloves {default}可以選擇手套, {lime} !knife {default} 可以選擇刀的種類, {red} !guns 可以選擇槍枝"
      "type" "T"
      "tag" "{darkred}[肯尼仔]" // Message without tag
	  "flag" ""
    }
    "4" // Message with "ServerName" option tag
    {
      "enabled" "1"
      "maps" "all"
      "en" "join our discord for more inforamtion https://discord.gg/z6nXPna"
      "tw"  "{darkred} 歡迎加入官方Discord:https://discord.gg/z6nXPna"
      "type" "t"
	  "tag" "{darkred}[肯尼仔]"
    }
	"5"
    {
	"en"	"Please follow the follwing rules, DO NOT use any bugs or hack, the resault is getting a permanent ban!!"
	"tw"	"禁止使用任何外掛, bug等破壞平衡的方法 違者一律永久封鎖!!"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
	"flag" ""
    }
	"6"
    {
	"en"	"please type !call in the chat for reporting players"
	"tw"	"新增呼叫管理員上線插件 如果遇到白目or外掛請使用!call來呼叫管理員"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"7"
    {
	"en"	"please type votekick in chat for kicking griefers"
	"tw"	"遇到白目來亂的請善用votekick指令踢人"
	"type"	"T"
	"tag" "{darkred}[肯尼仔]"
    }
	"8"
    {
	"en"	"our offical steam group:https://steamcommunity.com/groups/kennyretakehvhserver"
	"tw"	"歡迎加入官方Steam群組https://steamcommunity.com/groups/kennyretakehvhserver"
	"type" "T"
	"tag" "{darkred}[肯尼仔]"
    }
	"9"
    {
	"en"	"type !sa3lang in chat for choosing different language for the advertisment"
	"tw"	"輸入!sa3lang來更改左下廣告語言"
	"type" "T"
    }
	"10"
    {
	"en" "RankMe score will be reset at 01/01/2020"
	"tw" "RankMe分數將在01/01/2020重置"
	"type"  "T"
    }
  }
}
ESK0 is offline
zTim
BANNED
Join Date: Dec 2019
Old 12-22-2019 , 01:10   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #773

I can't edit the cfg, keeps giving me errors. L4D2

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

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

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

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

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

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

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

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

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

KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisements3.cfg
(*Messages*), (*5*),
L 12/22/2019 - 07:09:43: [SM] Exception reported: [SA3] Unable to find Settings in addons/sourcemod/configs/ServerAdvertisements3.cfg
L 12/22/2019 - 07:09:43: [SM] Blaming: ServerAdvertisements3.smx
L 12/22/2019 - 07:09:43: [SM] Call stack trace:
L 12/22/2019 - 07:09:43: [SM] [0] SetFailState
L 12/22/2019 - 07:09:43: [SM] [1] Line 371, D:\backup linux from test server\addons\sourcemod\scripting\ServerAdver tisements3.sp::LoadConfig
L 12/22/2019 - 07:09:43: [SM] [2] Line 59, D:\backup linux from test server\addons\sourcemod\scripting\ServerAdver tisements3.sp::OnMapStart
[SM] Plugin ServerAdvertisements3.smx reloaded successfully.

Last edited by zTim; 12-22-2019 at 01:11.
zTim is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-22-2019 , 09:02   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #774

Quote:
Originally Posted by zTim View Post
I can't edit the cfg, keeps giving me errors. L4D2

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

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

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

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

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

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

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

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

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

KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisements3.cfg
(*Messages*), (*5*),
L 12/22/2019 - 07:09:43: [SM] Exception reported: [SA3] Unable to find Settings in addons/sourcemod/configs/ServerAdvertisements3.cfg
L 12/22/2019 - 07:09:43: [SM] Blaming: ServerAdvertisements3.smx
L 12/22/2019 - 07:09:43: [SM] Call stack trace:
L 12/22/2019 - 07:09:43: [SM] [0] SetFailState
L 12/22/2019 - 07:09:43: [SM] [1] Line 371, D:\backup linux from test server\addons\sourcemod\scripting\ServerAdver tisements3.sp::LoadConfig
L 12/22/2019 - 07:09:43: [SM] [2] Line 59, D:\backup linux from test server\addons\sourcemod\scripting\ServerAdver tisements3.sp::OnMapStart
[SM] Plugin ServerAdvertisements3.smx reloaded successfully.
The error itself already says, missing { in the message.

Check message 5 and see if any { are missing, for security check all messages.
paulo_crash is offline
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 12-23-2019 , 10:04   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #775

ESk0 i have a question, for what is "effect" and "channel" on HUD MESSAGE?
Lucky_luck is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 12-23-2019 , 10:23   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #776

Quote:
Originally Posted by Lucky_luck View Post
ESk0 i have a question, for what is "effect" and "channel" on HUD MESSAGE?
You can find it here
https://developer.valvesoftware.com/...text#Keyvalues
ESK0 is offline
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 12-23-2019 , 10:56   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #777

Ah ok thanks, great plugin
Lucky_luck is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 12-24-2019 , 07:40   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #778

Quote:
Originally Posted by Lucky_luck View Post
Ah ok thanks, great plugin
Thanks
ESK0 is offline
S7Jinzo
Junior Member
Join Date: Dec 2019
Old 12-24-2019 , 17:30   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #779

Plugin won't activate on my CS-GO server.

I'm using a external Linux server based host (MGTHOST1).

To install plugins, I usually download the files, open the server files with FileZila and then I send it to csgo/addons/sourcemod. After that I go to the Host Page, turn down the server, Use a FASTDL button to update, and then turn on the the server again to test.

- After installing the plugin i can see inside the server document:

Bin/Csgo/addons/sourcemod/configs ->> ServerAdvertisements3.cfg (SAVED)
Bin/Csgo/addons/sourcemod/plugins ->> ServerAdvertisements3.smx (SAVED)
Bin/Csgo/cfg/sourcemod/ ->> ServerAdvertisements3.cfg (SAVED)

.CFG FILE WITH CURRENT CONFIG:

// Enable/Disable ServerAdvertisements3
// -
// Default: "1"
sm_sa3_enable "1"

The Config file i've copyed over @paulo_crash is CFG to test, since his servers use the same host as mine and it look very well designed for me to just change with my ORG info later.

I just need to find a fix for the plugin that is not Running.

Here is the current info:

version : 1.37.3.5 secure
os : Linux
type : community dedicated


"Rock The Vote" (1.10.0.6459) by AlliedModders LLC
"CS:GO Retakes" (0.3.4) by splewis
"Basic Votes" (1.10.0.6459) by AlliedModders LLC
"Basic Info Triggers" (1.10.0.6459) by AlliedModders LLC
"Basic Commands" (1.10.0.6459) by AlliedModders LLC
"Anti-Flood" (1.10.0.6459) by AlliedModders LLC
"Fun Votes" (1.10.0.6459) by AlliedModders LLC
"Player Commands" (1.10.0.6459) by AlliedModders LLC
"Reserved Slots" (1.10.0.6459) by AlliedModders LLC
"RandomCycle" (1.10.0.6459) by AlliedModders LLC
"[CS:GO/CSS] AbNeR Round End Sounds" (4.0.1) by abnerfs
"Weapons & Knives" (1.5.0) by kgns | oyunhost.net
"Basic Ban Commands" (1.10.0.6459) by AlliedModders LLC
"MapChooser" (1.10.0.6459) by AlliedModders LLC
"Fun Commands" (1.10.0.6459) by AlliedModders LLC
"Admin Help" (1.10.0.6459) by AlliedModders LLC
"Gloves" (1.0.4) by kgns | oyunhost.net
"Basic Chat" (1.10.0.6459) by AlliedModders LLC
"Basic Comm Control" (1.10.0.6459) by AlliedModders LLC
"Nextmap" (1.10.0.6459) by AlliedModders LLC
"Map Nominations" (1.10.0.6459) by AlliedModders LLC
"Admin File Reader" (1.10.0.6459) by AlliedModders LLC
"Client Preferences" (1.10.0.6459) by AlliedModders LLC
"Sound Commands" (1.10.0.6459) by AlliedModders LLC
"Admin Menu" (1.10.0.6459) by AlliedModders LLC


All Plugins above running, with exception of AbnerRes (unfortunelly i get a 48000 sample rate issue, althought im using 41000 rate at 128kb mp3 files)

And ServerAdvertisement3 does no appear...

I've re-installed the files, several times, restarted the server multiple times with the FastDL and still no GO...

Could this has something to do with the Required instructions: ""Required! - Only if you have enabled Server Tracker in .cfg / Enabled by default
- SteamWorks"

I did not understand if I should install SteamWorks, where and how to install it exactly or wherre to find this Server Tracker info, but I'm guessing this can't be it.

Any suggestions?
S7Jinzo is offline
S7Jinzo
Junior Member
Join Date: Dec 2019
Old 12-24-2019 , 19:37   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 16.02.2019* | *VERSION 3.1.3a
Reply With Quote #780

Quote:
Originally Posted by S7Jinzo View Post
Plugin won't activate on my CS-GO server.

Any suggestions?
Alright, so...

It was a Steam works failure as seen in logs:

205:04: [SM] Exception reported: [SA3] SteamWorks is not loaded

L 12/24/2019 - 205:04: [SM] Blaming: ServerAdvertisements3.smx


I've never since worked with linux and .tar.gz compacted documents...

I've found the link to download SteamWorks lates build:

http://users.alliedmods.net/~kyles/builds/SteamWorks/

Downloaded for lixux and had to extract .gz to .tar and extract the .tar document again to get the Addons/Extension file

Installed SteamWorks and the plugin is now Operational

Special thanks to Paulo_crash for the help.
S7Jinzo 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 10:44.


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