1
Old Bugs (3.x) / Everything is messed up
« on: March 16, 2014, 01:05:56 pm »
Hi,
my Games are constantly messed up
This time regions don't work properly i get strange errors wrong events are triggered,
PLEASE HELP.
I'm pretty sure this is not some sort of pebkac since i tripple checked it
After "cleaning" my project, scenes are often displayed with a warning sign, I am constantly rechoosing the scenes and the warning sign dissaper but it has no effect on the bug
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.Design_38_38_TitleScreenManager: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.Engine#switchScene(1619): Switching to scene 11
the actor Player002 has no behaviours or events attached but i get an error messaage , wtf?!?!
Ok so for now i can sum it up to: i have 8 regions in 1 scene and 8 when mouse is pressed on a scene it should switch to another scene, for 3 region its working , 5 regions are not working. wth?! I spent hours recreating the behaviour and the scene without any success
for each region i get
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor
if i recreate the event in a behaviour, i get the sam eror message from the behaviour.
I didn't get a 90% memory usage warning but it seems like something is cut?
yay stencyl you're great! After spending 2 days rebuilding the whole project, everything works fine, i rebuilded it EXACT THE SAME WAY
I even got the x,y and size for every region pixel accurate the same way now it works just fine, but guess what? Some hours later same error message different behaviour
Cannot add listener function to null actor.
Cannot add listener function to null actor.
Cannot add listener function to null actor.
i spend more time recreating working code and hunting for stencyl problems than actually coding my game.
LOG] [Flash] Universal#initScreen(162): Stage Width: 320
[LOG] [Flash] Universal#initScreen(163): Stage Height: 480
[LOG] [Flash] Universal#initScreen(164): Screen Width: 320
[LOG] [Flash] Universal#initScreen(165): Screen Height: 480
[LOG] [Flash] Universal#initScreen(166): Screen DPI: 72
[LOG] [Flash] Universal#initScreen(314): Max Scale: 1
[LOG] [Flash] Universal#initScreen(315): Engine Scale: 1x
[LOG] [Flash] Universal#initScreen(556): Scale X: 1
[LOG] [Flash] Universal#initScreen(557): Scale Y: 1
[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: null
[LOG] [Flash] com.stencyl.Engine#switchScene(1619): Switching to scene 3
[LOG] [Flash] com.stencyl.Engine#initBehaviors(867): Non-Existent Behavior ID (Init): 38
now scenes are messed up scenes are in two folders at the same time , see screenshot attached
my Games are constantly messed up

This time regions don't work properly i get strange errors wrong events are triggered,
PLEASE HELP.
I'm pretty sure this is not some sort of pebkac since i tripple checked it
After "cleaning" my project, scenes are often displayed with a warning sign, I am constantly rechoosing the scenes and the warning sign dissaper but it has no effect on the bug
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.Design_38_38_TitleScreenManager: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.Engine#switchScene(1619): Switching to scene 11
the actor Player002 has no behaviours or events attached but i get an error messaage , wtf?!?!
Ok so for now i can sum it up to: i have 8 regions in 1 scene and 8 when mouse is pressed on a scene it should switch to another scene, for 3 region its working , 5 regions are not working. wth?! I spent hours recreating the behaviour and the scene without any success
for each region i get
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor.
[LOG] [Flash] com.stencyl.behavior.Script#addMouseOverActorListener(648): Error in scripts.SceneEvents_3: Cannot add listener function to null actor
if i recreate the event in a behaviour, i get the sam eror message from the behaviour.
I didn't get a 90% memory usage warning but it seems like something is cut?
yay stencyl you're great! After spending 2 days rebuilding the whole project, everything works fine, i rebuilded it EXACT THE SAME WAY
I even got the x,y and size for every region pixel accurate the same way now it works just fine, but guess what? Some hours later same error message different behaviour
Cannot add listener function to null actor.
Cannot add listener function to null actor.
Cannot add listener function to null actor.
i spend more time recreating working code and hunting for stencyl problems than actually coding my game.
LOG] [Flash] Universal#initScreen(162): Stage Width: 320
[LOG] [Flash] Universal#initScreen(163): Stage Height: 480
[LOG] [Flash] Universal#initScreen(164): Screen Width: 320
[LOG] [Flash] Universal#initScreen(165): Screen Height: 480
[LOG] [Flash] Universal#initScreen(166): Screen DPI: 72
[LOG] [Flash] Universal#initScreen(314): Max Scale: 1
[LOG] [Flash] Universal#initScreen(315): Engine Scale: 1x
[LOG] [Flash] Universal#initScreen(556): Scale X: 1
[LOG] [Flash] Universal#initScreen(557): Scale Y: 1
[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread AWT-EventQueue-0: null
[LOG] [Flash] com.stencyl.Engine#switchScene(1619): Switching to scene 3
[LOG] [Flash] com.stencyl.Engine#initBehaviors(867): Non-Existent Behavior ID (Init): 38
now scenes are messed up scenes are in two folders at the same time , see screenshot attached