Re: Roombuilder [Phoenix]
There is no connecting to any database or any kind of saving of the room in the release.
If you want it to create a room with that model, you'll have to code it yourself.
Re: Roombuilder [Phoenix]
Quote:
Originally Posted by
Matata
There is no connecting to any database or any kind of saving of the room in the release.
If you want it to create a room with that model, you'll have to code it yourself.
Anyone who can help me with that?
Re: Roombuilder [Phoenix]
Quote:
Originally Posted by
DutchenL
Anyone who can help me with that?
Why don't you just try and figure it out yourself?
Re: Roombuilder [Phoenix]
Quote:
Originally Posted by
Matata
Why don't you just try and figure it out yourself?
I have no clue..
Re: Roombuilder [Phoenix]
Quote:
Originally Posted by
DutchenL
I have no clue..
Learn.
Re: Roombuilder [Phoenix]
There is.
Quote:
$create_room = "INSERT INTO `rooms` (`roomtype`, `caption`, `owner`, `description`, `model_name`, `wallthickness`, `floorthickness`) VALUES ('private', 'Eigen gemaakte kamer', '$owner', 'Je eigen gemaakte kamer met sunnieday editor', 'custom', '0', '0')"; $mapdata = $this->getMapData();
$map_reference_id = 9001;
if(!$inFile)
{
$mysqlresult = dbquery($create_room);
mysql_insert_id ($sql_result);
$mapdata = mysql_real_escape_string($mapdata);
}
$save_model_query = "INSERT INTO `room_models_customs` (`roomid`, `doorx`, `doory`, `modeldata`) VALUES ('$map_reference_id', '{$this->doorX}', '{$this->doorY}', '$mapdata')";
check class.heightmapcheck.php
Re: Roombuilder [Phoenix]
Quote:
Originally Posted by
MrBrian
There is.
check class.heightmapcheck.php
yeah but how does it make connection to my database? there is nothing in class.heightmapcheck where I should put root/password etc
Re: Roombuilder [Phoenix]
Re: Roombuilder [Phoenix]
Re: Roombuilder [Phoenix]
Quote:
Originally Posted by
DutchenL
yeah but how does it make connection to my database? there is nothing in class.heightmapcheck where I should put root/password etc
There isn't.
Re: Roombuilder [Phoenix]
From what I can surmise from the files, it seems to save as a file inside the maps folder with the sql generated code
Re: Roombuilder [Phoenix]
Quote:
Originally Posted by
Matata
There isn't.
I know, Im looking for someone who can make it and release it on ragezone
Re: Roombuilder [Phoenix]
just create daa base connect and insert the value of data in thetable
Re: Roombuilder [Phoenix]