IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Random server crash using rcbot2
EDGECOM
post Jun 16 2009, 05:46 PM
Post #1


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



I think I figured out why the dll keeps crashing the servers at random

HPB_bot2+0x1e660:
1385e660 8b0401 mov eax,dword ptr [ecx+eax] ds:002b:1eed7e2c=????????

I think its a memory access violation

I have noticed while testing that the less number of bots you have will usualy make your server run longer before a crash and I think when ppl connect to the server valve and the new code is trying to make extra memory slot to hold the I found sucky weapon X and the bot dll is trying to write to this causing the crash of corse it could be the other way arround also I think if you change where the bot loads into memory it will fix the crash

I think I am going to get ollydebug out and see if I can rewrite some of the dll
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jun 16 2009, 09:34 PM
Post #2


Admin
*****

Group: Admin
Posts: 3,055
Joined: 11-September 03
From: uk
Member No.: 1



I found a crash bug recently, but haven't uploaded the source yet, it hapens when a bot falls to the ground and loses health from the world,

its trying to access an attacker player, but because the attacker is basically no attacker / world, it will crash.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post Jun 17 2009, 02:18 PM
Post #3


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



ohh lol so the =???????? means the bot is trying to kill the world smile.gif

I will test this I will set fall damage to 0 and see if the server crashes

well setting the no fall damage to 0 did not make a differance but I don't know for sure if the no fall will effect the bots cause I know gravity does not
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Navtivs Maximvs
post Sep 28 2009, 05:15 PM
Post #4


Newbie
*

Group: Members
Posts: 7
Joined: 25-September 09
Member No.: 1,698



EDIT: Trying to create a config to add a bunch of bots of varying classes excluding the engineers, but I get a bunch on one team and they are all soldiers.


I have been able to reproduce the error most often on ctf_turbine. The environmental death may be something to follow up on, I am trying to observe it. I can run a bunch of maps with no problems and it will randomly crash, does not matter the map, but as I said, it seems to happen most often on turbine. Although, in multiple instances the last entry in the console is an engineer building something. Here is the rundown of the server, which is mirror of my pub server:

Windows, dedicated
RCBot Version 0.51 Beta running 31 bots (only run like 10 on the pub, crashed regardless of quantity of bots)

Metamod:Source version 1.7.1
Build ID: 644:f526469efdeb
Loaded As: GameDLL (gameinfo.txt)
Compiled on: Feb 25 2009
Plugin interface version: 14:14
SourceHook version: 5:5
http://www.metamodsource.net/
meta list
[01] FAKE CLIENTS Plugin (1.0.0.0) by AzuiSleet
[02] SourceMod (1.2.3) by AlliedModders LLC
[03] TF2 Tools (1.2.3) by AlliedModders LLC
[04] BinTools (1.2.3) by AlliedModders LLC
[05] SDK Tools (1.2.3) by AlliedModders LLC


