User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Bug occurs, cripples unrelated events: MMF2bug?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bug occurs, cripples unrelated events: MMF2bug?

    Take a look at this.

    Place squares at mouse with mouse1. Keep placing squares till you see the error, you will need at least over 50 squares on the scene to see this. You will notice that actions suddenly stop working. The triggers won't position themselves correctly to it's ID companion, and even weirder; simple debug commands won't comply. And even weirder still; I made a test to see if completely unrelated events would cripple when the bug occurs, it does.

    I've made it easy to debug.
    Test if badguy and trigger have the same ID by isolating one badguy:
    - Aim at badguys and hold mouse2 (move mouse slowly) to reposition badguys at mouse pos.

    Test if triggers will follow their ID companion when moved:
    - Aim at badguys and press t to reposition badguys at top of screen

    Test if unrelated events are crippled when bug occurs:
    - Move blue square with arrows over the red square. The red square should be destroyed, it won't.

    Try setting max No. of objects allowed on scene to 20k. You will notice that you are now allowed to place more squares on the scene before the bug occurs. But the total No. of objects allowed is well under 20k

  2. #2
    Clicker Multimedia Fusion 2
    Algul's Avatar
    Join Date
    Feb 2008
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    "nice"
    after few tries i managed to make triggers follow badguys properly but other issues are above my skillz. It seem that changing overlap to collision fix some problems(couter will always pick right one under mouse and blue/red box will be destroyed), but draging with mouse will not work with too many badguys. => something with collision testing in MMF probably.
    This is bad news indeed(at least for me).

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    You managed to get the triggers to stay on the badguys when the bug occurs?

  4. #4
    Clicker Multimedia Fusion 2
    Algul's Avatar
    Join Date
    Feb 2008
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    yep
    http://rapidshare.com/files/154706641/New_Moment_system2.mfa

    after first look i realized that it has something to do with collision. So i get rid of them.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    thanks man. But the weird bug still occurs. Try throwing in a bunch of these badguys, 200 or so, then try to move the blue square into the red square. It still won't perform the "destroy" action- it is still crippling totally unrelated events.

  6. #6
    Clicker Multimedia Fusion 2
    Algul's Avatar
    Join Date
    Feb 2008
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    i dont think its unrelated.
    as i said problem is most likely collision detection. If u change "overlap" condition to "collision" condition then it will destroy that red box properly. But i have no idea why these bug occurs.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    I don't mean to sound like a rectum, but I don't understand why you say it's unrelated.

    The thing is, I don't care about the collision between the squares. I placed them in the scene to prove that when my main code went bananas, it affected unrelated events- such as the overlapper event.

    Now I am uneasy to continue developing this before I know what is causing it. If it's a bug in MMF2, fine, but maybe someone can elaborate what causes it so I might take some precautions.

  8. #8
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    It could easily be an error with putting too many objects into the scope of the "Set detector thingy position to enemy position" event. You are placing all your objects position via a single event that does not specify a single index. Perhaps this would work better if you used a fast loop to iterate through each object, find the matching pair of indexes, and position them. IE, #4 from this article:
    http://www.create-games.com/article.asp?id=1937

    in general its a lot better coding, and makes your other events easier to implement.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator ProPatch Maker

    Join Date
    Jun 2006
    Location
    Norway
    Posts
    528
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    thanks man, that sounds plausible!

  10. #10
    Clicker Multimedia Fusion 2
    Algul's Avatar
    Join Date
    Feb 2008
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bug occurs, cripples unrelated events: MMF2bug?

    I tried that with fast loops. No change.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. SubApps did not occurs before
    By Fernando in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th April 2013, 04:24 PM
  2. BUG: Filtering still occurs even with the option turned off
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 13
    Last Post: 28th February 2012, 05:25 PM
  3. Ducking Glitch and 2 completely unrelated queries
    By Zenoff64 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd April 2007, 12:29 AM

Posting Permissions

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