View previous topic :: View next topic |
Author |
Message |
Pulseczar

Joined: 12 Aug 2006 Posts: 37
|
Posted: Sat Aug 12, 2006 6:52 pm Post subject: Ender's Scratch Tutorials |
|
|
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. |
|
Back to top |
|
 |
Tei

Joined: 25 Oct 2004 Posts: 195
|
Posted: Sat Aug 12, 2006 7:03 pm Post subject: Re: Ender's Scratch Tutorials |
|
|
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. |
|
Back to top |
|
 |
Pulseczar

Joined: 12 Aug 2006 Posts: 37
|
Posted: Sat Aug 12, 2006 7:15 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
FrikaC Site Admin

Joined: 08 Oct 2004 Posts: 947
|
Posted: Sun Aug 13, 2006 2:01 am Post subject: |
|
|
You're not trying to run it in a non standard engine, e.g. Tenebrae are you? |
|
Back to top |
|
 |
Pulseczar

Joined: 12 Aug 2006 Posts: 37
|
Posted: Sun Aug 13, 2006 2:07 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Sun Aug 13, 2006 4:09 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
|