[quake2] playing quake2

Nick Warne nick at linicks.net
Tue Mar 29 14:09:04 EST 2005


On Tuesday 29 March 2005 19:56, qudos qudos wrote:
> Yes, really excellent mod, the bots implementation was a great idea.
>
> BTW, take a look to this fantastic mod too with full linux support,
> not released the sopurces but if they updating the binaries, then
> nice. I don't know if you know about it
>
> http://www.clanwos.org/
>
> P.S. I'm working in quake 2 bots for linux, as i said in another
> thread i'm not a coder but i'm learning.
>
> I have working not fully 100%

OK, will look later at that!

> ACEBot (some ctf issues)
> JABot http://jal.quakedev.com/ (the code need fixes yet)
> 3ZB2 (crashes ctf with something related about 'BOX_ON_PLANE_SIDE' :[ )
I have seen this type of crash before when DDay was about - I was on the SHAEF 
dev Team.  This is a map problem somewhere.

In the code is an ASSERT, and there is something in certain maps that cause 
this crash - never did get to the bottom of it.  As I was 'server' guru in 
the dev team, I removed the assert  It stopped the crashes on that particular 
map...

Code (original quake2, but seems to be in all mods as it is inherited):


ctf/q_shared.c - around line 413
game/q_shared.c - around line 411  etc. etc.


 sides = 0;
        if (dist1 >= p->dist)
                sides = 1;
        if (dist2 < p->dist)
                sides |= 2;

        assert( sides != 0 );  // Here it goes wonky....

        return sides;


Nick
-- 
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."



More information about the quake2 mailing list