User Tag List

Results 1 to 7 of 7

Thread: Problem with MooClick or with me? :D

  1. #1
    No Products Registered

    Join Date
    Jun 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with MooClick or with me? :D

    Hello!

    I was recently making an online game with MooClick (I know, I could use Lacewing, but I would have to rewrite much of the code, and I don't think it's a problem with MooClick), sending a message with a direction (up,down,left,right) each time a player takes a step. The actual movement and the animation for it happens on each connected computer similar to this example: http://www.castles-of-britain.com/gridmoveexample.mfa
    After some seconds of playing however it gets unsynchronised. I guess some steps just don't get sent, but honestly I don't know why. It's just this small line to send the direction when you push a button, so, is this a known problem of MooClick, that some things just don't seem to be sent, or is it some problem on my part?

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with MooClick or with me? :D

    Lacewing would be far better at this. In Mooclick, you have to send everything as a string, for example, "128,234" which is seven characters and seven bytes plus headers of data. In Lacewing, you can do stack sending which sends numbers, meaning you'd only have to send two bytes plus headers.

    More to your question, however, are you blasting data (UDP)? Because that is much faster than send (TCP) but very unreliable.

  3. #3
    No Products Registered

    Join Date
    Jun 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with MooClick or with me? :D

    I'm already thinking of changing to Lacewing. No I'm sending, not blasting. I made an example of the problem, by deleting most of the game and making a version for here. Just connect one of it with Host and the other with Join, walk around and soon one of them (or both) will be off at least 2 pixels for the other player. It adds up to a difference of many lines and looks like the other player can walk on the blocks. I know the code is quite scrambled and it looks easier in the actual application but I tried to remove most of the unneccessary things so the error may be clearer to you:
    Edit: Problem solved

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with MooClick or with me? :D

    It won't let me download. Can you upload to mfa.aquadasoft.com instead?
    Working as fast as I can on Fusion 3

  5. #5
    No Products Registered

    Join Date
    Jun 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with MooClick or with me? :D

    Edit: Problem solved

  6. #6
    No Products Registered

    Join Date
    Jun 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with MooClick or with me? :D

    I'm not sure about it now, but when I tested it earlier, I think it not only put the player off for a few pixels but also seemed to ignore sending some steps entirely, hence my original message here. I hope you can open it now

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with MooClick or with me? :D

    Prome & I worked on this in the chat. Just so everyone knows, he's got a working version in Lacewing now. I was able to reproduce the issue in Moo, but I couldn't figure it out either.
    Working as fast as I can on Fusion 3

Similar Threads

  1. Problem MooClick Shooter
    By The_Warrior in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th November 2010, 05:49 AM
  2. Mooclick problem
    By izac in forum File Archive
    Replies: 7
    Last Post: 23rd December 2007, 09:54 AM
  3. MooClick Problem: Channelmaster
    By Cocodrilo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th October 2007, 08:24 PM
  4. (Maybe Bug) Odd MooClick Problem
    By DizzyDoo in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 5th November 2006, 02:26 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
  •