17 stories · 1 update

0-byte model files no longer crash the game; Linux build cleanups

Commit 038c27 on main handles 0-byte model files that were crashing the game; commit 75a5a6 gets Linux32 building again for now.

Details
  • 038c27: unused Bootil features that print warnings disabled; less Linux compile log noise; unused libraries removed from lib/; 0-byte model files handled; compile warning fixes; Linux64 build progress; tool projects renamed internally
  • 75a5a6: "Get Linux32 to build for now. Seems there's a VPC bug on Linux that needs investigating"

Alt+F4 quit dialog causes menu focus problems

In #next-update, Vitroze reported that after Alt+F4 → Cancel, opening the Problems menu and clicking outside loses focus on the main menu (x86-64 build 10211). Dezlo saw server-created menus not removing properly after cancelling the prompt. Earlier, Drago🐉 noted that closing GMod via Alt+F4 or the taskbar now brings up a confirmation menu.

map_pack.bsp cache sometimes stops updating on servers

In #next-update, Redox reported servers where cache/map_pack.bsp stops updating, so new maps load lumps from previous ones until a restart. Rubat said it must be written to disk and may need more error handling, and listed the related log messages. They have to be searched for in console.log with -condebug, which Redox avoids for performance; Cynthia suggested enginespew.

Addons start hitting the new surface.DrawPoly error

In #next-update, Redox (22 Oct) and Nykez (23 Oct) saw bad argument #1 to 'DrawPoly' (table must contain at least three vertices), for example from cl_arc.lua. On 25 Oct Vitroze asked whether it would be fixed. Nykez said it is a bug fix and code has to be fixed, and Rubat agreed: "its not valid code on your end". Beelzebub posted a one-line patch for the bad math in luabee's arc library.

x86-64 beta catches up: ALT+F4, DrawPoly errors, SetPos touch events and more

Commit bb0975 on the x86-64 beta brings over the main changes from 5–12 October: the surface.DrawPoly error on fewer than 3 vertices, the mcore rope fix, ALT+F4 closing the game, the getmetatable() LuaJIT fix, the map compiler updates, Entity:SetPos running trigger touch events, menu state library removal, the HQ Eli face and the other fixes listed in commits 185851, efb205, 7be067, 71ca28, c18cba and 693484.