User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22

Thread: Multiplayer Online Capabilities?

  1. #1
    No Products Registered

    Join Date
    May 2007
    Location
    Chicago, IL USA
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multiplayer Online Capabilities?

    Looking into creating an application that works with online group of users. Already have done my homework and have sql database working together with MMF2: Developer for data transmittions. I am experimenting with various scripts that will execute desired commands.

    The data exchanges are almost all I need, but I would like to add some user interaction into application. It is to my understanding that there are only 4 players allowed within MMF2 PER computer, so what I am wondering is: If MMF2 only offers 4 players PER computer, how will I manage online users through event editor?

    Aware scripts can do different functions, and was also told I can use one of the Moos (similar to how I am using MooSock) for these commands, but mostly worried about event editor actions....having users subject to normal event editor cause and effects. (Ex: If online user "0013" clicks, or even having users online use "movements" & other MMF2 features.)

    Any informative tutorials on this subject or feedback would be greatly appreciated.

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Multiplayer Online Capabilities?

    You can't confuse with the internal players in MMF2 and MOO.
    They are 2 completely different things and used for 2 completely different types of games. For Moo you would not normaly use the other players as they are meant for player in the same EXE instance. (If that makes any sense)

    Similar to how MOO chats work you can have unlimited players and people you just need to work it out.

    One way might be to create the new player object (active object) and store the Moo ID in an alterable value. Then you can build some events to track what active object belongs to which moo user. I will dig up/recreate an old Moo example game that showed multiple players.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiplayer Online Capabilities?

    I am unsure exactly what your getting at, but if your talking about events working for "other machines" then this is how you view it.

    Using MooClick:
    Every client is individual, whatever is in your event editor will be completely local to the client and user thats playing the game/application, UNTIL you send that data to the server. The server then sends this data out to the other users. You then process that data using the individual client.

    So if you have arrow keys that move the user, that user will move with those keys on each individual client.

    Im not sure what you mean by MMF been limited by 4 players per machine. Unless you mean player controllers. Again remember each client is INDIVIDUAL.

    Either way for example - you on your application clicks a button that turns a light on.

    You then send this data to the server.

    The server then sends it out to everyone else

    The other clients hold a "Compare user ID + recieve message * on subchannel *"

    When this message is recieved, you turn the light on. This even would exist in every single client, including yours.

    If this what your getting at, you just have to get your head around the idea that you as a client can recieve and send the same data to everyone else.


    Now if your looking at managing other users locations, don't use the same object as yours for other players. Have a "player" and a "other player" icon.

    Each client will send co-ordinates of "the player".
    Then after the server sends out the information, the clients can place the "other player" in there location.

    Most important thing to remember is only send the data you need. Keep it limited as possible.

    This post is probably a lot of waffle to you, it depends how much experience you have in using MOO. Also what you have done with MooSock. And what your trying to achieve!

    There are a lot of examples about if you do searches for them. Some nice ones on the daily click. (If someone could find the link?)

    Id be happy to help you further, but would need to chat more properly than over a forum, it can get confusing, took a lot for me to learn it properly.

  4. #4
    No Products Registered

    Join Date
    May 2007
    Location
    Chicago, IL USA
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiplayer Online Capabilities?

    Spike,

    I know what you mean about progress.
    Many of my trials & tribulations have been diggin' and putting together with limited guidance.
    Many times when I reply to forum supports, I help as much as I can, but can't help but think how nice it would have been to find my answers in one location.
    So I do appreciate your support.

    I see how MooClick will be able to query things like position and other values.
    But limiting data exchange scares me on a scalability standpoint.

    When it comes to users, I would like them to have controls exactly the same as a regular "on the same machine" user would have. (like racecar,platform,etc. movements and other events)
    If I am using a coordinate value for X & Y...it would have to run every 1/100 of a second...and that isnt limiting data.

    I am looking for uses online...that would be comparible to uses with local .exe's (using 4 players on one machine)

    Is using this Moo method very limited, or could I ever expect a game with fluid updates and movements like on local developments?

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiplayer Online Capabilities?

    research dead reckoning, and DONT use moogamess, it doesnt work

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiplayer Online Capabilities?

    Ok, no game on the planet submits its data that fast .

    Dead Reckoning is the most important part to your coding.

    Remember, each user WILL have his/her own movement that is the same on each client.

    Simple example - Racing Car
    You start, racing along the straight, you send the acceleration / speed / position of yourself to the server

    The other clients then place you there, and you code into the client app that they continue to go at that speed. They will move the same on both apps, because nothing has changed.

    When the user turns a corner - send the data again, saying that he is turning. you dont need to keep sending information of a player that is continually travelling in a straight line.

    This is predicting there next location, and as long as new data is sent when they make a change, and it is updated, players stay where they should be. This limits data transfer, and allows for things to work a lot better.

    Hope that helps.

    edit: I would like to point out even games like World of Warcraft use a similar system.

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiplayer Online Capabilities?

    "and allows for things to work a lot better."
    unless packets are lost, where people will end up in weird places when they think they have stopped

  8. #8
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Multiplayer Online Capabilities?

    I found the great old example from Tigs that showed multiple players in MooClick. Should still work fine.

    You do need the full version of MMF as it uses String Parser 2 to parse some date.

    www.clickteam.info/MooClick_Game_Example.mfa

  9. #9
    No Products Registered

    Join Date
    May 2007
    Location
    Chicago, IL USA
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiplayer Online Capabilities?

    Spike,

    I think I am picking up what you are laying down.

    Wondered if the MooClick runs with a delay very similar to MooSock.
    Querys within MooSock take about 5 secs each.

    When using your racecar example from above, worried that if user is approaching zone (near to wall)...and event should happen when user gets in zone (like stop or de-accelerate)...the MooClick will have transmittion lag....forcing movements to be lagged.

    Is MooClick faster than MooSock? or the same?


  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Multiplayer Online Capabilities?

    "Querys within MooSock take about 5 secs each."
    you have it set in blocking mode, and your using recieve text line... what is sending the data (http server?) needs to send a blank line (add blank line in html file if http)

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Online Multiplayer?
    By D_Light in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 14th April 2013, 11:14 AM
  2. Online Multiplayer
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th July 2010, 04:01 PM
  3. Online multiplayer
    By robi in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 26th January 2008, 06:55 AM
  4. Online Multiplayer
    By Higgins in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 7th March 2007, 11:22 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
  •