H-Craft Championship Open Source
Re: H-Craft Championship Open Source
@CuteAlien
Doing some more tests, found some logical (probabaly) bug in design of some levels. Those levels which have as begin/end of tracks that thing at left/right side of track:
http://kas1e.mikendezign.com/aos4/gl4es ... mp_bug.jpg
I.e. "season01 - s1 race 06" and "season02 - s2 race 01" as example
Issue that when you finish lap, the whole lap didn't have connection between end and start. When you fly to the end of the lap you didn't see "finish lines" on the road, and everything looks like its "end of the track" without continue. See what i mean:
http://kas1e.mikendezign.com/aos4/gl4es ... mp_bug.jpg
Even when you watch on that part from other side somewhere in the middle of the lap, that "finish thing" didn't connected to anything, like lap is not connected with beigning/end.
See:
http://kas1e.mikendezign.com/aos4/gl4es ... mp_bug.jpg
Then, once you finish lap, where logicaly should be those finish line, then everything just "jumps" and new lap started.
Its like you didn't have it all as full track, but instead all the time its like have no finihs, but when by logic another lap should starts, it then redraw everything to have it like you pass the lap.
That happens at least on win32 and on amigaos4 , didn't checked linux one but i assume will be the same, and its just some bug (or it intendent ? ) in those tracks design.
Doing some more tests, found some logical (probabaly) bug in design of some levels. Those levels which have as begin/end of tracks that thing at left/right side of track:
http://kas1e.mikendezign.com/aos4/gl4es ... mp_bug.jpg
I.e. "season01 - s1 race 06" and "season02 - s2 race 01" as example
Issue that when you finish lap, the whole lap didn't have connection between end and start. When you fly to the end of the lap you didn't see "finish lines" on the road, and everything looks like its "end of the track" without continue. See what i mean:
http://kas1e.mikendezign.com/aos4/gl4es ... mp_bug.jpg
Even when you watch on that part from other side somewhere in the middle of the lap, that "finish thing" didn't connected to anything, like lap is not connected with beigning/end.
See:
http://kas1e.mikendezign.com/aos4/gl4es ... mp_bug.jpg
Then, once you finish lap, where logicaly should be those finish line, then everything just "jumps" and new lap started.
Its like you didn't have it all as full track, but instead all the time its like have no finihs, but when by logic another lap should starts, it then redraw everything to have it like you pass the lap.
That happens at least on win32 and on amigaos4 , didn't checked linux one but i assume will be the same, and its just some bug (or it intendent ? ) in those tracks design.
Re: H-Craft Championship Open Source
That's seen as bug? Oh my :-( It's a teleporter...
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: H-Craft Championship Open Source
) ha, so its expected then, no problems
Maybe that feels like a bug because no "magic" happens when one come to teleport, i.e. it not start "working" or something telling user that something start happens, instead you just fly, then "jump" , and level starts again
But at least its intendent, so only to understand why there is that crash happens sometime when level 4 (or 5) want to start.. Maybe just commenting out that assertion will be dirty-fast hack ?:) Or, printf all values of that crashed line ..
Maybe that feels like a bug because no "magic" happens when one come to teleport, i.e. it not start "working" or something telling user that something start happens, instead you just fly, then "jump" , and level starts again
But at least its intendent, so only to understand why there is that crash happens sometime when level 4 (or 5) want to start.. Maybe just commenting out that assertion will be dirty-fast hack ?:) Or, printf all values of that crashed line ..
Re: H-Craft Championship Open Source
Ok added printfs before asserion on that line, that what i have:
When first level passed and press "next race" and wait when "start race" button appears:
When we pass second level , and the same press "next race" and wait till "start race" button appears:
I was able to reproduce it currently only on amigaos4, didn't tried if win32 or linux may have that issue at all (so maybe something about big-endianes, or integer differences, or anything of that sort).
Have any idea maybe what/where to printf now ? I can try to just remove assertion at all, to see if it will works still (will it ?)
EDIT:
I remove assertion() line, and so didn't crash anymore, and that what i have in log when tried to play again and go to that problematic part:
Have any ideas maybe with all that info ?:)
When first level passed and press "next race" and wait when "start race" button appears:
mTrackMarkerReached = 368
aiTrack.GetNumTrackInfos = 373
mTrackMarkerReached = 368
aiTrack.GetNumTrackInfos = 373
mTrackMarkerReached = 363
aiTrack.GetNumTrackInfos = 373
and that block repeats.
When we pass second level , and the same press "next race" and wait till "start race" button appears:
When we pass 3st level and wait "start race" button:mTrackMarkerReached = 640
aiTrack.GetNumTrackInfos = 645
mTrackMarkerReached = 640
aiTrack.GetNumTrackInfos = 645
mTrackMarkerReached = 634
aiTrack.GetNumTrackInfos = 645
and that block repeats
And now, when we pass 4st level and wait till "start race" button appear (and when we actually got our assertion crash):mTrackMarkerReached = 812
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 812
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 806
aiTrack.GetNumTrackInfos = 819
and repeat
See, it repeat last parts as usuall, and then, instead of 819 we have 323 by any of reassons and then assertion fail.mTrackMarkerReached = 705
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 624
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 467
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 705
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 624
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 467
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 705
aiTrack.GetNumTrackInfos = 323
assertion "mTrackMarkerReached >= 0 && mTrackMarkerReached < (int)aiTrack.GetNumTrackInfos()" failed: file "player.cpp", line 315
I was able to reproduce it currently only on amigaos4, didn't tried if win32 or linux may have that issue at all (so maybe something about big-endianes, or integer differences, or anything of that sort).
Have any idea maybe what/where to printf now ? I can try to just remove assertion at all, to see if it will works still (will it ?)
EDIT:
I remove assertion() line, and so didn't crash anymore, and that what i have in log when tried to play again and go to that problematic part:
And then all continue well as expected, aiTrack.GetNumTrackInfos always bigger than mTrackMarkerReached. And all seems visually from gameplay fine, and i didn't see any issues (at least visually) with removed assertion.
mTrackMarkerReached = 368
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 568
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 392
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 368
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 568
aiTrack.GetNumTrackInfos = 819
mTrackMarkerReached = 392
aiTrack.GetNumTrackInfos = 819
and then (part which assertion() fail):
mTrackMarkerReached = 368
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 568
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 392
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 318
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 318
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 312
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 318
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 318
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 312
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 0
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 0
aiTrack.GetNumTrackInfos = 323
mTrackMarkerReached = 0
aiTrack.GetNumTrackInfos = 323
Have any ideas maybe with all that info ?:)
Re: H-Craft Championship Open Source
Despite the name aiTrack this is just about points reached on the track (the kind of lines over the track which you can can see in the editor...which you can start with 'e' in debug before main-screen). So - this track has probably 323 reachable check-points. And the mTrackMarkerReached should be about the place a player has reached. So I guess it's reset too late? Or not reset?
Uhm, I'll have to to read that code again. Too long ago to remember (12 years ago??? I suddenly feel old ...). But right now I'm deep in debugging Irrlicht about other stuff. Have to finish that first.
Uhm, I'll have to to read that code again. Too long ago to remember (12 years ago??? I suddenly feel old ...). But right now I'm deep in debugging Irrlicht about other stuff. Have to finish that first.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: H-Craft Championship Open Source
Thanks ! But that no problems anyway, i just comment out that assertion line, and visually all works and plays fine , no one will notice So not big deal, if only some theoretical interest to know what going on. But "reset too late" sounds pretty possible , so we have some race-condition or so which may happens on one machine and didn't on another. But as commenting assertion() out fix it all , so no problems.
Re: H-Craft Championship Open Source
@All
As can be seen in previous posts on that topic, I was trying to make AmigaOS4 port of it, and now it's done! There is a news item I post on Amiga portals:
H-Craft Championship is fun to play sci-fi-racer. It features 28+ racetracks, a fresh design, and unique driving physics. It comes with a challenging Championship, an arcade, and 2 time-attack modes. Also on "Rivals" up to 4 players can have an exciting tournament on a single computer.
The game was commercial and closed-source, but just a few years ago sources were open.
On x5000 with RadeonHD and latest ogles2/warp3dnova, you can expect 50-65 fps in 1920x1080.
You also need to read (or at least check) the tasty PDF coming with the game. As the game was commercial, it means that all was done as should, and it comes with a good pdf tutorial.
There are a few brief moments which probably need to take attention on before you start:
-- to have FPS counter enabled press "F11" in an actual game.
-- to change between fullscreen/window mode, change in media/config.xml on line 23 "fullscreen" value (1 - fullscreen, 0 - window).
-- to change between different camera views press "C"
A game needs about 250MB of RAM, 300 MB of GPU memory, 35 MB of system's VRAM memory and 250 MB of HDD space.
See how it all in action:
video of H-CRAFT Championship in action on AmigaOS4, 1920x1080 full HD
As can be seen in previous posts on that topic, I was trying to make AmigaOS4 port of it, and now it's done! There is a news item I post on Amiga portals:
H-Craft Championship is fun to play sci-fi-racer. It features 28+ racetracks, a fresh design, and unique driving physics. It comes with a challenging Championship, an arcade, and 2 time-attack modes. Also on "Rivals" up to 4 players can have an exciting tournament on a single computer.
The game was commercial and closed-source, but just a few years ago sources were open.
On x5000 with RadeonHD and latest ogles2/warp3dnova, you can expect 50-65 fps in 1920x1080.
You also need to read (or at least check) the tasty PDF coming with the game. As the game was commercial, it means that all was done as should, and it comes with a good pdf tutorial.
There are a few brief moments which probably need to take attention on before you start:
-- to have FPS counter enabled press "F11" in an actual game.
-- to change between fullscreen/window mode, change in media/config.xml on line 23 "fullscreen" value (1 - fullscreen, 0 - window).
-- to change between different camera views press "C"
A game needs about 250MB of RAM, 300 MB of GPU memory, 35 MB of system's VRAM memory and 250 MB of HDD space.
See how it all in action:
video of H-CRAFT Championship in action on AmigaOS4, 1920x1080 full HD
Re: H-Craft Championship Open Source
@CuteAlien
There is some fresh review of HCRAFT port to AmigaOS4. It is in Poland, but google translate done things well, so if you in interest there is: http://www.amigaone.pl/?p=2969
There is some fresh review of HCRAFT port to AmigaOS4. It is in Poland, but google translate done things well, so if you in interest there is: http://www.amigaone.pl/?p=2969
Re: H-Craft Championship Open Source
Thanks. According to the translation I got you are a well-known Russian helicopter? ;-)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: H-Craft Championship Open Source
Haha yep Dunno what they mean, but probably something like "does many ports"
Re: H-Craft Championship Open Source
h-craft needs a steam version.
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
Re: H-Craft Championship Open Source
We could have needed steam back then.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: H-Craft Championship Open Source
steamOS version, i was wondering if this will be updated to irrlicht 1.8.5 soon or what the last version it compiled with on github.
Live long and phosphor!
-- https://github.com/netpipe/Luna Game Engine Status 95%
-- https://github.com/netpipe/Luna Game Engine Status 95%
Re: H-Craft Championship Open Source
Never compiled with steamOS. Which would be interesting. And compiling Irrlicht with steamOS probably worth it's own topic. Given that it's based on Debian8 both should have a good chance of working.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm