Forum

Ender's Scratch Tutorials

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Ender's Scratch Tutorials

Postby Pulseczar » Sat Aug 12, 2006 6:52 pm

I can't get his tutorials to work. They compile fine, but when I run the game, I get the "progs.dat system vars have been modified, progdefs.h is out of date" error. I think it might be that I'm using a different compiler than he used. I'm using FrikQCC. I've only tried his first tutorial so far. The other ones might work - I don't know.
User avatar
Pulseczar
 
Posts: 37
Joined: Sat Aug 12, 2006 6:45 pm

Re: Ender's Scratch Tutorials

Postby Tei » Sat Aug 12, 2006 7:03 pm

Pulseczar wrote:I can't get his tutorials to work. They compile fine, but when I run the game, I get the "progs.dat system vars have been modified, progdefs.h is out of date" error. .


Classic error. Mean you added fields ( like .float whatever; ) before the "end mark of engine fields". So the engine think is a progrs.dat for a different game! ( hexen, etc.).
Maybe the build order is not good and your defs.qc or whatever is not the first.
User avatar
Tei
 
Posts: 193
Joined: Mon Oct 25, 2004 12:22 pm

Postby Pulseczar » Sat Aug 12, 2006 7:15 pm

heh, I thought that was the problem too, but I tried compiling with a Defs.qc straight from progs1.06, and it still gave the error.. maybe it didn't use that Defs.qc for some reason.. I'll go back and try again.
User avatar
Pulseczar
 
Posts: 37
Joined: Sat Aug 12, 2006 6:45 pm

Postby FrikaC » Sun Aug 13, 2006 2:01 am

You're not trying to run it in a non standard engine, e.g. Tenebrae are you?
FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby Pulseczar » Sun Aug 13, 2006 2:07 am

I figured out the problem.. I had a function prototypes file being compiled before defs.. and it apparently affected its parsing of the defs, or something.. cool.. thanks for everyone's help, though.

edit: damn.. his Scratch tutorial is unfinished.
User avatar
Pulseczar
 
Posts: 37
Joined: Sat Aug 12, 2006 6:45 pm

Postby Sajt » Sun Aug 13, 2006 4:09 am

yep, can't have anything before the special stuff at the beginning of defs

Specifically you can't do anything you want until after 'void end_sys_globals;' and 'void end_sys_fields;'
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
Sajt
 
Posts: 1215
Joined: Sat Oct 16, 2004 3:39 am


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest