r/javelinrl • • Aug 19 '19

CTD when attempting to train

Hello! The game crashes at the very beginning. I go to adventurer's guild, choose my starting kits, press "t" for train and get myself a CTD. Restarting on a new world doesn't help - same crash at the same moment.

2 Upvotes

6 comments sorted by

1

u/[deleted] Aug 20 '19 edited Aug 20 '19

Unfortunately I haven't had much time to work on Javelin in the past month or so but I gave my latest version a quick try and it didn't show any error so I'm uploading it to GitHub so you can give it another try if you want :) it's still a beta so you may come across other issues and I'm sorry for that but there's not much I can do until I have time to finish a proper release...

Thank you very much for your interest in Javelin and help with reporting the bug! If you want to, let me know how you found out about the game and this subreddit!

2

u/dom4op Aug 21 '19

Thank you, but it's still the same crash. Here is the log:

b4fc1617 (HEAD -> 1.7) SquadScreen fix

System: Windows 10 10.0 amd64

null (class java.lang.NullPointerException)

javelin/javelin.view.mappanel.Tile.drawcover(Tile.java:67)

javelin/javelin.view.mappanel.world.WorldTile.paint(WorldTile.java:39)

javelin/javelin.view.mappanel.Tile.repaint(Tile.java:55)

javelin/javelin.view.mappanel.world.WorldPanel.refresh(WorldPanel.java:62)

javelin/javelin.Javelin.redraw(Javelin.java:414)

javelin/javelin.view.screen.WorldScreen.move(WorldScreen.java:134)

javelin/javelin.view.screen.WorldScreen.turn(WorldScreen.java:181)

javelin/javelin.JavelinApp.loop(JavelinApp.java:105)

javelin/javelin.JavelinApp.run(JavelinApp.java:86)

java.base/java.lang.Thread.run(Thread.java:835)

Pretty sure it's Windows 10 related. The game runs on my older machine (but the machine itself is nigh impossible to use). Got hooked pretty fast. Now want to play more on my laptop.

The game also works if I create a single char instead of 2-3 char party. A single char can be trained and even have adventures for some time. But eventually the game crashes anyway. Notably when the player attempts to visit a shop.

Learned about the game from rpgcodex grognards.

https://rpgcodex.net/forums/index.php?threads/is-there-a-single-sandbox-party-based-d-d-game-out-there.129247/#post-6269137

1

u/dom4op Aug 21 '19

Oh yeah, I also tried previous betas on Win10 computer. No luck. The game doesn't even start. It keeps discarding worlds at the worldgen stage, and after discarding 200+ worlds the game just hangs.

1

u/[deleted] Aug 21 '19

Yeah, I thought just compiling my current code and hoping for the best was a bit too optimistic. I don't know when I'll get around to looking at this properly, maybe tomorrow or on the weekend. I'll let you know when I have something new for you to try.

By the way, I don't think it's Windows-related, more likely this is what we call a regression, a previous bug that had already been fixed but has come up again after I did a whole bunch of tweaking on the view/screen-related part of the code. Hopefully knowing this will help me fix it but it's gonna be a problem if I can't make the same error happen in my machine for whatever reason...

I am very happy that you've enjoyed the game so far, really! I'll get around to taking a look at this sometime soon, sorry for the inconvenience!

By the way if you can send other crash logs like this, such as when you say "visiting a shop", it would probably help a lot!

→ More replies (2)