-
Member
packets [3.3.5]
hey
i found this code
CppBot/NetClientProcessDetour.hpp at adb664cf01fdc88dd2fbd8b4171a9586e8a0eb6f . mtm88/CppBot . GitHub
but this only has the SMSG packets (i dont need those)
where can i get CMSG packets from?
-
Active Member
open source private servers (such as mangos)
-
Member
Originally Posted by
badusername1234
open source private servers (such as mangos)
ehh sorry if im stupid but why do i need a server source ?
i thought these were just '''events''' inside my client and theyre not being sent, for example with that hook in 1st post u can catch SMSG_STARTATTACK and SMSG_STOPATTACK packets but i wanted to create an attack timer for my cheat using CMSG_ATTACKSWING (i guess these are not being sent to prevent people spamming them or something and its serversided) but are they used inside my client somewhere ?
anyway i just want that autoattack timer lol... im not even sure if its even possible to do it this way, just was curious, but i couldnt find any info on hooking combat log as well so
-
Active Member
because you can see all the client packet structures by looking at how the server handles them
if you want an autoattack timer, you don't need to touch packets - look at how addons do it
-
Member
Originally Posted by
badusername1234
because you can see all the client packet structures by looking at how the server handles them
okay im sorry then, just wanted to be sure u understood me because this topic is pretty uncommon
yeah it makes sense
addons do it via COMBAT_LOG_EVENT_UNFILTERED, and as i said in the other thread i have no idea how to get it
im not total noob and not looking for spoonfeed but also not advanced enough, i need someone to point me into the right direction x(
im actually surprised i havent found a single bot that uses it in some way since it can be used for many other things
-
Originally Posted by
maexane
okay im sorry then, just wanted to be sure u understood me
because this topic is pretty uncommon
yeah it makes sense
addons do it via COMBAT_LOG_EVENT_UNFILTERED, and as i said in the other thread i have no idea how to get it
im not total noob and not looking for spoonfeed but also not advanced enough, i need someone to point me into the right direction x(
This has a few ideas of how to hook events in game : https://www.ownedcore.com/forums/wor...ll-events.html (Hook all events)
I do as the OP of that thread does and ping pong events from lua into bot - probably not the most efficient thing in the world but simple and works.
-
Post Thanks / Like - 1 Thanks
maexane (1 members gave Thanks to sendeos23 for this useful post)
-
Member
Originally Posted by
sendeos23
thanks, ill look into it when i have time , i wanna try to hook it first though, then if nothing works ill go with lua i guess
i probably would find few useful threads by now if google wouldnt give me only PQR results, i guess searching for 'combatlog' wasnt the best idea xD thanks for the link