Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
All furniture gone in room problem!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="KyleVonnie" data-source="post: 189480" data-attributes="member: 8477"><p>Try to run these SQL in your database. Be sure to make a backup before, just in case.</p><p> </p><p>[CODE]CREATE DEFINER=`root`@`localhost` PROCEDURE `getroomitems`(IN `roomid` INT(10) UNSIGNED)</p><p>BEGIN</p><p>SELECT items_rooms.item_id, items_rooms.x, items_rooms.y, items_rooms.n, items.base_id, items_extradata.data, items.rareid, items.group_data</p><p>FROM items_rooms</p><p>JOIN items ON (items.item_id = items_rooms.item_id)</p><p>LEFT JOIN items_extradata ON (items_extradata.item_id = items.item_id)</p><p>WHERE items_rooms.room_id = roomid;</p><p>END</p><p>;;</p><p>DELIMITER ;[/CODE]</p><p> </p><p>[CODE]CREATE DEFINER=`root`@`localhost` PROCEDURE `getuseritems`(IN `userid` INT(10) UNSIGNED)</p><p>BEGIN</p><p>SELECT items_users.item_id, items.base_id, items_extradata.data, items.rareid, items.group_data</p><p>FROM items_users</p><p>JOIN items ON (items.item_id = items_users.item_id)</p><p>LEFT JOIN items_extradata ON (items_extradata.item_id = items.item_id)</p><p>WHERE items_users.user_id = userid;</p><p>END</p><p>;;</p><p>DELIMITER ;[/CODE]</p></blockquote><p></p>
[QUOTE="KyleVonnie, post: 189480, member: 8477"] Try to run these SQL in your database. Be sure to make a backup before, just in case. [CODE]CREATE DEFINER=`root`@`localhost` PROCEDURE `getroomitems`(IN `roomid` INT(10) UNSIGNED) BEGIN SELECT items_rooms.item_id, items_rooms.x, items_rooms.y, items_rooms.n, items.base_id, items_extradata.data, items.rareid, items.group_data FROM items_rooms JOIN items ON (items.item_id = items_rooms.item_id) LEFT JOIN items_extradata ON (items_extradata.item_id = items.item_id) WHERE items_rooms.room_id = roomid; END ;; DELIMITER ;[/CODE] [CODE]CREATE DEFINER=`root`@`localhost` PROCEDURE `getuseritems`(IN `userid` INT(10) UNSIGNED) BEGIN SELECT items_users.item_id, items.base_id, items_extradata.data, items.rareid, items.group_data FROM items_users JOIN items ON (items.item_id = items_users.item_id) LEFT JOIN items_extradata ON (items_extradata.item_id = items.item_id) WHERE items_users.user_id = userid; END ;; DELIMITER ;[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
All furniture gone in room problem!
Top