[UberEMU] Pets Trainer Panel

Status
Not open for further replies.

Notice

Member
Nov 27, 2010
99
0
In Messages > Requests > Rooms.cs

Find:
Code:

Code:
private void GetAdvertisement()

Under that void add

Code:
     private void GetTrainerPanel()
        {
            uint PetID = Request.PopWiredUInt();
            Room Room = UberEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
            RoomUser PetUser = Room.GetPet(PetID);
            GetResponse().Init(605);
            GetResponse().AppendUInt(PetID);
            int level = PetUser.PetData.Level;
            GetResponse().AppendInt32(level);
            for (int i = 0; level > i; )
            {
                i++;
                GetResponse().AppendInt32(i - 1);
            }
            SendResponse();
        }


Find:
Code:

Code:
RequestHandlers[373] = new RequestHandler(EnableEffect);


add below it:

Code:
  RequestHandlers[3004] = new RequestHandler(GetTrainerPanel); // Pets Panel
 

Notice

Member
Nov 27, 2010
99
0
i know right im a newb but i know how to help ppl get there uber upstanding :p
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
Thanks for this, But for some reason, I doubt you coded it.
 
Status
Not open for further replies.

Users who are viewing this thread

Top