Raised This Month: $32 Target: $400
 8% 

Bots do nothing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joeykenoy
Junior Member
Join Date: Feb 2021
Old 02-16-2021 , 13:30   Bots do nothing
Reply With Quote #1

Hi folks,

hope this is the right section to ask for help...


I set up metamod and sourcemod on the server.

Rcon commands, sourcemod admin menu works fine, BUT the bots do nothing.

I googled and tried out some things, but I cant fix it. Unfortunately I couldnt find much. Most search results are for local console or the ban of bots by update a few weeks ago.
The developer page couldnt help much as well.

Hope somebody can help me. I can provide every info you need.

Thx in advance
joeykenoy is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 02-16-2021 , 14:20   Re: Bots do nothing
Reply With Quote #2

Which game are you talking about?
TomL. is offline
joeykenoy
Junior Member
Join Date: Feb 2021
Old 02-16-2021 , 14:50   Re: Bots do nothing
Reply With Quote #3

Oh sry

Forgot the most important info:

CS:GO
joeykenoy is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 02-16-2021 , 23:38   Re: Bots do nothing
Reply With Quote #4

If this was a Team Fortress 2 server I'd say that your map was missing a Navigation Mesh. In that scenario the game would start and the Bots will just stand in place without moving.

I don't know much about CSGO but it seems that the game should be automatically generating a Navigation Mesh the first time the map is run. Does the problem still occur when you load the map a second time?


Link: https://developer.valvesoftware.com/...igation_Meshes

Excerpt from link:
Automatic navigation mesh generation

To support the many community-created maps, CS:S and CS:GO include an automatic mesh generation system. The first time you attempt to play a custom map with bots, the generation system will build a .nav file for that map. Depending on the size and complexity of the map, this may take a few minutes to a few hours. Most maps take about 5 minutes to auto-generate a .nav file. Once the generation is complete, a .nav file is saved to your hard drive for future use.

For games that don't support automatic mesh generation, a navigation mesh can still be generated by a game client using the console's map command to load a map, then using sv_cheats 1, followed by nav_generate. You can then upload the created .nav file to your server.

It is recommended that map creators create navigation meshes before releasing their map to the public.
PC Gamer is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 02-17-2021 , 08:07   Re: Bots do nothing
Reply With Quote #5

What do you mean by "nothing"?
Do they not attack or move?
TomL. is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-17-2021 , 08:55   Re: Bots do nothing
Reply With Quote #6

...if you move file, addons/metamod.vdf out from from addons/ folder and reboot server,
your server will start without MM:S and SM.
- Bots still don't move ? Then problem is not MM:S or SM

You have custom map ?
It maybe not have or not have good NAV file. This can build by commands automatically or you can create that manually if you like.
But, create NAV file in your own game, not on server, it takes a lot of from game engine and could fail.

*edit
Make sure you have not added commands like
bot_stop 1
bot_zombie 1
etc. etc.

Last edited by Bacardi; 02-17-2021 at 08:57.
Bacardi is offline
joeykenoy
Junior Member
Join Date: Feb 2021
Old 02-17-2021 , 10:39   Re: Bots do nothing
Reply With Quote #7

Thx for the replies.
Yes, the bots stand still on spawn.


I deleted the metamod file and it still doesnt work, so it has to be anything else.

I also uploaded my local .nav file for d2 which was exactly the same size like the one on the server.
No bot action at all.

bot_stop or such commands I never used in any file.

I created a .nav file on my PC and uploaded it on the server. While joining he downloaded the .nav file to 100%, tries to start over and gets stuck at 0%.
My mate can join, I get stuck.

The server is new and only got the MM and SM mods.


Do you have an idea where I can get help?
Or would you help even though its not a SM problem?
joeykenoy is offline
joeykenoy
Junior Member
Join Date: Feb 2021
Old 02-17-2021 , 10:53   Re: Bots do nothing
Reply With Quote #8

Update:

I deleted my .nav file, can join again.

Putting the server in other gamemodes make the bots move, BUT casual mode (game_type 0; game_mode 0;) doesnt work.
Server starts in retakemode and NOT in casual.
joeykenoy is offline
joeykenoy
Junior Member
Join Date: Feb 2021
Old 02-17-2021 , 11:11   Re: Bots do nothing
Reply With Quote #9

Update 2:

Starting the server with startparameters (game_type 0; game_mode 0;) starts in matchmaking mode.
Typing "game_type 0; game_mode 0; map de_dust2;" in sever console starts casual game AND THE BOTS ARE MOVING!

The problem seems to be the startmode.
joeykenoy is offline
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 02-18-2021 , 16:15   Re: Bots do nothing
Reply With Quote #10

Just use "bot_quota_mode normal", by default for competitive modes the convar is set to "competitive" which causes this

Last edited by BeepIsla; 02-18-2021 at 16:15.
BeepIsla is offline
Reply



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


All times are GMT -4. The time now is 19:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode