Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 21:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



0x7034 (Buy item) question.

Discussion on 0x7034 (Buy item) question. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2017
Posts: 79
Received Thanks: 13
0x7034 (Buy item) question.

Hi everyone, i have a question about the 0x7034 packet and its structure, so:

[C -> S][7034]
08 ................ //Movement type
09 ................ // Something like a TabID
00 ................ // SlotIndex
01 00 ................ // quantity
36 08 00 00 6............... // ?

hope that someone can help me with the full structure.
iGamerFD is offline  
Old 05/17/2019, 11:40   #2
 
homelesshobo's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 103
Received Thanks: 17
Code:
// Buy 2 cotton wristlets from protector trader jangan (Protector Trader Mrs Jang)
[C -> S][7034]
08                                                movementType 8 buy
02                                                itemTab 2
0C                                                itemSlot 12
02 00                                             stackAmount 2
5D 00 00 00                                       spawnID (temporary ID for NPC)

// Response
[S -> C][B034]
01                                                successFlag
08                                                movementType 8 buy
02                                                itemTab 2
0C                                                itemTab 12
02                                                numberOfslotsUsed 2 (determines number of toSlots) 
26                                                toSlot 38
27                                                toSlot 39
02 00                                             stackAmount 2
00 00 00 00                                       recipientNPCID ? 0 => self
00 00 00 00                                       recipientNPCID ? 0 => self
homelesshobo is offline  
Thanks
1 User
Old 05/17/2019, 12:05   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 28
Received Thanks: 14
Code:
  
case 8:
     MoveShopItemToInv(packet.ReadByte(), packet.ReadByte(), packet.ReadByte(), packet);//Shop <> Inventory
     break;
Code:
        public static void MoveShopItemToInv(byte tab, byte ItemslotIndex, byte ItemCount, Packet packet)
        {
            if (ItemCount == 1)
            {
                byte inv_slot = packet.ReadByte();
                ushort StackCount = packet.ReadUShort();
            }
            else
            {
                for (int i = 0; i < ItemCount; i++)
                {
                    byte inv_slot = packet.ReadByte();
                }
            }
        }
I parse 0xB034 like this
if you are stuck write me good luck.
oksn123 is offline  
Reply

Tags
0x7034


Similar Threads Similar Threads
[Help] Packet 0x7034 (buy item) - Game crash
12/12/2018 - SRO Coding Corner - 6 Replies
Hey guys, im currently working on a bot for the VSRO files and im doing some realy good progress. Currently im working on a shopping manager component But somehow the 0x7034 packet crashes the client instantly when sending it. What I do is the following: 1. Select shop with 0x7045 (Working correctly) 2. Then I query the items I want to buy (bla bla code) 3. Then I want to buy the specific item like this: var packet = new Packet(0x7034); packet.WriteByte(0x08); //Buy item...
buy item for 400 yang sell item for 4000 yang fast auto buy sell bot
05/27/2017 - Metin2 - 2 Replies
hi can anyone adapt the fracvoniz auto sell items for the servers in 2017? cuz when i inject it it closes the game, can you do a auto sell item wich buys and sels a item from npc very fast? thank you for answering, i pay even 6 euros (visa postepay)



All times are GMT +1. The time now is 21:51.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.