2DWorlds Forums
Clean up the output ingame - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Suggestions (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=19)
+--- Thread: Clean up the output ingame (/showthread.php?tid=1904)



Clean up the output ingame - Scripter - 04-03-2011

There should really be an option for showing the errors below or not. It's hard to debug errors with constant:

java.lang.Throwable
at net.buildism.XContactFilter.shouldCollide(XContactFilter.java:31)
at org.jbox2d.dynamics.ContactManager.pairAdded(ContactManager.java:84)
at org.jbox2d.collision.PairManager.commit(PairManager.java:296)
at org.jbox2d.collision.BroadPhase.createProxy(BroadPhase.java:340)
at org.jbox2d.collision.Shape.createProxy(Shape.java:308)
at org.jbox2d.dynamics.Body.createShape(Body.java:251)
at net.buildism.object.Part.rebuild(Part.java:493)
at net.buildism.object.Part.addToWorld(Part.java:466)
at net.buildism.World._addObject(World.java:397)
at net.buildism.object.GameObject.onParentChanged(GameObject.java:324)
at net.buildism.object.GameObject$2.handle(GameObject.java:112)
at net.buildism.object.GameObject.onPropChanged(GameObject.java:548)
at net.buildism.object.GameObject.setProp(GameObject.java:398)
at net.buildism.object.GameObject.setProp(GameObject.java:432)
at net.buildism.lua.metatable.GameObjectMetatable$GameObjectNewIndex$1.run(GameObjectMetatable.java:98)
at net.buildism.lua.metatable.GameObjectMetatable$GameObjectNewIndex.call(GameObjectMetatable.java:110)
at se.krka.kahlua.vm.LuaState.callJava(LuaState.java:237)
at se.krka.kahlua.vm.LuaState.call(LuaState.java:210)
at se.krka.kahlua.vm.LuaState.call(LuaState.java:1146)
at se.krka.kahlua.vm.LuaState.tableSet(LuaState.java:1229)
at se.krka.kahlua.vm.LuaState.luaMainloop(LuaState.java:366)
at se.krka.kahlua.vm.LuaState.call(LuaState.java:221)
at se.krka.kahlua.vm.LuaState.call(LuaState.java:1168)
at net.buildism.lua.ScriptContext.call(ScriptContext.java:74)
at net.buildism.object.Root$3$1.run(Root.java:68)
at net.buildism.Main.processTasks(Main.java:157)
at net.buildism.Main.main(Main.java:509)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)




All I want to see are the errors inside the scripts X_X


RE: Clean up the output ingame - Duck - 04-03-2011

I found that super annoying when I was making my first script.

0wo


RE: Clean up the output ingame - Jacob__mybb_import1 - 04-03-2011

Yeah, I accidentally left in some debugging code.

I can't make any updates right now, because the version of the code on my computer has half-broken stable welds...


RE: Clean up the output ingame - Duck - 04-03-2011

(04-03-2011, 07:15 PM)Jacob_ Wrote: Yeah, I accidentally left in some debugging code.

I can't make any updates right now, because the version of the code on my computer has half-broken stable welds...

Once welds are fixed I can make my airship. Can't wait until they're done :3

How long do you estimate?


RE: Clean up the output ingame - Jacob__mybb_import1 - 04-03-2011

A few days, maybe tomorrow if everything goes right.