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 Tutorials
[PlusEmu FIX]Public_Items doesn't have a default value[FIX]
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="NotoriousJameson" data-source="post: 404514" data-attributes="member: 65480"><p>(Warning: if you already have rooms made with floor plan editor, this will delete any black screened rooms and I've been searching for ages for this answer.)So for some of you who use *****'s PlusEMU and get this error on emulator, open up your database,</p><p>Copy the whole code below</p><p>[CODE]-- Table structure for `room_models`</p><p>-- ----------------------------</p><p>DROP TABLE IF EXISTS `room_models`;</p><p>CREATE TABLE `room_models` (</p><p> `id` varchar(100) NOT NULL,</p><p> `door_x` int(11) NOT NULL,</p><p> `door_y` int(11) NOT NULL,</p><p> `door_z` double NOT NULL,</p><p> `door_dir` int(4) NOT NULL DEFAULT '2',</p><p> `heightmap` text NOT NULL,</p><p> `public_items` VARCHAR(50) NOT NULL DEFAULT '0',</p><p> `club_only` enum('0','1') NOT NULL DEFAULT '0',</p><p> `poolmap` varchar(100) NOT NULL DEFAULT '',</p><p> `custom` enum('0','1') NOT NULL DEFAULT '0',</p><p> `wall_height` int(11) NOT NULL DEFAULT '-1',</p><p> PRIMARY KEY (`id`),</p><p> UNIQUE KEY `id` (`id`)</p><p>) ENGINE=InnoDB DEFAULT CHARSET=latin1;[/CODE]</p><p>After you paste this in, take room_models from your original SQL file and paste it in(in short, do not copy above from your database.sql FILE, this WILL mess it up again, only do the actual values.</p><p>Open up HeidiSQL(For MariaDB users), login with your root/password, open up your database, and open up room_models, then click on Tab: room_models, basic and change TEXT on public_items to VARCHAR and then put 0 as the default.</p><p>Bottom below and code is for fresh starters using another method, if you are using xampp/phpmyadmin, same applies, copy code, do a query(Save as a db.sql file then upload into database).</p><p>Remember, this will overwrite your current room_models, if you are fresh starting and a noob and couldn't find this, hope this helps anybody else with the problem!</p><p>Warning: You will have to manually remove your rooms from the database itself, they cannot be used and/or fixed. Any editing before doing the above will not fix the rooms already saved with floor plan but will make sure they work next time upon creation.</p></blockquote><p></p>
[QUOTE="NotoriousJameson, post: 404514, member: 65480"] (Warning: if you already have rooms made with floor plan editor, this will delete any black screened rooms and I've been searching for ages for this answer.)So for some of you who use *****'s PlusEMU and get this error on emulator, open up your database, Copy the whole code below [CODE]-- Table structure for `room_models` -- ---------------------------- DROP TABLE IF EXISTS `room_models`; CREATE TABLE `room_models` ( `id` varchar(100) NOT NULL, `door_x` int(11) NOT NULL, `door_y` int(11) NOT NULL, `door_z` double NOT NULL, `door_dir` int(4) NOT NULL DEFAULT '2', `heightmap` text NOT NULL, `public_items` VARCHAR(50) NOT NULL DEFAULT '0', `club_only` enum('0','1') NOT NULL DEFAULT '0', `poolmap` varchar(100) NOT NULL DEFAULT '', `custom` enum('0','1') NOT NULL DEFAULT '0', `wall_height` int(11) NOT NULL DEFAULT '-1', PRIMARY KEY (`id`), UNIQUE KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;[/CODE] After you paste this in, take room_models from your original SQL file and paste it in(in short, do not copy above from your database.sql FILE, this WILL mess it up again, only do the actual values. Open up HeidiSQL(For MariaDB users), login with your root/password, open up your database, and open up room_models, then click on Tab: room_models, basic and change TEXT on public_items to VARCHAR and then put 0 as the default. Bottom below and code is for fresh starters using another method, if you are using xampp/phpmyadmin, same applies, copy code, do a query(Save as a db.sql file then upload into database). Remember, this will overwrite your current room_models, if you are fresh starting and a noob and couldn't find this, hope this helps anybody else with the problem! Warning: You will have to manually remove your rooms from the database itself, they cannot be used and/or fixed. Any editing before doing the above will not fix the rooms already saved with floor plan but will make sure they work next time upon creation. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[PlusEmu FIX]Public_Items doesn't have a default value[FIX]
Top