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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Templeton Peck
Junior Member
Join Date: Jan 2022
Old 01-31-2023 , 13:49   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2211

This is weird...

I unloaded the Plugin, i restarted the Server and i´m still getting those errors on every map:

[SM] Fatal error encountered parsing translation file "advertisements.phrases.txt"

Besides that, an advertisements.phrases.txt file doesnt exist (even in the original download archive)...
__________________
Check our Homepage: www.aimroyale.eu
Templeton Peck is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-31-2023 , 21:43   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2212

Quote:
Originally Posted by Templeton Peck View Post
This is weird...

I unloaded the Plugin, i restarted the Server and i´m still getting those errors on every map:

[SM] Fatal error encountered parsing translation file "advertisements.phrases.txt"

Besides that, an advertisements.phrases.txt file doesnt exist (even in the original download archive)...
sm plugins list in your server console and paste the result here.
paulo_crash is offline
Templeton Peck
Junior Member
Join Date: Jan 2022
Old 02-01-2023 , 05:40   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2213

Quote:
Originally Posted by paulo_crash View Post
sm plugins list in your server console and paste the result here.
Its unloaded / not there.
__________________
Check our Homepage: www.aimroyale.eu
Templeton Peck is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-01-2023 , 15:31   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2214

Quote:
Originally Posted by Templeton Peck View Post
Its unloaded / not there.
We need the result of the sm plugins list so we can start helping you.

As you said, the plugin does not have a translation file, so you didn't install the original one, but another version or another plugin.

Last edited by paulo_crash; 02-01-2023 at 15:31.
paulo_crash is offline
Templeton Peck
Junior Member
Join Date: Jan 2022
Old 02-02-2023 , 13:41   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2215

01 "Anti-Flood" (1.10.0.6524) by AlliedModders LLC
02 "Mapchooser Extended Sounds" (1.10.1) by Powerlord
03 "1v1 Knife Fight" (1.2.1) by XARiUS
04 "Auto Team Scramble" (1.5.3) by RedSword / Bob Le Ponge
05 "Spectator List" (1.1.2) by GoD-Tony
06 "No Team Flash" (0.3) by SAMURAI and Kigen
07 "Team-Balancer" (1.1) by FreeZ
08 "CS:S Bot2Player (public)" (public.2013.06.30.15.51) by Bittersweet
09 "[ANY] Ban Disconnected Player" (2.0.1) by Headline, Original Plugin : mad_hamster
10 "Anti-TK" (1.1.3) by Rothgar
11 "Death Beam" (1.2) by Peoples Army, AMP, Mitch
12 "Hide Bots in Kill Feed" (1.3) by ReFlexPoison
13 "Basic Chat" (1.10.0.6524) by AlliedModders LLC
14 "Bot Names" (1.0) by Rakeri
15 "Basic Commands" (1.10.0.6524) by AlliedModders LLC
16 "Map End Music/Sound" (1.2m) by TechKnow, meng
17 "Bot Ping" (1.0.1) by Knagg0
18 "[Lilac] Little Anti-Cheat" (1.7.1) by J_Tanzanite
19 "Very Basic High Ping Kicker" (1.4) by msleeper
20 "Nextmap" (1.10.0.6524) by AlliedModders LLC
21 "Rock The Vote" (1.10.0.6524) by AlliedModders LLC
22 "NoBlock" (1.0) by fluxX
23 "Spawn Friendly Fire Punishment" (1.0.2) by HowIChrgeLazer
24 "Quake Sounds v3" (3.5.0) by Spartan_C001
25 "[CSS/CS:GO] AbNeR ResetScore" (1.5fix) by AbNeR_CSS
26 "Admin Menu" (1.10.0.6524) by AlliedModders LLC
27 "SM Parachute" (2.5) by SWAT_88
28 "AFK Manager Lite - CSS" (1.1-css) by KorDen, orig by Rothgar
29 "Map Nominations" (1.10.0.6524) by AlliedModders LLC
30 "Player Commands" (1.10.0.6524) by AlliedModders LLC
31 "Sound Commands" (1.10.0.6524) by AlliedModders LLC
32 "Show Damage" (1.0.7) by exvel
33 "[Cs:s & Cs:go]Teammate attack show all" (1.0) by Bacardi
34 "Map configs" (1.3) by Berni
35 "HP left" (1.1) by vIr-Dan
36 "Server WH" (1.0.2_toggle 02.06.2022) by Grey83
37 "Weapon Restrict" (3.1.7) by Dr!fter
38 "LastMan" (1.2.1) by dalto
39 "Admin Help" (1.10.0.6524) by AlliedModders LLC
40 "Basic Ban Commands" (1.10.0.6524) by AlliedModders LLC
41 "gameME Plugin" (4.8.1) by TTS Oetzel & Goerz GmbH
42 "QuickDefuse" (0.3) by pRED*
43 "[CSS] Round End Most Kills" (0.7) by Bacardi
44 "Admin all spec" (1.0.2) by Dr!fter
45 "Client Preferences" (1.10.0.6524) by AlliedModders LLC
46 "AntiHostageKill" (1.0) by shuter
47 "TeamSwitch" (1.3) by MistaGee
48 "Admin menu set next map" (1.0) by Jamster
49 "Anticamp Source" (1.0.9.1a) by Blade
50 "Advertisements" (2.1.1) by Tsunami
51 "Rock The Vote Extended" (1.10.0) by Powerlord and AlliedModders LLC
52 "Anti-Micspam" (0.5) by FLOOR_MASTER and Bor3dGaming.com
53 "Basic Votes" (1.10.0.6524) by AlliedModders LLC
54 "Basic Comm Control" (1.10.0.6524) by AlliedModders LLC
55 "SUM - global admins, bans and antifake" (1.5.0) by sfPlayer
56 "Extra Cash" (0.2) by Peoples Army
57 "Map Decals (Fixed)" (1.2.1) by Berni, Stingbyte, SM9();
58 "Admin File Reader" (1.10.0.6524) by AlliedModders LLC
59 "Basic Info Triggers" (1.10.0.6524) by AlliedModders LLC
60 "Admin Sounds" (1.0.1) by dalto
61 "MapChooser Extended" (1.10.2) by Powerlord, Zuko, and AlliedModders LLC
62 "Advanced c4 Countdown Timer" (1.5.0) by dalto, Panda
63 "AFK" (1.0) by You Fake


