Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Duke Nukem > Duke Nukem 3D Modifications
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 04-13-2005, 07:07 AM   #1
3D Master
Guest
JFDuke Enemy counting
I don't know if anyone knows this; but the enemy killed counting is seriously screwed up in JFDuke. Just finished E4L9 with about 10 or so enemies left alive, and it says I killed 257 and missed 0. I've noticed this in mutliple levels; often it says you got them all when there are still a few left.
 
Old 04-13-2005, 10:49 AM   #2
Killd a ton

Killd a ton's Avatar
Re: JFDuke Enemy counting
i think it has somthing to do with spawning players, are you shure it's not also in the original?
__________________
hell-angel: "I would sig this if I had the room."

Duke 3D art to do list
New and improved.
Killd a ton is offline  
Old 04-13-2005, 11:19 AM   #3
3D Master
Guest
Re: JFDuke Enemy counting
Quote:
Killd a ton said:
i think it has somthing to do with spawning players, are you shure it's not also in the original?
I don't think there are any spawning enemies in E4L9, and some of the enemies I left alive didn't spawn in. From what I can remember, the original didn't have that problem.
 
Old 04-13-2005, 11:19 AM   #4
AlgorithMan

AlgorithMan's Avatar
Re: JFDuke Enemy counting
Quote:
Killd a ton said:
i think it has somthing to do with spawning players, are you shure it's not also in the original?
257 eh?... you realise that in one byte you can store a value of 256 maximum? I guess this has something to do with it...
i often have 1-2 monsters left although i launched with parameter /m (deactivate monsters)...
cya

AlgoMan
__________________
I have discovered a truly wonderful signature, but this margin is too narrow to hold it.
AlgorithMan is offline  
Old 04-13-2005, 11:22 AM   #5
3D Master
Guest
Re: JFDuke Enemy counting
Quote:
AlgorithMan said:
Quote:
Killd a ton said:
i think it has somthing to do with spawning players, are you shure it's not also in the original?
257 eh?... you realise that in one byte you can store a value of 256 maximum? I guess this has something to do with it...
i often have 1-2 monsters left although i launched with parameter /m (deactivate monsters)...
cya

AlgoMan
Shouldn't that mean it can only count 255 enemies, the number 0 taking the first bit?

Besides, it also happens with levels with less enemies. Shop-n-bag had it too, I didn't destroy the tanks that emerge at the very and there, but I took it to mean that it was just those spawning tanks. Damn thing is, it's happened now with a level that from what I could tell doesn't have any spawning enemies.
 
Old 04-13-2005, 12:30 PM   #6
AlgorithMan

AlgorithMan's Avatar
Re: JFDuke Enemy counting
I mean it might be that the INC instruction sets the overflow flag and maybe duke considers the overflow flag when it calculates the result...
I mean it must have something to do with the byte limit 255 (yes - 256 different values, starting at 0)...
cya

AlgoMan
__________________
I have discovered a truly wonderful signature, but this margin is too narrow to hold it.
AlgorithMan is offline  
Old 04-13-2005, 02:48 PM   #7
TerminX

TerminX's Avatar
Re: JFDuke Enemy counting
I'm pretty sure it was changed to a short instead of a char some time ago.
TerminX is offline  
Old 04-13-2005, 08:31 PM   #8
Rellik66

Rellik66's Avatar
Re: JFDuke Enemy counting
Quote:
3D Master said:
I don't know if anyone knows this; but the enemy killed counting is seriously screwed up in JFDuke. Just finished E4L9 with about 10 or so enemies left alive, and it says I killed 257 and missed 0. I've noticed this in mutliple levels; often it says you got them all when there are still a few left.
I always thought that it may have had something to do with the slimer eggs that spawn slimers. I think that essentially you get an extra kill for killing the egg.
[edit]
Yup, I created a test map with only one egg and a nuke button, killing the egg before the slimer spawns yields only one kill with 0 left, and killing the egg and the slimer yields 2 kills.
Rellik66 is offline  
Old 04-14-2005, 01:22 AM   #9
AlgorithMan

AlgorithMan's Avatar
Re: JFDuke Enemy counting
but also if there are no enemies at all (parameter /m) it still often shows 1-2 were left... these errors might work together
__________________
I have discovered a truly wonderful signature, but this margin is too narrow to hold it.
AlgorithMan is offline  
Old 04-14-2005, 01:50 AM   #10
3D Master
Guest
Re: JFDuke Enemy counting
Quote:
Rellik66 said:
Quote:
3D Master said:
I don't know if anyone knows this; but the enemy killed counting is seriously screwed up in JFDuke. Just finished E4L9 with about 10 or so enemies left alive, and it says I killed 257 and missed 0. I've noticed this in mutliple levels; often it says you got them all when there are still a few left.
I always thought that it may have had something to do with the slimer eggs that spawn slimers. I think that essentially you get an extra kill for killing the egg.
[edit]
Yup, I created a test map with only one egg and a nuke button, killing the egg before the slimer spawns yields only one kill with 0 left, and killing the egg and the slimer yields 2 kills.
Maybe, but unkilled enemies should still be counted, somehow they are not.
 
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:41 PM.

Page generated in 0.14966393 seconds (100.00% PHP - 0% MySQL) with 18 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.