Garry's Mod

Garry's Mod

Gargitron NextBot
 This topic has been pinned, so it's probably important
Bugs
hopefully owner will pin this on where to post bugs
Last edited by iplaymanygames; Jul 16, 2023 @ 2:00am
< >
Showing 1-15 of 37 comments
Tbennster Oct 6, 2022 @ 6:58pm 
Breaks in multiplayer
nitroglycerin Oct 6, 2022 @ 10:01pm 
does not work on big maps (like gm_bigcity)
Padex Oct 7, 2022 @ 2:59am 
The nextbot seems to ignore "AI Ignoreplayers"
iplaymanygames Oct 7, 2022 @ 3:15am 
Originally posted by tristenbennett381:
Breaks in multiplayer
Seems to only chase and target one player in multiplayer as well
ZeroGlitches Oct 7, 2022 @ 6:26am 
it can somehow kill you when you're already dead, it will go over ur corpse and the death message will show up like 20 times
Gargin  [developer] Oct 7, 2022 @ 7:33am 
Originally posted by Installer Wizard:
it can somehow kill you when you're already dead, it will go over ur corpse and the death message will show up like 20 times

Pushed an update that fixes this just now! Let me know if it works on your end if you try it again
I died in an enclosed space and it infinitely killed my corpse somehow even after the update. it spawned more and more ragdolls and gibs in an enclosed area, making it loop until the game crashed
mashallah gaming Oct 8, 2022 @ 12:40am 
The nextbot doesn't seem to appear at all on any maps, even with no other addons. Am I missing a dependency or something?
Last edited by mashallah gaming; Oct 8, 2022 @ 1:00am
it ignores other players and only targets the host
Fignewts Oct 8, 2022 @ 6:14pm 
I noticed if you go into an area that the bot can't get to (using noclip to go out of bounds) the games FPS drops to almost zero until I go back into the map or back where the bot can navigate to.
iplaymanygames Oct 9, 2022 @ 12:56am 
Does not work on flatgrass
Not_mrmoose Oct 9, 2022 @ 4:29pm 
Originally posted by Wadaw_:
The nextbot doesn't seem to appear at all on any maps, even with no other addons. Am I missing a dependency or something?
it might be that it disappears in a random area and starts stalking you but if you cant delete it or it wont show up anywhere even on a small map it might be a bug.
Destructoid Oct 9, 2022 @ 4:40pm 
Kills you when you are god mode
penguinplus Oct 9, 2022 @ 5:22pm 
Originally posted by Destructoid:
Kills you when you are god mode
it just sets your health to 0 is probably it, it isn't doing damage.
Xyxen Oct 9, 2022 @ 6:34pm 
Originally posted by Fignewts:
I noticed if you go into an area that the bot can't get to (using noclip to go out of bounds) the games FPS drops to almost zero until I go back into the map or back where the bot can navigate to.

Gargin, you're gonna want to be careful about where you call PathFollower:Compute. If the goal position is somewhere out of bounds, it'll search the entire navmesh before giving up. My lazy hack in Sanic was to detect when it took too long and stop trying to pathfind for a bit. It's hitch-prone but won't tank framerate. If you were feeling fancy, you could try tweaking the generator function to give up after a while instead. It might even be worth doing a quick nearest-navarea search on the goal position to avoid trying to path to somewhere you can't get to? There are a lot of options here.


Also I'd like to report a bug. If he can't pathfind to you while stalking, he'll stop doing anything and never recover from that. You might want to refactor his AI into a state machine (HIDING, STALKING, CHASING, ...) to make the state transitions a little more obvious.
< >
Showing 1-15 of 37 comments
Per page: 1530 50