Will trade Rare Steed Packs code for lavender steed fix

02/03/2012 16:46 stephanyd#1
Hey all... I will trade Rare Steed Packs to the one who will really help me to fix of on screen steed look in source 5530.

When riding other players see my steed Lavender but it is not a Lavender steed i wear ...like it is on screenshot--> [Only registered and activated users can see links. Click Here To Register...]

I will trade those steed packs codes to the one who will really help me:
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]

Thanks in advanced :)
02/03/2012 16:56 injection illusion logic#2
i GUESS
there is something wrong with the steed code as it don't contain the rare steeds so all of the rare(or even any steed not coded) will show as Lavender which is default for who server cant recognize
aka (switch case for all steed and default is Lavender steed)
and all this was just a guess from troubleshooting and experience and not a sure information , if public source i dont mind check the codes
but anyway packets sniffing + debugging will solve any problem in any decent source
02/03/2012 18:52 stephanyd#3
Quote:
Originally Posted by injection illusion logic View Post
i GUESS
there is something wrong with the steed code as it don't contain the rare steeds so all of the rare(or even any steed not coded) will show as Lavender which is default for who server cant recognize
aka (switch case for all steed and default is Lavender steed)
and all this was just a guess from troubleshooting and experience and not a sure information , if public source i dont mind check the codes
but anyway packets sniffing + debugging will solve any problem in any decent source
Any clue wich file in source i can find the Steed Code plz??
02/03/2012 19:00 pro4never#4
Simple. You aren't correctly writing the steed color to the spawn entity packet.
02/04/2012 01:38 stephanyd#5
Quote:
Originally Posted by pro4never View Post
Simple. You aren't correctly writing the steed color to the spawn entity packet.
Ok i understand but wich .cs file contain those packets so i can try to guess how to fix my problem plz :(
02/05/2012 06:50 Lateralus#6
Quote:
Originally Posted by stephanyd View Post
Ok i understand but wich .cs file contain those packets so i can try to guess how to fix my problem plz :(
Steed.cs
02/05/2012 14:24 stephanyd#7
Sorry but there is no Steed.cs file in 5530 source... i know LastSource have the steed fixed but it is similar to my source... no Steed.cs file :(
02/05/2012 20:55 pro4never#8
Quote:
Originally Posted by stephanyd View Post
Sorry but there is no Steed.cs file in 5530 source... i know LastSource have the steed fixed but it is similar to my source... no Steed.cs file :(
Huge hint for you, he's making fun of you.

I already gave you the answer... You need to change the spawn entity packet so it writes the information for your steed color to the correct offset.

Tada!
02/05/2012 21:10 diedwarrior#9
Steedcolor.cs
02/06/2012 01:29 stephanyd#10
Quote:
Originally Posted by pro4never View Post
Huge hint for you, he's making fun of you.

I already gave you the answer... You need to change the spawn entity packet so it writes the information for your steed color to the correct offset.

Tada!
OMG... thanks alot pro4never :) ... found the problem! had to change that:
Quote:
case Network.GamePackets.ConquerItem.SteedArmor:
if (!Free(Network.GamePackets.ConquerItem.Steed))
{
var item = TryGetItem(Network.GamePackets.ConquerItem.Steed);
Network.Writer.WriteUInt32(item.ID, 72, Owner.Entity.SpawnPacket);
}
break;
to that :
Quote:
case Network.GamePackets.ConquerItem.SteedArmor:
{
Network.Writer.WriteUInt32(0, 72, Owner.Entity.SpawnPacket);
break;
}
so you can close thread ... problem solved or let it open to help others with the same problem :)
02/06/2012 11:01 I don't have a username#11
Your problem was probably it was a free.