This is release and a tutorial on how to convert from Phoenix SQL's to PlusR2 SQL's and make the furnidata very easily. THESE FILES ONLY WORK FOR PHOENIX SQL'S IF YOU WANT BCSTORM ONES THEN EDIT THE PHP FILES YOURSELF.
First off what do you get:
3 php files. One creates the catalog_items SQL, the next creates the furniture SQL and the last creates the furnidata.xml
Download link:
https://www.mediafire.com/?llbdf4td4c5knlz
Ok, here's the TUT part. If you follow this correctly, you'll be fine and it'll work like a charm. If you can't, then try again BUT DO NOT POST FOR HELP. Kthanks.
Step 1.
Go to your database manager (Navicat or Phpmyadmin) and create a database and call it newcata, then run this SQL
Step 2, place the download files into your cms path (For Rev put it in your skin for Uber put it directly into the path htdocs or wwwroot), open all of them, then change up the top where it says "putpasswordhere" to your database's password and save. (Don't change anything else)
Step 3, aquire the Phoenix SQL's of the furni you want to add and run the SQL's into the database you just made known as newcata, once done, simply go to yoursite/items and copy te given code, and run it into your actual database (Note, edit the last line of code so the last character is a ; and not a ,) repeat by going to yoursite/items and do the same (copy, paste into actual database, edit last line of the SQL)
ALSO NOTE, if you use Uber you will need to add .php to end of the file links when going to them, so it'll be yoursitehere/items.php etc etc..
Step 4, go to yoursite/furnidata and wait a minute or two for it too look like this;
Once it looks like that, save it by pressing ctrl + s (or do something if you're on mac) and make sure you save it as whatevernamehere.xml (Must be in XML format) then simply replace your current furnidata_xml.xml with this one and boom. Reload your hotel, :update_items and :update_catalogue and boom. It should work going by that you followed this all correctly.
Well there you go amigos. If you like, maybe leave me a like and a good comment so I know I'm doing something good? :) By choice of course.
Note: This code is a bit old so I recommend changing in the items.php where it says '0',
''),<br /> to '',''),<br /> So that the items don't have a badge that doesn't exist. Also, it might not set the interaction type right so double check that as well. Either way, this is a start so don't flame if it doesn't work correctly.
Credits;
@MrSpooks for handing me the scripts,
People who made the scripts (I believe it was Username Here or w.e his name is today),
Myself for editing them to work on PlusR2 and making this shingdigz.
Have a nice day amigos and good luck. Also, do you want me to make a TUT on how to fix customs not working? Can do upto 5 items a minute.
First off what do you get:
3 php files. One creates the catalog_items SQL, the next creates the furniture SQL and the last creates the furnidata.xml
Download link:
https://www.mediafire.com/?llbdf4td4c5knlz
Ok, here's the TUT part. If you follow this correctly, you'll be fine and it'll work like a charm. If you can't, then try again BUT DO NOT POST FOR HELP. Kthanks.
Step 1.
Go to your database manager (Navicat or Phpmyadmin) and create a database and call it newcata, then run this SQL
Code:
DROP TABLE IF EXISTS `catalog_items`;
CREATE TABLE `catalog_items` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`page_id` int(11) NOT NULL,
`item_ids` varchar(120) NOT NULL,
`catalog_name` varchar(100) NOT NULL,
`cost_credits` int(11) NOT NULL,
`cost_pixels` int(11) NOT NULL,
`cost_snow` int(11) NOT NULL DEFAULT '0',
`amount` int(11) NOT NULL,
`vip` enum('0','1','2') NOT NULL DEFAULT '0',
`achievement` int(4) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- ----------------------------
-- Table structure for furniture
-- ----------------------------
DROP TABLE IF EXISTS `furniture`;
CREATE TABLE `furniture` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`public_name` varchar(100) NOT NULL COMMENT 'temp only',
`item_name` varchar(100) NOT NULL,
`type` enum('s','i','e','h','v') NOT NULL DEFAULT 's',
`width` int(11) NOT NULL DEFAULT '1',
`length` int(11) NOT NULL DEFAULT '1',
`stack_height` double NOT NULL DEFAULT '1',
`can_stack` enum('0','1') NOT NULL DEFAULT '1',
`can_sit` enum('0','1') NOT NULL DEFAULT '0',
`is_walkable` enum('0','1') NOT NULL DEFAULT '0',
`sprite_id` int(11) NOT NULL,
`allow_recycle` enum('0','1') NOT NULL DEFAULT '1',
`allow_trade` enum('0','1') NOT NULL DEFAULT '1',
`allow_marketplace_sell` enum('0','1') NOT NULL DEFAULT '1',
`allow_gift` enum('0','1') NOT NULL DEFAULT '1',
`allow_inventory_stack` enum('0','1') NOT NULL DEFAULT '1',
`interaction_type` enum('default','gate','postit','roomeffect','dimmer','trophy','bed','scoreboard','vendingmachine','alert','onewaygate','loveshuffler','habbowheel','dice','bottle','teleport','rentals','pet','roller','water','ball','bb_red_gate','bb_green_gate','bb_yellow_gate','bb_puck','bb_blue_gate','bb_patch','bb_teleport','blue_score','green_score','red_score','yellow_score','fbgate','tagpole','counter','red_goal','blue_goal','yellow_goal','green_goal','wired','wf_trg_onsay','wf_act_saymsg','wf_trg_enterroom','wf_act_moveuser','wf_act_togglefurni','wf_trg_furnistate','wf_trg_onfurni','pressure_pad','wf_trg_offfurni','wf_trg_gameend','wf_trg_gamestart','wf_trg_timer','wf_act_givepoints','wf_trg_attime','wf_trg_atscore','wf_act_moverotate','rollerskate','stickiepole','wf_xtra_random','wf_cnd_trggrer_on_frn','wf_cnd_furnis_hv_avtrs','wf_act_matchfurni','wf_cnd_has_furni_on','puzzlebox','switch','wf_act_give_phx','wf_cnd_phx') DEFAULT 'default',
`interaction_modes_count` int(11) NOT NULL DEFAULT '1',
`vending_ids` varchar(100) NOT NULL DEFAULT '0',
`is_arrow` enum('0','1') NOT NULL DEFAULT '0',
`height_adjustable` varchar(100) NOT NULL DEFAULT '0',
`effectM` int(3) NOT NULL DEFAULT '0',
`effectF` int(3) NOT NULL DEFAULT '0',
`foot_figure` enum('0','1') NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Step 3, aquire the Phoenix SQL's of the furni you want to add and run the SQL's into the database you just made known as newcata, once done, simply go to yoursite/items and copy te given code, and run it into your actual database (Note, edit the last line of code so the last character is a ; and not a ,) repeat by going to yoursite/items and do the same (copy, paste into actual database, edit last line of the SQL)
ALSO NOTE, if you use Uber you will need to add .php to end of the file links when going to them, so it'll be yoursitehere/items.php etc etc..
Step 4, go to yoursite/furnidata and wait a minute or two for it too look like this;

Once it looks like that, save it by pressing ctrl + s (or do something if you're on mac) and make sure you save it as whatevernamehere.xml (Must be in XML format) then simply replace your current furnidata_xml.xml with this one and boom. Reload your hotel, :update_items and :update_catalogue and boom. It should work going by that you followed this all correctly.
Well there you go amigos. If you like, maybe leave me a like and a good comment so I know I'm doing something good? :) By choice of course.
Note: This code is a bit old so I recommend changing in the items.php where it says '0',
''),<br /> to '',''),<br /> So that the items don't have a badge that doesn't exist. Also, it might not set the interaction type right so double check that as well. Either way, this is a start so don't flame if it doesn't work correctly.
Credits;
@MrSpooks for handing me the scripts,
People who made the scripts (I believe it was Username Here or w.e his name is today),
Myself for editing them to work on PlusR2 and making this shingdigz.
Have a nice day amigos and good luck. Also, do you want me to make a TUT on how to fix customs not working? Can do upto 5 items a minute.