Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 18:57

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

Advertisement



5165 SendStallItem packet

Discussion on 5165 SendStallItem packet within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
5165 SendStallItem packet

hey guys I was wondering if anyone got the right packet to show the 2nd socket as i tried to edit it in many ways and it never worked...
ryuchetval is offline  
Old 09/13/2010, 00:42   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Code:
            P.WriteByte((byte)I.Soc1);
            P.WriteByte((byte)I.Soc2);
Tried that in place of your existing 2 socket entries?
Korvacs is offline  
Thanks
1 User
Old 09/13/2010, 02:20   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Wow, never though about that Jack.
They ARE single bytes in the packet, not two, so it should be written as one.
Arcо is offline  
Old 09/13/2010, 09:19   #4
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Quote:
Originally Posted by Korvacs View Post
Code:
            P.WriteByte((byte)I.Soc1);
            P.WriteByte((byte)I.Soc2);
Tried that in place of your existing 2 socket entries?
Yes I already tried that...didn't work (soc wouldn't show at all)

@Arco do you mean writing instead of 2 lines 1 line? ummm
ryuchetval is offline  
Old 09/13/2010, 10:01   #5


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Code:
P.WriteByte(0);
P.WriteByte((byte)I.Soc1);
P.WriteByte((byte)I.Soc2);
That?
Korvacs is offline  
Old 09/13/2010, 10:40   #6
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Quote:
Originally Posted by Korvacs View Post
Code:
P.WriteByte(0);
P.WriteByte((byte)I.Soc1);
P.WriteByte((byte)I.Soc2);
That?
nope it doesn't work..
ryuchetval is offline  
Old 09/13/2010, 10:47   #7


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Code:
P.WriteInt16(0);
P.WriteByte((byte)I.Soc1);
P.WriteByte((byte)I.Soc2);
Has to be that then.
Korvacs is offline  
Old 09/13/2010, 10:53   #8
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
nope...it's not...but i fixed it...it's just as i said in my first post...where i said //does the item effect goes here? and it did but now that i fixed it i dun wanna release it
ryuchetval is offline  
Thanks
1 User
Old 09/13/2010, 11:13   #9


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Please post it, otherwise your going to force me to spend a few minutes fiddling with the packet in order to find the fix, and to be honest ive better things to be doing with my time.
Korvacs is offline  
Thanks
1 User
Old 09/13/2010, 11:30   #10
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Quote:
Originally Posted by Korvacs View Post
Please post it, otherwise your going to force me to spend a few minutes fiddling with the packet in order to find the fix, and to be honest ive better things to be doing with my time.
ok done

ryuchetval is offline  
Thanks
1 User
Old 09/13/2010, 17:35   #11
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Korvacs View Post
Code:
P.WriteInt16(0);
P.WriteByte((byte)I.Soc1);
P.WriteByte((byte)I.Soc2);
Has to be that then.
Isntead of writing a blank 2 bytes, you can just use the method P.Move(2);
Pretty much the same thing.
Arcо is offline  
Old 09/13/2010, 19:08   #12


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by Аrco View Post
Isntead of writing a blank 2 bytes, you can just use the method P.Move(2);
Pretty much the same thing.
Indeed, but like you say, makes no difference really if i used 5165 i might have been bothered about the difference lol.
Korvacs is offline  
Thanks
1 User
Old 09/13/2010, 19:40   #13
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Quote:
Originally Posted by Аrco View Post
Isntead of writing a blank 2 bytes, you can just use the method P.Move(2);
Pretty much the same thing.
I already tried P.Move(2) and it wasn't working...or if you weren't talking about this then...sry xD
ryuchetval is offline  
Old 09/13/2010, 20:00   #14
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
I'm just referring to what korvacs said.
Arcо is offline  
Reply


Similar Threads Similar Threads
5165 is this Enemy guild packet?
02/21/2010 - CO2 Private Server - 8 Replies
Is this the packet of enemy guild? can anyone help me? how to add this in my sourve? im using 5165, and how to add this in npc. public static COPacket GuildData(uint Type, int Data) { byte Packet = new byte; COPacket P = new COPacket(Packet); P.WriteInt16((ushort)(Packet.Length - 8)); P.WriteInt16((ushort)1107); P.WriteInt32(Type);
Possible flower packet conversion for 5165 NCS
02/20/2010 - CO2 Private Server - 19 Replies
Hey all, I believe ImmuneOne released this packet(?) So give him thanks if he posts here! I believe I pressed enough buttons to make everything stop underlining in red.... Thing is I don't know how to test if I actually did the packet conversion correctly. These are the original packets public static byte FlowerPacket(string Flowers,bool CreateInstance)



All times are GMT +2. The time now is 18:57.


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.