User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Beta4:Crash on Collision

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

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beta4:Crash on Collision

    Some strange bug has happened on my game for the first time

    Way ahead during gameplay, two objects collided and then an "EXC_BAD_ACCESS" error popped up when executing line 130 of the file named CMove.m:

    "if (hoPtr->rom->rmMoveFlag)"


  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta4:Crash on Collision

    Which movements did the two of them use?

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

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta4:Crash on Collision

    The active object representing the player has assigned an 8-direction movement, and the type of enemy for the specific case, a bouncing ball one.

  4. #4
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta4:Crash on Collision

    I can confirm the same collision issues between platform vs ball movements as BHGames. WIll do some more debugging today about that.

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta4:Crash on Collision

    Without an example file it can be difficult figuring out what went wrong.

    Can you recall any specifics about the crash? What frame was it on? Is one of the objects a global object? Do they have multiple movements?

  6. #6
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta4:Crash on Collision

    I will do some debugging now about that issue

  7. #7
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta4:Crash on Collision

    This is the crash report, as BHGames stated, this happens when a platform object collides with a bounce object,
    I'll verify about the multiple movements and global object configurations...

    Exception Type: EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000008e
    Crashed Thread: 0

    Thread 0 Crashed:
    0 gametest 0x00039788 -[CMove newMake_Move:withDir:] (CMove.m:130)
    1 gametest 0x0003e3e0 -[CMovePlatform move] (CMovePlatform.m:445)
    2 gametest 0x000374cc -[CRMvt move] (CRMvt.m:177)
    3 gametest 0x00036bc8 -[CRSpr handle] (CRSpr.m:177)
    4 gametest 0x0002b9b4 -[CActive handle] (CActive.m:35)
    5 gametest 0x00080214 -[CRun f_GameLoop] (CRun.m:4544)
    6 gametest 0x000812f8 -[CRun doRunLoop] (CRun.m:389)
    7 gametest 0x000067e8 -[CRunApp loopFrame] (CRunApp.m:674)
    8 gametest 0x00006a78 -[CRunApp playApplication:] (CRunApp.m:330)
    9 gametest 0x000029bc -[CRunView timerEntry] (CRunView.m:201)

  8. #8
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta4:Crash on Collision

    Enemy:
    -Is Global
    -Has multiple movements (circular, bouncing*)
    -Is not following the frame
    -Has a qualifier of "enemy"


    Player:
    -Is Global
    -Has multiple movements (static,platform*)
    -Is following the frame
    -Has no qualifier

    * = crash when using this movement

    Both:
    -Are created at start
    -Are Using fine detection
    -Are not inactive is too far from frame
    -Has transparent backgrounds
    -Are saving backgrounds

    The level:
    -Has 6 layers (collision occurs in layer 4)
    -Is including global events
    -is handling background collisions

    If you are not able to reproduce it, let me know to send the file

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

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta4:Crash on Collision

    Sorry for the late response but I was out all day and I've just got back home. Here it goes my info ...

    Enemy:
    -> Is Local
    -> One movement: Bouncing Ball
    -> Not created at start
    -> 4 Alterable Values

    Player:
    -> Is Local
    -> One Movement: 8 Directions
    -> Created at Start
    -> 1 Alterable Value

    Both:
    -> Visible at start + Save Background + Transparent
    -> Follow the frame + Destroy object if too far + Automatic deactivation if too far from Windows
    -> Use Fine detection for collisions.
    -> No qulifiers + Default Image Compression.

    One Endless Level:
    -> 1 Layer
    -> No global events
    -> When player and enemy collide the enemy is destroyed (Event is: Collision between player and this enemy + Only one Action when Event loops).

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta4:Crash on Collision

    You can attach mfa's in this forum as well. It would be a lot quicker than writing out all that info

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. [BUG RC1] Collision Crash
    By Danny in forum Android Export Module Version 2.0
    Replies: 7
    Last Post: 22nd October 2012, 05:52 PM
  2. Beta 12: Crash on collision
    By netninja in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 15th February 2011, 03:16 PM
  3. BETA4 - Rotations Not working
    By Stu_Ovine in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 9th November 2010, 02:37 PM
  4. [Beta4] FusionManager
    By Sphax in forum File Archive
    Replies: 15
    Last Post: 17th May 2007, 07:58 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
  •