surftimer / SurfTimer

This repository is a continuation of cksurf, originally developed by jonitaikaponi, sneaK, nikoo77, fluffys. Meant to unite developers, so everybody can host a proper surf server.
https://discord.surftimer.dev
GNU General Public License v3.0
146 stars 72 forks source link

[BUG] Replay Bot - Bounces across teams. #392

Open stunslave opened 2 years ago

stunslave commented 2 years ago

Describe the bug [This doesn't happen on all maps] The replay bot continuously moves to a different team.. The bot also activates prestrafe when moving teams.

Expected behavior

L 02/10/2022 - 07:32:39: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 02/10/2022 - 07:32:39: [SM] Blaming: SurfTimer.smx
L 02/10/2022 - 07:32:39: [SM] Call stack trace:
L 02/10/2022 - 07:32:39: [SM]   [0] ArrayList.GetArray
L 02/10/2022 - 07:32:39: [SM]   [1] Line 1021, surftimer/replay.sp::PlayReplay
L 02/10/2022 - 07:32:39: [SM]   [2] Line 984, surftimer/hooks.sp::OnPlayerRunCmd

Other Info Cant be selected by sm_replay. !fixbot does not fix the issue. Deleting the replays and recreating them via finishing the map / stages / bonuses does not fix the issue.

Screenshots Timer_Bug image

Plugin List Release 1.1.0 - https://github.com/surftimer/Surftimer-Official/releases

stunslave commented 2 years ago

It seems like any map with 3 bots (wrcp/bonus/map) does this and bugs out. (I haven't tested info bot) I have disabled wrcp bots for time being on my servers.

stunslave commented 2 years ago

Tested with only sourcemod base plugins and the surftimer.. the issue still persist..

[SM] Exception reported: Native is not bound
[SM] Blaming: SurfTimer.smx
[SM] Call stack trace:
[SM]   [0] EndOfMapVoteEnabled
[SM]   [1] Line 3105, surftimer/misc.sp::SetInfoBotName
[SM]   [2] Line 3062, surftimer/misc.sp::LoadInfoBot
[SM]   [3] Line 3094, surftimer/misc.sp::RefreshInfoBot
[SM] Exception reported: Native is not bound
[SM] Blaming: SurfTimer.smx
[SM] Call stack trace:
[SM]   [0] EndOfMapVoteEnabled
[SM]   [1] Line 3105, surftimer/misc.sp::SetInfoBotName
[SM]   [2] Line 205, surftimer/timer.sp::CKTimer2

It also happens with the info bot.. except 2x bots start bouncing around. surf_diamond_beta1

oqyh commented 2 years ago

sm plugins list

i think bot been kick + auto balanced