AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4 (https://forums.alliedmods.net/showthread.php?t=248314)

ESK0 02-23-2015 11:00

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 21.2.2015*
 
Quote:

Originally Posted by mlov420 (Post 2264899)
Colors seem to be working now, thank you very much.

Thanks for reply :))

Shak1a 02-24-2015 08:36

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 21.2.2015*
 
Not by me allways White text !

http://i61.tinypic.com/2v0j337.jpg

ESK0 02-27-2015 13:48

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 21.2.2015*
 
.. Not all colors works.. Try other.. or doing something wrong..

pepe1985 02-28-2015 08:53

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 21.2.2015*
 
Hey ESK0
Great plugin, thank you for it
I have a problem with displaying advert such us: "current time is xx : xx"

Code:

        {
            "default"  "{green} Current time: {THETIME}"
            "type"        "T"
        }

{THETIME} doesn't return value, can you help me with that?

server info:
Code:

SourceMod Version Information:
            SourceMod Version: 1.7.0
            SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.0)
            SourcePawn API: v1 = 4, v2 = 6
            Compiled on: Feb  4 2015 14:35:19
            Built from: https://github.com/alliedmodders/sourcemod/commit/fd0aaf9
            Build ID: 5150:fd0aaf9
            http://www.sourcemod.net/

Listing 4 plugins:
          [01] SourceMod (1.7.0) by AlliedModders LLC
          [02] CS Tools (1.7.0) by AlliedModders LLC
          [03] SDK Tools (1.7.0) by AlliedModders LLC
          [04] SDK Hooks (1.7.0) by AlliedModders LLC

[SM] Listing 27 plugins:
          01 "Map Nominations" (1.7.0) by AlliedModders LLC
          02 "Basic Chat" (1.7.0) by AlliedModders LLC
          03 "SuperLogs: CSS" (1.2.4) by psychonic
          04 "Map configs" (1.2) by Berni
          05 "Player Commands" (1.7.0) by AlliedModders LLC
          06 "Fun Votes" (1.7.0) by AlliedModders LLC
          07 "HANSE-Balance" (1.6.2) by red!
          08 "Rock The Vote" (1.7.0) by AlliedModders LLC
          09 "Sound Commands" (1.7.0) by AlliedModders LLC
          10 "Basic Ban Commands" (1.7.0) by AlliedModders LLC
          11 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
          12 "Basic Commands" (1.7.0) by AlliedModders LLC
          13 "MapChooser Extended" (1.10.2) by Powerlord, Zuko, and AlliedModders LLC
          14 "Admin File Reader" (1.7.0) by AlliedModders LLC
          15 "Anti-Flood" (1.7.0) by AlliedModders LLC
          16 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
          17 "Admin Help" (1.7.0) by AlliedModders LLC
          18 "Basic Info Triggers" (1.7.0) by AlliedModders LLC
          19 "Server Advertisement" (1.1a) by ESK0
          20 "Fun Commands" (1.7.0) by AlliedModders LLC
          21 "Knife Upgrade" (2.5.2) by Klexen
          22 "Basic Votes" (1.7.0) by AlliedModders LLC
          23 "Admin Menu" (1.7.0) by AlliedModders LLC
          24 "Nextmap" (1.7.0) by AlliedModders LLC
          25 "Reserved Slots" (1.7.0) by AlliedModders LLC
          26 "Client Preferences" (1.7.0) by AlliedModders LLC
          27 "Basic Comm Control" (1.7.0) by AlliedModders LLC
         
[SM] Displaying 11 extensions:
        [01] Automatic Updater (1.7.0): Updates SourceMod gamedata files
        [02] Webternet (1.7.0): Extension for interacting with URLs
        [03] CS Tools (1.7.0): CS extended functionality
        [04] BinTools (1.7.0): Low-level C/C++ Calling API
        [05] SDK Tools (1.7.0): Source SDK Tools
        [06] Top Menus (1.7.0): Creates sorted nested menus
        [07] Client Preferences (1.7.0): Saves client preference settings
        [08] SQLite (1.7.0): SQLite Driver
        [09] GeoIP (1.7.0): Geographical IP information
        [10] Regex (1.7.0): Provides regex natives for plugins
        [11] SDK Hooks (1.7.0): Source SDK Hooks


poel 02-28-2015 20:14

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 21.2.2015*
 
very cool plugin ! thks !

