Quote:
Originally Posted by oneshout
This GWA2 is missing some update...
Replace :
Code:
Global Const $HEADER_CHEST_OPEN = 0x59
by
Code:
Global Const $HEADER_CHEST_OPEN = 0x5A
Best regard
|
Code:
Global Const $HEADER_CHEST_OPEN = 0x5A
this header is used for opening chest ins explorable regions.
Opening the Xunlai Chest can be done in a few different ways.
I will leave all other possibilities since GWA2 has only performAction()
1) you use performAction but maybe u use wrong flags or it isnt working in general in GWA2
2) you move to the chest and use the CtoS Packet INTERACT_LIVING
Code:
DWORD const ACTION_INTERACT_LIVING = 0x40; // Size = 0xC
void InteractNPC(DWORD AgentID, DWORD CallTarget) {
GW::CtoGS::SendPacket(0xC, HEADER::ACTION_INTERACT_LIVING, AgentID, CallTarget);
}