Raised This Month: $7 Target: $400
 1% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
hellreturn
Junior Member
Join Date: Oct 2017
Old 07-05-2018 , 11:50   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #641

Does this works with insurgency?
hellreturn is offline
gula345
Member
Join Date: Jul 2017
Location: Belgie
Old 07-12-2018 , 16:15   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #642

if I use such configuration, the plugin does not work, but if I change to the "PL" itselfs the plugin works

So where is the problem?

Quote:
"Settings"
{
"ServerName" "★ [{darkred}xxx]" // 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" "18" // Time in seconds
"Languages" "PL;UA" // 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" "ingame" // Value = "geoip" or "ingame"
"Log expired messages" "1" // 1 = Enabled -> Messages are loged in Sourcemod's error logz
}

Last edited by gula345; 07-12-2018 at 16:16.
gula345 is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 07-15-2018 , 04:18   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #643

Quote:
Originally Posted by gula345 View Post
if I use such configuration, the plugin does not work, but if I change to the "PL" itselfs the plugin works

So where is the problem?
Probably you are missing messages in UA language. Check all of your messages in confg if you have this translation.
ESK0 is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 08-18-2018 , 11:34   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #644

Does this support randomized messages?
Mr. Man is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 08-18-2018 , 19:08   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #645

no
ESK0 is offline
alphaearth
Senior Member
Join Date: Feb 2018
Location: Turkey
Old 08-18-2018 , 19:14   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #646

Thank you so much for the plugin. I use it on my server. very helpful.
__________________
alphaearth is offline
hh2
AlliedModders Donor
Join Date: Sep 2010
Old 08-28-2018 , 10:37   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #647

I don't know if someone mention this problem, but there is memory leak.
File misc.sp (line 19 and 20).
hh2 is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 08-28-2018 , 13:15   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #648

Quote:
Originally Posted by hh2 View Post
I don't know if someone mention this problem, but there is memory leak.
File misc.sp (line 19 and 20).
Actually its not a memory leak.. the ArrayList is used later If you will delete the ArrayList.. it wont work anymore
ESK0 is offline
hh2
AlliedModders Donor
Join Date: Sep 2010
Old 08-28-2018 , 13:40   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #649

Quote:
Originally Posted by ESK0 View Post
Actually its not a memory leak.. the ArrayList is used later If you will delete the ArrayList.. it wont work anymore
It is: dump handles, change map, dump again and u will see that your created ArrayList is still there and they are not used again, because u created new ArrayList.
After some time (like 1-2 days after server start) my server consume approx. 200 MB more memory and there is A LOT of ServerAdvertisements handles with the same size.
U should delete existing handles on MapStart, if u want i can give you my code that fix that.

Last edited by hh2; 08-28-2018 at 14:27.
hh2 is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 08-28-2018 , 16:09   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #650

Quote:
Originally Posted by hh2 View Post
It is: dump handles, change map, dump again and u will see that your created ArrayList is still there and they are not used again, because u created new ArrayList.
After some time (like 1-2 days after server start) my server consume approx. 200 MB more memory and there is A LOT of ServerAdvertisements handles with the same size.
U should delete existing handles on MapStart, if u want i can give you my code that fix that.
sure, why not
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 00:25.


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