User Tag List

Results 1 to 8 of 8

Thread: (Maybe Bug) Odd MooClick Problem

  1. #1
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    (Maybe Bug) Odd MooClick Problem

    I have an extremely odd problem with Mooclick. My program is just a simple connect, and then the player can send messages to each other. I then run two of them connecting to helper3000.net and they connect fine. A message successfully comes up when someone joins the channel or leaves it. However, when I attempt to send text to user... nothing happens. Here's my code:

    Code:
    +Player is moving
    +Every 00"-20 seconds
    -User send: Str$(X( "ME" ))+","+Str$(Y( "ME" )) on subchannel 1 to User
    And the receiving events:

    Code:
    +Player on Message
    +P_OnMessage_GetSubchannel( "MooClick" ) on subchannel 1 
    +Alterable A of Remote-Player = PCU_GetID( "MooClick" )
    -String Parser: Set source string to P_OnMessage_GetText$( "MooClick" )
    -Remote Object- Set X position to Val(listGetAt$( "String Parser", 1))
    -Remote Object- Set Y position to Val(listGetAt$( "String Parser", 2))
    Very simple stuff, but despite good connections, nothing is received. The odd thing is, I run the same code in MMF1.5, and it works perfectly.

    Ideas?
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    880
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Maybe Bug) Odd MooClick Problem

    Maybe something so silly than sending XY on time interval doesnt work?

    Heh, anyway, you should send in on the channel, you send it to user which isnt specified here.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    Merseyside, UK
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Maybe Bug) Odd MooClick Problem

    Yes, you will need to select the user to send to on a certain channel before using the Send to User action.

  4. #4
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Maybe Bug) Odd MooClick Problem

    Why don't you use MooGame?

    If not, you should make a type of dead reckoning and only check the positions if it fails

  5. #5
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Maybe Bug) Odd MooClick Problem

    Oh sorry, yes, I have been sending on channel. I changed it to test if I was doing something wrong there.

    Changed it back, but still not working. Okay, I've tried a chat application that did work but now doesn't... in MMF2 as well. What can I do?
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  6. #6
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    880
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Maybe Bug) Odd MooClick Problem

    If you send to user, you have to specify which user you want send data to. You only need to use: Channel: Send text.

    User is good for Usern join or events where you select user and then send to user.

  7. #7
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Maybe Bug) Odd MooClick Problem

    Thanks Blizna, I'll keep that in mind, I still don't understand all events in Mooclick yet.

    I fixed it! Finally, it was a stupid mistake of mine, sending the X and Y of a completely wrong object, and reading to another wrong one... Thanks to all who attempted to help.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  8. #8
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    880
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Maybe Bug) Odd MooClick Problem

    No problem, but think about better method, sending XY "every" will make your game laggy and high traffic when there are more players.

    Examples: Send X,Y only when delta X,Y is greater

    Grid. Send only when object reaches any other cell. Very nice method, you can easily change the size of cell and so handle with the "interval" of sending position (in small cells it will send more often and so)

    Anyway, every method needs to have good dead reckoning..

Similar Threads

  1. Problem with MooClick or with me? :D
    By Prome in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th June 2011, 01:10 AM
  2. Problem MooClick Shooter
    By The_Warrior in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th November 2010, 05:49 AM
  3. Mooclick problem
    By izac in forum File Archive
    Replies: 7
    Last Post: 23rd December 2007, 09:54 AM
  4. MooClick Problem: Channelmaster
    By Cocodrilo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th October 2007, 08:24 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
  •