-
Re: Walk as Cat / other Pet in a Room!
Hey your code works fine with a few fixes on roomuser.cs but i tried to modify color and race of the pet
Session.GetHabbo().PetData = "1 0 #fff "
I guess it was the 0 for the race and #fff for the colour but whatever i change there, it is still the same color. the petdata seems to correspond to (in pet.cs):
public string Look
{
get
{
return Type + " " + Race + " " + Color.ToLower();
}
}
then if i want to transform in a cat wich has race number 24 and color ABABAB (table user_pets) it should be :
Session.GetHabbo().PetData = "1 24 #ABABAB ";
Did I miss something that cause it doesn't work ?
The color in table user_pets is in VL64 but your #fff is in hex, right ?
Maybe we could make a random colour ?
Another thing, we can't click on a guy wich is transform in a pet, can we solve that ?
Sry if my english is not right, i'm french.
EDIT :
OK i've donne 2 var one to randomize the race wich work perfectly an other to randomize color in hex 3 digit (test 6 digit too) and the color don't work at all. Wait for your suggest.
I've also made a command wich select a pet randomize to transform in, my players love it :p
EDIT 2 :
The command micmic is buggy now, maybe you missed something when you gave your code cold you send us your entire public void method_26 in your habbo.cs / if it is the same as mine we have to fix it too.
EDIT 3 :
I fixed mimic command, still the colour of pets and unclickable guys when they are transform in pets.
-
Re: Walk as Cat / other Pet in a Room!
@DarioCat why when i reload the rooms it crashs?
-
Re: Walk as Cat / other Pet in a Room!
Can someone maybe find a fix to make the user clickable? I have added Dragon, Pig, Boar, Lion, Dog, Cat, Horse and that Troll, but they are all not clickable :(
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
Tico Triest
Can someone maybe find a fix to make the user clickable? I have added Dragon, Pig, Boar, Lion, Dog, Cat, Horse and that Troll, but they are all not clickable :(
but you can ban them etc.
but i can look for a code. :)
-
Re: Walk as Cat / other Pet in a Room!
Managed to do this, http://prntscr.com/3lu8rs
- - - Updated - - -
Managed to do this, http://prntscr.com/3lu8rs
-
Re: Walk as Cat / other Pet in a Room!
@Tico Triest Can you add me on skype: haboshotel
-
Re: Walk as Cat / other Pet in a Room!
For the problem with the non-clickable: You've to change something in the packetstructure of the thing in the RoomUser.cs I don't know what. I will search for something. In Huggo.st or other Hotel where you can be a pet, they aren't clickable. This thing was made for Phoenix and works with GoldTree too.
I don't know how to make that in Plus Emulator and I don't look how it could work for Plus Emulator... Maybe if i'm finding more time for Plus, i will try it..
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
DarioCat
For the problem with the non-clickable: You've to change something in the packetstructure of the thing in the RoomUser.cs I don't know what. I will search for something. In Huggo.st or other Hotel where you can be a pet, they aren't clickable.
Thanks let me know if you find something :).
-
Re: Walk as Cat / other Pet in a Room!
Dario can you post how to put it in gte there are some renames pls or add me on skype: haboshotel
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
Minixlo
but you can ban them etc.
but i can look for a code. :)
I know you can ban them, but i'm already seeing an increased amount of spammers from other hotels coming to my hotel with strange names so it takes forever to ban them, clicking is easier.
-
Re: Walk as Cat / other Pet in a Room!
Can people sit on u if u're a horse?
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
Tico Triest
I know you can ban them, but i'm already seeing an increased amount of spammers from other hotels coming to my hotel with strange names so it takes forever to ban them, clicking is easier.
You can click them too...
-
Re: Walk as Cat / other Pet in a Room!
I cannot found the method 26 :(
someone can upload the updated files?
-
Re: Walk as Cat / other Pet in a Room!
-
Re: Walk as Cat / other Pet in a Room!
Got it working for g.t.e build 1221, added cat,dog, baby, monkey, (still trying to do horse), gnome, mario, and spider. I'll release when I've finished with the horse. I'm going to try to allow users to ride you when you are a horse.
Also, If there is a later build other than 1221 please let me know and if you have it please give me it so I may apply these commands and release them.
I'll add screenshots later on when I've finished it all.
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
DJFlatout33
Got it working for g.t.e build 1221, added cat,dog, baby, monkey, (still trying to do horse), gnome, mario, and spider. I'll release when I've finished with the horse. I'm going to try to allow users to ride you when you are a horse.
Also, If there is a later build other than 1221 please let me know and if you have it please give me it so I may apply these commands and release them.
I'll add screenshots later on when I've finished it all.
I got V3.19 Alpha 7.1 Build 1268 ;)
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
FlyHotel
I got V3.19 Alpha 7.1 Build 1268 ;)
Well good for you, i'm using 823 :) Newer the worst..
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
NoOne96
Well good for you, i'm using 823 :) Newer the worst..
I've had this working on Plus for a while.
http://i.imgur.com/8GnzTQQ.png
-
Re: Walk as Cat / other Pet in a Room!
Where put this: if (this.PetData == "") { in habbo.css in gold tree plz :/
-
Re: Walk as Cat / other Pet in a Room!
Tutorial for GTE Emu :)
Open RoleManager.cs under Habbo Hotel section.
Add this
Code:
this.dictionary_4.Add("pet", 97);
this.dictionary_4.Add("habbo", 98);
after
Code:
this.dictionary_4.Add(GoldTreeEnvironment.GetExternalText("cmd_redeemshell_name"), 96);
Open ChatCommandHandler.cs under Misc section.
Add this
Code:
case 97:
Session.GetHabbo().PetData = "1 0 #fff"; // You can edit this with a pet Style you want.
Session.SendNotification("You're are now a cat, please reload the room to be a Cat");
Session.GetHabbo().Whisper("Write :habbo to be again a Habbo!");
return true;
case 98:
if (Session.GetHabbo().PetData != null) {
Session.GetHabbo().PetData = null;
Session.SendNotification("You're now a Habbo, Please reload room to apply this.");
return true;
}
Session.GetHabbo().SendNotification("You are already a Habbo!");
return true;
Credits to @Minixlo
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
Damien Jolly
Possible to have the code for Plus please ? :D
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
Stevehabbz
Tutorial for GTE Emu :)
Open
RoleManager.cs under
Habbo Hotel section.
Add this
Code:
this.dictionary_4.Add("pet", 97);
this.dictionary_4.Add("habbo", 98);
after
Code:
this.dictionary_4.Add(GoldTreeEnvironment.GetExternalText("cmd_redeemshell_name"), 96);
Open
ChatCommandHandler.cs under
Misc section.
Add this
Code:
case 97:
Session.GetHabbo().PetData = "1 0 #fff"; // You can edit this with a pet Style you want.
Session.SendNotification("You're are now a cat, please reload the room to be a Cat");
Session.GetHabbo().Whisper("Write :habbo to be again a Habbo!");
return true;
case 98:
if (Session.GetHabbo().PetData != null) {
Session.GetHabbo().PetData = null;
Session.SendNotification("You're now a Habbo, Please reload room to apply this.");
return true;
}
Session.GetHabbo().SendNotification("You are already a Habbo!");
return true;
Credits to @Minixlo
BUT, where is the habbo.css? RoomUser.cs?
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
BobLuxury Bob
BUT, where is the habbo.css? RoomUser.cs?
Open Habbo.cs Under Users Section.
Search for this :
Code:
public int QuestsCustom1Progress;
Add the PetData string
Code:
public string PetData;
Open up Roomuser.cs under Room Section
Search this :
Code:
Message5_0.AppendStringWithBreak @class.Figure);
Replace that with this :
Code:
Message5_0.AppendStringWithBreak @class.PetData != null ? @class.PetData : @class.Figure);
Search For :
Code:
Message5_0.AppendInt32(2);
Message5_0.AppendInt32(1);
Message5_0.AppendStringWithBreak @class.Gender.ToLower());
Message5_0.AppendInt32(-1);
if @class.int_0 > 0)
{
Message5_0.AppendInt32 @class.int_0);
}
else
{
Message5_0.AppendInt32(-1);
}
Message5_0.AppendInt32(-1);
Message5_0.AppendStringWithBreak("");
Message5_0.AppendInt32 @class.AchievementScore);
Replace with :
Code:
if @class.PetData != null)
{
Message5_0.AppendInt32(4);
Message5_0.AppendInt32(2);
Message5_0.AppendInt32(0);
}
else
{
Message5_0.AppendInt32(2);
Message5_0.AppendInt32(1);
Message5_0.AppendStringWithBreak @class.Gender.ToLower());
Message5_0.AppendInt32(-1);
if @class.int_0 > 0)
{
Message5_0.AppendInt32 @class.int_0);
}
else
{
Message5_0.AppendInt32(-1);
}
Message5_0.AppendInt32(-1);
Message5_0.AppendStringWithBreak("");
Message5_0.AppendInt32 @class.AchievementScore);
}
It should work :)
Sorry forget :3
-
Re: Walk as Cat / other Pet in a Room!
I like the idea, but I don't think i'm going to use this.. Probably because I don't want to have cats wandering around and insulting people. Harder for staff to do their work. Really appriciated that you shared this with us. Could however use this for any future plans :).
~saved. Carry on with such work, looking good!
-
Re: Walk as Cat / other Pet in a Room!
Quote:
Originally Posted by
EvilCoder
I like the idea, but I don't think i'm going to use this.. Probably because I don't want to have cats wandering around and insulting people. Harder for staff to do their work. Really appriciated that you shared this with us. Could however use this for any future plans :).
~saved. Carry on with such work, looking good!
You can click their chatbubble? or am i wrong?