Hello guys,
As you can understand , i am working on loop. All my code is ready for town loop to buy potions etc. with required amount but i have problems with npc's.
Items should be bought while only npc is selected. But something is wrong , my client is keeps getting crashed.
To select Jewelery NPC :
To buy item from NPC :
Im seaching for the reason of crash but :confused:
Btw: when i login after crash, item is in my inventory
Thanks in advance :)
As you can understand , i am working on loop. All my code is ready for town loop to buy potions etc. with required amount but i have problems with npc's.
Items should be bought while only npc is selected. But something is wrong , my client is keeps getting crashed.
To select Jewelery NPC :
Code:
Dim Jewel As New Packet(&H7045)
Jewel.WriteUInt32(73)
Proxy.ag_remote_context.Security.Send(Jewel)
Code:
Dim BuyDrugs As New Packet(&H7034)
BuyDrugs.WriteUInt8(8)
BuyDrugs.WriteUInt8(2)
BuyDrugs.WriteUInt8(0)
BuyDrugs.WriteUInt16(1)
BuyDrugs.WriteUInt32(73)
Proxy.ag_remote_context.Security.Send(BuyDrugs)
Btw: when i login after crash, item is in my inventory
Thanks in advance :)