ESK0 03-03-2015 02:18

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 21.2.2015*
 
Quote:

Originally Posted by pepe1985 (Post 2267790)
Hey ESK0
Great plugin, thank you for it
I have a problem with displaying advert such us: "current time is xx : xx"

Code:

        {
            "default"  "{green} Current time: {THETIME}"
            "type"        "T"
        }

{THETIME} doesn't return value, can you help me with that?

server info:
Code:

SourceMod Version Information:
            SourceMod Version: 1.7.0
            SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.0)
            SourcePawn API: v1 = 4, v2 = 6
            Compiled on: Feb  4 2015 14:35:19
            Built from: https://github.com/alliedmodders/sourcemod/commit/fd0aaf9
            Build ID: 5150:fd0aaf9
            http://www.sourcemod.net/

Listing 4 plugins:
          [01] SourceMod (1.7.0) by AlliedModders LLC
          [02] CS Tools (1.7.0) by AlliedModders LLC
          [03] SDK Tools (1.7.0) by AlliedModders LLC
          [04] SDK Hooks (1.7.0) by AlliedModders LLC

[SM] Listing 27 plugins:
          01 "Map Nominations" (1.7.0) by AlliedModders LLC
          02 "Basic Chat" (1.7.0) by AlliedModders LLC
          03 "SuperLogs: CSS" (1.2.4) by psychonic
          04 "Map configs" (1.2) by Berni
          05 "Player Commands" (1.7.0) by AlliedModders LLC
          06 "Fun Votes" (1.7.0) by AlliedModders LLC
          07 "HANSE-Balance" (1.6.2) by red!
          08 "Rock The Vote" (1.7.0) by AlliedModders LLC
          09 "Sound Commands" (1.7.0) by AlliedModders LLC
          10 "Basic Ban Commands" (1.7.0) by AlliedModders LLC
          11 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
          12 "Basic Commands" (1.7.0) by AlliedModders LLC
          13 "MapChooser Extended" (1.10.2) by Powerlord, Zuko, and AlliedModders LLC
          14 "Admin File Reader" (1.7.0) by AlliedModders LLC
          15 "Anti-Flood" (1.7.0) by AlliedModders LLC
          16 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
          17 "Admin Help" (1.7.0) by AlliedModders LLC
          18 "Basic Info Triggers" (1.7.0) by AlliedModders LLC
          19 "Server Advertisement" (1.1a) by ESK0
          20 "Fun Commands" (1.7.0) by AlliedModders LLC
          21 "Knife Upgrade" (2.5.2) by Klexen
          22 "Basic Votes" (1.7.0) by AlliedModders LLC
          23 "Admin Menu" (1.7.0) by AlliedModders LLC
          24 "Nextmap" (1.7.0) by AlliedModders LLC
          25 "Reserved Slots" (1.7.0) by AlliedModders LLC
          26 "Client Preferences" (1.7.0) by AlliedModders LLC
          27 "Basic Comm Control" (1.7.0) by AlliedModders LLC
         
[SM] Displaying 11 extensions:
        [01] Automatic Updater (1.7.0): Updates SourceMod gamedata files
        [02] Webternet (1.7.0): Extension for interacting with URLs
        [03] CS Tools (1.7.0): CS extended functionality
        [04] BinTools (1.7.0): Low-level C/C++ Calling API
        [05] SDK Tools (1.7.0): Source SDK Tools
        [06] Top Menus (1.7.0): Creates sorted nested menus
        [07] Client Preferences (1.7.0): Saves client preference settings
        [08] SQLite (1.7.0): SQLite Driver
        [09] GeoIP (1.7.0): Geographical IP information
        [10] Regex (1.7.0): Provides regex natives for plugins
        [11] SDK Hooks (1.7.0): Source SDK Hooks


Updated, download new version from github.

FakeNinja 03-03-2015 12:43

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 3.3.2015*
 
It would be cool if you could make a function that display an advertisement to only the player, when he joined the server!

pepe1985 03-03-2015 16:57

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 3.3.2015*
 
Quote:

Originally Posted by ESK0 (Post 2268979)
Updated, download new version from github.

Great support ESK0, thank you very much, {CURRENTTIME} works now.
One more question, maybe not related with your plugin, how language is recognized?
It's from geoip or from some client/game/steam config value?

