Fixed the bot not getting the timer_pickup value in podbot.cfg
in dll.cpp in StartFrame where it reads podbot.cfg:
Code:
else if (FStrEq (cmd, CONSOLE_CMD_TIMEPICKUP))
{
g_fTimeSoundUpdate = atof (arg1); // changing the sound even tho it's pickup is bad
if (g_fTimePickupUpdate < 0.1)
g_fTimePickupUpdate = 0.1;
UTIL_ServerPrint ("Pickup Update Timer set to %f secs\n", g_fTimePickupUpdate);
break;
}
should be:
Code:
else if (FStrEq (cmd, CONSOLE_CMD_TIMEPICKUP))
{
g_fTimePickupUpdate = atof (arg1); // this is what changed SoUlFaThEr
if (g_fTimePickupUpdate < 0.1)
g_fTimePickupUpdate = 0.1;
UTIL_ServerPrint ("Pickup Update Timer set to %f secs\n", g_fTimePickupUpdate);
break;
}