Pages: « 1 2
  Print  
Author Topic: Terrena a14 - my game  (Read 61398 times)
Offline (Unknown gender) luiscubal
Reply #15 Posted on: November 12, 2011, 08:33:40 am
Member
Joined: Jun 2009
Posts: 452

View Profile Email
What? Not even an exception? No stack trace? Nothing?
That definitively shouldn't happen... :(
Does it always happen or only some times? Does it happen with all decks? All languages? I can't seem to reproduce the issue...
Logged
Offline (Male) Rusky
Reply #16 Posted on: November 12, 2011, 11:23:29 am

Resident Troll
Joined: Feb 2008
Posts: 954
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
Correct- absolutely no output, every time for all decks and languages. I'm running it with "LD_LIBRARY_PATH=. ./Terrena.exe" from the top directory like I have in the past.
Logged
Offline (Unknown gender) luiscubal
Reply #17 Posted on: November 12, 2011, 11:45:29 am
Member
Joined: Jun 2009
Posts: 452

View Profile Email
What does "echo $?" give?
Since it happens on loading time, I'd guess it would be a loading problem, but if there was a missing image it should crash with LOTS of output.
If it takes a bit, then it's possible that it's crashing just as soon as it *exits* the loading screen, but then again I see nothing that could cause that result.

BTW, did any of the previous versions you tried include a loading screen?
Logged
Offline (Male) Rusky
Reply #18 Posted on: November 12, 2011, 01:23:35 pm

Resident Troll
Joined: Feb 2008
Posts: 954
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
"echo $?" prints 1. It does seem possible that loading is successful but something immediately after fails.

I don't remember a loading screen, but I only noticed it this time because I was paying attention to anything that might happen right before the crash.
Logged
Offline (Unknown gender) luiscubal
Reply #19 Posted on: November 12, 2011, 02:03:34 pm
Member
Joined: Jun 2009
Posts: 452

View Profile Email
I have to say, I knew there were differences between computers - and those differences were particularly great in the area of 3d graphics programming - but I never expected things to be this hard.
Tracing down problems is very hard when you don't have a computer to reproduce the bug... :(

If this is the first version with the loading screen, it's possible this is some sort of multithreaded-related bug. I'll see if I can test the older versions of Terrena to see what they have different and I'll also see if I can test the game on my other PC.

Actually, there is one more thing that can be tried, which is using the debug libraries instead of the ordinary ones(this can be changed in the dll.config files)

EDIT: Multi-threaded loading does seem to be the problem. It is now disabled by default(this can be changed in config.xml).
The new version includes a few extra bug fixes too.
« Last Edit: November 21, 2011, 03:34:47 pm by luiscubal » Logged
Offline (Unknown gender) luiscubal
Reply #20 Posted on: February 29, 2012, 03:54:46 pm
Member
Joined: Jun 2009
Posts: 452

View Profile Email
Terrena a14 released. The improved AI is the main improvement.
At this point, here's the list of main TODOs:

1. Add some more cards (I'd like to have at least one more deck)
2. Improve the AI a bit more (I still have lots of low-hanging fruit)
3. Allow the player to choose dices when starting the game
4. Add difficulty levels (this one won't be that hard, since I already have the basic blocks I need to do it)
5. Add some sort of tutorial
6. Improve game saving/loading
7. Port to new SFML drawing API, perhaps?

Anyway, I feel I'm really close to a beta release now.
Logged
Pages: « 1 2
  Print