Welcome to the RaGEZONE - MMORPG development forums.

How to setup a hotel using PHPRetro

This is a discussion on How to setup a hotel using PHPRetro within the Habbo Tutorials forums, part of the Habbo Hotel category; Hello I've seen that much people has problems with setting up PHPretro I can help you ;) WHAT YOU NEED: ...

LyncusMU
Page 1 of 5 12345 LastLast
Results 1 to 15 of 75
  1. #1
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    How to setup a hotel using PHPRetro

    Tabo Hotel
    Hello

    I've seen that much people has problems with setting up PHPretro
    I can help you ;)

    WHAT YOU NEED:
    PHPretro (http://rapidshare.com/files/29534583....10-stable.zip
    Xampp (http://www.apachefriends.org/en/xampp.html)
    Holograph Emulator with a valid database (http://code.assembla.com/AndrewHolo/subversion/nodes)

    1) Create a empty DB with the name: holodb and import the database

    2) Delete all tables with cms_ on the begin

    3) Copy all files of PHPretro to the root directory of xampp

    4) Go to: http://localhost/install

    5) Fill in everything in the installation

    This part tnx to Yifan_Lu for writing code

    6) FOR TDbP:

    Code:
    You will go to C:\xampp\apache\conf\extra\httpd-xampp.conf
    press CTRL + H and type in the first box "localhost" and then the second box, type in "127.0.0.1", then click the box called REPLACE ALL. After that, press CTRL + S to save the .conf file since you edited it.
    Tnx to: http://forum.ragezone.com/f335/tut-i...ssi-ed-592304/ for this

    7) If you use TDbP holo edition you need to do this step, else: skip it
    Open the file includes/data/holograph.php and change function update6 in:

    PHP Code:
        function update6($id,$time){
            
    $GLOBALS['serverdb']->query("UPDATE users SET lastvisit = '".$time."', ipaddress_last = '".$_SERVER['REMOTE_ADDR']."' WHERE id = '".$id."' LIMIT 1");
        } 
    8) Save the files and sign in to PHPretro

    9) Open the housekeeping and go to Settings > Site page

    10) Search for status image and set value to 'Disabled'

    11) Set up your dcr's text and IP in Settings > Hotel

    12) Turn on your server

    13) Open the client

    14) Now it works

    15) if not: register new account and check if works now

    16) Have Fun!

    Questions, you can ask here

    Mitchel
    Last edited by Parker; 20-10-09 at 06:24 AM. Reason: Edited step 6

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    PHPRetro Developer
    Rank
    Member +
    Join Date
    Jun 2007
    Location
    Next to a computer screen
    Posts
    711
    Liked
    146

    Re: Setting up a PHPretro hotel

    You can remove step 6, I found it was no longer needed.

    Step 7 is ONLY for Holograph emulators based on TDbP edition where it checks your IP.

  4. #3
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    Re: Setting up a PHPretro hotel

    Updated ;)

  5. #4
    PHPRetro Developer
    Rank
    Member +
    Join Date
    Jun 2007
    Location
    Next to a computer screen
    Posts
    711
    Liked
    146

    Re: Setting up a PHPretro hotel

    From this TUT: http://forum.ragezone.com/f335/tut-i...ssi-ed-592304/

    I THINK you need to do this for TDbP edition (not sure since I never used TDbP edition):

    You will go to C:\xampp\apache\conf\extra\httpd-xampp.conf
    press CTRL + H and type in the first box "localhost" and then the second box, type in "127.0.0.1", then click the box called REPLACE ALL. After that, press CTRL + S to save the .conf file since you edited it.

  6. #5
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    Re: Setting up a PHPretro hotel

    Updated too

  7. #6
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    May 2009
    Posts
    830
    Liked
    41

    Re: Setting up a PHPretro hotel

    Don't you need MySQL ODBC Connector and Visual C#. Something like that..
    To run the server? Just checking :)

  8. #7
    Newbie
    Rank
    Newbie
    Join Date
    Mar 2009
    Posts
    14
    Liked
    0

    Re: Setting up a PHPretro hotel

    Nederlander


    Could you possible upload the files to mediafire because i can't get on the site (phpretro.com)

  9. #8
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    Re: Setting up a PHPretro hotel

    Quote Originally Posted by MeetMeInHabbo View Post
    Don't you need MySQL ODBC Connector and Visual C#. Something like that..
    To run the server? Just checking :)
    yes but this is especially to phpretro self

  10. #9
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    256
    Liked
    4

    Re: Setting up a PHPretro hotel

    For some reason mine wont load the mus port...
    For example, it says something like
    connection.info.port=260">
    But mus says:
    connection.mus.port=">

    and yes i put a mus port in there and its displaying in the database ;s

  11. #10
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    May 2009
    Posts
    830
    Liked
    41

    Re: Setting up a PHPretro hotel

    Quote Originally Posted by nederlander View Post
    yes but this is especially to phpretro self
    Ok, just making sure. :)

  12. #11
    Newbie
    Rank
    Newbie
    Join Date
    Mar 2009
    Posts
    14
    Liked
    0

    Re: Setting up a PHPretro hotel

    Can you upload the files to mediafire someone plz!!!



    Man i really want this :(

  13. #12
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    Re: Setting up a PHPretro hotel

    Quote Originally Posted by Scrilla View Post
    Right now my files are here
    Code:
    C:\xampp\htdocs
    And I am accessing it by
    Code:
    http://localhost/
    I can only access the index page.
    check in your mysql database the cms_settings table
    then column site_path and be sure the value is http://localhost

    WITHOUT ENDING SLASH

    change it to your remote IP if you make it public
    Say if you have problems

  14. #13
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    Re: Setting up a PHPretro hotel

    Check your MySQL database table cms_settings column site_path and be sure the value is:
    http://localhost WITHOUT ENDING /
    to make your hotel public change it to http://YOUR_REMOTE_IP
    without ending /

  15. #14
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    Re: Setting up a PHPretro hotel

    Check your MySQL database table cms_settings column site_path and be sure the value is:
    http://localhost WITHOUT ENDING /
    to make your hotel public change it to http://YOUR_REMOTE_IP
    without ending /

  16. #15
    BANZAAAI :P
    Rank
    Member +
    Join Date
    May 2007
    Posts
    200
    Liked
    20

    Re: Setting up a PHPretro hotel

    I posted 2 reactions here but I can't see them

 

 
Page 1 of 5 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •