clipmove / NotBlood

Gameplay Mod For NBlood
https://github.com/clipmove/NotBlood/releases
64 stars 4 forks source link

Invincible underwater cultist #104

Closed RealDoigt closed 8 months ago

RealDoigt commented 8 months ago

Hi, it's been a while since I played blood so I don't remember if this is normal, but in the Dark Carnival level a machine gun cultist fell into the water and became invincible. I could kill the fish in the water, but I emptied all of my ammunition and tried to melee him, he wouldn't die.

tmyqlfpir commented 8 months ago

Hi, can you provide your notblood_cvars.cfg, notblood.cfg files please. And were you running any mods?

RealDoigt commented 8 months ago

Hi, can you provide your notblood_cvars.cfg, notblood.cfg files please.

No unless you tell me where they're supposed to be. I couldn't find them in the notblood folder. I'm on Linux.

And were you running any mods?

No, but I have the plasma pak, dunno if it makes any difference since I was on a vanilla level.

tmyqlfpir commented 8 months ago

I'm told it is stored in ~/.config/notblood

RealDoigt commented 8 months ago

It doesn't let me upload them. I copy pasted the contents here, although I don't believe they have anything to do with the issue at all.

notblood_cvars.cfg

// this file is automatically generated by NotBlood
unbindall
bind "1" "gamefunc_Weapon_1"
bind "2" "gamefunc_Weapon_2"
bind "3" "gamefunc_Weapon_3"
bind "4" "gamefunc_Weapon_4"
bind "5" "gamefunc_Weapon_5"
bind "6" "gamefunc_Weapon_6"
bind "7" "gamefunc_Weapon_7"
bind "8" "gamefunc_Weapon_8"
bind "9" "gamefunc_Weapon_9"
bind "0" "gamefunc_Weapon_10"
bind "-" "gamefunc_Shrink_Screen"
bind "=" "gamefunc_Enlarge_Screen"
bind "BakSpc" "gamefunc_Turn_Around"
bind "Tab" "gamefunc_Map_Toggle"
bind "Q" "gamefunc_Last_Weapon"
bind "W" "gamefunc_Move_Forward"
bind "E" "gamefunc_Open"
bind "R" "gamefunc_RemoteBombs"
bind "T" "gamefunc_Send_Message"
bind "U" "gamefunc_Mouse_Aiming"
bind "I" "gamefunc_Toggle_Crosshair"
bind "P" "gamefunc_ProximityBombs"
bind "[" "gamefunc_Inventory_Left"
bind "]" "gamefunc_Inventory_Right"
bind "Enter" "gamefunc_Inventory_Use"
bind "LCtrl" "gamefunc_Crouch"
bind "A" "gamefunc_Strafe_Left"
bind "S" "gamefunc_Move_Backward"
bind "D" "gamefunc_Strafe_Right"
bind "F" "gamefunc_Map_Follow_Mode"
bind "J" "gamefunc_JumpBoots"
bind "K" "gamefunc_See_Coop_View"
bind ";" "gamefunc_Previous_Weapon"
bind "'" "gamefunc_Next_Weapon"
bind "LShift" "gamefunc_Run"
bind "X" "gamefunc_Weapon_Special_Fire"
bind "C" "gamefunc_CrystalBall"
bind "B" "gamefunc_BeastVision"
bind "M" "gamefunc_MedKit"
bind "/" "gamefunc_Jump"
bind "RShift" "gamefunc_Run"
bind "LAlt" "gamefunc_Strafe"
bind "Space" "gamefunc_Jump"
bind "CapLck" "gamefunc_AutoRun"
bind "F6" "gamefunc_Quick_Save"
bind "F7" "gamefunc_See_Chase_View"
bind "F9" "gamefunc_Quick_Load"
bind "ScrLck" "gamefunc_Holster_Weapon"
bind "Kpad7" "gamefunc_Aim_Up"
bind "Kpad8" "gamefunc_Move_Forward"
bind "Kpad9" "gamefunc_Look_Up"
bind "Kpad-" "gamefunc_Shrink_Screen"
bind "Kpad4" "gamefunc_Turn_Left"
bind "Kpad5" "gamefunc_Aim_Center"
bind "Kpad6" "gamefunc_Turn_Right"
bind "Kpad+" "gamefunc_Enlarge_Screen"
bind "Kpad1" "gamefunc_Aim_Down"
bind "Kpad2" "gamefunc_Move_Backward"
bind "Kpad3" "gamefunc_Look_Down"
bind "Kpad0" "gamefunc_Tilt_Left"
bind "Kpad." "gamefunc_Tilt_Right"
bind "KpdEnt" "gamefunc_Inventory_Use"
bind "RCtrl" "gamefunc_Weapon_Fire"
bind "RAlt" "gamefunc_Strafe"
bind "Home" "gamefunc_Aim_Up"
bind "PgUp" "gamefunc_Look_Up"
bind "Left" "gamefunc_Turn_Left"
bind "Right" "gamefunc_Turn_Right"
bind "End" "gamefunc_Aim_Down"
bind "PgDn" "gamefunc_Look_Down"
bind "Insert" "gamefunc_Tilt_Left"
bind "Delete" "gamefunc_Tilt_Right"
osdeditpal "12"
osdtextpal "12"
osdtextshade "2"
r_maxspritesonscreen "4096"
screenshot_dir "screenshots"
mus_sf2_bank "notblood.sf2"
net_address "localhost"
net_port "23513"

