Re: Plus Edit - Revision 2 - Pets fix
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Twan
I cant buy pets now...
Find CheckPetNameMessageEvent = and change it to public const int CheckPetNameMessageEvent = 3913; //akl
Find GetSellablePetBreedsMessageEvent = and change it to public const int GetSellablePetBreedsMessageEvent = 3780; //akl
I haven't tested because Visual Studio is still updating, it should work.
Credits to Spot Ify.
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Bloodraven
Find CheckPetNameMessageEvent = and change it to public const int CheckPetNameMessageEvent = 3913; //akl
Find GetSellablePetBreedsMessageEvent = and change it to public const int GetSellablePetBreedsMessageEvent = 3780; //akl
I haven't tested because Visual Studio is still updating, it should work.
hihi thanks to me and its working :P
Didnt saw this release lol xD pets are not disconnecting anymore thanks D:
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Bloodraven
Find CheckPetNameMessageEvent = and change it to public const int CheckPetNameMessageEvent = 3913; //akl
Find GetSellablePetBreedsMessageEvent = and change it to public const int GetSellablePetBreedsMessageEvent = 3780; //akl
I haven't tested because Visual Studio is still updating, it should work.
Work :D
http://i.imgur.com/1q30Aus.png
Re: Plus Edit - Revision 2 - Pets fix
Im now getting an bots speech bubble when an pet talks...
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Spot Ify
hihi thanks to me and its working :P
Didnt saw this release lol xD pets are not disconnecting anymore thanks D:
Sorry, I was asking about on Skype and someone gave those, he admitted he got them from a post by you after I had asked him. Thank you.
So use Spot Ify's headers and Jeanzinh0's fix and you have near complete pets (training has to be written)
Re: Plus Edit - Revision 2 - Pets fix
Well, still it has an bots speech after i did the fixes from the other thread
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Twan
Well, still it has an bots speech after i did the fixes from the other thread
Hang on I will fix it in a second.
EDIT: actually I can't, Visual Studio Update 4 just fucked up my entire installation for VS. fFSSSS
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Bloodraven
Hang on I will fix it in a second.
Im trying to fix it too but i can't get it work it picks all the time the same bubble as IsBot :L EDIT
i got it change: in RoomUser.cs
if (IsPet || IsBot)
{
InvokedChatMessage messageB;
messageB = new InvokedChatMessage(this, Message, Shout, (IsBot ? 2 : 0),count);
GetRoom().QueueChatMessage(messageB);
return;
}
to
if (IsPet || IsBot)
{
InvokedChatMessage messageB;
messageB = new InvokedChatMessage(this, Message, Shout, (IsPet ? 0 : 2),count);
GetRoom().QueueChatMessage(messageB);
return;
}
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Jeanzinh0
Jean , Tem a Furnidata funcionando os mobis staffs ae ? Agradeçe.
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Daniel Spd
Jean , Tem a Furnidata funcionando os mobis staffs ae ? Agradeçe.
This is a enlish forum....
Re: Plus Edit - Revision 2 - Pets fix
Quote:
Originally Posted by
Troll Hotel
Im trying to fix it too but i can't get it work it picks all the time the same bubble as IsBot :L EDIT
i got it change: in RoomUser.cs
if (IsPet || IsBot)
{
InvokedChatMessage messageB;
messageB = new InvokedChatMessage(this, Message, Shout, (IsBot ? 2 : 0),count);
GetRoom().QueueChatMessage(messageB);
return;
}
to
if (IsPet || IsBot)
{
InvokedChatMessage messageB;
messageB = new InvokedChatMessage(this, Message, Shout, (IsPet ? 0 : 2),count);
GetRoom().QueueChatMessage(messageB);
return;
}
Thanks, it works!