qcsrc

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

qcsrc

Postby parksto » Thu Aug 24, 2006 8:53 am

hi,
i've found that in CSQC_UpdateView() in qcsrc/client/main.c on line 68 to 81 :

Code: Select all
if(cvar("cg_showvelocity"))
   {
      local float f;
      local string s;
      f = pl_xyspeed;
      if(max_ups < f)
         max_ups = f;
      s = ftos(f);
      s = strcat(s, " ups");
      drawstring('1 0 0'*vid_width + '-64 64 0', s, '8 8 0', VEC_1, 1, 0);
      s = ftos(max_ups);
      s = strcat(s, " max");
      drawstring('1 0 0'*vid_width + '-64 72 0', s, '8 8 0', VEC_1, 1, 0);
   }


but it doesn't seeme to work...

why ?
is the function called ?
parksto
Member
 
Posts: 25
Joined: Sun May 07, 2006 1:30 pm

Postby divVerent » Thu Aug 24, 2006 9:16 am

CSQC support in the DarkPlaces engine is far from being done yet. Do not use it. If you run a server, be sure to delete csprogs.dat from your data folder again.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby esteel » Thu Aug 24, 2006 10:08 am

I think by now it might be save to have csprogs.dat as CSQC will only be used if set developer 100 or higher. From csprogs.c around line 516:
Code: Select all
      if (developer.integer < 100)
      {
         Con_DPrintf("CL_VM_Init: CSQC is broken, and is not being loaded because developer is less than 100.\n");
         return;
      }
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby KadaverJack » Thu Aug 24, 2006 3:56 pm

divVerent wrote:CSQC support in the DarkPlaces engine is far from being done yet. Do not use it. If you run a server, be sure to delete csprogs.dat from your data folder again.

No problem: csqc never worked on dedicated servers... (one of the many bugs ;))
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm


Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron