5165 SendStallItem packet

09/12/2010 21:13 ryuchetval#1
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...
09/13/2010 00:42 Korvacs#2
Code:
            P.WriteByte((byte)I.Soc1);
            P.WriteByte((byte)I.Soc2);
Tried that in place of your existing 2 socket entries?
09/13/2010 02:20 Arcо#3
Wow, never though about that Jack.
They ARE single bytes in the packet, not two, so it should be written as one.
09/13/2010 09:19 ryuchetval#4
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
09/13/2010 10:01 Korvacs#5
Code:
P.WriteByte(0);
P.WriteByte((byte)I.Soc1);
P.WriteByte((byte)I.Soc2);
That?
09/13/2010 10:40 ryuchetval#6
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..
09/13/2010 10:47 Korvacs#7
Code:
P.WriteInt16(0);
P.WriteByte((byte)I.Soc1);
P.WriteByte((byte)I.Soc2);
Has to be that then.
09/13/2010 10:53 ryuchetval#8
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 :)
09/13/2010 11:13 Korvacs#9
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.
09/13/2010 11:30 ryuchetval#10
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 :)

[Only registered and activated users can see links. Click Here To Register...]
09/13/2010 17:35 Arcо#11
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.
09/13/2010 19:08 Korvacs#12
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.
09/13/2010 19:40 ryuchetval#13
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
09/13/2010 20:00 Arcо#14
I'm just referring to what korvacs said.