Server:
mplay_session_create( sesname, 0, global.playername ); room_goto( rom_game );
Client:
if ( mplay_session_find() > 0 )
{
if ( show_question( "Found game: " + mplay_session_name( 0 ) + ". Join?" ) == true )
{
mplay_session_join( 0, global.playername);
room_goto( rom_game );
}
}
else
{
show_message("Failed to find sessions at " + ip);
mplay_end();
}
For some reason, when running two instances of the game on my computer, one the host and one the client, the client can never find a session. I have no firewalls of any sort enabled. Am I doing something wrong here, or should I just use a .dll to handle networking?
Edit:
Nevermind, solved the problem by switching to 39dll.
Edited by Huskehn, 19 February 2012 - 07:39 AM.











