User Tag List

Results 1 to 10 of 10

Thread: "Restrict actions" is BROKEN!

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "Restrict actions" is BROKEN!

    I've not been successful in making an example showing that restrict actions does seem to break, but I know that it does, and a few people have confirmed that it does seem to break over time too. I am aware of the work around, but that still doesn't solve the problem of the "Restrict actions" condition breaking over time.

    Here is my observation: If a game is left open for a long period of time, left alone, or not in focus, then any event that uses a "Restrict actions" condition breaks and pretty much because "Always." I've seen this happen in four different projects, and it's annoying to have to go through a ton of code to put the work around in long after I realize there is a problem with using "Restrict actions." Frankly, having this broken condition even available to me has cost me too many hours in lost productivity :eek:

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    729
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    I have never been able to get the restrict action function working but I thought it was me. I have not spent much time with it.

    K

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    I always found "restrict actions" the cure to the problems you get with "every". But maybe it indeed broke in one of the later versions.

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    It works fine for me in a very simple example. Make a counter and then:

    +Restrict Actions for 01"-00 (1 second)
    -Add 1 to Counter

    I'm using the most recent build and it counts up 1 every second. I tried it without focus and it still worked fine as well. How long is yours open before it starts malfunctioning?

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    I do remember something like this being mentioned - by Nifflas, I think, as the structure of the game Knytt meant that it stayed on the same frame for upwards of half an hour. I can't remember the exact figure, but it's possible it happened after 65536 frames, though that works out to about 20 minutes at 50 frames per second and seems rather low.

    However, I thought it had been fixed in the build after it was first reported.

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    Quote Originally Posted by DavidN
    I do remember something like this being mentioned - by Nifflas, I think, as the structure of the game Knytt meant that it stayed on the same frame for upwards of half an hour. I can't remember the exact figure, but it's possible it happened after 63356 frames, though that works out to about 20 minutes at 50 frames per second and seems rather low.

    However, I thought it had been fixed in the build after it was first reported.
    I think it may have been fixed because I did the same test as in my previous post, except with a frame rate of 300. I let it run for 300 seconds (approximately 90,000 frames) and it worked the entire time. And also, it was a near solid 300 frames the whole time.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    I'm on build 248 and it just happened again to me. Unfortunately the project is too big for me to send to Clickteam; however, the event is as simple as this:

    * Restrict actions every 5 seconds:
    Create Object at X,Y

    Leave the game on for a while, and I'll come back to objects being created as if the event was an always event.

  8. #8
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    Ran it for 10 minutes at 500 framerate and it never bugged...

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    It has caused problems with my projects many times, and I know for a fact that others have had it not work as they expected. Perhaps you cannot just blind test the one event and need to actually have it inside of a project which is doing many things. Maybe the problem is more complex and the condition isn't actually broken, but the fact for is that it has broke for me. It's broken for other people too. I'm just asking Clickteam to look into it.

  10. #10
    No Products Registered

    Join Date
    Aug 2006
    Location
    Stockholm, Sweden
    Posts
    479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Restrict actions" is BROKEN!

    What happens if you try it using the Java runtime?

Similar Threads

  1. I seem to have broken my "File" object...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th July 2011, 04:33 PM
  2. Collisions Broken in latest MMF2"example included"
    By jasonorme in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th March 2010, 06:55 AM
  3. "Restrict Actions" CONFIRMED BUG
    By Eliyahu in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 13th September 2009, 05:22 AM
  4. Bug With "Restrict actions"
    By HammerBro in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th November 2008, 02:14 AM
  5. Actions sur les objets "decors"
    By mig3 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th January 2008, 04:46 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
  •