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

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


Post New Thread Reply   
 
Thread Tools Display Modes
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 12-14-2015 , 01:46   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #211

Quote:
Originally Posted by HIRAMEte0r View Post
I'm sorry. but it seems that ServerAdvertisement_filepath doesn't work
Errors ?
ESK0 is offline
HIRAMEte0r
Member
Join Date: Oct 2013
Location: Japan
Old 12-17-2015 , 11:28   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #212

Quote:
Originally Posted by ESK0 View Post
Errors ?
nothing. sourcemod version is 1.8.0.5800
HIRAMEte0r is offline
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 12-17-2015 , 14:31   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #213

Hi, whats new? (*UPDATED 13.12.2015)
mazdarx8 is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-17-2015 , 14:34   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #214

Quote:
Originally Posted by mazdarx8 View Post
Hi, whats new? (*UPDATED 13.12.2015)
Only one page back...

Quote:
Originally Posted by HIRAMEte0r View Post
When I'm running multiple servers with +sm_basepath addons/sourcemodX command, this plugin reads addons/sourcemod/configs/ServerAdvetisement.cfg ONLY.
Could you add a command like sm_advertisements_file?
Quote:
Originally Posted by ESK0 View Post
Updated.
__________________
sneaK is offline
prostoya
Junior Member
Join Date: Jan 2010
Old 12-23-2015 , 15:17   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #215

Hello
Not worked
Code:
[SM] Failed to load plugin "ServerAdvertisement.smx": Unable to load plugin (bad header).
Listing 3 plugins:
[01] SourceMod (1.8.0-dev+5422) by AlliedModders LLC
[02] CS Tools (1.8.0-dev+5422) by AlliedModders LLC
[03] SDK Tools (1.8.0-dev+5422) by AlliedModders LLC

then tried to compile , and get a bunch of errors
Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// ServerAdvertisement.sp
//
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\include\files.inc(424) : warning 219: local variable
 "data" shadows a variable at a preceding level
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\include\files.inc(448) : warning 219: local variable
 "data" shadows a variable at a preceding level
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\include\halflife.inc(600) : warning 219: local varia
ble "title" shadows a variable at a preceding level
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\include\halflife.inc(600) : warning 219: local varia
ble "type" shadows a variable at a preceding level
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(5) : error 010: invalid funct
ion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(14) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(23) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(29) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(32) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(36) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(39) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(44) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(48) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(51) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(53) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(56) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(58) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(64) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(67) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(70) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(73) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(76) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(86) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(89) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(93) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(98) : error 010: invalid func
tion or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(116) : error 010: invalid fun
ction or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(131) : error 010: invalid fun
ction or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(136) : error 010: invalid fun
ction or declaration
// E:\Їрщы√ фы  ёхЁтхЁют\Їрщы√ ё ЇЄяёхЁтхЁр_фы  эшї\csgo\sourcemod-1.7.3-windows
\addons\sourcemod\scripting\ServerAdvertisement.sp(138) : error 010: invalid fun
ction or declaration
//
// Compilation aborted.
// 26 Errors.
//
// Compilation Time: 1,14 sec
// ----------------------------------------

Press enter to exit ...

Last edited by prostoya; 12-23-2015 at 15:54.
prostoya is offline
Coziva
Junior Member
Join Date: Jul 2015
Old 12-30-2015 , 15:12   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #216

hey guys i have a problem

when i try to chance timer from 2 seconds to 5 seconds it say
Quote:
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg

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

L 12/30/2015 - 21:04:18: [SM] Plugin encountered error 25: Call was aborted
L 12/30/2015 - 21:04:18: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 12/30/2015 - 21:04:18: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 12/30/2015 - 21:04:18: [SM] [0] Line 279, E:\GitHub-Repository\ServerAdvertisement\scripting\Serv erAdvertisement.sp::LoadConfig()
L 12/30/2015 - 21:04:18: [SM] [1] Line 51, E:\GitHub-Repository\ServerAdvertisement\scripting\Serv erAdvertisement.sp::OnPluginStart()
[SM] Loaded plugin ServerAdvertisement.smx successfully.
but when i put orignal it worked perfectly

Plz help
Coziva is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-30-2015 , 15:32   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #217

Quote:
Originally Posted by Coziva View Post
Code:
L 12/30/2015 - 21:04:18: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
Here are your most important error. Do you have ServerAdvertisement.cfg in the correct directory? The plugin cannot find it.
__________________

Last edited by sneaK; 12-30-2015 at 15:33.
sneaK is offline
Coziva
Junior Member
Join Date: Jul 2015
Old 12-30-2015 , 15:40   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #218

But how can that be possible when i am only change the timer from 2 to 5 seconds and it say this error
but when i take the untoched verson of ServerAdvertisement fil it works
Coziva is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-30-2015 , 15:47   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #219

Quote:
Originally Posted by Coziva View Post
But how can that be possible when i am only change the timer from 2 to 5 seconds and it say this error
but when i take the untoched verson of ServerAdvertisement fil it works
Idk man, the error seems pretty straight forward, it cannot find the configuration file. Either that, or it's found, but you're missing a "{" or 2 somewhere and it's not parsing it properly.
__________________

Last edited by sneaK; 12-30-2015 at 15:49.
sneaK is offline
Coziva
Junior Member
Join Date: Jul 2015
Old 01-01-2016 , 11:17   Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 13.12.2015
Reply With Quote #220

well i looked on my ServerAdvertisement.cfg
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}
// {SERVERIP}
// {SERVERNAME}
// {PLAYERNAME}
//
////////////////////////////////


"ServerAdvertisement"
{
"Settings"
{
"Enable" "1" // 1 for Enable, 0 Otherwise
"Delay_between_messages" "8.0" // In seconds
"Time_Format" "%H:%M:%S" // Hours,Minutes,Secods
"Advertisement_tag" "[{Lime}Server{default}]" // Exmp: "[UltraGaming]"
"Languages" "cz;sk" // These languages must be defined.
}
"Messages"
{
"1"
{
"default" "Admins online: {ADMINSONLINE}" // When someone is from country which is not defined.
"type" "T" // Message will be printed in Chat.
}
"2"
{
"default" "Radnom text1"
"type" "T"
}
"3"
{
"default" "Hello"
"type" "T"
}
}
}
and the original
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}
// {SERVERIP}
// {SERVERNAME}
// {PLAYERNAME}
//
////////////////////////////////


"ServerAdvertisement"
{
"Settings"
{
"Enable" "1" // 1 for Enable, 0 Otherwise
"Delay_between_messages" "2.0" // In seconds
"Time_Format" "%H:%M:%S" // Hours,Minutes,Secods
"Advertisement_tag" "[{Lime}Server{default}]" // Exmp: "[UltraGaming]"
"Languages" "cz;sk" // These languages must be defined.
}
"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" "Radnom text1"
"cz" "Náhodný text1"
"type" "T"
}
"3"
{
"default" "Hello"
"cz" "Ahoj"
"type" "T"
}
}
}
Coziva 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 06:16.


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