SourceMod Version: 1.2.3
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.2.3)
SourcePawn API: v1 = 4, v2 = 3
Compiled on: Aug 28 2009 06:25:18
Build ID: 2755:389949cfb76a
http://www.sourcemod.net/
[SM] Listing 26 plugins:
01 "Admin File Reader" (1.2.3) by AlliedModders LLC
02 "Admin Help" (1.2.3) by AlliedModders LLC
03 "Admin Menu" (1.2.3) by AlliedModders LLC
04 "AdminSentinel" (1.2.000) by <eVa>StrontiumDog
05 "Advertisements" (0.5.5) by Tsunami
06 "Anti-Flood" (1.2.3) by AlliedModders LLC
07 "Basic Ban Commands" (1.2.3) by AlliedModders LLC
08 "Basic Chat" (1.2.3) by AlliedModders LLC
09 "Basic Comm Control" (1.2.3) by AlliedModders LLC
10 "Basic Commands" (1.2.3) by AlliedModders LLC
11 "Basic Info Triggers" (1.2.3) by AlliedModders LLC
12 "Basic Votes" (1.2.3) by AlliedModders LLC
13 "Client Preferences" (1.2.3) by AlliedModders LLC
14 "Fun Commands" (1.2.3) by AlliedModders LLC
15 "Fun Votes" (1.2.3) by AlliedModders LLC
16 "HLSW Info" (1.1) by Tsunami
17 "MapChooser" (1.0.4) by AlliedModders LLC (edited by stevieboy)
18 "Nextmap" (1.2.3) by AlliedModders LLC
19 "Player Commands" (1.2.3) by AlliedModders LLC
20 "SourceMod Radio" (1.0.0.12) by dubbeh
21 "Reserved Slots" (1.2.3) by AlliedModders LLC
22 "SoDStats" (1.0.11) by ]SoD[ Frostbyte
23 "Sound Commands" (1.2.3) by AlliedModders LLC
24 "Spray Tracer" (5.8) by Nican132, CptMoore, Lebson506th
25 "TF2 RCbot Manager" (1.0.6) by Tom Hackers
26 "Web Shortcuts" (1.0.1) by James "sslice" Gray
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Navtivs Maximvs
post Sep 28 2009, 07:25 PM
Post #5


Newbie
*

Group: Members
Posts: 7
Joined: 25-September 09
Member No.: 1,698



Ok, I added the waypoint for koth_nucleus. The bots fall to their death without any crashing. It's got to be an engineer issue.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DrPuffinKind
post Sep 28 2009, 07:49 PM
Post #6


RCBot Fan
****

Group: Members
Posts: 127
Joined: 3-August 09
Member No.: 1,638



QUOTE(Navtivs Maximvs @ Sep 28 2009, 03:25 PM) *

Ok, I added the waypoint for koth_nucleus. The bots fall to their death without any crashing. It's got to be an engineer issue.



need to test in a situation where the bot takles damage, but does not die... the death event is different
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Navtivs Maximvs
post Sep 28 2009, 08:02 PM
Post #7


Newbie
*

Group: Members
Posts: 7
Joined: 25-September 09
Member No.: 1,698



QUOTE(DrPuffinKind @ Sep 28 2009, 03:49 PM) *

need to test in a situation where the bot takles damage, but does not die... the death event is different


Saw this plenty with snipers on the catwalk in big middle room on turbine. They were hit and fell/jumped off of the walk. Also seen plenty of scouts try to double jump off of the battlement on 2 fort but miss and land taking damage, can see the gibs. They forget to crouch. Need to watch when they fall and have enough damage to die.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Navtivs Maximvs
post Sep 29 2009, 04:09 PM
Post #8


Newbie
*

Group: Members
Posts: 7
Joined: 25-September 09
Member No.: 1,698



I can confirm that an environmental death with the world as a "finishing off" does not cause a crash.

12:04:58 L 09/28/2009 - 12:11:21: "Thufir<79><BOT><Blue>" killed "Haggis_Lover<80><BOT><Red>" with "world" (attacker_position "-1105 -905 104") (victim_position "-879 -732 104")


I can run rcbots with no engineers for hours.

Now if only certain classes could be excluded. I only like to add scouts, pyros, and demos. Using max_bots or TomHacker's plugin, you can't do that, so I add bots by hand.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Navtivs Maximvs
post Sep 29 2009, 07:48 PM
Post #9


Newbie
*

Group: Members
Posts: 7
Joined: 25-September 09
Member No.: 1,698



I ran my pub with 2 scouts, 2 demos, and 2 pyros. It ran for hours with no problems, then one of the live players was an engy and something relating to him caused the crash. So there is no difference apparently between a live player engineer or a bot involving the error.

I haven's done any coding or debugging in about 15 years, so I am not going to much help there, but I can do plenty of testing, both with a live server and my home test server.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 07:59 AM