Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jan 2010
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Configuring/Setting up a Game

    Hello Everyone,

    I am a bit new here and I am looking for some help. I have an online, multiplayer, web based game that was given to me and I want to run and host it on my system. The problem is that this is beyond my skills and I need some help, quit a bit of help actually. What I am looking for is an estimate of the time it would take them. So first let me tell you a little bit of what I want to do:

    The game code has two applications, a client and a server. The server is written in C, contains all the logic and has no interface at all except for writing logs. The client is written in Java and runs on the computer of every player. All it does is connects to the server and receives commands about what to display.

    The game was originally created and ran on a RedHat Linux 7.1 system. The server that I want to run the game on has Windows XP Pro installed on it. Since Windows in not POSIX compliant I know that a separate application would need to be installed.

    I suspect I will also need: a C compiler & a web server (I would like to use Xampp) to host the site and download the client. I can take care of the web server stuff, I just need to get the game working.

    I was also told that I would probably need to learn a non-gui text editor such as "Vim" but something like “nano” would work also. I know nothing about these programs, but that is why I am looking for help.

    Here are the instructions that were given to me to setup the game, but I need some help as I just don’t understand it all.

    1) Requirements:

    A C compiler (The previous person used gcc)
    An http server with a cgi directory enabled (The previous person used Apache)
    Perl with an MD5 module
    Properly configured sendmail so users can receive confirmation codes.
    A open port so clients can connect. 43302 is currently used.
    Some disk space, depending on your logging wishes.


    2) Compile the server daemon.

    The source code will be found in phantasia/src. You will first need to
    modify all the directory paths in pathnames.h to match your installation. You may also want to modify what is logged by commenting/uncommenting the
    define statements in include.h. When ready, if you're lucky, you can compile
    the server daemon with the command "make".


    3) Put up the web pages.

    All Phantasia web pages are in the public_html directory. Most are static
    web pages, although there are a few cgi perl scripts in public_html/cgi-bin.
    Set up your server so these can be accessed via a remote web browser. As a
    note, java applets are only permitted to initiate a connection back to the
    system they were loaded from, therefore, the server daemon must be running
    on the same system the applet is loaded from.

    Be careful of the cgi scripts. They send read a number from conf/cookie to
    send to new players so they can be identified. If the script can not access
    this file or does not have permissions to modify it, each player will be sent
    the same identification number causing them all to be banned if one is.


    4) Start the Phantasia server.

    You should just be able to run the compiled program from step 2. Problems are
    either logged to stdout or the error log file. Watch for problems in both
    locations.


    5) See if one of the clients can connect.

    Open the web pages from a remove machine and open the game. If all goes well,
    there should be a connection. If the client hangs or gives a message about
    a null connection, then more tweaking needs to be done on the configuration.
    I may have the time to answer a question or two, but do not ask me to
    troubleshoot your installation.


    6) Automate the server tasks.

    Phantasia 4 is not stable and will crash due to the number of threads the game
    spawns. As a workaround, I have included scripts to restart the game. The
    conf/rc.phant script will check to see if a game is running and restart it if
    it is not. Make sure you set the internal paths of this script. crontab.stuff
    will run rc.phant every 15 minutes as well as call a logrotate job at 2am every
    morning.



    Tell me what you think. If you feel that you could help me to configure and set this up for me via remote desktop please let me know. All input is welcome.


    Thank you,

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    How much are you paying?

  • #3
    Senior Coder
    Join Date
    Jul 2009
    Location
    South Yorkshire, England
    Posts
    2,318
    Thanks
    6
    Thanked 304 Times in 303 Posts
    Quote Originally Posted by Fumigator View Post
    How much are you paying?
    It's in the 'request quote' section.

  • #4
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Quote Originally Posted by MattF View Post
    It's in the 'request quote' section.
    OK let me rephrase that: What is your budget for this project?

  • #5
    New Coder
    Join Date
    Jan 2010
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts
    To be honest I really don't know because I don't know how long it would take or how involved it is. From what I can see $50. The code is already written, all I need it someone who knows more than me to set it up. Fumigator, do you think you can do this? Any ideas on how long it would take? Do you need any more information from me to tell?

    Please let me know.

    Thanks,

  • #6
    New Coder
    Join Date
    Jan 2010
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Let me also ask, is something like this even able to run on a Windows machine or am I forced to use a Linux based system?


  •  

    Posting Permissions

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