PDA

View Full Version : Multi-player Interaction


drewt781
01-23-2006, 02:20 PM
I was wondering if there was any really GOOD way to provide multi-player interaction? I was thinking about using XML sockets but I'm not sure if they will be fast enough. I also heard about IRC from a friend. Which would you guys prefer to use. Like say for example a game with 50 players at one time.

Lui
01-23-2006, 02:32 PM
I asked something like this, and I think skye replied, let me go look for it.

EDIT: Found it! I asked for LAN though, but it might work for yours
http://forums.xgenstudios.com/showthread.php?t=24883&highlight=multiplayer
tell me if you get anything working ;)

drewt781
01-23-2006, 03:01 PM
Now I'm even more intruiged...I want to write it myself with C++ but I have no clue how.
*If anyone wants to help with that, please post here too!*

Lui
01-23-2006, 03:32 PM
Read the whole thread, I think TBC posted a tutorial on how to do that.

The Brown Cow
01-23-2006, 03:56 PM
Yep, here's a tutorial of sorts for a PHP socket-server: http://www.zend.com/pecl/tutorials/sockets.php

Lui
01-23-2006, 04:14 PM
And I was right :)

drewt781
01-23-2006, 05:44 PM
Thank both of you!

arkhan
01-24-2006, 03:33 AM
Im not sure, but java is usually better for this kind of server-side things than C++

The Brown Cow
01-24-2006, 03:46 PM
Java, PHP, C++... It's all good.

Stick Arena uses a C++ socket-server, as I recall. Java would be great too. It all depends on your experience and needs.