137 submissions
Foam is on track, we are approximately on schedule. approximately.
Yep.
Everythings good!
Yep.
Everythings good!
Category All / All
Species Unspecified / Any
Size 923 x 525px
File Size 207.4 kB
although if you tested it in JUnit you would see that its not null at all, its only null because of threading pulling the rug out from under me!
Even monitoring the output in debug shows its not null or stepping through the code, this is only thrown 1 out of every dozen runs!
Which is infuriating if you don't know whats really going on. Bad design and not being thread safe is my fault.
Even monitoring the output in debug shows its not null or stepping through the code, this is only thrown 1 out of every dozen runs!
Which is infuriating if you don't know whats really going on. Bad design and not being thread safe is my fault.
Rewrote a lot of stuff and added a exception handler to all game threads now the error reads
* Error: Exception thrown in Render Thread
* Error: # String index out of range: 14
# String index out of range: 14
at foam.loaders.LevelLoader.nextString(LevelLoader.java:175)
at foam.loaders.LevelLoader.interpretLine(LevelLoader.java:134)
at foam.loaders.LevelLoader.executeScript(LevelLoader.java:76)
at foam.loaders.LevelLoader.load(LevelLoader.java:53)
at core.GameLoader.postLoader(GameLoader.java:64)
at core.RenderThread.execute(RenderThread.java:156)
at core.Threaded.run(Threaded.java:77)
which is totally different and traceable! The error was caused by loading a texture with a string filename in a level_setup file. It was parsed too far due to some missing quotes ._. and for some reason Mac OS X doesn't use \n\r but just \r
Going to make some check for closing quotes and should be back on track.
* Error: Exception thrown in Render Thread
* Error: # String index out of range: 14
# String index out of range: 14
at foam.loaders.LevelLoader.nextString(LevelLoader.java:175)
at foam.loaders.LevelLoader.interpretLine(LevelLoader.java:134)
at foam.loaders.LevelLoader.executeScript(LevelLoader.java:76)
at foam.loaders.LevelLoader.load(LevelLoader.java:53)
at core.GameLoader.postLoader(GameLoader.java:64)
at core.RenderThread.execute(RenderThread.java:156)
at core.Threaded.run(Threaded.java:77)
which is totally different and traceable! The error was caused by loading a texture with a string filename in a level_setup file. It was parsed too far due to some missing quotes ._. and for some reason Mac OS X doesn't use \n\r but just \r
Going to make some check for closing quotes and should be back on track.
FA+

Comments