AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   cs bot enabler crash ? (https://forums.alliedmods.net/showthread.php?t=311468)

Neon123 10-18-2018 19:48

cs bot enabler crash ?
 
hi , i use cs bot enabler from Arkshine, but when i put bot_add hlds.exe crashes

i use steam hlds.exe included in the steam game

Arkshine 10-20-2018 11:33

Re: cs bot enabler crash ?
 
Does it happen if you disable AMXX?

Neon123 10-20-2018 14:07

Re: cs bot enabler crash ?
 
yes, and give me a log

http://i64.tinypic.com/jq6az7.jpg

after put bot_add, with amxx on give me the message "hlds.exe has stopped working APPCRASH" (without logs) but without amxx it only closes and give me the logs on the image

Arkshine 10-20-2018 15:15

Re: cs bot enabler crash ?
 
I'm not sure what you are saying by "hlds.exe included in the steam game". Are you talking about a listenserver?

I just tried on my dedicated test server under windows and it works fine. Try to reinstall properly the server with steamcmd. It doesn't sound like an issue with the module.

https://i.imgur.com/Jhu1YkR.png

Neon123 10-20-2018 15:24

Re: cs bot enabler crash ?
 
im not use steamcmd, just i downloaded the game via steam and uses the hlds.exe then includes (steamapps/common/half-life/hlds.exe)

Arkshine 10-20-2018 15:26

Re: cs bot enabler crash ?
 
That's not a proper way to install a dedicated server.

Use SteamCMD: https://developer.valvesoftware.com/wiki/SteamCMD

Neon123 10-20-2018 21:31

Re: cs bot enabler crash ?
 
i test with steamcmd and same happens

Arkshine 10-21-2018 04:58

Re: cs bot enabler crash ?
 
That's not possible. You likely did not install properly.

Tell me exactly what you did.

Neon123 10-21-2018 15:57

Re: cs bot enabler crash ?
 
1) login anonymous
2) force_install_dir C:\HLServer
3) app_set_config 90 mod cstrike
4) app_update 90 validate

the hlds version is 7960 aug 10 2018 in windows 7 64 bits

mattisbogus 01-04-2019 23:08

Re: cs bot enabler crash ?
 
My apologies for bumping this, it's not too old please don't hurt me :P

but I am having the exact same issue, only I can't see my error because the console closes on crash.

Neon123 01-05-2019 17:21

Re: cs bot enabler crash ?
 
i think the problem is windows 7, a friend with windows 10 not having this problem

Arkshine 01-05-2019 17:31

Re: cs bot enabler crash ?
 
I'm using windows 7, and the module has been developed and tested under this OS (and linux as well).

mattisbogus 01-05-2019 18:17

Re: cs bot enabler crash ?
 
I’m using Windows 10 with a fresh install of hlds from steamcmd and when I try this version it crashes as soon as a I tell a bot to connect.

The thing I don’t understand is I also tried the version Whistler started. If I take his file, put it in dlls, and then call it to run from liblist, I have no problem with bots joining along side with still being able to use metamod.

I’ll try again tonight with another fresh install and post my settings.

Arkshine 01-05-2019 18:52

Re: cs bot enabler crash ?
 
The module has only been tested with a normal server installed with SteamCMD.
If you are using the standard way, it should not have issues. It has been tested.

The code itself is really simple. It's about to hook UTIL_IsCZero function in the game, and returning always true. That's it. Nothing else. It doesn't manage the bots. The only way it could crash is maybe if the signatures to find the function matched something else. But again, I tested it again when Neon123 had issues, and it still worked with the latest game version.

Try a fresh SteamCMD install, install only metamod and this module, and test again. If it crashes, post how you installed the server, how you started it, the game version, etc.

mattisbogus 01-06-2019 00:19

Re: cs bot enabler crash ?
 
I can't figure it out man. I just did a fresh install from SteamCMD. I only put in metamod 1.20 and csbot_enabler_mm.dll.

