AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Any stable bot programs for amxmodx? (https://forums.alliedmods.net/showthread.php?t=286093)

Ricky 08-07-2016 17:42

Any stable bot programs for amxmodx?
 
The latest PODBOT and the version before that (V3B22b) is not stable for use on respawn servers. Crashes sporadically and lasts no longer than 60 hours without crashing all deathmatch servers that I have studied. Also causes major CPU lag compared to other bot programs.

The latest YAPB version 2.7.3 is a good alternative. There is still ongoing development, yet, there are still major bugs that need to be sorted out. Doesn't crash my server however.

Any other recommendations? Specifically for DM/respawn type CS 1.6 servers.

addons_zz 08-07-2016 19:29

Re: Any stable bot programs for amxmodx?
 
If it is for Counter-Strike, try @Arkshine's Bot Enabler: https://github.com/Arkshine/CSBotEnabler

Ricky 08-08-2016 15:40

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by addons_zz (Post 2443128)
If it is for Counter-Strike, try @Arkshine's Bot Enabler: https://github.com/Arkshine/CSBotEnabler

Thank you. I have this plugin properly installed and it loads but bots are not loading. Does it need waypoints? Also, I don't get much of a cmdlist or cvarlist for bots when typed in console. Not running the right HLDS maybe? Do you have this installed yourself?

addons_zz 08-08-2016 16:53

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by Ricky (Post 2443331)
Thank you. I have this plugin properly installed and it loads but bots are not loading. Does it need waypoints? Also, I don't get much of a cmdlist or cvarlist for bots when typed in console. Not running the right HLDS maybe? Do you have this installed yourself?

Yes, and it is working:
Code:

515.2 fps  0/32 on        de_dust2
Protocol version 48
Exe version 1.1.2.7 (cstrike)
Exe build: 13:13:28 Aug 29 2013 (6153)
STEAM Auth Server

Server IP address 192.168.26.1:27014

  Metamod version 1.21-am  Copyright (c) 2001-2013 Will Day <[email protected]>
  Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
  This is free software, and you are welcome to redistribute it
  under certain conditions; type `meta gpl' for details.

  AMX Mod X version 1.8.3-dev+4982 Copyright (c) 2004-2015 AMX Mod X Development Team
  AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
  This is free software and you are welcome to redistribute it under
  certain conditions; type 'amxx gpl' for details.

  CS Bot Enabler v1.0.1
  Status: Loaded.


L 08/08/2016 - 17:39:22: -------- Mapchange to de_dust2 --------
...
bot_add
L 08/08/2016 - 17:43:31: "Allan<2><BOT><>" joined team "TERRORIST"
L 08/08/2016 - 17:43:31: Server cvar "bot_quota" = "1"
L 08/08/2016 - 17:43:31: World triggered "Game_Commencing"
L 08/08/2016 - 17:43:31: World triggered "Game_Commencing" (CT "0") (T "0")
L 08/08/2016 - 17:43:31: World triggered "Round_End"
L 08/08/2016 - 17:43:31: "Joe<2><BOT><>" entered the game
L 08/08/2016 - 17:43:37: "Joe<2><BOT><TERRORIST>" triggered "Spawned_With_The_Bomb"
L 08/08/2016 - 17:43:49: World triggered "Round_Start"

http://i.imgur.com/532NLlh.png


Type 'meta list' on your server console, and paste here the results. You should see something like this:
Code:

Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN  -    amxmodx_mm.dll    v1.8.3-d  ini  Start ANY
 [ 2] <podbot_mm.dll>  badf load  podbot_mm.dll    v -      ini  -    -
[ 3] CS Bot Enabler  RUN  -    csbot_enabler_mm  v1.0.1    ini  ANY  ANY
 [ 4] Ham Sandwich    RUN  -    hamsandwich_amxx  v1.8.3-d  pl1  ANY  ANY
 [ 5] CSX              RUN  -    csx_amxx.dll      v1.8.3-d  pl1  ANY  ANY
 [ 6] Fun              RUN  -    fun_amxx.dll      v1.8.3-d  pl1  ANY  ANY
6 plugins, 5 running

At the first time on a map, you will have to wait some thime until this finish:
Code:

  Connecting navigation areas...
  Merging navigation areas...

http://i.imgur.com/ODWpH7N.png

Ricky 08-08-2016 17:35

Re: Any stable bot programs for amxmodx?
 
Still no luck yet.


] meta list
Currently running plugins:
[ 1] AMX Mod X, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 2] Fun, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 3] Engine, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 4] FakeMeta, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 5] CStrike, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 6] CSX, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org/
[ 7] Cvar Utilities, v1.6, Feb 28 2013, by Arkshine, see https://forums.alliedmods.net/showthread.php?t=154642
[ 8] Ham Sandwich, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 9] Orpheu, v2.6.3, Dec 31 2014, by joaquimandrade & Arkshine, see http://forums.alliedmods.net/showthread.php?t=116393
[ 10] Semiclip, v1.8.2-dev, Oct 6 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 11] CS Bot Enabler, v1.0.1, Feb 26 2016, by Arkshine, see https://github.com/Arkshine/CSBotEnabler
11 plugins

addons_zz 08-08-2016 18:26

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by Ricky (Post 2443365)
Still no luck yet.


] meta list
Currently running plugins:
[ 1] AMX Mod X, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 2] Fun, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 3] Engine, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 4] FakeMeta, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 5] CStrike, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 6] CSX, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org/
[ 7] Cvar Utilities, v1.6, Feb 28 2013, by Arkshine, see https://forums.alliedmods.net/showthread.php?t=154642
[ 8] Ham Sandwich, v1.8.3-dev+19c8b00, Jul 19 2014, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 9] Orpheu, v2.6.3, Dec 31 2014, by joaquimandrade & Arkshine, see http://forums.alliedmods.net/showthread.php?t=116393
[ 10] Semiclip, v1.8.2-dev, Oct 6 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 11] CS Bot Enabler, v1.0.1, Feb 26 2016, by Arkshine, see https://github.com/Arkshine/CSBotEnabler
11 plugins

This does not look like meta list. Type:
Code:

version
meta list
meta version

And bring it here.

This is how meta list looks like: (also use [code] meta list contents [/code] to paste the results here)
Code:

Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN  -    amxmodx_mm.dll    v1.8.3-d  ini  Start ANY
 [ 2] <podbot_mm.dll>  badf load  podbot_mm.dll    v -      ini  -    -
 [ 3] CS Bot Enabler  RUN  -    csbot_enabler_mm  v1.0.1    ini  ANY  ANY
 [ 4] Ham Sandwich    RUN  -    hamsandwich_amxx  v1.8.3-d  pl1  ANY  ANY
 [ 5] CSX              RUN  -    csx_amxx.dll      v1.8.3-d  pl1  ANY  ANY
 [ 6] Fun              RUN  -    fun_amxx.dll      v1.8.3-d  pl1  ANY  ANY
6 plugins, 5 running


Ricky 08-08-2016 21:01

Re: Any stable bot programs for amxmodx?
 
The meta list was as pasted.

] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:14:12 Aug 29 2013 (6153)


] meta version
Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:14 EET (optimized)
ifvers: 5:13

Maybe this metamod version is incompatible? Anyways, I will eventually figure it out. Thanks for all the replies!

Arkshine 08-09-2016 03:27

Re: Any stable bot programs for amxmodx?
 
If missing, nav files are generated automatically once a bot is added. You're using the client console, if you want to execute server commands in this console, you have to use the rcon.

Ricky 08-09-2016 04:50

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by Arkshine (Post 2443456)
If missing, nav files are generated automatically once a bot is added. You're using the client console, if you want to execute server commands in this console, you have to use the rcon.


"[ 2] CS Bot Enabler RUN - csbot_enabler_mm v1.0.1 ini ANY ANY"

Thank you both. I have used rcon to some success. The bots will die and not respawn however. Human players still do. Am I using the latest version?

Arkshine 08-09-2016 07:21

Re: Any stable bot programs for amxmodx?
 
Not totally sure what is your context, but you should probably add bots with "bot_quota".

Some random link with bot cvars/commands: http://jasonwilliams400com.startlogi...t_Commands.htm

Ricky 08-09-2016 16:42

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by Arkshine (Post 2443497)
Not totally sure what is your context, but you should probably add bots with "bot_quota".

Some random link with bot cvars/commands: http://jasonwilliams400com.startlogi...t_Commands.htm

Yes, bot_quota is set to 14. In a CSDM setting, the bots will not respawn after death which is odd because the other bot programs don't have this problem at my current settings. Do you have this working with CSDM?

wickedd 08-09-2016 16:56

Re: Any stable bot programs for amxmodx?
 
Are you sure podbots is the problem? Because I had a test server with podbots and CSDM installed that ran without any problems. Is your server windows or linux?

Ricky 08-09-2016 17:02

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by wickedd (Post 2443631)
Are you sure podbots is the problem? Because I had a test server with podbots and CSDM installed that ran without any problems. Is your server windows or linux?

I've just upgraded my AMXX and PODBOT among other things after creating this topic and actually have seen an improvement. I was running an old AMX 1.8.3 dev build that was likely unstable and causing crashes. I haven't ran the new PODBOT for more than a day yet. Are you having any crash problems with your setup? CSDM/AMX/PODBOT version?

wickedd 08-09-2016 17:14

Re: Any stable bot programs for amxmodx?
 
My test server had AMXX 1.8.3 dev5055, CSDM 2.1.3d with podbot v3b22 installed and it ran ok. The problems I had was plugin related.

Ricky 08-09-2016 22:36

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by Arkshine (Post 2443497)
Not totally sure what is your context, but you should probably add bots with "bot_quota".

Some random link with bot cvars/commands: http://jasonwilliams400com.startlogi...t_Commands.htm

I got CS Bot Enabler to work with CSDM now. Thanks. Seems that these bots will only respawn when calling deathevent and not hamkilled. They also don't seem to follow any weapon loadouts to any weapon plugins. I have fixed the issue by spawning them with money so they can buy which is what they seem to prefer. Good plugin so far however!

I have always had problems keeping my server up with the barebones csdm/podbot/amxx/metamod combo. Makes me believe something's wrong with my server provider. You actually have no crash issues with this combo?

Arkshine 08-10-2016 05:09

Re: Any stable bot programs for amxmodx?
 
Assuming you're using dev version, If you're using those bots with ham, you need to set true at the last param of RegisterHam or using directly RegisterHamPlayer().
Because those bots don't have "player" classname set, so you have to deal them differently.
The module just unlocks CS Bots and does nothing else, if you have a problem with it, you can be sure you either misconfigured or your plugins need an update.

Ricky 08-11-2016 02:19

Re: Any stable bot programs for amxmodx?
 
With Ham, they are able to respawn from all types of deaths - custom weapons and C4 explosion for example. Would you be able to call a respawn function for these bots from Ham_Killed? Or is there a work around for the DeathMsg?

baneado 08-11-2016 10:55

Re: Any stable bot programs for amxmodx?
 
Have you tried podbot v3b23?
http://forums.bots-united.com/showth...t=5226&page=57

Ricky 08-11-2016 22:29

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by baneado (Post 2444115)

No problems so far after updating everything else. Was using the v3b22 for a long time before that.

I think CSBOTS is an excellent alternative. Hopefully, updates will be made for it to function with hamsandwich because a lot of custom plugins use it. The auto nav generator for it makes it very convenient.

Arkshine 08-12-2016 02:16

Re: Any stable bot programs for amxmodx?
 
As I've already said, if you have a plugin with Ham and you're hooking with "player", you need to update your plugins. In dev version, Ham already supports Cs bots, but you need to explicitly it, either by setting true at the last param of RegisterHam or using directly RegisterHamPlayer().

baneado 08-12-2016 05:25

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by Ricky (Post 2444271)
No problems so far after updating everything else. Was using the v3b22 for a long time before that.

I think CSBOTS is an excellent alternative. Hopefully, updates will be made for it to function with hamsandwich because a lot of custom plugins use it. The auto nav generator for it makes it very convenient.

What do you update?

Ricky 08-12-2016 14:42

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by baneado (Post 2444308)
What do you update?

I updated from amxmodx 1.8.2, an old 1.8.3 2014 dev build, and now using the latest dev build, 1.8.3 v5068. I thought my server provider came preloaded with 1.8.2. Instead, it was an old unstable dev build no longer available for download. My server hasn't crashed yet with this new setup and PODBOT.

My scripting knowledge is very limited. If you can help out with a example, Arkshine, that'd be great. Basically, I'm just trying to get the bots to respawn through ham (or use ham functions directly). And this is the script I'm using, roughly:

public hamkilled(id)
{
set_task(0.5, "respawn", id)
}

Arkshine 08-12-2016 15:05

Re: Any stable bot programs for amxmodx?
 
At the top of your plugin, you should have something like: RegisterHam(Ham_Killed, "player", "hamkilled");

You can replace with something like: RegisterHamPlayer(Ham_Killed, "hamkilled");

Ricky 08-13-2016 20:21

Re: Any stable bot programs for amxmodx?
 
Quote:

Originally Posted by Arkshine (Post 2444440)
At the top of your plugin, you should have something like: RegisterHam(Ham_Killed, "player", "hamkilled");

You can replace with something like: RegisterHamPlayer(Ham_Killed, "hamkilled");

Thank you very much! I've used this example for all of my plugins using RegisterHam and it works like a charm.


All times are GMT -4. The time now is 12:44.

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