Page 1 of 1

New Build (2011-05-06) - This Time For Sure!

Posted: Sat May 07, 2011 5:16 am
by Ultraken
Well that was an inauspicious start...

This build fixes the crash when using a non-US keyboard layout but is otherwise exactly the same as the 2011-05-05 build. Since most people tend to skip over older builds, I'll repeat my explanation of how things have changed and include an updated "What's New" section.

First up, I've added a new Testing build. The Testing build is fully optimized but includes debugging features that should help track down some lingering problems. It prints debugging output visible in a debugger like Visual C++, pops up warning messages when expected conditions aren't met (usually before something bad happens), and catches divide-by-zero or invalid floating-point operation rather than let them slide and corrupt the game state. The Release build is still available, but I ask that everyone try out the Testing for a while. Unfortunately, the new game executable check means it isn't compatible with the Release build in multiplayer games. (I may need to disable that test temporarily...)

Second, I've renamed the "Program Database" links "Debug Symbols" since that's what they are. While they're still optional, I ask that everyone get them since reporting call stacks helps me fix problems faster.

Third, I've replaced the "Changes" sections with a "What's New" section. It only includes changes relevant to players and I've tried to write it in a friendlier, easier-to-read form. The normal change log is still included with the executable if anyone cares.


Downloads:

Testing Executable and Symbols - this is the preferred build for now
Release Executable and Symbols


What's New:

* Fixed a crash at mission launch when using a non-US keyboard mapping

2011-05-06

What's new:

* Fixed missing smoke on damaged vehicles after loading from a save game

* Fixed a bad calculation after a unit took damage from its own weapon and attempted to flee from itself
- This would corrupt the unit's game state and might have trigger the blank-screen problem

* Made UnitTask smarter about using charge weapons based on suggestions from DarkVim:
- Start charging immediately upon entering combat
- Start or continue charging even when out of range or unable to hit
- Choose the "best" charge level based on damage rate and ammo efficiency

* TurretTank can use special weapons if so equipped
- This is of interest only to modders since the stock Turets lack special hardpoints

* FollowTask only engages in attacks of opportunity when following normally
- It breaks off when it needs to catch up with its follow target
- This restores 1.4 behavior when it gets too far away

* Player will respawn while in the net game escape screen...
- ...but only in strategy games, where it's a known exploit
- Letting players take a break in DM games should be fine

* Raised the scrap drop limit for Craft and Bulding to up to +2 above scrap cost
- Odd scrapCost: allow up to scrapCost+1 (1->2, 3->4, etc.)
- Even scrapCost: allow up to scrapCost+2 (2->4, 4->6, etc.)

* Fixed a crash in multiplayer with sniper off when a weapon was missing

* Mission asset check includes the game executable as a security precaution
- Unfortunately, this makes Testing and Release builds incompatible

* Replaced game input key codes with virtual keys
- This should have no player-visible effect, but please report any key input problems
- UPDATE: fixed a crash on startup when using a non-US keyboard mapping

* In-game chat text input now works more like the shell
- Get character input from Windows instead of working it out on its own
- This should fix input problems on non-US keyboards
- Allow key repeat like a Windows edit control
- Get multiple events per frame for better response at low frame rates

* Restored 1.4-style UnitProcess "defend" behavior during repair/reload
- Units circle around the building until given another command
- NOTE: Scavengers and Tugs still use the "go near and sit" behavior