标题: 修复交换错误 [打印本页] 作者: 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 2 e! G! s5 R0 Z; a; z; C+ ? [I posted this because someone kinda posted a youtube thingy about it :O.2 f! G' D: l3 B* |8 ^2 u0 G- b
& D+ R x' Z% C$ A j6 r0 jFind this in DPSrv.cpp @ worldserver/ P4 Q% _5 }! ^% s$ s5 d) U8 `
- d" J; r$ | @6 k9 Z2 }9 u+ t
Code: 9 z9 B6 ^( W9 @% @void CDPSrvr::OnDoEquip( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize ) 4 z" T8 K8 R E4 r4 @# J, A{# P4 p Q5 O7 Z
DWORD nId;, @1 S- W; o" j6 r* R
int nPart; 0 {2 g) Z5 }8 t8 G$ O1 u7 ]5 f, L1 z0 \$ c0 Q3 b( o1 i
ar >> nId;" Y6 u, |0 o1 Q. c% o! \ }
ar >> nPart; " ^7 n- ^) @& y, E