Overhaul 4.0 Pre-Release, ahhhhh
Added 2019-07-05 16:48:13 +0000 UTC
Hell ye! Raising Major version number in the last moment once again!
Heya. The new Overhaul update (previously called 3.3) is finally pretty much ready to be released to public, but, since I didn't do much betas in last 2 weeks, it's only sane to delay the public release by 1 more day to make sure that there's no game breaking bugs and that there's nothing I forgot to do.
-== Download ==-
Release: From MEGA
(Something weird happened to PDB file generation...
🦀 🦀 🦀 No more Debug builds! 🦀 🦀 🦀 )
-== Noteworthy Stuff ==-
Bow Rework

Bows have been rewritten and redesigned from scratch, fixing pretty much all the issues the previous bow overhaul had.
The new bows function as follows:
- LMB spams arrows exactly like in vanilla, but with initial startup time (same fire rate after it) and with auto-fire enforced (reduces speed slightly for bows that didn't have it);
- RMB charges up a shot, which will fire immediately if released at any point; If a shot is charged for enough time, the amount of arrows fired from it will be tripled;
- Bow will now just fire when charged for too long, instead of stunning the player like it used to do;
- Charging can be halted with Reload key.
All this is accompanied by damage rebalances and new enjoyable visual feedback.
Networking Rewrite
Basically, all old multiplayer-related code annoyed me so much that I angrily scrapped it all and rewrote it from scratch, with way better object-oriented design. This means two things:
1 - Multiplayer now reuses a lot of code and there should be less cases where one entity sends a packet completely wrong, but another sends the same packet fine, and it should be harder for me to screw things up. Basically, more stable stability.
2 - All multiplayer needs testing. I did plenty of testing myself with a friend (yes I finally played this game), but only in early game.
New update notifications
Overhaul will now be able to update Overhaul for you when Overhaul 4.0 hits mod browser, so that you don't have to type the word Overhaul in search. That's pretty cool.
-== Changelog ==-
(This includes changes from random unstable betas I posted on Discord)
Added:
- Added plenty of effects to when a meteorite lands (Suggested by Kiroto, then, much later again, by Superkip).
- Improved smart cursor controls. Its key now needs to be held down for smart cursor to be active, but it can be toggled by pressing it 2 times in a row. This can be disabled.
- Overhaul Settings will now be highlighted in main menu if they were never visited.
- Added automatic mod update dialogue.
- Added wake up notifications to sleep.
- Players can no longer sleep if a monster is in 24 block radius next to them, and they will wake up mid-night if a monster gets closer than 16 blocks to them when they sleep.
- Players can no longer sleep during boss fights, and will wake up if a boss is summoned anywhere in the world.
Changed:
- Heavily improved item overhauls' compatibility with heavily modded items.
- QoL: Bushes will no longer grow next to doors.
- Changed Brain of Cthulhu's confused debuff duration time from 1 second to 5. This actually makes the fight easier.
- Wandering enemies will now be able to see players through glass/other transparent blocks.
- Arkhalis now has velocity based damage, just like every other melee weapon.
- Overhaul will no longer modify all existings input profiles.
- Smart Cursor will no longer get toggled if it's assigned to Left Alt and the player is hovering over inventory/other UI.
- Reworked banners. They now double loot & coin drops from their specific enemies instead of increasing damage and defense against them, since the effect was so powerful that it's unwanted.
+ Banners no longer double life heart drops. - Disabled logging of some more handled exceptions.
- Minions will no longer charge up player's crit meter, even with their projectiles.
- Improved 'right click -> middle mouse button' swaps in tooltips of chargeable modded items.
- Removed "Middle Click (Alt Use)" bind. Will now use MouseMiddle bind from Vanilla/tML instead.
Fixes:
- Fixed Arkhalis being completely broken (thanks for reminding, ry).
- Fixed pan always being on the right for overhaul's sound effects.
- Fixed 'An item with the same key has already been added.' exception that could occur in InvokeDelayed method, which is used by few random things, from boss sounds, to informational messages.
- Fixed possible random mod incompatibilities (Missing method exceptions), caused by modifications done to MonoMod library without changing its assembly name.
- Fixed seasonal (de)buffs' effects not working, due to some buff tagging code missing.
- Fixed enemies sometimes using up the player's crits. Projectile creation detection is hacky.
- Fixed some projectiles causing the screen to get covered by a giant number from crit meter, due to bad divisions and negative values.
- Fixed modded projectile broadswords' not firing triple amount of projectiles on charge.
- Fixed "Can be picked back up with right click" tooltip being shown on bows & crossbows.
- Fixed a rare minimap-related crash which could occur when joining servers that don't have overhaul.
- Fixed melee weapons dealing damage multiple times sometimes in multiplayer.
- Fixed a rare null reference exception in OverhaulPlayer.PreUpdate_Voice
- Fixed plenty of sometimes unnoticeable, but severe desynchronization in MP related to monsters.
- Fixed possibility of unlimited amounts of players being able to sleep in 1 bed. Kinky.
- Fixed a random issue that sometimes resulted in some GRealm enemies pretty much freezing the game.
- Fixed Weapon magazine/clip UI missing.
- Fixed some crashes sometimes caused by Overhaul's OggMusic library.
- Fixed rare "Collection was modified" crashes in "MenuSystem.Interface_ModLoaderMenus" when mod's loading up.
- Did a temporary fix for some mod incompatibilities that resulted in game freezing when loading a world.
- Improved some error-proofing for vanilla's shader-related code.
- Issue #140 - Stomps can weirdly happen multiple times per landing in multiplayer.
- Issue #141 - Climbing can sometimes get desynchronized in MP.
- Issue #142 - Players sometimes get desynced in multiplayer after they finish a dodgeroll.
- Issue #62 - Tree falling animation doesn't work if tree is cut down by the stump.
- Issue #143 - Included a fix for tModLoader 0.10's (already fixed in 0.11) bug that could cause crashes when opening controls menu with no input profiles.json file created yet.
- Issue #144 - Included a fix for a perhaps difficult to reproduce Vanilla crash which could occur when leaving controls screen after modifying something.
- Issue #145 - Cloud in a bottle-type items increases jump height.
- Issue #146 - Probably fixed Overhaul's network packets causing "Invalid operation at this state" kicks of clients that were joining servers. Other mods, however, can still cause it, and this is up to be fixed by tModLoader's developers.
- Issue #63 - Terraria's process doesn't get closed due to non-background threads?
- Issue #85 - Some of "The Throwing Expansion" mod's items are broken or behave unexpectedly with Overhaul installed.
- Issue #106 - Phantasm and some other bows are invisible.
Optimization:
- Melee weapons no longer do raycasts on servers, heavily improving performance.
- Melee weapons of non-local players will now only do a single raycast for gore, heavily improving performance in MP in cases when a lot of people are swinging their swords.
- Upgraded some item optimizations with injections. Items that are motionless will no longer do collision checks every frame, which drastically boosts performance.
Combat:
- Completely revamped bow overhaul:
- LMB now shoots arrows exactly like in vanilla, but with initial startup time (results in same firerate), and with autofire enforced (reduces speed slightly for bows that didn't have it);
- RMB charges up a shot, which will fire immediately if released;
- If charged for too long, the shot will change into a triple one;
- If again held for too long, it'll fire a triple shot instead of stunning the player;
- Charged shots can also be halted by pressing reload key.
All this is accompanied by damage rebalances and enjoyable visual feedback. - Pickaxes got some new effects and are now chargeable. Their charged attack is a triple swing, like on shortswords.
- Shortswords can now be charged for a triple swing.
- Increased axes' damage multiplier from x1.15 to x1.20
UI:
- Item overhaul informational tooltips will now be shown when Left Alt is held.
- Improved overhaul settings' buttons sounds. Also, escape key will now properly work as a shortcut to go back 1 menu.
Multiplayer:
- Improved climbing synchronization; Logic checks for climb start now only occur for local player, slightly lowering max CPU usage.
- Rewrote all of overhaul's network packets from scratch with some much fancier object-oriented design, which should improve stability consistency by a lot and make it harder to screw up code.
- Killing Blows' effects are now synchronized in multiplayer.
- Bleeding message is now synchronized in multiplayer.
- Synchronized crit charging in multiplayer.
- Synchronized bleeding in multiplayer.
Removed:
- Removed unused .mp3 duplicate music track, slightly lowering size.
Thanks for all the support!
