Back to the Vavoom Forum Archives


Forum

[Works for me] Strife Strife

Tue, 23 Mar 2004 06:29:28

Smithy

Have just started playing strife, and its fantastic, but some of the buttons don't work. Ok so I use noclip, but unfortunately one of the buttons is mission critical (judges hand to free the prisoners) and when I try andpress it he just goes "nope". What sould I do to A) fix it B) cheat my way round it. Is it a problem with VIS files cos I can rebuild them with glVIS if that will help...<br>(btw I'm using linux version, from source, from CVS)
Tue, 23 Mar 2004 16:42:02

Janis Legzdinsh

This button should be working, it has been implemented some time ago. Maybe try to update.<br><br>This has nothing to do with glVIS.
Wed, 24 Mar 2004 02:07:50

Smithy

I am using the CVS version, it doesnt get more updated than that. And its just one of the buttins, the middle of the panel of three.
Wed, 24 Mar 2004 16:46:52

Janis Legzdinsh

Strange. I checked and all files are commited and it should be working. As a check the file progs/strife/server/spec.vc should have revision number 1.25.
Thu, 25 Mar 2004 01:16:29

Smithy

Yeah thats right, but I just remembered something about the compile. I had to comment out some #ifndef in one of the doom prog files in order to get GCC to compile it. Will that affect it?
Thu, 25 Mar 2004 02:36:37

Janis Legzdinsh

If it was in Doom's progs it shouldn't (anything in progs/doom). Anyways it should compile without commenting anything out.
Fri, 26 Mar 2004 05:59:49

Smithy

Erro is <br>make VCC=../../utils/bin/vcc OUTDIR=../../basev/doom1/progs -C progs/doom<br>make[1]: Entering directory `/home/david/vavoom/progs/doom'<br>../../utils/bin/vcc -I../common client/clprogs.vc ../../basev/doom1/progs/clprogs.dat<br>cpp: ../common/defs.vc:28 ../common/client.vc:28 client/clprogs.vc:30 Botch in #if/#elsif<br>
Fri, 26 Mar 2004 16:36:39

Janis Legzdinsh

It's first time I see something like this. Maybe it needs to be converted to unix format again (in a case it's not).
Fri, 26 Mar 2004 19:27:37

Smithy

I've run the fixunix script a few times. (by the way, you need to add a line that goes something like <br><br>mv utils/glbsp/plugins/makefile.unx utils/glbsp/plugins/Makefile)<br><br>but it  doesnt fix anything. something GCC3 doesnt like in defs.vc? or is it the vavoom VCC?
Sat, 27 Mar 2004 03:21:45

Janis Legzdinsh

It's VCC (it has it's own preprocessor). I'll look at reasons that might cause this error, but since only you get this error, there's small chance I will find anything.
Sat, 27 Mar 2004 08:44:09

Smithy

As I said, commenting out that one #ifndef solves all the compiler problems, but I am not sure that this causes the probs with the executable
Sat, 27 Mar 2004 08:52:25

Smithy

May have found the problem there is an if statement that doesnt have an else, which seems to be confusing the compiler. The if statement in question was checking for the right version of the compiler, so I decided it wasnt vital.
Sun, 28 Mar 2004 03:22:44

Smithy

Fixed the problem. there is an if in progs/common/defs.vc which goes<br><br>//  Since version 1.5 compiler defines PROG_VERSION, so we can check that<br>// progs are compiled with the right version of compiler<br>#if !defined PROG_VERSION || PROG_VERSION != 14<br>#error These are version 14 progs<br>#endif<br><br>unfortunately, PROG_VERSION is not defined anywhere!<br> <br>I changed this to read<br><br>//  Since version 1.5 compiler defines PROG_VERSION, so we can check that<br>// progs are compiled with the right version of compiler<br>#if !defined PROG_VERSION<br>#error These are version 14 progs<br>#endif<br><br>and this sorted the problem.
Mon, 29 Mar 2004 15:45:16

Janis Legzdinsh

PROG_VERSION is defined inside the compiler itself, not in the script files. Anyways it's strange because it was working all the time.
Sat, 05 Jun 2004 08:02:52

Ninja_of_DooM

Works fine for me. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->

Back to the Vavoom Forum Archives