Commit graph

30 commits

Author SHA1 Message Date
orbitaldecay
fe69396ff5 Made a few changes to the netplay this commit:
The response to a master server open game request is now handled by clientProcessMessages() - this is because the game socket is being utilized to send the open game request so that the master server will be able to detect the proper game port over NATs.
    I've moved the clientProcessMessages() function call out of netMain() and created a seperate thread that runs when the client is initialized.  I've done this for two reasons: 1. clientProcessMessages() handles all the join game stuff and I think joining games and initial handshaking should be done before the core is started (the whole press F9 at the black emu screen isn't very elegant).  2.  clientProcessMessages() doesn't need to be called from within the core via netMain(), all it does is handle packet receiving.. the queue and the frame sending are the only things that need to be timed via the core.
    I realize these changes may not be in accordance with the wishes of others, they can be easily reversed if there is any disagreement.  I've tested these changes on netplay and it works fine.  My ultimate goal with this change is to begin cleaning up the netplay user interface (graphical and commandline) and make it all a little more elegant.

Let me know if there are any problems :)
Bob
2008-07-12 18:36:19 +00:00
orbitaldecay
5cf2fff6cb Fixed a couple byte order bugs in the master server, testing some other things 2008-07-12 15:21:41 +00:00
orbitaldecay
43e3e0de1d Fixed an MD5 translation bug in master.c, a few other bug fixes. 2008-07-11 16:22:52 +00:00
orbitaldecay
50bb0a640e Cleaning up potential port number byte order conflicts between master server and client 2008-07-10 02:32:18 +00:00
orbitaldecay
2531ef82a7 Adding support for NAT punching, made a few small changes in client.c 2008-07-09 19:10:44 +00:00
orbitaldecay
ca0b0c4c81 * Fleshed out error checking in clientInitialize and added cleanup on function failure.
* Fixed compiler warning for incompatable pointer type (changed char* typecast to void*).
* Beefed up error checking in a couple other places
2008-07-08 14:25:35 +00:00
orbitaldecay
b2c193c190 Added code to master.c to launch thread to send periodic keep alive packets to master server. 2008-07-07 17:31:17 +00:00
orbitaldecay
2f993f5c2b Added MD5 list query and response to client.c and master_server.c, incorporated some simple test routines. 2008-07-04 17:46:42 +00:00
orbitaldecay
4b5d09c985 Added FIND_GAME query function to client.c 2008-07-04 17:17:20 +00:00
orbitaldecay
329bcd1773 Added masterServerOpenGame() function to client.c 2008-07-03 16:21:56 +00:00
orbitaldecay
13f888bfaf Added work completed so far on netplay gtk gui 2008-07-03 14:32:49 +00:00
orbitaldecay
7a40a591f1 Fixed linked list bug in master server 2008-07-02 18:53:34 +00:00
orbitaldecay
50e77e206d Added more functionality to test client to facilitate master server bug testing 2008-07-02 18:04:21 +00:00
orbitaldecay
49ca3c65d1 master server: fixed a couple memcpy & memcmp bugs, made test client more useful 2008-07-01 18:48:08 +00:00
orbitaldecay
32c17375b9 master_server: added info box on ctrl-c, made a few things prettier 2008-07-01 16:40:09 +00:00
orbitaldecay
c909897a64 Fixing packet truncation segfault bug that's been floating around for a revision or two 2008-06-30 19:08:56 +00:00
orbitaldecay
39671ebfe3 master_server.c: added support for fragmented game lists 2008-06-30 18:50:37 +00:00
orbitaldecay
b3c9ec4ce6 Added master server network protocol abstract to svn 2008-06-30 18:31:12 +00:00
orbitaldecay
e0f7cb7e31 master_server.c: added support for fragmented game lists 2008-06-30 18:04:29 +00:00
orbitaldecay
17ab3fbb76 Added linked list MD5 sorting code 2008-06-30 16:10:38 +00:00
orbitaldecay
c24b943e9b A handful of minor updates 2008-06-29 21:39:35 +00:00
orbitaldecay
956e1666b8 Created a simple test client for debugging the master server 2008-06-29 20:01:00 +00:00
orbitaldecay
ac494d327c Corrected improper handling of sigint in master_server.c 2008-06-29 19:13:22 +00:00
orbitaldecay
de9023c925 Fixed infinite loop bug in get_free_game_desc() in master_server.c, successive OPEN_GAME requests from the same host now overwrite each previous game entry (preventing possible d.o.s.) 2008-06-29 18:30:38 +00:00
orbitaldecay
d36f1d34cf Added master server code under tools directory 2008-06-29 17:48:47 +00:00
Richard Goedeken
10719cbb9b fix for regression test script to handle special chars in filename for image comparison 2008-04-29 12:00:33 +00:00
Richard Goedeken
9d505d10d0 improved regression test timeout message 2008-04-27 21:26:01 +00:00
Richard Goedeken
9014c12a24 Added video regression test script and config file 2008-04-27 19:56:15 +00:00
Richard Goedeken
3ad9e08591 Changed project name to Mupen64Plus 2008-03-15 16:23:36 +00:00
Richard Goedeken
cf8b8ca208 Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00