![]() |
Re: crashes in 3050
@davek,
the bots are ordered to create a path to a node close to the leader. A leader can order bots to go to the same goal as the leader wants to, so when a BOT leader orders other BOT's to move, it will ALWAYS be the same goal as the leader has in mind (ie , the leaders will overrides the bots personal preference). When a human is a leader, the bots of that team will simply move to the human position. The human can control the bots a bit with using "Hold this position" and "need backup"... or even "Enemy spotted". there is already code that takes care of this path finding, even when there is no node near. What i find weird, is that i hear people have crashes and i cannot reproduce the bug. It irritates me. Even when i run a server with 31 bots, i can't reproduce it, thats what irritates me more. |
Re: crashes in 3050
i think output to the reallog.txt is done through 2 functions in the code, REALBOT_PRINT and log.
you should add Code:
realbot debug nodes dumpbmp |
Re: crashes in 3050
Quote:
|
Re: crashes in 3050
Quote:
|
Re: crashes in 3050
don't worry, i do not find your problem irritating. I actually find it my problem and the fact that i cant reproduce the error is irritating.
I have now ran a server for 1.5hours straight... NO PROBLEMS. Argh. |
Re: crashes in 3050
Hi, tested some more...
I saw someone having problem with the chat file, so I removed it but the crash remains :( But I found a directory with errorlogs in my "counter-strike" dir, don't know if it helps but I get the same msg every time I start a new game ???:( Maybe my steam isn't correctly installed... or something. Hope it can help in some way! --------------------------------------------------------- Error:Failed to load dialog file Resource/UI/ClassMenu.res Function trace: CGameUI::Start CGameUI::Initialize CBaseUI::Start CBaseUI::Initialize Host_Init CFileSystem_Steam::Mount() --------------------------------------------------------- Edit: Think I got IT!!!! :D hope so.... ???:( To reproduce, set all your bots to [RADIO] Reply=0 Create=0 In their personality file. Then create a game and add some bots (like 10 bots on your team will crash the game quickly), start game and issue "go go go" radio command a couple of times. The game will surely crash. I'm no coder but it looks like they want to answer the command but the ini-setting won't let them and the code doesn't know what to do? Another thing, my lag almost dissapeard when i set the bots "reply/create" to 100, maybe anything but "0" will get rid of the lag?! Hopefully this is it! o_O |
Re: crashes in 3050
1 Attachment(s)
muahahaha! i made the crashing stop!!
i just removed all my personality files. well moved them to a temp folder so the program thought they didnt exist. i have attached my personality files in a zip if anyone wants to take a look at them as see why they are causing the problems. i think the only thing i edited in them was the aiming offsets. pretty sure some of them got fairly high, so maybe that was the problem. went 12 rounds on de_aztec with 19 bots and no crashing. going to try other maps now. |
Re: crashes in 3050
Hmm, i noticed that you had a couple of bots with [RADIO] reply/create set to "0" in the personality file and that's what causing it.
Try setting it to anything but "0" (look at the post above yours ;) ) But there are other values also being set to "0" can they also cause a problem in the future when more funktions are added? Maybe hearing allready is causing problems? |
Re: crashes in 3050
you removed all personality files? thats odd! But if it has something to do with radio commands, it can make some sense. I made some (significant) changes to that part. Going to check this mighty function out.
|
Re: crashes in 3050
Post #16 describes how to replicate the crash.
|
All times are GMT +2. The time now is 00:37. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.