Mobiles Disco emulator
I was bored one Thursday evening, so i decided to try and create the fullest possible Mobiles emulator. I have learned a few things about mobiles, such as that the disco room can change colour and the spotlights move around. I have had to use my little knowledge left of Lingo to try and scrape out packets and functions so i can create them. This project is nicknamed pMobiles as it uses my Particle framework, im not sure if i even want to release this anymore since im afraid of people stealing like what usually happens to emulators.

    Quote:Features complete:

        Main room
        A* Pathfinding
        Disco room
        Furniture from database - Not yet solid
        Packet Handling
        SQL connection
        Sockets
        Login
        Ranks (1 = user, 2 = mod, 3 = admin, 4 = super admin/owner)
        Register
        Load rooms from database
        Room entry/exit
        Main & Disco room are linked
        Dancing
        Say
        Shout
        Whisper
        Modify Data
        Anti-hax - Not fully done, dont know some haxes yet Happy
        Multiuser
        Commands
        Object parser
        Sitting
        Spotlights
        Disco ball
        Lookto
        Disco room colour change
        Maarit (gives you drinks and can say when you were last online)



Code:
[B][U]Todo:[/U][/B]
Finish furnishing both rooms

    Quote:Commands
    :spotlight number move num/follow name
    :discoball on/off
    :drink name
    :lookto x y
    :alert message
    :alertuser name message
    :alertroom message
    :kickroom
    :kickall
    :goto roomid
    :kick user
    :roomcol HTMLCOLOURCODE (eg: #000000)
    :warp x y






Setup guide
Download the server, website, client and database from http://www.mediafire.com/?emmwzpz6zu2vo60 and extract them to wherever. Go into the pmobiles folder which is where the server is located, find debug.properties and edit it to suit your needs. You will need to edit the database connection information and perhaps port if you want. Next, if you havent already, import the database via phpMyAdmin or whichever software you can use, i would advise naming the database pmobiles for ease.

Now you have the database down, its time to learn how to start the server! This part is essential, do not skim read it. Create a new batch file named server_start.bat or whatever you want, aslong as it ends in .bat. If you made the bat file in the pMobiles folder, insert the following code and save, otherwise, you will have to cd to Particle.exe.
Code:
Particle debug.properties

Try and start the server, if it starts up and doesnt crash after "initializing rooms" then you can skip to the next step! If you failed and it crashed, you will need to check your debug.properties file and check that the database connection info is correct. If it still doesnt work, you will need to download the MySQL Connector 5.2.3 for the .NET framework. Use Google.

Now, you want to play don't you? YEIDO. Ok, make sure you have a web server such as XAMPP (<3). Stick the site folder into root directory, maybe rename it to "disco" or something. Once you have done that, you can go to http://localhost/disco/ or http://localhost/site/ to play. Please note, nobody else can connect right now, that is the next step!

So, you've tested it and ran around, want others to play? You will need to edit the hosts file, but luckily for you i have included the uncompiled file in the pmobiles directory. You will need Macromedia Director MX 2004 or above to edit this file. Once you have the program, open up the file and edit the text field where it says localhost to your ip address, and if so, the port so you dont have to use 1337. Once you have done that, go to file and then hit publish. Just replace the old hosts.cct with your new hosts.cct in the site/dcr folder and reload the client.

If all else fails, watch this video and then post (i wont reply to PMs Happybracket) telling me your problem and i'll post back trying to help you.