- 102
- 92
- Версия SA-MP
-
- 0.3.7 (R1)
Here's my next script, multi-tasking and crash-proof reconnect.
The script has functions:
Reconnect
Auto reconnect
Change name and reconnect
Four favorite servers that you can change
Change server ip via command
Anti-crash when reconnect
Anti-ban against reconnect spam
Full client cleansing before reconnecting
Immediate disconnection from the server via command
I allow any use of the script as long as my authorship is preserved
The script has functions:
Reconnect
Auto reconnect
Change name and reconnect
Four favorite servers that you can change
Change server ip via command
Anti-crash when reconnect
Anti-ban against reconnect spam
Full client cleansing before reconnecting
Immediate disconnection from the server via command
How it's working? It simply removes all players, vehicles and npc before reconnecting, and then blocks the incoming packet that removes buildings, previously the game crashed if the server wanted to remove previously removed buildings, which happened during reconnect and was the main reason for a failure on. If your game crashes with this script with the default configuration it is your gta or mod's fault.
The script is configurable config > recon.ini.
Как это работает? Он просто удаляет всех игроков, транспорт и NPC перед повторным подключением, а затем блокирует входящий пакет, который удаляет здания, ранее игра вылетала, если сервер хотел удалить ранее удаленные здания, что произошло во время повторного подключения и было основной причиной сбоя. Если ваша игра вылетает с этим скриптом с конфигурацией по умолчанию, это вина вашей GTA или мода.
Скрипт настраивается config > recon.ini.
I allow any use of the script as long as my authorship is preserved
/recon help - help
/recon - Reconnect via command
/recon na [nick] - Change nick and reconnect
/recon f1-f4 - Changes the server to the one saved in config
/recon x - Disconnects immediately from the server
/recon ip:port - Connects to the given server
/recon autorec - Enable/disable automatic reconnect temporarily
/recon anticrash - Enable/disable anticrash temporarily
/recon clear - Remove players, npc and cars
/recon - Reconnect via command
/recon na [nick] - Change nick and reconnect
/recon f1-f4 - Changes the server to the one saved in config
/recon x - Disconnects immediately from the server
/recon ip:port - Connects to the given server
/recon autorec - Enable/disable automatic reconnect temporarily
/recon anticrash - Enable/disable anticrash temporarily
/recon clear - Remove players, npc and cars
[config]
antiban=true --protection against flooding of connections
anticrash=true --crash protection during reconnect
autorecon=true --automatic reconnect when connection is closed, banned, rejected, lost.
valautorecon=2 --number of reconnect maxima for autorecon
delaycheck=100 --how long does the script have to wait while checking the gamestate
disconnectdelay=4000 --how long the script must wait after disconnecting from the server
f1=samp.ugbase.eu:7777 --favorite server under the command f1 to f4
f2=samp.hzgaming.net:7777
f3=rp.valrisegaming.com:7777
f4=localhost:7777
intervalcheck=100 --number of intervals during checking. intervalcheck 100 + delaycheck 100 = 10 seconds
logs=true --displaying logs
remcar=2000 --number of cars to be removed
remchars=1000 --number of chars to be removed
remrchars=1000 --number of random chars in sphere to be removed
antiban=true --protection against flooding of connections
anticrash=true --crash protection during reconnect
autorecon=true --automatic reconnect when connection is closed, banned, rejected, lost.
valautorecon=2 --number of reconnect maxima for autorecon
delaycheck=100 --how long does the script have to wait while checking the gamestate
disconnectdelay=4000 --how long the script must wait after disconnecting from the server
f1=samp.ugbase.eu:7777 --favorite server under the command f1 to f4
f2=samp.hzgaming.net:7777
f3=rp.valrisegaming.com:7777
f4=localhost:7777
intervalcheck=100 --number of intervals during checking. intervalcheck 100 + delaycheck 100 = 10 seconds
logs=true --displaying logs
remcar=2000 --number of cars to be removed
remchars=1000 --number of chars to be removed
remrchars=1000 --number of random chars in sphere to be removed