OK i found it
Code:
const char *pfnGetPlayerAuthId (edict_t *e)
{
if (e->v.flags & FL_FAKECLIENT)
RETURN_META_VALUE (MRES_SUPERCEDE, bots[ENTINDEX (e) - 1].steamid);
RETURN_META_VALUE (MRES_IGNORED, NULL);
}
what was happening was either e->v.flags or FL_FAKECLIENT wasn't true in those cases
so what i think to do is this
Code:
const char *pfnGetPlayerAuthId (edict_t *e)
{
RETURN_META_VALUE (MRES_SUPERCEDE, bots[ENTINDEX (e) - 1].steamid);
//RETURN_META_VALUE (MRES_IGNORED, NULL);
}
Please tell me if anyone sees a problem with me doing that. Because it does fix the problem i had.
-added
right now Im testing it on my server with a full load of bots. I don't think there should be a problem since that function shouldn't be called on anyone but a bot.
-added
it fixes the bomb problem but the dsconnect is now getting UNKNOWN when it shows the console kick and just <> (nothing in the id) on the drop
-added
this is what the logs look like
Code:
L 07/05/2004 - 22:57:45: Kick: "[AGR][43]E3<22><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[AGR][43]E3<22><><CT>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[DEF][33]Laser<4><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[DEF][33]Laser<4><><CT>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[NRM][78]GameCube<5><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[NRM][78]GameCube<5><><TERRORIST>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[NRM][31]Ultimate<6><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[NRM][31]Ultimate<6><><TERRORIST>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[NRM][45]X<7><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[NRM][45]X<7><><TERRORIST>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[DEF][92]PlayStation2<8><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[DEF][92]PlayStation2<8><><TERRORIST>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[AGR][55]Fart<9><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[AGR][55]Fart<9><><CT>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[AGR][39]Terminator<10><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[AGR][39]Terminator<10><><CT>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[DEF][95]Brutalix<11><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[DEF][95]Brutalix<11><><CT>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[DEF][67]Neo<12><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[DEF][67]Neo<12><><TERRORIST>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[AGR][56]Player<13><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[AGR][56]Player<13><><CT>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[DEF][100]Lag Killer<14><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[DEF][100]Lag Killer<14><><TERRORIST>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[AGR][65]The Lagger<15><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[AGR][65]The Lagger<15><><TERRORIST>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[DEF][38]Brain<16><UNKNOWN><>" was kicked by "Console"
L 07/05/2004 - 22:57:45: "[DEF][38]Brain<16><><CT>" disconnected
L 07/05/2004 - 22:57:45: Kick: "[DEF][87]Fridge<17><UNKNOWN><>" was kicked by "Console"