Forum

FTEQW 5133 - QuakeC bug

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

FTEQW 5133 - QuakeC bug

Postby frag.machine » Sat Dec 15, 2018 10:08 pm

So, hum... Due a typo I stumbled on a silly QuakeC bug in FTEQW 5133.

I am too dumb to figure out how to open a ticket on Sourceforge and I haven't tested it with the latest release (I am lazy too), so there is:

Code: Select all
if (cvar ("") > 0) { /* some fancy code goes here */ }


FTEQCC-gui gladly compiled this without any errors or warnings. Resulting progs.dat makes FTE crash. No logs, just an ugly, regular Windows crash.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2118
Joined: Sat Nov 25, 2006 1:49 pm

Re: FTEQW 5133 - QuakeC bug

Postby Spike » Sun Dec 16, 2018 1:06 pm

Issues related to invalid cvar names should have been fixed by r5309. r5367 is current (r5133 is dated as 2017-07-31).
Spike
 
Posts: 2908
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: FTEQW 5133 - QuakeC bug

Postby frag.machine » Mon Dec 17, 2018 2:00 am

Thanks Spike, I'll update it.

Don't you think this would deserve a warning from FTEQCC ?
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2118
Joined: Sat Nov 25, 2006 1:49 pm


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest