Jump to content

.  

24 members have voted

  1. 1. Cand ia Nervos permisul?

    • Anu asta
      8
    • Anu viitor
      11
    • Niciodata
      5


Recommended Posts

Posted

raule ce trebuia sa inlocuiesc in scriptul de whs enchant ( ala cand faci Victory langa whs si ti se enchanteaza arma )

id de la arma si scroll

Posted

var a:array[1..100] of string;

i,n:integer;

id,withdraw,openwh,useitem,wh,enchant:string;

begin

//Item id need to be captured.For example from UseItem packet

id:=hstr(' ===========ITEM ID HERE======== ');

useitem:=hstr('14')+id+hstr('00 00 00 00');

wh:=hstr('31 01 00 00 00')+id+hstr('01 00 00 00');

enchant:=hstr('58')+id;

//openwh need to be captured:RequestBypassToServer

openwh:=hstr('  =======BYPASSSERVER HERE========== ');

withdraw:=hstr('32 01 00 00 00')+id+hstr('01 00 00 00');

if (fromclient) and (pck=hstr('1B 02 00 00 00 ')) then

begin

buf:=withdraw;

sendtoserver;

buf:=openwh;

sendtoserver;

end;

if (fromclient) and (pck=hstr('1B 03 00 00 00 ')) then

begin

buf:=useitem;

sendtoserver;

buf:=wh;

sendtoserver;

buf:=wh;

sendtoserver;

buf:=enchant;

sendtoserver;

end;

 

 

 

 

 

 

 

ce trebuie schimbat ?

Posted

stiu ca vine acolo ITEM ID dar doar in spatiul ala ? sau si in celelalte 2 ? si la whs bypass ce trb sa pun ? si in care spatii ?

Guest
This topic is now closed to further replies.



×
×
  • Create New...