The entire SQL code has been reworked and highly optimized. The entire procedure is now asynchronous which means that the server won't stall/lag with slower SQL servers, as well as when the connection fails on mapchange.
The SQL connection is now made only once when the map starts and closes when the map ends instead of opening/closing each time a player joins/leaves.
The setting HUDINFO_ALIVE_ONLY has been changed with HUDINFO_VISIBILITY that has more options than the previous one:
Код:
# Who and when is able to see the HUD information.
# 0= all players at all time
# 1= only alive players
# 2= only dead players
# 3= dead players + alive players during freeze time
HUDINFO_VISIBILITY =0
Added a new setting SAVE_INTERVAL that allows you to enable additional periods when the XP is saved, rather than it happening only when the player disconnects. Now you can do it when the player dies, in the end of the round or every time when the XP amount is modified. The goal of this setting is to prevent XP loss in servers that have a tendency to crash.
Added 2 new XP Rewards: team_win and team_lose that are called when you win a round and lose a round, respectively.
In order to update from the previous version, you need to update the .sma file and add the following lines in the [Settings] section of the configuration file:
PHP:
# When to save the XP?# It's best to leave this setting on 0 if your server isn't experiencing any problems (crashes) that prevent it from saving XP.# 0 = on disconnect (best for servers that never crash)# 1 = on disconnect + on death (good for servers that crash occasionally and you want to save the XP for at least the current life)# 2 = on disconnect + on round end (good for servers that crash occasionally and you want to save the XP for at least the current round)# 3 = every time the player's XP is changed (guarantees that XP will never be lost, but may be laggy if players receive XP very often)SAVE_INTERVAL=0
Fixed the problem with the native crxranks_give_user_xp, where the source is wrongly placed and the MINIMUM_PLAYERS setting from the configuration file is ignore when it's not supposed to.
Imrpoved player suicide detection.
Added a message when you die and the NOTIFY_ON_KILL setting is active.
На данном сайте используются файлы cookie, чтобы персонализировать контент и сохранить Ваш вход в систему, если Вы зарегистрируетесь.
Продолжая использовать этот сайт, Вы соглашаетесь на использование наших файлов cookie.