albertz / openlierox

OpenLieroX - Liero clone / Worms realtime / 2D shooter
http://openlierox.net
Other
262 stars 59 forks source link

Immortal bots / Strange bot health behaviour #540

Open albertz opened 13 years ago

albertz commented 13 years ago

Converted from SourceForge issue 2984434, submitted by nobody

I discovered this bug while creating the dedicated script "team_defenders_beta.py". If you start that dedicated server, the bots will take damage from attacks (just as they should) in the beginning of the match. But suddenly all bots will become immune to damage. This happens after about 15 seconds of gameplay. The bot's can damage you but you can not damage them at all.

However the weapon Laser in Liero v2.0 can always damage the bots! Even when all other projectile weapons can not.

When you attack the bot's and hit them, you can see your "damage counter" in the scoreboard increase, even though the bots does not loose health. And when you die you will loose all those points from the scoreboard. Probably because the dedicated server tells your client "the trought".

albertz commented 13 years ago

Submitted by albertzeyer

Thanks for the report.

This is related to the projectile simulation. Maybe self-shooting prevention code related. Or related to the timing code.

albertz commented 13 years ago

600 was a duplicate. There might be some further important details.