User Tag List

Results 1 to 3 of 3

Thread: Beta 19: MT Random Bug - Seed not set randomly

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beta 19: MT Random Bug - Seed not set randomly

    The seed for the MT Random bug is not set randomly on the start of an application while running the game on an iOS device. Therefore, when you play a game with random numbers generated by the MT Random object, you will receive the same sequence of numbers every time.

    It works as expected on PC, but on an iPhone 4 the behaviour is inconsistent and the numbers are not random.

    The problem may be related to this last post:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=221817&page=1

    Here is a .mfa file with the issue:
    http://jigxor.com/j843/mtrandomtest.mfa

    (Uploads are still only allowing 1MB, can someone please fix this?)

    In this file, the top counter is set using MMF's random, the bottom two counters are set using the MT Random object.

    Here are three examples of the output - showing the MT Random generating the same numbers each time (6 and 5) the application runs (sorry about the rotation!):

    1.
    2.
    3.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta 19: MT Random Bug - Seed not set randomly

    Corrected.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 19: MT Random Bug - Seed not set randomly

    Thank you!

Similar Threads

  1. MT Random with seed gives different values on PC to iOS device
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 12th February 2013, 09:32 AM
  2. Retrieving random seed
    By AyreGuitar in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th February 2013, 06:43 PM
  3. Beta 12: Random Crashes
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 19
    Last Post: 1st March 2011, 04:14 AM
  4. Beta 11: MT Random Bug
    By netninja in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 9th February 2011, 04:47 AM
  5. Beta 5: Random Crash
    By UrbanMonk in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 22nd November 2010, 02:06 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
  •