Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Chat *new*
» Poll Booth
» Memberlist
» Member Map

Site Info
» Community Rules
» Moderator List

» Buy Quake

Visit QuakeOne.com On Facebook!Visit QuakeOne
on Facebook

Log in
User Name:

Password:

Not a member yet?
Register Now!
Online Users: 363
3 members and 360 guests
Mathuzzz, vibok
Most users ever online was 2,542, 06-04-2016 at 12:58 AM.
Go Back Home > Forums > Quake Talk > Quake Central > Further proving how much of a n00b I am... (quakec) Search Forums

Reply
LinkBack Thread Tools
Unread 05-18-2017, 03:57 PM   #11 (permalink)
FTEQW Author
USER INFO »
Posts: 1,115
+/-  Reputation: Spike has a spectacular aura aboutSpike has a spectacular aura about
Join Date: Jul 2010
Currently: Offline
SB, just the ones up to end_sys_fields. those are the only ones the qc compiler built into the progs crc, so those are the only ones whos order+types+names must match.

ignore the progdefs.h file itself. its existence is merely a legacy.
__________________
Some Game Thing
Reply With Quote
Unread 05-21-2017, 02:52 PM   #12 (permalink)
Enforcer
SpecialBomb's Avatar
USER INFO »
Posts: 99
+/-  Reputation: SpecialBomb is on a distinguished road
Join Date: Dec 2015
Currently: Offline
Ah, okay, so I think I figured out what I did then.

When I made all of the global variables for my voting system, I stuck them in the system globals section. That is probably fucking up everything, am I right or wrong?

I would expect it to because that a very particular section.

If it is the case, I will at least learn the lesson that I shouldn't mess with any sections that are messed with by the c code.

If not, I am at a loss.
Reply With Quote
Unread 05-21-2017, 06:32 PM   #13 (permalink)
Chthon
Dutch's Avatar
USER INFO »
Posts: 1,001
+/-  Reputation: Dutch has a spectacular aura aboutDutch has a spectacular aura about
Join Date: Jan 2014
Currently: Offline
Yep, that's your problem. You don't want to modify in any way, shape, or form that section of code. Add any new fields to the bottom half of defs.qc, you should be fine.
Reply With Quote
Unread 05-21-2017, 07:05 PM   #14 (permalink)
Enforcer
SpecialBomb's Avatar
USER INFO »
Posts: 99
+/-  Reputation: SpecialBomb is on a distinguished road
Join Date: Dec 2015
Currently: Offline
@Dutch

Thanks, I will fix that later, as I am very tired. I can still define globals in the other sections, right?

It pretty obvious that its a yes, but quake is a tricky thing.
Reply With Quote
Unread 05-21-2017, 08:04 PM   #15 (permalink)
FTEQW Author
USER INFO »
Posts: 1,115
+/-  Reputation: Spike has a spectacular aura aboutSpike has a spectacular aura about
Join Date: Jul 2010
Currently: Offline
all that really matters is:
a) your globals/variables/functions/fields are defined before they're used, actual order doesn't really matter. violating this rule generally results in compile errors, and can actually be worked around with -fautoproto in fteqcc.
b) you must not change anything before end_sys_fields (this order DOES matter, the vanilla engine is hardcoded to it. FTE and DP are not, but they still use it as hints for whether its a quakeworld vs nq vs hexen2 vs csqc vs menuqc mod). There is no practical way around this.

as I said before, fteqcc has a similar check to the engines, in the form of its 'Q208' warning - 'progs CRC not recognized from quake nor clones' means you violated the 'b' thing above, and the progs won't work in QS until you fix that warning.

(so yeah, just move your custom defs to the end of the file or something)
__________________
Some Game Thing
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 02:49 AM.


eXTReMe Tracker