Today, I just made rare pets, I was very bored. No badge buy or whatsoever.
In Messages/Requests/Catalog.cs find:
This is taken from hang glider but Uber is similar.
Add after it:Code:else if (Page.Layout == "club_gifts") { #region Gift Packet // IoISAPF[dQhc2_sofa{2}IHHIs{2}XXL{2}IMZdQhc3_sofa{2}IHHIs{2}[WL{2}IM[eQhc2_sofatbl{2}IHHIs{2}XYL{2}IMZfQhc3_table{2}IHHIs{2}[YL{2}IMXbQhc2_biglamp{2}IHHIs{2}YUL{2}IMY^Qhc3_bard{2}IHHIs{2}ZQL{2}IMX_Qhc2_cart{2}IHHIs{2}YRL{2}IMXaQhc3_light{2}IHHIs{2}YTL{2}IMXdQhc2_vase{2}IHHIs{2}YWL{2}IMYbQhc3_dc{2}IHHIs{2}ZUL{2}IMZ]Qhc2_divider{2}IHHIs{2}[PL{2}IMYfQhc3_shelf{2}IHHIs{2}ZYL{2}IMZ_Qhc2_carpet{2}IHHIs{2}[RL{2}IMYdQhc3_stool{2}IHHIs{2}ZWL{2}IMXeQhc2_dvn{2}IHHIs{2}YXL{2}IMY]Qhc3_divider{2}IHHIs{2}ZPL{2}IM[cQhc2_coffee{2}IHHIs{2}XWL{2}IMY`Qhc3_hugelamp{2}IHHIs{2}ZSL{2}IM[bQhc2_frplc{2}IHHIs{2}XVL{2}IMXhQhc3_walldeco{2}IHHIi{2}YP{2}IM[_Qhc2_barchair{2}IHHIs{2}XSL{2}IMXrQhc3_stereo{2}IHHIs{2}[\L{2}IMX`Qhc2_armchair{2}IHHIs{2}YSL{2}IMYoQhc3_vase{2}IHHIs{2}XZL{2}IMPF[dQHIIZdQIII[eQHPHIZfQIPHIXbQHSOIY^QISOIX_QHRWIXaQIRWIXdQHQ_IYbQIQ_IZ]QHPgIYfQIPgIZ_QHSnIYdQISnIXeQHRvIY]QIRvI[cQHQ~IY`QIQ~I[bQHXFAIXhQIXFAI[_QH[MAIXrQI[MAIX`QHZUAIYoQIZUAH{1} ServerMessage ClubPage = new ServerMessage(623); int Months = 0; int TotalDaysLeft = 0; if (Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club") || Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip")) { string Club = "habbo_club"; if (Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip")) Club = "habbo_vip"; Subscription HabboClub = Session.GetHabbo().GetSubscriptionManager().GetSubscription(Club); Double Initial = HabboClub.InitialTime; Double TimeLeft = HangEnvironment.GetUnixTimestamp() - Initial; TotalDaysLeft = (int)Math.Ceiling(TimeLeft / 86400); int MonthsLeft = TotalDaysLeft / 31; Months = (MonthsLeft - HabboClub.Gifts) + HabboClub.Days; } ClubPage.AppendInt32(-1); ClubPage.AppendInt32(Months); // PM [dQ using (DatabaseClient dbClient = HangEnvironment.GetDatabase().GetClient()) { DataRow GetGifts = dbClient.ReadDataRow("SELECT * FROM club_gifts"); ClubPage.AppendInt32(GetGifts.Table.Rows.Count); // Count Items foreach (DataRow Data in GetGifts.Table.Rows) { ClubPage.AppendInt32((int)Data["id"]); // Item Id (no important what) ClubPage.AppendStringWithBreak(Data["name"].ToString()); // Item Name ClubPage.AppendBoolean(true); // some value ClubPage.AppendBoolean(false); // some value ClubPage.AppendBoolean(false); // some value ClubPage.AppendBoolean(true); // some value ClubPage.AppendStringWithBreak(Data["type"].ToString()); // Type ClubPage.AppendInt32((int)Data["spriteid"]); // SpriteID ClubPage.AppendStringWithBreak(""); // Char ClubPage.AppendInt32(1); // Boolean true (no important) ClubPage.AppendInt32(-1); // Negative M Value ClubPage.AppendInt32((int.Parse(Data["is_vip"].ToString()))); // Is VIP Item? } // Sistem of evaluate ClubPage.AppendInt32(GetGifts.Table.Rows.Count); // Count Again foreach (DataRow Data in GetGifts.Table.Rows) { ClubPage.AppendInt32((int)Data["id"]); // Item Id (no important what) ClubPage.AppendInt32(int.Parse(Data["is_vip"].ToString())); // Is VIP Item? ClubPage.AppendInt32((int)Data["days"]); // Days to get if (TotalDaysLeft >= (int)Data["days"]) { if (int.Parse(Data["is_vip"].ToString()) == 1 && Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip")) ClubPage.AppendBoolean(true); // Enable? else if (int.Parse(Data["is_vip"].ToString()) == 0 && Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_club") || int.Parse(Data["is_vip"].ToString()) == 0 && Session.GetHabbo().GetSubscriptionManager().HasSubscription("habbo_vip")) ClubPage.AppendBoolean(true); // Enable? else ClubPage.AppendBoolean(false); // Enable? } else ClubPage.AppendBoolean(false); // Enable? } } Session.SendMessage(ClubPage); #endregion }
Now make a new catalogue page with one of these four captions and it would workCode:if (Page.Caption == "Rare Spider" || Page.Caption == "Rare Turtle" || Page.Caption == "Rare Frog" || Page.Caption == "Rare Dragon") { #region Races GetResponse().Init(827); #region Rare Spider if (Page.Caption == "Rare Spider") { GetResponse().AppendStringWithBreak("a0 pet8"); GetResponse().AppendInt32(1); GetResponse().AppendInt32(8); GetResponse().AppendInt32(14); GetResponse().AppendBoolean(true); GetResponse().AppendBoolean(false); SendResponse(); } #endregion #region Rare Turtle if (Page.Caption == "Rare Turtle") { GetResponse().AppendStringWithBreak("a0 pet9"); GetResponse().AppendInt32(1); GetResponse().AppendInt32(9); GetResponse().AppendInt32(10); GetResponse().AppendBoolean(true); GetResponse().AppendBoolean(false); SendResponse(); } #endregion #region Rare Frog if (Page.Caption == "Rare Frog") { GetResponse().AppendStringWithBreak("a0 pet11"); GetResponse().AppendInt32(1); GetResponse().AppendInt32(11); GetResponse().AppendInt32(14); GetResponse().AppendBoolean(true); GetResponse().AppendBoolean(false); SendResponse(); } #endregion #region Rare Dragon if (Page.Caption == "Rare Dragon") { GetResponse().AppendStringWithBreak("a0 pet12"); GetResponse().AppendInt32(1); GetResponse().AppendInt32(12); GetResponse().AppendInt32(7); GetResponse().AppendBoolean(true); GetResponse().AppendBoolean(false); SendResponse(); } #endregion #endregion }
Like me for my 'hard' work for finding out, it'll always help!





