.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Common Questions
Common Questions Are you seeking help ? Get it here !

Reply
 
Thread Tools
Re: Bots are moving in slow motion. Whats up? Please help me!!!
Old
  (#11)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: Bots are moving in slow motion. Whats up? Please help me!!! - 14-11-2006

hmm, perhaps the frametime is having problems. You could try measuring it yourself individually for each bot and for each time between each call of runplayermove. This is the method I use, but it might not help / may not work for everyone.

Code:
void CBot :: UpdateMsec(void)
{
	m_iMsecVal = (int) ((gpGlobals->time - m_fLastCallRunPlayerMove) * 1000);    
	
	if (m_iMsecVal > 255)
		m_iMsecVal = 255;
}
Code:
void CBot :: RunPlayerMove ( void )
{
	UpdateMsec();

	m_fLastCallRunPlayerMove = gpGlobals->time;
...

(*g_engfuncs.pfnRunPlayerMove)(m_pEdict,pev->angles,m_fMoveSpeed,m_fStrafeSpeed,m_fUpSpeed,pev->button,pev->impulse,(byte)m_iMsecVal);
}
  
Reply With Quote
Re: Bots are moving in slow motion. Whats up? Please help me!!!
Old
  (#12)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Bots are moving in slow motion. Whats up? Please help me!!! - 14-11-2006

The method You are using calculates the frametime between 2 calls of pfnRunPlayerMove. But someone told me I should put "the remaining time of the current frame" - which gpGlobals->frametime returns (I haven't checked that - just believed in the info I've got). CZERO bot uses this one, too.

@KiLLrAzOR - try to setup on Your server FPS_MAX 100.
  
Reply With Quote
Re: Bots are moving in slow motion. Whats up? Please help me!!!
Old
  (#13)
KiLLrAzOR
Member
 
Status: Offline
Posts: 10
Join Date: Oct 2005
Default Re: Bots are moving in slow motion. Whats up? Please help me!!! - 17-11-2006

I figured it out. I had to go and tweak the movement of the bots. Up some levels... And they are running fine...

KR
  
Reply With Quote
Re: Bots are moving in slow motion. Whats up? Please help me!!!
Old
  (#14)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Bots are moving in slow motion. Whats up? Please help me!!! - 17-11-2006

Can You describe it more detailed - how did You solve the problem?
  
Reply With Quote
Re: Bots are moving in slow motion. Whats up? Please help me!!!
Old
  (#15)
mrbloke
Member
 
Status: Offline
Posts: 1
Join Date: Dec 2006
Default Re: Bots are moving in slow motion. Whats up? Please help me!!! - 15-12-2006

Yeah, im having the same problem!!
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com