User Tag List

Results 1 to 5 of 5

Thread: Locally hosting a game...

  1. #1
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Locally hosting a game...

    Is this how you setup a locally hosted game?

    There is an option to run an OINC server within MMF2 games - which I guess needs to be activated before you try to host a local game.

    Then, do you need to have the 'host' connect to localhost (127.0.0.1) while other players connect directly to the host's IP address?

    Is it as simple as that? Should I leave the MMF2 OINC server running permanently while the game is being run?

    There is also an exe file which runs a server on your computer - if I ran that, would that negate the need to start an OINC server from within MMF2 - and would that speed things up overall?

    Cheers

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locally hosting a game...

    The separate server is much better for performance than the in-mmf one.

    It needs to be running the whole time the game is being played multiplayer, or the players are in a lobby between matches or whatever. When not using the multiplayer part of your game, it should be closed.

  3. #3
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locally hosting a game...

    Hmm - is it possible then, to run the external server via MMF? I.e. install the server into the directory with the game, then from MMF, when instigating the multiplayer stuff to just run the server, perhaps as a background task or something (there must be an object to support that)

    That way you can save resources, but the player won't need to mess around starting servers and stuff.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Locally hosting a game...

    The inbuilt MMF2 server has the same performance as the external one. You just host it, connect to localhost or 127.0.0.1 and the other clients connect to your external IP address.

    The port you host on does need to be forwarded in the firewall or router.

  5. #5
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locally hosting a game...

    Well... that's a whole word of easier cheers Jamie

Similar Threads

  1. roadblock in runing MMF2 HTML5 on Wii U locally (via dev kit)
    By leuvsion in forum HTML5 Export Module 2.5
    Replies: 4
    Last Post: 20th December 2013, 10:57 AM
  2. Hosting a MOS on a domain?
    By DeepGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 4th October 2006, 12:02 PM

Posting Permissions

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