notblood.cfg

[Setup]
CacheSize = 100663296
ConfigVersion = 123
ForceSetup = 1
NoAutoLoad = 1
QuickStart = 0
LastINI = "blood.ini"
ModDir = "/"

[Screen Setup]
Polymer = 0
ScreenBPP = 8
ScreenHeight = 768
ScreenMode = 1
ScreenWidth = 1360
MaxRefreshFreq = 0
CustomPalette = 0
CustomPaletteCIEDE2000 = 0
CustomPaletteGrayscale = 0
CustomPaletteInvert = 0

[Controls]
MouseButton0 = "Weapon_Fire"
MouseButtonClicked0 = ""
MouseButton1 = "Weapon_Special_Fire"
MouseButtonClicked1 = ""
MouseButton2 = ""
MouseButtonClicked2 = ""
MouseButton3 = ""
MouseButtonClicked3 = ""
MouseButton4 = "Previous_Weapon"
MouseButtonClicked4 = ""
MouseButton5 = "Next_Weapon"
MouseButtonClicked5 = ""
MouseButton6 = ""
MouseButtonClicked6 = ""
MouseButton7 = ""
MouseButtonClicked7 = ""
MouseButton8 = ""
MouseButton9 = ""

[Comm Setup]
PlayerName = "Cerberus"
CommbatMacro#0 = "I love the smell of napalm..."
CommbatMacro#1 = "Is that gasoline I smell?"
CommbatMacro#2 = "Ta da!"
CommbatMacro#3 = "Who wants some, huh? Who's next?"
CommbatMacro#4 = "I have something for you."
CommbatMacro#5 = "You just gonna stand there..."
CommbatMacro#6 = "That'll teach ya!"
CommbatMacro#7 = "Ooh, that wasn't a bit nice."
CommbatMacro#8 = "Amateurs!"
CommbatMacro#9 = "Fool! You are already dead."

[Game Options]
Autosave = 1
LockManualSaving = 0
RestoreLastSave = 1
VanillaMode = 0
MonsterSettings = 1
QuadDamagePowerup = 0
DamageInvul = 0
ExplosionsBehavior = 0
ProjectilesBehavior = 0
NapalmFalloff = 0
EnemyBehavior = 1
EnemyRandomTNT = 0
WeaponsVer = 0
SectorBehavior = 0
HitscanProjectiles = 0
RandomizerMode = 0
RandomizerSeed = ""
tmyqlfpir commented 8 months ago