I deinstalled it before and the error was gone. Also it wasn´t listed in the plugins list.

Then i tried this one:
https://forums.alliedmods.net/showthread.php?p=2595516

But that is just another Version of Tsunamis Plugin & the error appeared immediately again. So i deinstalled that one.

Now i installed the latest Version again. And i have the same error now. There is NO translation file included in Tsunamis Plugin.
__________________
Check our Homepage: www.aimroyale.eu
Templeton Peck is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-02-2023 , 15:14   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2216

Quote:
Originally Posted by Templeton Peck View Post
Hey everybody

Every map start i get this error:

L 01/25/2022 - 08:08:18: [SM] Fatal error encountered parsing translation file "advertisements.phrases.txt"
L 01/25/2022 - 08:08:18: [SM] Error (line 0, column 0): Stream failed to open

Well, there isn´t any translation file for this plugin.

Any clue?
Can you try this.
When server is running and map already loaded.

Use server console (rcon or sm_rcon):
Code:
rcon sm plugins reload 1
and keep looking sourcemod log files, do that error appear ?

if not, then continue.
Code:
rcon sm plugins reload 2
and look sourcemod log files, do that error appear ?

if not, then continue.
Code:
rcon sm plugins reload 3
and look sourcemod log files, do that error appear ?

if not, then continue.
Code:
rcon sm plugins reload 4
and look sourcemod log files, do that error appear ?

if yes, that is plugin.

*edit
Actually that error is coming from this plugin what you mentioned before.
[CSS] Advertisements Plugin [By ViSH]

Quote:
Originally Posted by Templeton Peck View Post
It is hidden in triggers.sp
PHP Code:
initTriggers()
{
    
LoadTranslations("advertisements.phrases");
    
g_Cvar_WinLimit     FindConVar("mp_winlimit");
    
g_Cvar_FragLimit    FindConVar("mp_fraglimit");
    
g_Cvar_MaxRounds    FindConVar("mp_maxrounds");
    
HookEvent("round_end",                  Event_RoundEnd);
    
HookEventEx("teamplay_win_panel",       Event_TeamPlayWinPanel);
    
HookEventEx("teamplay_restart_round",   Event_TFRestartRound);
    
HookEventEx("arena_win_panel",          Event_TeamPlayWinPanel);

delete plugin.
reboot server or try server command
rcon sm plugins refresh
rcon sm_reload_translations
__________________
Do not Private Message @me

Last edited by Bacardi; 02-02-2023 at 15:25.
Bacardi is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 04-22-2023 , 14:27   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2217

Quote:
Originally Posted by DJ Tsunami View Post
Sorry, no idea then. It seems like a generic error not related to the plugin, so maybe you can ask for help on Discord.
Help, please, how to make translation of ads into different languages?
Example: for players from Japan, the advertisement in the chat will be displayed in Japanese?

How do I do this, in what file should I write a translation into another language, so that it will be displayed in the chat? I searched the whole topic, but found nothing about translation...
Mika Misori is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-30-2023 , 11:14   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2218

Quote:
Originally Posted by Mika Misori View Post
Example: for players from Japan, the advertisement in the chat will be displayed in Japanese?
While it isn't technically impossible to do something like that, it is not what this specific plugin was originally made to be able to.

Quote:
Originally Posted by Mika Misori View Post
How do I do this, in what file should I write a translation into another language, so that it will be displayed in the chat? I searched the whole topic, but found nothing about translation...
An alternative, e.g. [ANY] ServerAdvertisement3 - MultiLang, claims to be able to do what you're requesting.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 04-30-2023 , 13:51   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2219

Quote:
Originally Posted by DarkDeviL View Post
An alternative, e.g. [ANY] ServerAdvertisement3 - MultiLang, claims to be able to do what you're requesting.
Thanks for the tip. That plugin is very good, but unfortunately it has no random for advertising messages : (
Mika Misori is offline
mayersdz
Member
Join Date: Jun 2015
Old 07-06-2023 , 12:06   Re: Advertisements 2.1 (Updated 2021/02/06)
Reply With Quote #2220

why are you advertising your shit on my server ? talkiing abotu that 5 usd ad .
mayersdz 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 04:36.


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