[Help] Code Auto Repair Item

07/26/2020 17:17 thaidu0ngpr0#1
Can anybody share me the auto code using the hammer
PHP Code:
 #region 0x3052_DURCHANGE
                                
else if (_pck.Opcode == 0x3052)
                                {
                                    
                                         if ((
_pck.ReadUInt8() == 2) )
                                    {

                                        
#region AUTO_REPAIR
                                        
try
                                        {
                                            
byte itemname _pck.ReadUInt8();
                                            switch (
itemname)
                                            {
                                                case 
0:
                                                    {
                                                        
auto use hammer code?
                                                    }
                                                    break; 
thanks..........
07/27/2020 03:56 #HB#2
Send this with hammer slot.

Code:
[C->S] [704C]
0D                                                ................ //Slot
ED 3E                                             .>.............. //TID
07/27/2020 08:14 thaidu0ngpr0#3
Quote:
Originally Posted by #HB View Post
Send this with hammer slot.

Code:
[C->S] [704C]
0D                                                ................ //Slot
ED 3E                                             .>.............. //TID
thanks my idol :D
07/27/2020 14:09 sonzenbi#4
:jofrly:
10/03/2020 21:34 duykhattcp#5
Quote:
Originally Posted by sonzenbi View Post
:jofrly:
how to use this ??
10/04/2020 13:53 hoangphan7#6
Quote:
Originally Posted by duykhattcp View Post
how to use this ??
Edit in your filter's source. Put it to the Server Side Packet (Server -> Client)

Code:
Packet repair = new Packet(0x704C, true);
repair.WriteUInt8((byte)slot); <= This is slot in your inventory. (example 13 = first slot)
repair.WriteUInt16(0x3EEC); <= This is repair hammer "Cash type" (0x3EEC = Normal Item. 0x3EED = Item Mall - Cash item)
m_RemoteSecurity.Send(repair);
Send(false);