Register for your free account! | Forgot your password?

You last visited: Today at 09:25

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

Advertisement



Item Equipping

Discussion on Item Equipping within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Item Equipping

Fixed. Thank you!
Super Aids is offline  
Old 02/11/2013, 22:22   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 19
Received Thanks: 4
Post

Code:
                //packet length = 96
                PacketBuilder.AppendHeader(ptr, buffer.Length, 1009);
                *((uint*) (ptr + 4)) = player.uid;
                *((uint*) (ptr + 8)) = 0;
                *((ItemAction*) (ptr + 12)) = 46;
                *((uint*) (ptr + 16)) = (uint)Environment.TickCount;
                *((uint*)(ptr + 20)) = 0;
                *((byte*)(ptr + 20)) = 0;
                *((uint*)(ptr + 24)) = 0;
                *((uint*)(ptr + 32)) = packet.Gear1;
                *((uint*)(ptr + 36)) = packet.Gear2;
                *((uint*)(ptr + 40)) = packet.Gear3;
                *((uint*)(ptr + 44)) = packet.Gear4;
                *((uint*)(ptr + 48)) = packet.Gear5;
                *((uint*)(ptr + 52)) = packet.Gear6;
                *((uint*)(ptr + 56)) = packet.Gear7;
                *((uint*)(ptr + 60)) = packet.Gear8;
                *((uint*)(ptr + 64)) = packet.Gear9;
                *((uint*)(ptr + 68)) = packet.Gear15;
                *((uint*)(ptr + 72)) = packet.Gear16;
                *((uint*)(ptr + 76)) = packet.Gear17;
                *((uint*)(ptr + 80)) = packet.Gear18;
                *((uint*)(ptr + 84)) = packet.Gear19;
& don't forget, send iteminfo packet [1008] for each item. before send this. , i hope it work
M.Dego is offline  
Thanks
1 User
Old 02/11/2013, 23:35   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
Code:
            using (ServerSocket.Packet packet = new ServerSocket.Packet(92, true))
            {
                packet.WriteUshort(84, 0);
                packet.WriteUshort(1009, 2);
                packet.WriteUint((byte)(aleternante ? 1 : 0), 8);
                packet.WriteUint(46, 12);
                IItem[] fitems = new IItem[19];
                foreach (IItem aitem in AllItems)
                        fitems[aitem.Position] = aitem;
                byte position = 32;
                for (byte x = 1; x < fitems.Length; x++)
                {
                    if (fitems[x] != null)
                        packet.WriteUint(fitems[x].UID, (ushort)(position));
                    position += 4;
                }
                client.Enqueue(packet.ToArray());
            }
teroareboss1 is offline  
Thanks
1 User
Old 02/11/2013, 23:53   #4
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Got it fixed thanks to M. Dego, not because of what he posted as I already had that, but made me realize I forgot something Thanks!
Super Aids is offline  
Reply


Similar Threads Similar Threads
Weapon not equipping
05/21/2011 - Shaiya Private Server - 4 Replies
Anybody have a reason as to why a weapon wouldnt equip? It shows up just fine, its defined in DB and data file correctly. When i right click to equip it even makes the sound of being equipped, but it just doesnt go anywhere. In addition, i can not drag it to the weapon slot either. Can i get a few ideas? V-A
BUG-equipping a mainhand, offhand and 2 handed item all at once
04/05/2011 - Rift Hacks, Bots, Cheats & Exploits - 3 Replies
If all of your bags are full and you drag and drop a 2h weapon on top of your existing single handed items it will stack with them. This works with swords and shields as well as totems and such. You must use the bank to hold it for the drag and drop, of course. alternate method... First find your offhand item while wearing a 2-hand. Next go to the bank and put the offhand item in the bank. After that fill up your inventory. When your inventory is full, drag/drop the offhand from the bank...
[Request]Double equipping
09/08/2010 - Shaiya Private Server - 3 Replies
Greetings ElitePvPers. I'm working out on trying to make my own server but I don't like some of the armor sets, do you think there is any way to add a bonus equipment screen to put apperance equipment in. For example say you really hate the apperance of the Terra set (22-26 Archer/Ranger set) but you love the looks of the Dragon set. well my idea is to beable to have the apperance of the dragon armor without gaining the stats it gives. Some what like fashion on Perfect world, Luna online...
Equipping Other Race Elems
05/25/2010 - RF Online - 6 Replies
I just want to know if equipping other races elems is easy to do. For example: 1. U have Cora Ele 2. U have an acc on the same account 3. go to your acc and look at your cora elem 4. change values of the cora elem 5. Equip the Cora elem using your acc..
Any Program that let u repair without un-equipping
02/14/2007 - Conquer Online 2 - 6 Replies
ya i was wondering if there was a new program that let u repair without unequipping



All times are GMT +1. The time now is 09:25.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.