Here I post the fix to upload in your hotels the badges displayers
In your emulator:
Find
Under it add:Code:
- case "roomads":
- base.WriteString("roomads");
- base.WriteInteger(2);
- base.WriteString("events_header");
- base.WriteString("");
- base.WriteInteger(2);
- base.WriteString("");
- base.WriteString("");
- //base.WriteInteger(1);
- break;
Find:Code:
- case "badge_display":
- base.WriteString("badge_display");
- base.WriteInteger(2);
- base.WriteString(Page.LayoutHeadline);
- base.WriteString(Page.LayoutTeaser);
- base.WriteInteger(3);
- base.WriteString(Page.Text1);
- base.WriteString(Page.Text2);
- base.WriteString(Page.TextDetails);
- break;
Under it add:Code:
- case InteractionType.mannequin:
- ExtraData = "m" + Convert.ToChar(5) + "ch-215-92.lg-3202-1322-73" + Convert.ToChar(5) +"Default Mannequin";
Find:Code:
- case InteractionType.badge_display:
- break;
Under it add:Code:
- gld_item,
- gld_gate,
Find:Code:badge_display,
Under it add:Code:
- case "bot1":
- return InteractionType.bot1;
At last find:Code:
- case "badge_display":
- return InteractionType.badge_display;
Above it add:Code:
- else if (this.GetBaseItem().InteractionType == InteractionType.roombg)
Here are the swf:Code:
- else if (this.GetBaseItem().InteractionType == InteractionType.badge_display)
- {
- Message.AppendInt32(0);
- Message.AppendInt32(2);
- Message.AppendInt32(4);
- Message.AppendString("0");
- Message.AppendString(this.ExtraData);
- Message.AppendString("");
- Message.AppendString("");
- }
http://www.mediafire.com/download/4c...+%28SWF%29.rar
Here the sqls:
catalog_items
catalog_pagesCode: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
(6778421, 5004, '999888479', 'badge_display2', 5, 0, 1, 1, '0', 0, 0, 0, 0, '1', '', '', 12463),
(6778422, 5004, '999888480', 'badge_display', 5, 0, 1, 1, '0', 0, 0, 0, 0, '1', '', '', 12464),
(6778423, 5004, '999888481', 'badge_display4', 5, 0, 1, 1, '0', 0, 0, 0, 0, '1', '', '', 12466),
(6778424, 5004, '999888482', 'badge_display3', 5, 0, 1, 1, '0', 0, 0, 0, 0, '1', '', '', 12467),
(6778425, 5004, '999888483', 'badge_display5', 5, 0, 1, 1, '0', 0, 0, 0, 0, '1', '', '', 12471);
Code: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
(5004, -1, 'Expositores de Placas', 1, 1051, '1', '1', 0, '0', 5, 'badge_display', '', '', ' ', '', ' ', 0, 'Click on an item for more information.', ' ', '0','','');
In the catalog_pages you have to add in page_layout 'badge_display' and in Furniture you have to add in interaction_type 'badge_display'. You must to change the Structure of the table in the database.Code:INSERT INTO `furniture` (`id`, `public_name`, `item_name`, `type`, `width`, `length`, `stack_height`, `can_stack`, `can_sit`, `is_walkable`, `sprite_id`, `allow_recycle`, `allow_trade`, `allow_marketplace_sell`, `allow_gift`, `allow_inventory_stack`, `interaction_type`, `interaction_modes_count`, `vending_ids`, `is_arrow`, `foot_figure`, `stack_multiplier`, `subscriber`, `effectid`, `height_adjustable`, `flat_id`, `revision`, `description`, `specialtype`, `canlayon`) VALUES
(999888479, 'Badge Display Case', 'badge_display2', 's', 2, 2, '1', '1', '0', '0', 5013, '1', '1', '1', '1', '1', 'badge_display', 1, '0', '0', '0', '0', '0', 0, '0', 12463, 45561, 'Show off your favourite badge!', 1, '0'),
(999888480, 'Badge Display Case', 'badge_display', 's', 1, 1, '1', '1', '0', '0', 5014, '1', '1', '1', '1', '1', 'badge_display', 1, '0', '0', '0', '0', '0', 0, '0', 12464, 45561, 'Show off your favourite badge!', 1, '0'),
(999888481, 'Badge Display Case', 'badge_display4', 's', 1, 1, '1', '1', '0', '0', 5015, '1', '1', '1', '1', '1', 'badge_display', 1, '0', '0', '0', '0', '0', 0, '0', 12466, 47260, 'Show off your favourite badge!', 1, '0'),
(999888482, 'Badge Display Case', 'badge_display3', 's', 1, 1, '1', '1', '0', '0', 5016, '1', '1', '1', '1', '1', 'badge_display', 1, '0', '0', '0', '0', '0', 0, '0', 12467, 45576, 'Show off your favourite badge!', 1, '0'),
(999888483, 'Badge Display Case', 'badge_display5', 's', 1, 1, '1', '1', '0', '0', 5017, '1', '1', '1', '1', '1', 'badge_display', 1, '0', '0', '0', '0', '0', 0, '0', 12471, 45615, 'Show off your favourite badge!', 1, '0');
Icon:
http://prntscr.com/35vj39 http://prntscr.com/35vj39
Images:
http://i.imgur.com/bDMvik5.png
Credits:
Phserk
Custom
Me
Enjoy it!

