Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

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

  • Автор темы Автор темы NikkaCS
  • Дата начала Дата начала
vac owns nobody
Пользователь
Пользователь
Статус
Оффлайн
Регистрация
3 Янв 2019
Сообщения
149
Реакции
56
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.


Код:
Expand Collapse Copy
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.

Код:
Expand Collapse Copy
 psuedocode ==
if (legs are visible then head may be around)
 
Последнее редактирование:
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
/del
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
/del cuz pasted
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
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.


Код:
Expand Collapse Copy
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.

Код:
Expand Collapse Copy
 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);
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
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.
Код:
Expand Collapse Copy
 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.
 
[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.
Код:
Expand Collapse Copy
 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.
 
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.
Код:
Expand Collapse Copy
 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
 
Назад
Сверху Снизу