Forum

Compatibility Benchmark Mods

Post tutorials on how to do certain tasks within game or engine code here.

Moderator: InsideQC Admins

Re: Compatibility Benchmark Mods

Postby ericw » Wed Aug 23, 2017 9:15 pm

Crossposting this from func_msgboard: SV_TouchLinks abuse test case:
http://quaketastic.com/files/misc/touchlinks-test.zip

"The player spawns over 4 nailguns. The nailgun touch function calls setorigin() to move all 4 nailguns to the other side of the map (into another areanode).
The map freezes immediately in fitz085, MarkV, QS, and works in QSS and DarkPlaces"

The QC code is deliberately malicious.. but having the engine go into an infinite loop is bad, so rewritten SV_TouchLinks that are immune to this seems reasonable.

discussion started here:
http://celephais.net/board/view_thread. ... start=2950
ericw
 
Posts: 90
Joined: Sat Jan 18, 2014 2:11 am

Previous

Return to Programming Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest