Results 1 to 8 of 8

Thread: help me in making a multiplayer game!!

  1. #1

    help me in making a multiplayer game!!

    Yep, the question is pretty noobish, and it is going to get more noobish, so don't say i didn't warn ya!!

    Now,
    1)What is a good free socket server, i can use for learning?(don't say electroserver, please)
    2)Where can i find some good tutorials on php socket functions?(I tried php.net, but i lost myself in the huge documentation....i need something which is more tageted to the beginner)


    I am trying to make a two player Tic-Tac-Toe type game....but, I don't want to run a server from my computer, but i want, one of the flash clients to act as the server. Is it possible to make a flash client communicate with another one, without using a database in between?(pipeline) ......i mean i can write data to a database, and then the other client can periodically check and retrieve it! but i don't want that, i want the two clients to communicate within themselves, without using a database or text file or such. Is it possible? and if not...what will be the closest alternative?
    MY BLOG

    I need a SPRITER who can do pixel arts for an arcade fighter project. If you can help out, please pm me.
    I also need someone who can write simple xml files.


  2. #2
    Don't think it would be possible to make two movies communicate without using a database, file or server to control their communication. I may be ridiculously wrong, though.
    Bruno Palermo
    When everything is catastrophic, thank the Gods things aren't worse!

  3. #3
    Well, it is possible with a socket server, direct pipeline....but as i said, i will use the server, i just want one of the client to act as the server to the other...
    MY BLOG

    I need a SPRITER who can do pixel arts for an arcade fighter project. If you can help out, please pm me.
    I also need someone who can write simple xml files.


  4. #4
    It's impossible to allow flash to act as a socket server. It can't listen for connections. Either use Smart Fox server or make one using PHP (since you said you don't have a computer to run it on and most hosts won't allow .exe's).

    Just google for PHP socket server or look up the documentation for the PHP sockets.

    Look what google shows


    Honestly if you want to learn I'd say learn another programming language (python or C#). After you become more experienced then write your own socket server. Much nicer than using smart fox or PHP sockets.

  5. #5
    hmm...ok, but php sockets will require a batch file to constantly execute them on the server, to listen, right?I have a linux server, can i run batch files on it??
    MY BLOG

    I need a SPRITER who can do pixel arts for an arcade fighter project. If you can help out, please pm me.
    I also need someone who can write simple xml files.


  6. #6
    wow, I just gave you the information and there's tons of articles and code. I can't believe you just asked that. Did you even click on the first link in the google page?

  7. #7
    Yeah i clicked, and the 1st and 4th seems pretty good info, but thats a lot of info to read in a minute, i am asking this based on the tutorial on kirupa.
    MY BLOG

    I need a SPRITER who can do pixel arts for an arcade fighter project. If you can help out, please pm me.
    I also need someone who can write simple xml files.


  8. #8
    209
    posts
    Registered User
    I was working on a multiplayer game, and for that I modified a java based socket server that was created by someone else on the team. The java server would get connections from flash clients sending xml packets and pair them up with another connection. Then they would send back and forth xml packets to keep track of everything. No database was needed for the game itself because the java server kept track of all the variables on the stack. But we did use a database to collect statistics, which you wouldn't need.

    It took some time to learn the ins and outs of the socket server but I enjoyed working with java, so I would suggest that as a good solution. The one I worked with was built from scratch, so I don't know of any good open source ones, but I say just pick one and play around with it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012