Page 1 of 1

crack frikbot modification based on quake c?

Posted: Sat Oct 30, 2004 5:50 am
by lukeyuan
I have several questions below about quake c, who can help me?

1. in qc files, i can't find definition of function named frik_****, why?
such as frik_stuffcmd, frik_WriteAngle ... just declaration in the
bot_qw.qc file.

2. #21, #57 means what?

Re: crack frikbot modification based on quake c?

Posted: Sat Oct 30, 2004 9:05 am
by Tei
I have several questions below about quake c, who can help me?

1. in qc files, i can't find definition of function named frik_****, why?
such as frik_stuffcmd, frik_WriteAngle ... just declaration in the
bot_qw.qc file.

2. #21, #57 means what?

See question 1.

void () frik_**** = #57; its the definition of frik_***

#57 is the internal builting number, so Its like a pointer:

char * basevideo = 0xBF00;

Internally all builins has a no, from 1 (fixme) to ....whatever
#1, #2, #3,...

You certainly need to learn much more about QC before to start "brain surgery" on frikbots. Anyway... GOOD LUCK!!