![]() |
![]() ![]() |
![]() |
Seph31 |
![]()
Post
#91
|
Newbie ![]() Group: Members Posts: 9 Joined: 19-January 05 Member No.: 476 ![]() |
d/l new beta and still crashing
I was just running it on Sven and NS. Crashes when adding bots. Havent noticed it crashing anywhere else since I cant get past adding a few bots in the first place. Just playing regular ns_ or HL1 campaign maps for Sven. Everything worked with no crash bugs until I downloaded the new beta a few days ago. |
Cheeseh |
![]()
Post
#92
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Fixed the bug. I can be really silly sometimes, stupid MSVCs fault though for not giving me any warnings!!!
I've re-uploaded the beta dlls for win32 metamod + non-metamod hopefully they will work now, it was a silly mistake in the code that messed up some data structures, returning the wrong size of the structure causing problems with the visibles because thast uses a list of entities, and if there are invalid entities the game will crash. note: this is a problem in the current source code AND also rcbot 2 source code (uses the same structures) in class dataUnconstArray, there is inline Size (void) { array.size(); } it should be inline int Size (void) { return array.size(); } (duh) why did i do that? ![]() I've uploaded the new source for rcbot1 I'll do the same for rcbot 2 soon although I've got to do a few things to it first |
DarthSailor |
![]()
Post
#93
|
![]() Member ![]() ![]() Group: Members Posts: 29 Joined: 9-March 05 Member No.: 509 ![]() |
Woohoo!!!! It's working!!!!
Thanks Cheeseh. |
Cheeseh |
![]()
Post
#94
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
note the the latest version has :
mines support for marines leap/charge support for aliens (attacking only) commands: rcbot debug_bot facing --debugs the bot you are looking at rcbot util projectile_rep -- toggles 'ye old projectile repel on/off same as old rcbot command for RC1 rcbot util teleport_ent -- teleports facing entity to your set location rcbot util buildcomm -- hehe ![]() notice there is a bug which stops megaHAL from pre-training the common_hal.trn files which I have fixed but haven't uploaded yet, I'll add some more stuff first |
Sandman[SA] |
![]()
Post
#95
|
![]() RCBot Waypointer ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 987 Joined: 15-September 03 From: Philadelphia Member No.: 19 ![]() |
I just tested this build last night on a MvM map and I was plesently suprized to see the bots randomly planting mines and at least "priming" hand grenades. Yes, I mowed down a few rcbot's holding hand grenades!
![]() ![]() I'm hoping maybe skichy can help me tweek them up a bit so they can be more aggressive. |
LordSkitch |
![]()
Post
#96
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
Wacha need? I'll throw whatever info I can your way
![]() |
mkl |
![]()
Post
#97
|
Member ![]() ![]() Group: Members Posts: 15 Joined: 30-May 05 Member No.: 563 ![]() |
is there a way to make the bots use the phase gate?
![]() |
LordSkitch |
![]()
Post
#98
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
They don't use phasegates but they can use hard-wired teleporters like in co_daimos and such..
|
Sandman[SA] |
![]()
Post
#99
|
||
![]() RCBot Waypointer ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 987 Joined: 15-September 03 From: Philadelphia Member No.: 19 ![]() |
Greatly need to improve aiming efficiency. It's taking them way to long to lock onto a close/fast moving target. The aiming once locked on seems very human like at about a 50/50 hit/miss ratio which is fine but could use just a little improvement. |
||
Cheeseh |
![]()
Post
#100
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
One of the next improvements is to think about how I could get bots to use phase gates. This requires an intelligent searching to find the destination through the best phasegate(s), which may take a lot longer than normal waypoint searching.
btw improvements in the curent beta are: leaping mines more chance of going onos ![]() more commands If you want to try the grenades maybe try changing the "babbler gun" (lol memories) in the bot_weapons.ini to something like # weapon id 28 (marine grenade) [weapon_id=28] primaryfire=1 primary_min_range=100 primary_max_range=600 is_melee=0 priority=1 [/weapon] |
LordSkitch |
![]()
Post
#101
|
||||||
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
For Sandy and everyone else.. Review time! Here's the low-down of the botses skills, and examples of what they do. aim_skill= their erraticness while aiming (% they'll hit) It's % / 100, so 100% = 1.0 50% = 0.5, 25% = 0.25 aim_time= seconds between reaquisition 0.0 = every frame, 0.1 = 10 times a sec, 1 = 1 time a sec aim_speed= max degrees to turn / 10 18 = 180? 10 = 100? 4 = 40? So, my best bot..
it's always on target, it re-aims every frame, and it can turn 180? every frame to keep that target aligned, or find a new target. A mid-range bot:
75% accuracy, it re-aims 4 times a sec, and it can turn a max of 60? And, a low-end bot:
50% accuracy, reaims twice a sec, and can turn a max of 40% Now, thanks to Cheeseh's new structure for the stuff they see, config max_update_vision_revs is working better. Uses less CPU but more memory. It's the max stuff they can "see" so if you increase it, they'll see more and they're more likely to find targets. 200 is a base setting, bumping it up to 400 or 800 would improve their performance a lot, change it and watch your servers statistics, if it's too drastic of a change, bump it down till it's at a level you're comfortable with. Thats the main part of their combat stuff you can fiddle with.. See if you can change up stuff and make em harder! ![]() |
||||||
Cheeseh |
![]()
Post
#102
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
again its not how much they can see, they can see everything visible, the revs thing is just how many things it checks (in the list of everything) that may be visible every bot think time. Basically this is to spread the computation over a few frames instead of all at once in a whole frame degrading performance by increasing computation every frame.
|
LordSkitch |
![]()
Post
#103
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
Well.. um..
![]() ![]() ![]() It's the same effect, even if they can see it all, its extraneous data until they check it, so its effectively what they see! ::tries as hard as he can not to look like an idiot:: |
Cheeseh |
![]()
Post
#104
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
effectively its how much they see instantaneuosly per frame, so its kinda like a reaction time as well.
|
MarD |
![]()
Post
#105
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 139 Joined: 30-September 04 From: Canada EH? Member No.: 419 ![]() |
Heyyo,
Cheesh, I've been meaning to ask this but I keep forgetting. ![]() Is there any extra cvar's we can put into the bot_weapons.ini to make them realise the weapon's lobbed? cause bots don't seem to know how to use the rpg's attached to the mp5's on svencoop, I'm gonna guess it's coded in eh? np if not cause it is funny to watch the bots attempt to pwn with rpg's and just nuke eachother, lol.. dude, I draw too much pleasure from svencoop now, hahahaha! ![]() |
Cheeseh |
![]()
Post
#106
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
not yet, mard.
maybe sometime in the future. Or ill get bots to learn it! ![]() news to skitchy: I've came up with a way to save all the stuff learned between maps & server restarts. Saves all the stuff to many files though in the bot profiles folder. Each of them won't be more than 1KB though so not much space needed! I've also noticed that there are some more memory leaks to discover they happen throughout the duration of the game, I don't know what will cause it yet, I'll have a look, if I can't find anything its going to be a "comment everything less and less until there is a memory leak" and see what I commented back in the code to check whether something there could be leaking some memory space. in other NS related news ![]() I've noticed the gorges were pretty crap, that because I just recently noticed that the code for determining whether hives were already built or not and func_resources have resource towers on them didn't work anymore. So I'll be fixing that soon too, hopefully the gorges will be back to their ol selves again. update i've improved the saving/loading of learned data and think i removed a big memory leak ![]() |
Cheeseh |
![]()
Post
#107
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Note: About the so called braindead bug. This happens because for some reason max_path_revs somehow becomes 0 after a few hours of play. To solve it, if it happens again just set it to something usefull like 150. I might introduce a monitoring code to set it to something like that if it becomes 0.
|
LordSkitch |
![]()
Post
#108
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
It was worth stayin up till 7am to figure that one out
![]() |
Cheeseh |
![]()
Post
#109
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
Just another note i've uploaded another dll (the latest) onto the filebase
|
LordSkitch |
![]()
Post
#110
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
What was changed in this one?
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 23rd June 2025 - 12:13 PM |