i have such things in config:
Code:

        "3"
        {
            "default"    "{Lightred2}Current map: {green}{CURRENTMAP}"   
            "pl"        "{Lightred2}Aktualna mapa: {green}{CURRENTMAP}"
            "type"        "T"
        }

and want to try if "default" is displaying to foreigners, but always "pl" is displaying. I tried to change a game language and steam language to some other than "pl" but it not worked.

Best Regards,
PP

ESK0 03-04-2015 02:08

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 3.3.2015*
 
Quote:

Originally Posted by pepe1985 (Post 2269247)
Great support ESK0, thank you very much, {CURRENTTIME} works now.
One more question, maybe not related with your plugin, how language is recognized?
It's from geoip or from some client/game/steam config value?

i have such things in config:
Code:

        "3"
        {
            "default"    "{Lightred2}Current map: {green}{CURRENTMAP}"   
            "pl"        "{Lightred2}Aktualna mapa: {green}{CURRENTMAP}"
            "type"        "T"
        }

and want to try if "default" is displaying to foreigners, but always "pl" is displaying. I tried to change a game language and steam language to some other than "pl" but it not worked.

Best Regards,
PP

Yes im using GeoIP ( Use Alpha-2 code - http://cs.wikipedia.org/wiki/ISO_3166-1 )
And default is displaying to people from country which is not listed. And its works well for me( Im from Czech) and i guess its case sensitive so try to use PL instead of pl.

zoey 03-07-2015 03:58

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 3.3.2015*
 
Guys this plugins isnt working for me ...
am getting these messages in logs.

ilState" reported: Config for 'Server Advertisement' not found!
L 03/08/2015 - 02:58:47: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":

TonyBaretta 03-07-2015 04:27

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 3.3.2015*
 
Linux? if yes can be a problem of uppercase character.

zoey 03-07-2015 05:08

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 3.3.2015*
 
No man !
am using win7 pro x64 ..

ESK0 03-09-2015 06:05

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Updated. Added SM 1.7 version.

MiserAbleMan 03-10-2015 10:47

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
there's some word limit right?, cause im trying to add steamcom url and few sentence and it will not print the full url

mazdarx8 03-11-2015 02:40

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
How to use more colors in 1 sentence?

jay7981 03-11-2015 22:27

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
I'm getting this when loading this plugin ..

Code:

KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg
       
        KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg
       
        KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg
       
        KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg
       
        KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg
       
        KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg
       
        KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/ServerAdvertisement.cfg
        (*Messages*), (*4*),
22:24:53 L 03/12/2015 - 02:24:52: [SM] Plugin encountered error 25: Call was aborted
22:24:53 L 03/12/2015 - 02:24:52: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
22:24:53 L 03/12/2015 - 02:24:52: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
22:24:53 L 03/12/2015 - 02:24:52: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
22:24:53 L 03/12/2015 - 02:24:52: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()

Here is my ServerAdvertisement.cfg
Code:

"ServerAdvertisement"
{
        "Settings"
        {
                "Enable"        "1" // If 1 Plugin is Enabled
                "Delay"                "30.0" // In seconds
                "TimeFormat"        "%H:%M:%S" // Hours,Minutes,Secods
        }

        "Messages"
        {
                "1"
                {
                        "default"        "Random text1"
                        "cz"                "Náhodný text1"
                        "type"                "T"
                }

                "2"
                {
                        "default"        "Random text2"
                        "cz"                "Náhodný text2"
                        "type"                "T"
                }

                "3"
                {
                        "default"        "Random text3"
                        "cz"                "Náhodný text3"
                        "type"                "T"
                }

                "4"
                {
                        "default"        "Random text4"
                        "cz"                "Náhodný text4"
                        "type"                "T"
                }
        }
}

sm plugins info:
Code:

Filename: ServerAdvertisement.smx
          Title: Server Advertisement (Server Advertisement)
          Author: ESK0
          Version: 1.3
          URL: https://github.com/ESK0
          Error: Error detected in plugin startup (see error logs)
          Timestamp: 03/03/2015 08:14:41
          Hash: 43a867dac1d1bec81f6632b77b73c714


ESK0 03-12-2015 08:04

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Native "SetFailState" reported: Config for 'Server Advertisement' not found! ....

ESK0 03-12-2015 08:04

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by mazdarx8 (Post 2272476)
How to use more colors in 1 sentence?

{color}A{color}B{color}C ?

ocwoody 03-15-2015 18:14

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
This works great, but I have a problem with it displaying the advert twice.

ESK0 03-16-2015 08:00

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by ocwoody (Post 2274281)
This works great, but I have a problem with it displaying the advert twice.

The same advert twice ?

ocwoody 03-17-2015 23:05

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Yes the same advert twice. I'm on SM 1.7

virusking 03-18-2015 09:31

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by ocwoody (Post 2275066)
Yes the same advert twice. I'm on SM 1.7

Works all fine for me, maybe you have the same message twice in your config?

Please post your ServerAdvertisement.cfg, so we could check if you have something wrong with it.

mazdarx8 03-23-2015 03:46

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Hello, what to do if I want make for English users english server ads
and how to use colors for cs:go?

petrus0323 03-25-2015 03:08

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
This my Error :/

Code:

L 03/25/2015 - 07:36:56: SourceMod error session started
L 03/25/2015 - 07:36:56: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 07:36:56: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 07:36:56: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 07:36:56: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 07:36:56: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 07:36:56: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()
L 03/25/2015 - 08:00:33: SourceMod error session started
L 03/25/2015 - 08:00:33: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 08:00:33: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 08:00:33: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 08:00:33: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 08:00:33: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 08:00:33: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()
L 03/25/2015 - 08:03:41: SourceMod error session started
L 03/25/2015 - 08:03:41: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 08:03:41: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 08:03:41: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 08:03:41: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 08:03:41: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 08:03:41: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()
L 03/25/2015 - 08:04:03: Error log file session closed.
L 03/25/2015 - 08:04:17: SourceMod error session started
L 03/25/2015 - 08:04:17: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 08:04:17: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 08:04:17: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 08:04:17: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 08:04:17: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 08:04:17: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()


virusking 03-25-2015 08:10

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by petrus0323 (Post 2277788)
This my Error :/

Code:

L 03/25/2015 - 07:36:56: SourceMod error session started
L 03/25/2015 - 07:36:56: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 07:36:56: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 07:36:56: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 07:36:56: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 07:36:56: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 07:36:56: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()
L 03/25/2015 - 08:00:33: SourceMod error session started
L 03/25/2015 - 08:00:33: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 08:00:33: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 08:00:33: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 08:00:33: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 08:00:33: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 08:00:33: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()
L 03/25/2015 - 08:03:41: SourceMod error session started
L 03/25/2015 - 08:03:41: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 08:03:41: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 08:03:41: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 08:03:41: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 08:03:41: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 08:03:41: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()
L 03/25/2015 - 08:04:03: Error log file session closed.
L 03/25/2015 - 08:04:17: SourceMod error session started
L 03/25/2015 - 08:04:17: Info (map "de_dust2") (file "errors_20150325.log")
L 03/25/2015 - 08:04:17: [SM] Plugin encountered error 25: Call was aborted
L 03/25/2015 - 08:04:17: [SM] Native "SetFailState" reported: Config for 'Server Advertisement' not found!
L 03/25/2015 - 08:04:17: [SM] Displaying call stack trace for plugin "ServerAdvertisement.smx":
L 03/25/2015 - 08:04:17: [SM]  [0]  Line 158, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::LoadConfig()
L 03/25/2015 - 08:04:17: [SM]  [1]  Line 35, C:\Users\ESK0\Documents\GitHub\ServerAdvertisement\scripting\ServerAdvertisement.sp::OnPluginStart()


You forgot to add the ServerAdvertisiment.cfg

cuteclaire 03-27-2015 17:42

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
HI

I have eventually got this plug in to partially work. It displays the text but each single message comes up twice at the same time.

the file.

"ServerAdvertisement"
{
"Settings"
{
"Enable" "1" // If 1 Plugin is Enabled
"Delay" "20.0" // In seconds
"TimeFormat" "%Hh:%Mm" // Hours,Minutes,Secods
}

"Messages"
{
"1"
{
"default" "{Darkred}Welcome to TAW"
"type" "t"
}

"2"
{
"default" "{Orchid}Join TAW @ TAW.Net"
"type" "t"
}

"3"
{
"default" "{Darkred}TAW.Net is now recruiting for the EU Division."
"type" "t"
}

"4"
{
"default" "{Purple}You are now playing on TAW.Net Public Server Over 2500 Members & over 35 different Games."
"type" "t"
}
}
}


Has any one come across this?

Thank you

PS this took 2 hours to get working!! Not very server literate.

TKTheRandom 04-10-2015 08:26

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
The message posted twice bug in my case was caused by having the plugin in the plugins folder twice. Go into plugins and delete ServerAdvertisement.smx. There should also be ServerAdvertisement1.7.smx. Leave that one, it worked for me.

ESK0 04-13-2015 17:00

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by TKTheRandom (Post 2284331)
The message posted twice bug in my case was caused by having the plugin in the plugins folder twice. Go into plugins and delete ServerAdvertisement.smx. There should also be ServerAdvertisement1.7.smx. Leave that one, it worked for me.

(y) :)) You are not the stupid one :) Bravo !

