标题: 修复交换错误 [打印本页] 作者: admin 时间: 2016-1-10 03:43 标题: 修复交换错误 Hi I fixed the swap bug a long time ago it got tested on my server and it worked ) t% u$ F0 x4 \
I posted this because someone kinda posted a youtube thingy about it :O.& S) V1 A6 P1 ?, ?7 x/ X
) {3 N; {1 ?0 p( ?Find this in DPSrv.cpp @ worldserver$ ?! `! O6 S7 P% u1 q& G
2 U# a0 R( j( K' M4 U" O9 e7 VCode:- G( J8 E# j3 p% G2 v1 i1 K7 a
void CDPSrvr::OnDoEquip( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize ) 2 h4 S+ U1 e% Z# ?% s{ ; c' L& T0 g2 P$ Q8 E. p DWORD nId;4 A- r9 u0 e9 A& Y, W, G! t( O
int nPart; + ]0 e) G! I$ e 7 X+ q% S7 v+ q- F4 g Z ar >> nId;3 _3 d# z% P, t" e
ar >> nPart; ! P0 M8 I& v+ ~, o