DarkflameServer/dGame
David Markowitz a2ca273370
Cleanup behavior bitstream reads (#888)
* Add failArmor server side

Address out of bounds reading in behavior

Address the basicAttackBehavior reading out of bounds memory and reading bits that didnt exist, which occasionally caused crashes and also caused the behavior to do undefined behavior due to the bad reads.

Tested that attacking a wall anywhere with a projectile now does not crash the game.  Tested with logs that the behavior correctly returned when there were no allocated bits or returned when other states were met.

Add back logs and add fail handle

Remove comment block

Revert "Add back logs and add fail handle"

This reverts commit db19be0906fc8bf35bf89037e2bfba39f5ef9c0c.

Split out checks

* Cleanup Behavior streams
2022-12-16 15:23:02 -06:00
..
dBehaviors Cleanup behavior bitstream reads (#888) 2022-12-16 15:23:02 -06:00
dComponents Fix crash in BasicAttackBehavior (#862) 2022-12-15 22:10:58 -08:00
dEntity format codebase 2022-07-28 08:39:57 -05:00
dGameMessages Fix Model Vault (#870) 2022-12-04 16:25:25 -06:00
dInventory Packages updates (#864) 2022-12-11 00:27:01 -08:00
dMission Remove Locale (#808) 2022-11-27 16:56:55 -08:00
dPropertyBehaviors Property Behavior deserialize definitions (#812) 2022-11-27 01:24:35 -08:00
dUtilities Packages updates (#864) 2022-12-11 00:27:01 -08:00
Character.cpp Address news feed showing up on every world transfer (#855) 2022-11-27 22:19:15 -08:00
Character.h Address news feed showing up on every world transfer (#855) 2022-11-27 22:19:15 -08:00
CMakeLists.txt Organize dScripts (#814) 2022-11-03 12:57:54 -05:00
Entity.cpp Fix Boogie Down (#854) 2022-11-27 04:03:30 -08:00
Entity.h format codebase 2022-07-28 08:39:57 -05:00
EntityManager.cpp format codebase 2022-07-28 08:39:57 -05:00
EntityManager.h format codebase 2022-07-28 08:39:57 -05:00
LeaderboardManager.cpp use UTF8ToUTF16 more (#695) 2022-08-02 08:56:20 -05:00
LeaderboardManager.h format codebase 2022-07-28 08:39:57 -05:00
Player.cpp convert to unix line endings 2022-08-05 22:01:59 -05:00
Player.h convert to unix line endings 2022-08-05 22:01:59 -05:00
TeamManager.cpp format codebase 2022-07-28 08:39:57 -05:00
TeamManager.h format codebase 2022-07-28 08:39:57 -05:00
TradingManager.cpp format codebase 2022-07-28 08:39:57 -05:00
TradingManager.h format codebase 2022-07-28 08:39:57 -05:00
User.cpp format codebase 2022-07-28 08:39:57 -05:00
User.h format codebase 2022-07-28 08:39:57 -05:00
UserManager.cpp Address news feed showing up on every world transfer (#855) 2022-11-27 22:19:15 -08:00
UserManager.h format codebase 2022-07-28 08:39:57 -05:00