Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (SearchItem(0,38) == -1)
- {
- ZeroMemory(buf,0x18);
- SetByte(0x18,0);
- SetShort(IdArea(0),4);
- SetShort(0x300F,6);
- SetShort(0x965,12);
- SetShort(0x1F,16);
- SendPacket(buf,0x18);
- ZeroMemory(buf,0x24);
- SetByte(0x24,0);
- SetShort(0x3040,6);
- SetShort(0,12);
- SetByte(0xFF,26);
- SetByte(0xFF,27);
- SetByte(0xFF,28);
- SetByte(0xFF,29);
- SetByte(0xFF,30);
- SetByte(0xFF,31);
- SetByte(0xFF,32);
- SetByte(0xFF,33);
- SetByte(0xFF,34);
- SetByte(0xFF,35);
- for (int i = 0;i<=39;i++)
- {
- if (DurInv(i) > 0)
- {
- if (coutd > 10);
- {
- coutd = 0;
- SendPacket(buf,0x24);
- ZeroMemory(buf,0x10);
- SetByte(0x10,0);
- SetShort(0x3048,6);
- SetShort(0xF,12);
- SendPacket(buf,0x10);
- ZeroMemory(buf,0x24);
- SetByte(0x24,0);
- SetShort(0x3040,6);
- SetShort(0,12);
- SetByte(0xFF,26);
- SetByte(0xFF,27);
- SetByte(0xFF,28);
- SetByte(0xFF,29);
- SetByte(0xFF,30);
- SetByte(0xFF,31);
- SetByte(0xFF,32);
- SetByte(0xFF,33);
- SetByte(0xFF,34);
- SetByte(0xFF,35);
- }
- if (coutd < 10)
- {
- SetByte(i,16+coutd);
- SetByte(1,26+coutd);
- coutd++;
- }
- }
- SendPacket(buf,0x24);
- ZeroMemory(buf,0x24);
- SetByte(0x10,0);
- //SetShort(0x340,6);
- SetShort(0x3048,6);
- SetShort(0xF,12);
- SendPacket(buf,0x24);
- }
- VenderAll();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement