Поиск Anti reconnect

Сообщения
102
Реакции
-2
Hello, maybe now who have Anti reconnect plugin? Witch working with 1.9 amxmodx? Rehlds
Thanks!!!
 
Сообщения
219
Реакции
42
You link SV_ConnectClient function, reconnect is set to true there before call SV_CheckUserInfo.
Well, you can use SV_CheckUserInfo for that, but it's not the best way.
Also, I think that game does reconnection when switching maps. Just test it.
 
Последнее редактирование:
Сообщения
96
Реакции
69
Помог
1 раз(а)
You link SV_ConnectClient function, reconnect is set to true there before call SV_CheckUserInfo.
Well, you can use SV_CheckUserInfo for that, but it's not the best way.
Also, I think that game does reconnection when switching maps. Just test it.
1. reconnect value is reseted at the begining of the SV_ConnectClient function: https://github.com/dreamstalker/rehlds/blob/master/rehlds/engine/sv_main.cpp#L2289
2. For the moment this should be the most convenient method, if you do not take into account a global variable ( which would be the greatest method )
3. SV_ConnectClient is not called when the map changes.

PR to implement this hook is out now:

You can get the binaries from here:
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу