Looting function question

01/26/2023 20:39 845092#1
Hello folks, i would like to kindly ask does anyone know how can i find looting function in conquer online 2.0 classic version? not 3D, or at least guide me a bit where to look for a clue, im working on a little project , so far ive been able to call attack function,jump function and all the others , last piece of a puzzle is looting function. Any help appreciated.Cheers!.
01/27/2023 01:32 Santa#2
You talking about a client side hook? Depends on the patch but look for MsgMapItem packet, type 1101 and work back from that. That’s what I would do anyway.
01/27/2023 01:55 845092#3
Yes client side hook,im not familiar with packets yet, first of all i want to do some reversing practice with calling functions etc,then i will most likely be capable to start with packets,i found something thats looking like looting function but ive reversed the game a bit and seems like there is an array of pointers where theres a pointer for each item in inventory ,and this function i found takes *thisptr as well as dynamically allocated address of the item but the only way to read that item would be to somehow start reading items around my entity and then pass it to that function to pick it up.
01/28/2023 04:28 Santa#4
Quote:
Originally Posted by 845092 View Post
Yes client side hook,im not familiar with packets yet, first of all i want to do some reversing practice with calling functions etc,then i will most likely be capable to start with packets,i found something thats looking like looting function but ive reversed the game a bit and seems like there is an array of pointers where theres a pointer for each item in inventory ,and this function i found takes *thisptr as well as dynamically allocated address of the item but the only way to read that item would be to somehow start reading items around my entity and then pass it to that function to pick it up.
I only mentioned that packet as a place to work backwards from