Unfortunately I cannot recreate this bug despite having the same settings. I'm not sure what caused the enemy to become invincible so I can't quite figure out where the issue is code wise.

If you have any further instructions to recreate the bug, please mention them otherwise I'll have to close the issue. Sorry!

RealDoigt commented 8 months ago

In other games, devs often ask for save files. Is there nothing you can glean from it if I upload them?

tmyqlfpir commented 8 months ago

The save files are not platform agnostic (I don't main Linux yet), so I wouldn't be able to do anything. If you have steps to recreate the issue so I can debug it, otherwise I can't really help much. Sorry.

RealDoigt commented 8 months ago

Download Ubuntu. Download VMware or virtualbox. Install Ubuntu on the VM, at least 30gb hard drive and 4gb ram. Use the Ubuntu installer. Drink coffee or go play some video games for about 20 minutes. You now have a Linux test machine. Add me on discord (.doigt) if you need help setting it up. Instruction for the bug are as stated previously, get a machine gun cultist in the water in dark carnival. The first group you encounter. I'm using the GCC version.

tmyqlfpir commented 8 months ago

I spent an hour resetting E1M4 and testing the first group of cultists across every difficulty, and I have not encountered the bug which you have described.

https://github.com/clipmove/NotBlood/assets/80724828/e2dbe447-4ffa-4628-8c5a-ffb67c553d70

If you have any further instructions on how to recreate the issue you've experienced, please comment it. Otherwise I will close this issue and flag as a non reproducible bug.

RealDoigt commented 8 months ago

try my savefile, I have reproduced it and confirmed that the cultist in the water is invincible. https://drive.google.com/file/d/1tWkA124VzHyLt3_u6Qp2QykcNEwOEoV2/view?usp=sharing

tmyqlfpir commented 8 months ago

https://github.com/clipmove/NotBlood/assets/80724828/e5697e52-cb95-4355-b967-4aa6560a7665

RealDoigt commented 8 months ago

I FOUND IT, windowed -> killable. Fullscreen -> unkillable/harder to kill

tmyqlfpir commented 8 months ago

https://github.com/clipmove/NotBlood/assets/80724828/8fb9dc8d-cb6c-4c7f-aeb9-7e642f552fbb

tmyqlfpir commented 8 months ago

Thanks for the bug report, however I cannot reproduce this issue despite using the same settings as yourself, and using the save game provided. Switching to full/window does not change the difficulty

RealDoigt commented 8 months ago

weird. It happens 3 times out of 4 that he becomes unkillable for me. Fullscreen doesn't change the difficulty, it only makes that one cultist impossible to kill or harder to hit, like the bullets go through rather than hit him.

tmyqlfpir commented 8 months ago

I have repeatedly reloaded the save, and switched both fullscreen and windowed mode. Sorry but I will have to close it for now.

RealDoigt commented 8 months ago

Can you keep it open so that I or someone else can fix it? Because the issue is still there. I suspect it has to do with screen settings and the way the engine renders. The angles are probably off on my screen settings, I will try with different resolutions.

tmyqlfpir commented 8 months ago

It's likely the issue is autoaim vectors being overall inaccurate and overshooting the enemy while in water, because their sprite height is shorter. This is an original DOS bug and nothing to do with changing the resolution or switching to window mode/fullscreen. I suggest setting autoaim off.

RealDoigt commented 8 months ago

No, I really am noticing a difference depending on the resolution. Some resolutions really make it harder. You can close if you want, I'll make a list of safe resolutions. I'm noticing a pattern...

tmyqlfpir commented 8 months ago

Please run the argument -validate while in an unsafe resolution.

RealDoigt commented 8 months ago

nevermind I cannot reproduce on my brother's computer. It's so weird. I think it only affects me. Will investigate this weekend, you can close if you want.

RealDoigt commented 8 months ago

thanks for your help. I suspect as you say that it's a quirk of the original. Maybe it wasn't meant to be played on a huge telly or something.