Release it
Printable View
Going to update the main tread with the latest found bugs. Could you guys help me find them :$
So it's easier to fix them :D
I advice you guys to create an account @ https://bliep.me ;)
Since that's the latest version and one of the most updated Plus edition ;p
Are there bugs then lol?
I cant find any on my and Duckietm's hotel with 280+ online without lagg. so yeahh it can hold 15+<<<<<<<<< (I use my own plus r2 edit but i think you can also hold 60+ with this edit :P)
So where are you peaple talking about??
Ps i cant release fixes at the moment because my laptop adapter is broken and im on vacation ;P
Gr spotify
I'm kind of confused, your SOS tickets works fine but mine doesn't?
Have I missed anything? The fixes doesn't work, still DC when picking ticket.
http://forum.ragezone.com/f353/plus-...ml#post8164116
Posted a bug previous page.
Anyone experienced the huge bug that when u pick some furni it stays in the room untill it's reloaded?
I'm working on a fix, so if someone got a advice for me feel free to let me know.
- - - Updated - - -
Oh and I got to notice that some mod tool fixes are not implented in this new release.
For example when u try to send a ticket it causes an aritmetic operation overflow, which occures when u try to assign a too large value to an integer.
FIX:
Go to SupportTicket.css and change
toCode:Message.AppendInt32((SilverwaveEnvironment.GetUnixTimestamp() - (int)this.Timestamp) * 1000);
credits: thegeneralCode:Message.AppendInt32((SilverwaveEnvironment.GetUnixTimestamp() - (int)this.Timestamp));
That should to the trick.
They is a problem with :sa command it cuts out few words example :sa Hello World you'll only get Hello but not the world
Hello, My ragezone the release came today to fix the tv's are not 100% Only to remember!
So here we go.
Search for: internal void InitRoomGroupBadges()
Above that add:
Then look for:Code:internal void GetPlaylistYoutube()
{
uint ItemId = Request.PopWiredUInt();
DataTable Ytplaylist;
Room room = SilverwaveEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId);
if (room == null || !room.CheckRights(this.Session, true))
return;
using (IQueryAdapter dbClient = SilverwaveEnvironment.GetDatabaseManager().getQueryreactor())
{
dbClient.setQuery("SELECT videoid, titre, descri FROM user_playlistyoutube WHERE user_id=@id LIMIT 20");
dbClient.addParameter("id", room.OwnerId);
Ytplaylist = dbClient.getTable();
}
int CountVideo = Ytplaylist.Rows.Count;
if (CountVideo == 0)
return;
GetResponse().Init(Outgoing.GetPlaylistYoutube);
GetResponse().AppendInt32(ItemId); // Id ITEM
GetResponse().AppendInt32(CountVideo); // Count Video
foreach (DataRow Row in Ytplaylist.Rows)
{
GetResponse().AppendString(Row["videoid"].ToString()); //Id Video
GetResponse().AppendString(Row["titre"].ToString()); // Title
GetResponse().AppendString(Row["descri"].ToString()); // desc
}
GetResponse().AppendString("La playlist de " + room.Owner); // Text box
SendResponse();
}
//YT
internal void PlayVideoYoutube()
{
GetResponse().Init(Outgoing.PlayVideoYoutube);
GetResponse().AppendInt32(Request.PopWiredInt32()); // Id ITEM
GetResponse().AppendString(Request.PopFixedString()); //Id VIDEO
GetResponse().AppendInt32(0); // ???
GetResponse().AppendInt32(0); // ???
SendResponse();
}
Below that add:Code:internal static void WalkOnSnow(GameClientMessageHandler handler) {
handler.WalkOnSnow();
}
Then look for:Code:internal static void GetPlaylistYoutube(GameClientMessageHandler handler) {
handler.GetPlaylistYoutube();
}
internal static void PlayVideoYoutube(GameClientMessageHandler handler)
{
handler.PlayVideoYoutube();
}
Below that add:Code:handlers.Add(Incoming.SnowWalk, new StaticRequestHandler(SharedPacketLib.WalkOnSnow));
Code:handlers.Add(Incoming.GetPlaylistYoutube, new StaticRequestHandler(SharedPacketLib.GetPlaylistYoutube));
handlers.Add(Incoming.PlayVideoYoutube, new StaticRequestHandler(SharedPacketLib.PlayVideoYoutube));
Final result: http://i.imgur.com/QzTiSvf.pngCode:Sql's:
CREATE TABLE IF NOT EXISTS `user_playlistyoutube` ( `id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`videoid` varchar(20) NOT NULL,
`titre` varchar(50) NOT NULL,
`descri` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED AUTO_INCREMENT=2 ;
--
-- Extraindo dados da tabela `user_playlistyoutube`
--
INSERT INTO `user_playlistyoutube` (`id`, `user_id`, `videoid`, `titre`, `descri`) VALUES
(1, 1, 'istJXUJJP0g', 'James brown', 'James brown - payback');
Catalog_pages:
INSERT INTO `catalog_pages` (`id`, `parent_id`, `caption`, `icon_color`, `icon_image`, `visible`, `enabled`, `min_rank`, `club_only`, `order_num`, `page_layout`, `page_headline`, `page_teaser`, `page_special`, `page_text1`, `page_text2`, `min_sub`, `page_text_details`, `page_text_teaser`, `vip_only`, `page_link_description`, `page_link_pagename`) VALUES
(1654, 5, 'Youtube TV', 1, 1, '1', '1', 1, '0', 1634, 'default_3x3', '', '', '', '', '', 0, '', '', '0', '', '');
Catalog_items:
INSERT INTO `catalog_items` (`id`, `page_id`, `item_ids`, `catalog_name`, `cost_credits`, `cost_belcredits`, `cost_duckets`, `amount`, `vip`, `achievement`, `song_id`, `limited_sells`, `limited_stack`, `offer_active`, `extradata`, `badge`, `flat_id`) VALUES
(999888636, 1654, '999888636', 'yttv1', 1, 0, 0, 1, '0', 0, 0, 0, 0, '1', '', '', -1),
(999888634, 1654, '999888634', 'yttv3', 1, 0, 0, 1, '0', 0, 0, 0, 0, '1', '', '', -1),
(999888637, 1654, '999888637', 'yttv2b', 1, 0, 0, 1, '0', 0, 0, 0, 0, '1', '', '', 12681),
(999888783, 1654, '999888783', 'yttv2n', 1, 0, 0, 1, '0', 0, 0, 0, 0, '1', '', '', -1),
(999888635, 1654, '999888635', 'yttv2', 1, 0, 0, 1, '0', 0, 0, 0, 0, '1', '', '', 12679);
Sorry my bad english, cause I'm brazilian Thank you! ^^
TheWulles, that code requires people to have rights to the room before they can view the videos, also remember to give credits where it's due..
Thank you very much! Seems nice and functional. :)
Does someone have a fix for CFH sent message?
Can anyone upload the emulator with the fixes, as there are multiple downloads in the reactions which makes it hard for me to add the fixes. Would really appreciate it. (:
Work fine!
sorry i'm french developer! xD
case "builders_club_frontpage_normal":
base.WriteString("builders_club_frontpage");
base.WriteInteger(0);
base.WriteInteger(1);
base.WriteString(Page.LayoutHeadline);
base.WriteInteger(3);
base.WriteInteger(8554);
base.WriteString("builders_club_1_month");
base.WriteString("");
base.WriteInteger(2560000);
base.WriteInteger(2560000);
base.WriteInteger(1024);
base.WriteInteger(0);
base.WriteInteger(0);
base.WriteBoolean(false);
base.WriteInteger(8606);
base.WriteString("builders_club_14_days");
base.WriteString("");
base.WriteInteger(2560000);
base.WriteInteger(2560000);
base.WriteInteger(1024);
base.WriteInteger(0);
base.WriteInteger(0);
base.WriteBoolean(false);
base.WriteInteger(8710);
base.WriteString("builders_club_31_days");
base.WriteString("");
base.WriteInteger(2560000);
base.WriteInteger(2560000);
base.WriteInteger(1024);
base.WriteInteger(0);
base.WriteInteger(0);
base.WriteBoolean(false);
break;
More for you guys:
Code:case "builders_3x3":
Message.AppendStringWithBreak("BUILDERS_CLUB");
Message.AppendStringWithBreak("default_3x3_color_grouping");
Message.AppendInt32(3);
Message.AppendStringWithBreak(Page.LayoutHeadline);
Message.AppendStringWithBreak(Page.LayoutTeaser);
Message.AppendStringWithBreak(Page.LayoutSpecial);
Message.AppendInt32(3);
Message.AppendStringWithBreak(Page.Text1);
Message.AppendStringWithBreak(Page.TextDetails.Replace("[10]", Convert.ToChar(10).ToString()).Replace("[13]", Convert.ToChar(13).ToString()));
Message.AppendStringWithBreak(Page.TextTeaser.Replace("[10]", Convert.ToChar(10).ToString()).Replace("[13]", Convert.ToChar(13).ToString()));
break;
case "builders_club_frontpage":
Message.AppendString("BUILDERS_CLUB");
Message.AppendString("builders_club_frontpage");
Message.AppendInt32(0);
Message.AppendInt32(1);
Message.AppendString(Page.LayoutHeadline);
Message.AppendInt32(3);
Message.AppendInt32(8554);
Message.AppendString("builders_club_1_month");
Message.AppendString("");
Message.AppendInt32(2560000);
Message.AppendInt32(2560000);
Message.AppendInt32(1024);
Message.AppendInt32(0);
Message.AppendInt32(0);
Message.AppendBoolean(false);
Message.AppendInt32(8606);
Message.AppendString("builders_club_14_days");
Message.AppendString("");
Message.AppendInt32(2560000);
Message.AppendInt32(2560000);
Message.AppendInt32(1024);
Message.AppendInt32(0);
Message.AppendInt32(0);
Message.AppendBoolean(false);
Message.AppendInt32(8710);
Message.AppendString("builders_club_31_days");
Message.AppendString("");
Message.AppendInt32(2560000);
Message.AppendInt32(2560000);
Message.AppendInt32(1024);
Message.AppendInt32(0);
Message.AppendInt32(0);
Message.AppendBoolean(false);
break;
case "builders_club_addons":
Message.AppendString("BUILDERS_CLUB");
Message.AppendString("builders_club_addons");
Message.AppendInt32(0);
Message.AppendInt32(1);
Message.AppendString(Page.LayoutHeadline);
Message.AppendInt32(3);
Message.AppendInt32(8557);
Message.AppendString("builders_club_addon_45furnis");
Message.AppendString("");
Message.AppendInt32(2560);
Message.AppendInt32(0);
Message.AppendInt32(1);
Message.AppendInt32(0);
Message.AppendInt32(0);
Message.AppendBoolean(false);
Message.AppendInt32(8556);
Message.AppendString("builders_club_addon_250furnis");
Message.AppendString("");
Message.AppendInt32(12800);
Message.AppendInt32(0);
Message.AppendInt32(1);
Message.AppendInt32(0);
Message.AppendInt32(0);
Message.AppendBoolean(false);
Message.AppendInt32(8555);
Message.AppendString("builders_club_addon_600furnis");
Message.AppendString("");
Message.AppendInt32(25600);
Message.AppendInt32(0);
Message.AppendInt32(1);
Message.AppendInt32(0);
Message.AppendInt32(0);
Message.AppendBoolean(false);
break;
FBGATE FIX:
search:
internal string Gender;
and place it below:
internal string tempGender;
internal string tempLook;
go to RoomUserManager.cs
and search: case InteractionType.fbgate:
and remplace:
case InteractionType.fbgate:
{
if (cyclegameitems)
{
if (User.team != Item.team)
User.team = Item.team;
else if (User.team == Item.team)
User.team = Team.none;
if (!string.IsNullOrEmpty(Item.Figure))
{
//User = GetUserForSquare(Item.Coordinate.X, Item.Coordinate.Y);
if (User != null && !User.IsBot)
{
if (User.Coordinate == Item.Coordinate)
{
if (User.GetClient().GetHabbo().Gender != Item.Gender && User.GetClient().GetHabbo().Look != Item.Figure)
{
User.GetClient().GetHabbo().tempGender = User.GetClient().GetHabbo().Gender;
User.GetClient().GetHabbo().tempLook = User.GetClient().GetHabbo().Look;
User.GetClient().GetHabbo().Gender = Item.Gender;
User.GetClient().GetHabbo().Look = Item.Figure;
}
else
{
User.GetClient().GetHabbo().Gender = User.GetClient().GetHabbo().tempGender;
User.GetClient().GetHabbo().Look = User.GetClient().GetHabbo().tempLook;
}
Console.WriteLine();
ServerMessage RoomUpdate = new ServerMessage(Outgoing.UpdateUserInformation);
RoomUpdate.AppendInt32(User.VirtualId);
RoomUpdate.AppendString(User.GetClient().GetHabbo().Look);
RoomUpdate.AppendString(User.GetClient().GetHabbo().Gender.ToLower());
RoomUpdate.AppendString(User.GetClient().GetHabbo().Motto);
RoomUpdate.AppendInt32(User.GetClient().GetHabbo().AchievementPoints);
room.SendMessage(RoomUpdate);
}
}
}
}
break;
}
CRÉDITS:
MoNiKoS on keko. (99%)