Raised This Month: $101 Target: $400
 25% 

[ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3


Post New Thread Reply   
 
Thread Tools Display Modes
hellreturn
Junior Member
Join Date: Oct 2017
Old 07-05-2018 , 12: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 , 17: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 17:16.
gula345 is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 07-15-2018 , 05: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.
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 08-18-2018 , 12: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
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 08-18-2018 , 20:08   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #645

no
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
alphaearth
Member
Join Date: Feb 2018
Location: Turkey
Old 08-18-2018 , 20: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 , 11: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
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 08-28-2018 , 14: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
__________________
Feel free to add me for private plugins My steam profile.
ESK0 is offline
hh2
AlliedModders Donor
Join Date: Sep 2010
Old 08-28-2018 , 14: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 15:27.
hh2 is offline
ESK0
Veteran Member
Join Date: May 2014
Location: Czech Republic
Old 08-28-2018 , 17: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
__________________
Feel free to add me for private plugins My steam profile.
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 20:40.


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