running hlds from console I type: bot_join_after_player "0" then
bot_add_t

as soon as I hit enter, console stops, waits about 2-3 seconds, and closes.

Running Windows 10 Pro 64bit

PHP Code:

100.0 fps  0/32 on         de_dust2
Console initialized
.
Protocol version 48
Exe version 1.1.2.7 
(cstrike)
Exe build16:10:04 Aug 10 2018 (7960)
STEAM Auth Server
Server IP address 192.168.1.113
:27015

   Metamod version 1.20  Copyright 
(c2001-2013 Will Day <willday@metamod.org>
   
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.

   CS Bot Enabler v1.0.1
   Status: Loaded.

Navigation map loaded.
couldn'
t exec listip.cfg
couldn
't exec banned.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] CS Bot Enabler   RUN   -    csbot_enabler_mm  v1.0.1    ini  ANY   ANY
1 plugins, 1 running
meta version
Metamod v1.20  2013-02-16 (5:13)
by Will Day <[email protected]>
   http://www.metamod.org/
compiled: Feb 16 2013, 17:12:42 +0100 (optimized) 

I was also able to catch an error right before console closed:

PHP Code:

\src\tier0\threadtools.cpp (3190) : Assertion FailedIllegal termination of worker thread 'Thread(0x6DAC97F8/0x000005E8/0x' 


Arkshine 01-06-2019 04:45

Re: cs bot enabler crash ?
 
Metamod version is outdated. Test with the latest which can be either latest Metamod-p 1.21 or Metamod 1.21-am.

E1_531G 01-06-2019 07:38

Re: cs bot enabler crash ?
 
Quote:

Originally Posted by Arkshine (Post 2633156)
Metamod version is outdated. Test with the latest which can be either Metamod-p 1.21p37 or Metamod 1.21-am.

Sorry for off-topic, but i want to know if your comment means that 1.21p38 is bad?
https://github.com/jkivilin/metamod-p/releases

Arkshine 01-06-2019 07:40

Re: cs bot enabler crash ?
 
My comment meant he can use either the -p or -am version. It should not matter.

E1_531G 01-06-2019 07:48

Re: cs bot enabler crash ?
 
Yeah, but you said "1.21p37" and 1.21p38 is the latest.

Arkshine 01-06-2019 07:59

Re: cs bot enabler crash ?
 
Oh right, it should still not matter. p38 is just about enabling SSE optimization.

E1_531G 01-06-2019 08:12

Re: cs bot enabler crash ?
 
Good, thank you.

mattisbogus 01-06-2019 13:36

Re: cs bot enabler crash ?
 
Quote:

Originally Posted by Arkshine (Post 2633156)
Metamod version is outdated. Test with the latest which can be either latest Metamod-p 1.21 or Metamod 1.21-am.


Unbelievable, thank you so much, working perfectly.

I had no idea there was an updated version. I just visited http://metamod.org/ thinking it would have the most updated version.

Definitely appreciate your help man, thank you.

wilianmaique 05-20-2019 17:29

Re: cs bot enabler crash ?
 
Works in reHLDS ?? with metamod-r 1.3.0.128?????

haZh 05-21-2019 08:13

Re: cs bot enabler crash ?
 
Quote:

Originally Posted by wilianmaique (Post 2652446)
Works in reHLDS ??

No. It just works on the old HLDS 5971.

jay7 05-26-2019 14:31

Re: cs bot enabler crash ?
 
I’ve used podbot for over 15 years and csbots for several years through many amxx dev versions up until the lastest with a windows server, metamod am and -p. Tried minimal settings/plugins and all. Both have been mostly stable but they both have crash issues when you have scripts or console commands that change the bot_quota mid-game. Seems when a bot is kicked at the same time a real player connects to the server, there’s a good chance a crash will happen and it has annoyed me for many years. It is also a common issue I have noticed other server operators have complained about throughout the years. Is this something that can be fixed through amxx or looked into?


All times are GMT -4. The time now is 05:29.

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