Inside3D!
     

Ender's Scratch Tutorials

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Pulseczar



Joined: 12 Aug 2006
Posts: 37

PostPosted: Sat Aug 12, 2006 6:52 pm    Post subject: Ender's Scratch Tutorials Reply with quote

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
View user's profile Send private message AIM Address
Tei



Joined: 25 Oct 2004
Posts: 195

PostPosted: Sat Aug 12, 2006 7:03 pm    Post subject: Re: Ender's Scratch Tutorials Reply with quote

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
View user's profile Send private message
Pulseczar



Joined: 12 Aug 2006
Posts: 37

PostPosted: Sat Aug 12, 2006 7:15 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
FrikaC
Site Admin


Joined: 08 Oct 2004
Posts: 947

PostPosted: Sun Aug 13, 2006 2:01 am    Post subject: Reply with quote

You're not trying to run it in a non standard engine, e.g. Tenebrae are you?
Back to top
View user's profile Send private message Send e-mail
Pulseczar



Joined: 12 Aug 2006
Posts: 37

PostPosted: Sun Aug 13, 2006 2:07 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Sajt



Joined: 16 Oct 2004
Posts: 1026

PostPosted: Sun Aug 13, 2006 4:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group