From the team
We've been working hard to bring a new patch which eliminates around 99% from the spawn-lag in multiplayer, we'd like to thank our beta test squad for helping us through this update, to get everything ready for a public release.
Now lets take a look at what we've been up to.
Async Vehicle Spawning
In short, we were fed up with spawn-lag in multiplayer. So we decided to put all our effort in optimizing the code, and multi-threading it where-ever we could.
If you've ever played HB13, you'll know exactly what this looks like, if you haven't, you can see it in-action here
This feature will only apply to vehicles spawned by other players, since we don't like waiting for our own vehicles to spawn! This ensures that personal spawns happen as soon as humanly possible!
You'll also notice that spawning in general has been sped up quite a bit with this update, one of the main vehicles we tested during these optimizations is RhoSigmas AN225, which he graciously gave us for testing purposes.
The spawning process used to take around 31 seconds on high settings on our test machines, now it's around 8 seconds!
This means that each vehicle, spawned by the world, or other players, will now spawn in chunks, on multiple threads, in the background (where-ever possible).
This makes sure Homebrew can continue its operations without lag, as the main thread isn't hogged up by a vehicle spawn! So you can cruise around in multiplayer without giant hick-ups.
We hope that this will improve the multiplayer experience quite a bit.
Other then the async spawning, and spawning optimizations, we've been hard at work at fixing a ton of other things as well.
BEWARE: Some of these might change the behavior of your vehicles a bit!
Changes
- Gas Turbine Jekyll no longer able to go reverse
- Infinite setting on the battery and fuel tank is now truly infinite
- Fuel tanks will now lose weight upon losing fuel (as long as the fuel isn't set to infinite obviously!)
- Ballast now correctly adds weight when the ballast was part of another assembly
- Light color property has been changed from hex code (#FF00AA) to separate RGB float inputs (from 0 to 1), and has RGB float wires now as well
- NaN / Infinity / -Infinity no longer throws an error on wires
- Math box Log now takes a B-input to do log(a,b), if B is not present, it will result to log10(a)
- Multiplayer vehicles get cached as MD5 now instead of vehicle names
- Color coding no longer works in chat!
- Memory boxes now sync correctly in MP
- L/s on the fuel tank is now L/h, like the float wires
- Spring joints now allow for negative offset and pressure (the spring length can't go below 0 for obvious reasons)
- Extra drag on hinges removed
There's also been a ton of other fixes
Fixes
- 360 hinge not being selectable when saved in a separate assembly
- Ballast not being selectable when saved in a separate assembly
- Drive Hinge rotation gizmo rotating the wrong direction
- Drive Hinge rotation gizmo rotating on the wrong axis
- Mouse cursor disappearing when holding RMB and opening inventory or tuner in the builder
- CoT not showing for Balloons and Blimps
- Nene sounds always playing
- Ramjet engine sounds always playing
- typos (Vector trust engine, max angle instead of angle multiplier, etc)
- Receiver working without any power
- Whirlwind fan spinning in the wrong direction
- Solar panel not syncing correctly in MP
- Drive hinge + negative torque (using an e-power motor for instance) and a negative transmission value resulting in the wrong torque output (reversed)
- Wing offsets getting doubled on separate assemblies
- Wings not calculating correctly for vehicles someone else spawns (Especially noticeable with adjustable wings!)
- Project files not being deleted when destroying a project
- Empty Project folders not being deleted when you don't save anything
- Players all looking south in Multiplayer
- Download queue not finding the same vehicle, and redownloading it after every spawn
- Server browser history & cache and favorites would sometimes crash mid-function if the cache was corrupted somehow
- Shortcuts triggering in builder when typing in a name or editing a property
- Large messages in chat sometimes not being the correct height, making it unreadable
EDIT: Fixed the bike fuel tank having 170L of fuel instead of 17L, causing it to weight quite a bit more then it should!
Thanks for the find DocOlds!
EDIT2: Found another bug regarding the wing-offset fix we implemented, that fix is now removed, and rewritten. So everything should work as expected.
Sorry for the inconvenience!
What if I have a problem?
To ensure that no issue is overseen we'll be monitoring steam, DISCORD and our other channels even more over the course of the following days. In the unfortunate event that you encounter a bug please follow these steps so that we can release a patch asap:
- See if you can replicate the bug
- Be as specific as possible about the issue, the more information the better. Preferably attach your output_log.txt file which can be located in: installed directory / HB146_Data folder (right click on Homebrew in your game library, select properties and then browse local files)
- Notify us on Steam or Discord (faster response time)
And lastly,
DREAM - BUILD - ENJOY
Copybugpaste Team