Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Question about current svn version
Question about current svn version[message #227167]
|
Tue, 14 July 2009 19:23
|
|
DeFransen |
|
Messages:32
Registered:July 2009 Location: Here |
|
|
Hi Tron,
I compiled the svn version yesterday via Code::Blocks which worked without a problem, but whenever the first shoot is fired the game crashed. I also compiled using your makefile with the same result. Here is the end of stderr of the debug version.
>>>> SND: PLAY channel 2 sample 21 file "SOUNDS/target cursor.WAV"
>>>> SND: DEAD channel 1 file "SOUNDS/target cursor.WAV" (refcount 2)
Event Pump: Begin Fire Weapon
!!!!!!! Starting attack, attack count now 1
!!!!!!! Starting attack, bullets left 1
Deduct Points (0 at 7750) 0 0
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
>>>> SND: DEAD channel 2 file "SOUNDS/target cursor.WAV" (refcount 1)
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
!!!!! Incrementing attacker busy count..., CODE FROM ANIMATION SHOOT (R) STAND ( 13 ) : Count now 2
Event Pump: FireWeapon
Deduct Points (0 at 7750) 11 0
>>>> SND: LOAD file "SOUNDS/WEAPONS/9mm SINGLE SHOT.WAV" format 1 channels 1 rate 44100 bits 16 to slot 22
>>>> SND: SMPL "SOUNDS/WEAPONS/9mm SINGLE SHOT.WAV" from 44100Hz to 22050Hz
>>>> SND: PLAY channel 1 sample 22 file "SOUNDS/WEAPONS/9mm SINGLE SHOT.WAV"
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
...
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
>>>> SND: LOAD file "SOUNDS/WOOD IMPACT 01A.WAV" format 1 channels 1 rate 22050 bits 8 to slot 23
>>>> SND: PLAY channel 2 sample 23 file "SOUNDS/WOOD IMPACT 01A.WAV"
>>>> SND: LOAD file "SOUNDS/RICOCHET 01.WAV" format 1 channels 1 rate 11025 bits 8 to slot 24
>>>> SND: PLAY channel 3 sample 24 file "SOUNDS/RICOCHET 01.WAV"
@@@@@@@ Reducing attacker busy count..., CODE FROM ANIMATION SHOOT (R) STAND ( 13 )
!!!!!!! Ending attack, attack count now 1
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
>>>> SND: DEAD channel 2 file "SOUNDS/WOOD IMPACT 01A.WAV" (refcount 1)
>>>> SND: DEAD channel 3 file "SOUNDS/RICOCHET 01.WAV" (refcount 1)
===> E:\Sources\Ja2\src\Structure.cc:792: DeleteStructureFromWorld() FIXME
!!!!!!! Ending bullet, bullets left 0
@@@@@@@ Freeing up attacker - miss finished animation
!!!!!!! Ending attack, attack count now 0
Handling morale event 2 for SOLDAT at X=9, Y=1, Z=0
It looked different when the enemy fired first and mentioned something about a bullet hitting twice.
Is this a bug in the code?
If not which versions of SDL and MinGW do you use for compiling?
PS: great work so far
Edit: just checked out again, same result; rev 6307
[Updated on: Tue, 14 July 2009 19:48] by Moderator Report message to a moderator
|
Private 1st Class
|
|
|
|
|
Another (win-specific?) bugfix[message #228035]
|
Mon, 20 July 2009 09:54
|
|
DeFransen |
|
Messages:32
Registered:July 2009 Location: Here |
|
|
in Tile_Cache.cc, function GetRootName:
ReplacePath(pDestStr, (size_t)-1, "", pSrcStr, "");
(size_t)-1 gets -1 (at least on my platform), this makes the tilecache inaccessable causing corpses not to show up in the game
changed to:
ReplacePath(pDestStr, MAX_PATH, "", pSrcStr, "");
I also removed the snprintf hack in SGPStrings for win platform, since its operational in current MinGW releases
[Updated on: Mon, 20 July 2009 09:58] by Moderator Report message to a moderator
|
Private 1st Class
|
|
|
|
|
|
Re: Another (win-specific?) bugfix[message #228058]
|
Mon, 20 July 2009 12:46
|
|
DeFransen |
|
Messages:32
Registered:July 2009 Location: Here |
|
|
1. confirmed, works now
2. It does not implement _snprintf but snprintf
See: MinGW-runtime-3.15 changelog
3.Quote:This is no desired behaviour for FileOpen() Allright
offtopic: You play armagetron? .. and dare to challenge me? :redracer:
[Updated on: Mon, 20 July 2009 15:05] by Moderator Report message to a moderator
|
Private 1st Class
|
|
|
Goto Forum:
Current Time: Sat Apr 20 01:38:09 GMT+3 2024
Total time taken to generate the page: 0.01092 seconds
|