Help x64dbg

  • Автор темы Автор темы neko160
  • Дата начала Дата начала

neko160

Пляшущий с бубном
Участник
Сообщения
51
Розыгрыши
0
Репутация
0
Реакции
3
Баллы
200
Hi, I'm reversing L2 OFF (High Five) server using x64dbg.

I'm trying to hook the real equip item logic for player (User), but I noticed that:

- CNPC::EquipItem is not used for players
- User::EquipItem breakpoint is never hit
- CCreature::EquipItem is also not triggered

So I assume the equip flow is handled somewhere else (maybe via packet handling or inventory system).

Does anyone know:

1. What is the actual entry point when a player equips an item?
2. Is it handled inside ManipulateItemPacket or a different handler?
3. Which function is responsible for assigning item to paperdoll slots?

My goal is to implement visual armor, so I need the exact point where the item is equipped on the player.

Any guidance or function names would help a lot.

Thanks!
 
Try looking at CCreature::UseItem

AFAIK ::EquipItem logic used when you are dragging an item into a slot, not by clicking it
 
What you're saying makes sense; I'll see how it goes.

Thanks for replying.
Сообщение объединено:
Try looking at CCreature::UseItem

AFAIK ::EquipItem logic used when you are dragging an item into a slot, not by clicking it
I couldn't get it right, I'm still going crazy....
 
Последнее редактирование:
Назад
Сверху Снизу