Muscle Brazil 04-20-2015 08:34

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
it is possible to use more than 8 messages in this plugin?

ESK0 04-25-2015 12:19

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by Muscle Brazil (Post 2288268)
it is possible to use more than 8 messages in this plugin?

Yes.

parthi 04-27-2015 19:53

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
please i have this error log :
L 04/27/2015 - 15:44:07: [SM] Displaying call stack trace for plugin "ServerAdvertisement1.7.smx":
L 04/27/2015 - 15:44:07: [SM] [0] Line 421, C:/Users/ESK0/Desktop/Atom-Scripting1.7/include\multicolors/colors.inc::C_Format()
L 04/27/2015 - 15:44:07: [SM] [1] Line 84, C:/Users/ESK0/Desktop/Atom-Scripting1.7/include\multicolors/colors.inc::C_PrintToChat()
L 04/27/2015 - 15:44:07: [SM] [2] Line 55, C:/Users/ESK0/Desktop/Atom-Scripting1.7/include\multicolors.inc::CPrintToChat()

ESK0 04-28-2015 11:12

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by parthi (Post 2290938)
please i have this error log :
L 04/27/2015 - 15:44:07: [SM] Displaying call stack trace for plugin "ServerAdvertisement1.7.smx":
L 04/27/2015 - 15:44:07: [SM] [0] Line 421, C:/Users/ESK0/Desktop/Atom-Scripting1.7/include\multicolors/colors.inc::C_Format()
L 04/27/2015 - 15:44:07: [SM] [1] Line 84, C:/Users/ESK0/Desktop/Atom-Scripting1.7/include\multicolors/colors.inc::C_PrintToChat()
L 04/27/2015 - 15:44:07: [SM] [2] Line 55, C:/Users/ESK0/Desktop/Atom-Scripting1.7/include\multicolors.inc::CPrintToChat()


