8 stories

Crash from removed triggers fixed; Hunter pose parameter fix; VPC and gmad build for Linux64

Commit b9fc35 on main fixes a crash with inputs firing from removed triggers, the Hunter NPC's wrong lookup function and lets SetSaveValue set m_hStoredPathTarget; VPC and gmad/gmpublish now build for Linux64.

Details
  • Fixed a crash with inputs firing from removed triggers
  • Fixed the wrong lookup function in Hunter NPC code
  • m_hStoredPathTarget added to the SetSaveValue whitelist
  • VPC and gmad/gmpublish build for Linux64; VPC builds and runs for Win64; VPC colors on Linux; no CodeLite projects on Linux
  • Lowercase min/max macros removed so they don't interfere with C++ headers on 64-bit Linux
  • Minor Hammer code fixes

Autorefresh reworked on dev; Rubat explains how to debug it

In #next-update, Gonzo Pipi said Lua autorefresh stopped working for him on 64-bit dev (Windows 11 26H2) and asked how to debug it. Rubat said he added a console print for when autorefresh will certainly not work. On Windows there may be debug output, visible by attaching a debugger such as Visual Studio or WinDbg. Autorefresh changed in the previous day's dev update; he isn't having issues himself.

InitPostEntity hooks not running traced to an addon returning a value

In #next-update, DMatter04 reported that some addons' InitPostEntity hooks added with hook.Add never run, breaking addons such as Custom FOV. homonovus suggested an addon returns a non-nil value from its hook, and Zaurzo posted a lua_run snippet to find it. On 22 Oct DMatter04 found the culprit, lua/autorun/ultrakill_test_soulorbs.lua from "[DrGBase] ULTRAKILL - Enemies - Act II & Act III", using Zaurzo's whereis tip, and Zaurzo suggested asking the author to fix it.

A whole game ported into GMod; TankNut eyes the original Ace of Spades

In #developer-talk, Redox shared a project "made in gmod" that ran smoothly with a group of players. TankNut, after looking at it, said "they've decompiled the game and ported it wholesale". A1steaksa said he isn't impressed if it's AI-made, while Redox said it's too polished to be pure slop. TankNut added he is more interested in the original Ace of Spades than "the Jagex abomination".