Исходник Logic for your resolver :)

C++ Certified Professional Programmer
Пользователь
Статус
Оффлайн
Регистрация
3 Янв 2019
Сообщения
149
Реакции[?]
56
Поинты[?]
19K
So basically I see alot of posts here and on unkowncheats, "How do you know if player is desyncing or not", "How do you know if its a bot" Im gonna spoonfeed cus this deserves to be public, I havent seen any posts on how to do it properly so yeah.


Код:
playerinfo_t * r {};
float simtime = player-> m_flSimulationTime ();
float oldsimtime = player-> m_flOldSimulationTime ();
float simdiff = simtime- oldsimtime;

auto chokedpackets = TIME_TO_TICKS (max (0, simdiff)); // you could also include latency



if (r-> fakeplayer) // player is a bot
      return

if (chokedpackets <1) // player not desyncing
      return

The logic behind fakeplayer is obvious, but the chokedpackets logic sanity check, Desync requires the enemys to choke atleast 1 tick, with that being said the enemys simtime is not being updated when choking. Ofcourse you need alot more logic 1more logic that you can use.

Код:
 psuedocode ==
if (legs are visible then head may be around)
 
Последнее редактирование:
POLAKWARE
Забаненный
Статус
Оффлайн
Регистрация
26 Июн 2020
Сообщения
79
Реакции[?]
11
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
/del
 
Забаненный
Статус
Оффлайн
Регистрация
29 Июн 2020
Сообщения
181
Реакции[?]
61
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
/del cuz pasted
 
Забаненный
Статус
Оффлайн
Регистрация
10 Июл 2020
Сообщения
44
Реакции[?]
7
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
So basically I see alot of posts here and on unkowncheats, "How do you know if player is desyncing or not", "How do you know if its a bot" Im gonna spoonfeed cus this deserves to be public, I havent seen any posts on how to do it properly so yeah.


Код:
playerinfo_t * r {};
float simtime = player-> m_flSimulationTime ();
float oldsimtime = player-> m_flOldSimulationTime ();
float simdiff = simtime- oldsimtime;

auto chokedpackets = TIME_TO_TICKS (max (0, simdiff)); // you could also include latency



if (r-> fakeplayer) // player is a bot
      return

if (chokedpackets <1) // player not desyncing
      return

The logic behind fakeplayer is obvious, but the chokedpackets logic sanity check, Desync requires the enemys to choke atleast 1 tick, with that being said the enemys simtime is not being updated when choking. Ofcourse you need alot more logic 1more logic that you can use.

Код:
 psuedocode ==
if (legs are visible then head may be around)
yes good post :)
but i can add one more helpful thing
if (g::local->is_alive())
exit(0);
 
When it hit it hit.
Забаненный
Статус
Оффлайн
Регистрация
2 Апр 2019
Сообщения
131
Реакции[?]
66
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Начинающий
Статус
Оффлайн
Регистрация
9 Сен 2017
Сообщения
89
Реакции[?]
25
Поинты[?]
0
tell me how is this a meme post?
the pseudo that you gave to us is basically simple thing. even tho 2020 coder can think about it and find more useful logic from anywhere else.
Код:
 psuedocode ==
if (legs are visible then head may be around)
Wtf is this ? XD
most of p2c's have perfect lby breaker and they can show their half of fake body (Without peeking real head) so this logic is useless if you don't have good resolving method. You just like: "Hey guys if legs are visible then head may be around go and think rest of other things". Whoa!?
Good luck with missing toe, leg, body.
 
C++ Certified Professional Programmer
Пользователь
Статус
Оффлайн
Регистрация
3 Янв 2019
Сообщения
149
Реакции[?]
56
Поинты[?]
19K
[QUOTE = "Waxie, post: 1573465, member: 45263"]
the pseudo that you gave to us is basically simple thing. even tho 2020 coder can think about it and find more useful logic from anywhere else.
Код:
 psuedocode ==
if (legs are visible then head may be around) [/ CODE]
Wtf is this? Xd
most of p2c's have perfect lby breaker and they can show their half of fake body (Without peeking real head) so this logic is useless if you don't have good resolving method. You just like: "Hey guys if legs are visible then head may be around go and think rest of other things". Whoa !?
Good luck with missing toe, leg, body.
[/ QUOTE]
hAAHA HHAHAHAHAHHA I never said this is proper, you don't know anything about coding in general do you? You are the kind of guy that wants the perfect spoonfeed code. I gave something simple that you can start with.
 
C++ Certified Professional Programmer
Пользователь
Статус
Оффлайн
Регистрация
3 Янв 2019
Сообщения
149
Реакции[?]
56
Поинты[?]
19K
the pseudo that you gave to us is basically simple thing. even tho 2020 coder can think about it and find more useful logic from anywhere else.
Код:
 psuedocode ==
if (legs are visible then head may be around) [/ CODE]
Wtf is this? Xd
most of p2c's have perfect lby breaker and they can show their half of fake body (Without peeking real head) so this logic is useless if you don't have good resolving method. You just like: "Hey guys if legs are visible then head may be around go and think rest of other things". Whoa !?
Good luck with missing toe, leg, body.
hAAHA HHAHAHAHAHHA I never said this is proper, you don't know anything about coding in general do you? You are the kind of guy that wants the perfect spoonfeed code. I gave something simple that you can start with
 
Сверху Снизу