Please paste your confing :)

parthi 04-28-2015 11:38

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
1 Attachment(s)
I hope u will fix it :) Thx !

shtopor 05-25-2015 05:37

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
in hud messages do not work hex colors

Example:
Code:

"Messages"
        {
                "1"
                {
                        "default"        "<font color='#00ff00'>Вещи на сервере выпадают!</font>"
                        "type"                "C"
                }
        }


krikus62 05-28-2015 18:22

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Something is teribbly wrong with my server, I don't see colors as they should appear:

Spoiler


Most of the texts are yellow, and one is blue / team color , and the yellow doesn't work at all. How do I fix this one ?

virusking 05-29-2015 11:10

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Hm, strange. Everything works fine for me. I've tried and are using so far green,lightgreen, lightblue,blue,grey,purple,lime,lightred,dark red and orange.

Example:

Code:

"Messages"
        {
                "1"
                {
                        "default"        "{Green}[Tag]{Default}Don't play alone! Join our {Lime}TeamSpeak 3 server!{Default} IP: {Olive} ts.test.com"
                        "type"                "T"
                }

        }
}

Have you tried to reinstall the plugin,

raiden_it 05-30-2015 20:32

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Hello. How i can remove first simbol (empty symbol) in CSS?

virusking 05-31-2015 07:54

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by raiden_it (Post 2302966)
Hello. How i can remove first simbol (empty symbol) in CSS?

What empty symbol?

raiden_it 05-31-2015 08:05

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
"space"

virusking 05-31-2015 08:24

Re: [CS:GO/CS:S] ServerAdvertisement - MultiLang | *UPDATED 9.3.2015*
 
Quote:

Originally Posted by raiden_it (Post 2303157)
"space"

Hm, like do you have an space on your advertisement messages, or what? Because everything works fine for me with the messages at least.


All times are GMT -4. The time now is 14:51.

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