Raised This Month: $ Target: $400
 0% 

A que se debe Got a velocity too low on ? Al setear velocidades bajas?


  
 
 
Thread Tools Display Modes
Author Message
ChileScripting
BANNED
Join Date: Jan 2013
Old 07-21-2013 , 03:55   A que se debe Got a velocity too low on ? Al setear velocidades bajas?
#1

Resulta que yo uso el developer dentro de hl cs.

Cuando trato de setear velocidades en 1.0 ejecuto tal comando que proporcione en 1.0 y me fijo en consola sale el mensaje repetitivo en developer:


PM Got a velocity too low on 2
PM Got a velocity too low on 2
PM Got a velocity too low on 2
PM Got a velocity too low on 2
PM Got a velocity too low on 2

Traducido es: Tienes una velocidad muy baja en i%

el int "i" seria un index de un client? o algo nada que ver?

Sourcecode:
PHP Code:
set_pev(idpev_maxspeed1.0
Busque a que se debia esto en el SDK de hl y encontre algo como esto:

Code:
/* ================ PM_CheckVelocity See if the player has a bogus velocity value. ================ */ void PM_CheckVelocity () {     int     i;     //     // bound velocity     //     for (i=0 ; i<3 ; i++)     {         // See if it's bogus.         if (IS_NAN(pmove->velocity[i]))         {             pmove->Con_Printf ("PM  Got a NaN velocity %i\n", i);             pmove->velocity[i] = 0;         }         if (IS_NAN(pmove->origin[i]))         {             pmove->Con_Printf ("PM  Got a NaN origin on %i\n", i);             pmove->origin[i] = 0;         }         // Bound it.         if (pmove->velocity[i] > pmove->movevars->maxvelocity)         {             pmove->Con_DPrintf ("PM  Got a velocity too high on %i\n", i);             pmove->velocity[i] = pmove->movevars->maxvelocity;         }         else if (pmove->velocity[i] < -pmove->movevars->maxvelocity)         {             pmove->Con_DPrintf ("PM  Got a velocity too low on %i\n", i);             pmove->velocity[i] = -pmove->movevars->maxvelocity;         }     } }

Bueno quien me podria explicar como setear bien las velocidades para que no me lanze estos mensajes que al parecer no son muy agradables.

PD: El code lo saque de pm_shared.c

Last edited by ChileScripting; 07-21-2013 at 03:56. Reason: fixed
ChileScripting is offline
Stereo
Veteran Member
Join Date: Dec 2010
Old 07-21-2013 , 06:32   Re: A que se debe Got a velocity too low on ? Al setear velocidades bajas?
#2

Tienes que ver de donde sale la variable maxvelocity.

Probaste a cambiar la cvar sv_maxvelocity de tu servidor?
Stereo is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-21-2013 , 17:54   Re: A que se debe Got a velocity too low on ? Al setear velocidades bajas?
#3

https://forums.alliedmods.net/showthread.php?t=190098
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
ChileScripting
BANNED
Join Date: Jan 2013
Old 07-21-2013 , 20:39   Re: A que se debe Got a velocity too low on ? Al setear velocidades bajas?
#4

:O Gracias metal nunca vi algo asi leere para ver que onda esto.
ChileScripting is offline
 



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

Forum Jump


All times are GMT -4. The time now is 13:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode