Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Virenz

Pages: 1
1
Bug Archives / Broken game
« on: February 22, 2015, 05:32:05 am »
I was building my game and i decided to test it on android. So i clicked test game and it saved, finalized, compiled and sent to device, but it produced the message "unfortunately, my game has stopped". I then tried on flash player, and it produced an error code. I deleted the game, and then put one of my backups in. I tried again with flash player, and it produced this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl.models::GameModel()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/GameModel.hx:136]
   at com.stencyl.models::GameModel$/get()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/GameModel.hx:46]
   at com.stencyl.models.actor::Animation()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/actor/Animation.hx:74]
   at com.stencyl.io::SpriteReader/readAnimation()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/io/SpriteReader.hx:113]
   at com.stencyl.io::SpriteReader/read()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/io/SpriteReader.hx:53]
   at com.stencyl::Data/readResource()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:265]
   at com.stencyl::Data/readResourceXML()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:251]
   at com.stencyl::Data/loadResources()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:206]
   at com.stencyl::Data/loadAll()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:140]
   at com.stencyl::Data$/get()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:47]
   at com.stencyl::Engine/begin()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:652]
   at com.stencyl::Engine()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:511]
   at Universal/init()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/Universal.hx:57]
   at Universal/onAdded()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/Universal.hx:36]
   at flash.display::DisplayObjectContainer/addChild()
   at Universal$/main()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/Universal.hx:694]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at Function/<anonymous>()
   at Reflect$/callMethod()[C:\Program Files (x86)\Stencyl\plaf\haxe/std/flash/_std/Reflect.hx:56]
   at ApplicationMain$/begin()[Export/flash/haxe/ApplicationMain.hx:56]
   at ApplicationMain$/preloader_onComplete()[Export/flash/haxe/ApplicationMain.hx:83]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at scripts::StencylPreloader/onLoaded()[Source/scripts/StencylPreloader.hx:316]
   at ApplicationMain$/onEnter()[Export/flash/haxe/ApplicationMain.hx:75]

i have also ran in debug mode and still doesnt work. i have tried a sample game and it worked.

Flash browser displays nothing.

Last time this happened (with the same game!) i deleted favourites.xml   ,  game.xml     and     game.xml.bak and then went into stencyl, created a new game, and copied the new game favourites.xml    ,     game.xml     and    game.xml.bak into the game that stopped working and it worked again. This time i tried that and it didnt work, so i deleted it and tried to use a backup but didnt work! I have attached all the backups below. I am running windows 7 64-bit.  Also, my logs are attached below. My workspace folder is c:/users/patel/appdata/roaming/stencyl/     .     I have attached most of the stencylworks folder as well ( except logs, because the ones just before and after problem are posted, if i posted them all it exceeds the max attachment size, except games because the backups are already posted, except games-generated, android-sdk and tools as it exceeds max attachment size).
Had to post attachments seperate because of max attachment size.

2
Resolved Questions / Broken game
« on: February 18, 2015, 05:28:00 am »
Hello, i was compiling a game from android today, and it was taking ages on compiling. After about 45 minutes i looked in the log viewer and it showed nothing from the last half an hour, so i clicked exit stencyl and then saved. I then opened up stencyl and tried again. This time it worked, but the app on my tablet would open, and then say "unfortunately My Game has stopped".  i then tried running on flash player and got the error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl.models::GameModel()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/GameModel.hx:136]
   at com.stencyl.models::GameModel$/get()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/GameModel.hx:46]
   at com.stencyl.models::Resource/isAtlasActive()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/Resource.hx:30]
   at com.stencyl.models.background::ImageBackground()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/models/background/ImageBackground.hx:49]
   at com.stencyl.io::BackgroundReader/read()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/io/BackgroundReader.hx:99]
   at com.stencyl::Data/readResource()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:265]
   at com.stencyl::Data/readResourceXML()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:251]
   at com.stencyl::Data/loadResources()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:206]
   at com.stencyl::Data/loadAll()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:140]
   at com.stencyl::Data$/get()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Data.hx:47]
   at com.stencyl::Engine/begin()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:652]
   at com.stencyl::Engine()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:511]
   at Universal/init()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/Universal.hx:57]
   at Universal/onAdded()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/Universal.hx:36]
   at flash.display::DisplayObjectContainer/addChild()
   at Universal$/main()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/Universal.hx:694]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at Function/<anonymous>()
   at Reflect$/callMethod()[C:\Program Files (x86)\Stencyl\plaf\haxe/std/flash/_std/Reflect.hx:56]
   at ApplicationMain$/begin()[Export/flash/haxe/ApplicationMain.hx:56]
   at ApplicationMain$/preloader_onComplete()[Export/flash/haxe/ApplicationMain.hx:83]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at scripts::StencylPreloader/onLoaded()[Source/scripts/StencylPreloader.hx:316]
   at ApplicationMain$/onEnter()[Export/flash/haxe/ApplicationMain.hx:75]

i also got the error could not load collision groups -2 and 3 in the log viewer

Then i tried to test game in windows (debug and non-debug mode) and it got stuck on compiling.

Then i tried android debug mode and it got stuck on compiling.

I then came to the conclusion that my game is probably broken, so i looked it up and i found that i should attach the game folder
as well, which is now attached

Pages: 1