.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   JKBotti (http://forums.bots-united.com/forumdisplay.php?f=83)
-   -   jk_botti v1.20 release - bug fixes, new feature: lift support (http://forums.bots-united.com/showthread.php?t=6377)

ghost of evilspy 28-06-2007 19:42

jk_botti v1.20 release - bug fixes, new feature: lift support
 
binaries (i686, win32 & linux)
http://koti.mbnet.fi/axh/jk_botti/jk_botti_mm-1.20-win32.zip
http://koti.mbnet.fi/axh/jk_botti/jk_botti_mm-1.20-linux.zip

source
http://koti.mbnet.fi/axh/jk_botti/jk_botti-1.20-source.rar

What is new in 1.20:
  • Added support for lifts.
  • Fixed weapon selection code to honor weapon secondary/primary attack skill setting.
  • Fixed bot get up ladders better.
  • Fixed min_bots/max_bots to handle other metamod bots correctly.
  • More aggressive autowaypointing for linking separate areas.
  • Fixed autowaypointing for paths leading from water to dry.
  • Added missing ammunition type 'ammo_9mmbox'.
  • Fixed goal selection to use wall mounted health/battery rechargers.
  • Compiled with more aggressive optimization flags. This speeds up path-matrix creation.
  • Fixed output for 'kickall'-command.
  • Fixed bot not to jump when coming near edge and bot is planing to go down using ladders.
  • Workaround for loading map specific config for map 'logo'. Use '_jk_botti_logo.cfg' for this map. 'jk_botti_logo.cfg' is already used for bot spraypaints.
  • Fixed bot always ducking when next waypoint is crouch waypoint. This caused bot not be able to jump through small window with crouch waypoint inside.

What is new in 1.10:
  • Fixed bots to use wall mounted health/battery rechargers and buttons.
  • Fixed bots to pick up items.
  • Fixed observer mode so that bots don't hear observers anymore. This caused bots to get interested about observer sounds and track theim.
  • Lowered default bot lookaround/pause frequency and times.
  • Fixed autowaypointing not to place waypoints midair.
  • Fixed autowaypointing not to create impossible upwards paths.
  • Fixed autowaypointing not to create crouch waypoints if there is room to stand up.
  • Old waypoint files are automatically processed to fix above autowaypointing errors.
  • Lots of tweaks to autowaypointing: better handling of ladders and stairs, better linking of isolated areas.
  • 'autowaypoint' is now default on.
  • New command 'show_waypoints' for viewing/aiding waypoint creation.

What is new in 1.01:
  • Bug fix: Fixed 'bot_conntimes 1' crashing Windows server.

What is new in 1.00:
  • Remembers bots from config when recreating bots by min_bots/max_bots.
  • Change bot connection times on server queries.
    • Set 'bot_conntimes 1' in config file to have different connection times for each bot on server query.
  • Tweaked code computing RunPlayerMove-msec.
  • Bots don't see targets too early behind corners.

Credits:
  • Based on HPB bot 4.0 by botman.
  • Uses BotAim code by Pierre-Marie Baty.
  • Uses code from GraveBot by Caleb 'Ghoul' Delnay. (goal selection system, longjumping)

cuci11 29-06-2007 12:48

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
hi

the bots dont stay in the server :(

jk_botti.cfg:

min_bots 2
max_bots 2

ghost of evilspy 29-06-2007 17:16

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
If you use min_bots/max_bots with same value then workaround for this bug is to have two 'addbot' lines in jk_botti.cfg.

ghost of evilspy 29-06-2007 21:27

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
Well well.. two different server with similiar (mix/max_bots) problem and I can't reproduce it. What am I missing here :S

intelliq 30-06-2007 03:17

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
once again, superb coding! :D

thank you

cuci11 30-06-2007 15:27

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
of course i have 2 addbot in the cfg :)
in the previous releases it worked fine

ghost of evilspy 30-06-2007 19:48

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
oh .. if you have two addbots in cfg you don't need to use min/max_bots settings, just leave theim commented with #.

ghost of evilspy 30-06-2007 20:56

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
1 Attachment(s)
Ok, here's v1.21 win32 DLL.
* Rewrote min/max_bots code.
* Increased config-file processing and bot adding speed.

The Storm 30-06-2007 22:07

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
I need Linux .so file. ;)

ghost of evilspy 01-07-2007 09:57

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
1 Attachment(s)
here

The Storm 01-07-2007 11:19

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
Ok installed, min_bots 0, max_bots 6. Now in the server there is 9 players and still one bot, it works better than before but still is not perfect. ;)

ghost of evilspy 01-07-2007 14:06

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
1 Attachment(s)
here's 1.22. I added 'jk_botti debug_minmax 1/0' option. Turn it on when min/max start going wrong and copy console debug output here.

The Storm 02-07-2007 01:11

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
Maybe something is wrong in your client struct...
Code:

status
#      name userid uniqueid frag time ping loss adr
# 1 "TimeJumpper" 20 UNKNOWN 101  1:20:15    0    0
# 2 "Digimon-man" 17 UNKNOWN 127  1:20:15    0    0
# 3 "Player_R0x[BMOD-lovers]" 15 UNKNOWN 135  1:20:15    0    0
# 4 "Medium_Sausage" 16 UNKNOWN 151  1:20:15    0    0
# 5 "Bitch_Slapper" 5 UNKNOWN  85  1:20:15    0    0
# 6 "mister_million_names" 8 UNKNOWN  89  1:20:15    0    0
# 7  "DuWi" 18 *********  80 16:51  72    0 *********
6 users
[jk_botti] debug_minmax mode ENABLED
[jk_botti] client count: 6, bot count: 5, max_bots: 6, min_bots: 0
[jk_botti] client_count < max_bots: FALSE
[jk_botti] client_count > max_bots: FALSE
[jk_botti] bot_count > min_bots: TRUE
[jk_botti] Should add bot: FALSE
[jk_botti] Should remove bot: FALSE

Before that there were 2 real users but still the bots was with one more bonus and when there is 6 users or more to play, there is always one bot in to the server.

EDIT: OK I just checked the server again and it seems that all is fine for now. (11:50 GMT+3)

ghost of evilspy 02-07-2007 14:41

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
1 Attachment(s)
Ok, I got new version to test with another way of check if client is valid.

The Storm 02-07-2007 17:31

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
OK I just installed it but something strange showed up in to the console:
Code:

[jk_botti] Loading waypoint file: valve/addons/jk_botti/waypoints/crossfire.wpt
[jk_botti] - loaded: 321 waypoints, 1338 paths
[jk_botti] [matrix load] - loading jk_botti waypoint path matrix
Got a NaN origin on ammo_crossbow
Got a NaN origin on ammo_crossbow
Got a NaN origin on ammo_crossbow
[jk_botti] Executing valve/addons/jk_botti/jk_botti.cfg

The map is crossfire and I don't have any other mm plugins exept JKBotti. But anyway I'm not 100% sure that "Got a NaN origin on ammo_crossbow" come from JKBotti.

ghost of evilspy 02-07-2007 21:49

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
Quote:

Originally Posted by The Storm (Post 55523)
"Got a NaN origin on ammo_crossbow" come from JKBotti.

I did get same warning on my linux server, so I removed jk_botti. Same error game up => I removed metamod. Same error => I developed win32 gamedll loader for linux-hlds (based on xine win32 codec loader). Same error game up.

I guess it's in engine bug (currently running engine_amd.so). I don't remember this appearing few years back so it's quite new. I'll check other engine_ix86.sos to see if it's compiler bug. Reverse-engineering shows that "Got a NaN origin on %s" is located in engine_xxxx.so/swds.dll ...

ghost of evilspy 02-07-2007 22:34

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
"Got a NaN origin on %s", SV_CheckVelocity in QuakeWorld. It seems that only one entity causes triple error output:
http://cvs.icculus.org/cvs/twilight/...phys.c?rev=1.6

I ran engine_i686 and engine_amd, both show error. engine_i486.so hangs on same place.

ghost of evilspy 02-07-2007 22:50

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
More debuging engine_i686.so shows that this isn't caused by one entity but once for every three dimensions of checked vector memory. Bug: Use of uninitialized vector memory?

I think I read about this sort of problem on some mm plugin.. gcc and msvc initialize array/vector memory differently, gcc making NaNs and msvc zero. HL-engine probably assumes msvc behavior.

Anyways it's valve bug.

The Storm 03-07-2007 12:02

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
Ok running JKBotti 1.23, here output.
Code:

#      name userid uniqueid frag time ping loss adr
# 1 "d.f.j.rocky" 469 ********  3 02:03  22    0 ************
# 2 "Freshman Neuman" 430 ******** 175  1:23:26  177    0 *********
# 3    "Neo" 440 ********* 248  1:09:25  33    0 ***********
# 4 "master_gollum" 465 *********  3 05:59  31    0 *********
# 5 "D@RKNE$$" 462 ***********  33 10:17  73    1 ***********
# 6 "Big_Van" 6 UNKNOWN 717 18:32:19    0    0
# 7 "deniz91" 454 ******** 110 30:59  22    0 **********
# 8 "master hacker" 447 *********  83 55:22  359    0 **********
# 9 "The cocrissiumKil" 429 **********  34  1:24:55  79    0 **********
#10 "unnamed" 460 **********  9 15:45  74    0 **********
#11  "DrFlo" 461 **********  41 11:04  19    0 **********
#12 "Sir Sui <Jan>" 463 **********  38 10:14  18    0 **********
#13 "albertmendez1955" 470 **********  0 01:23  164    0 **********
#14  "Wofka" 467 **********  10 04:58  23    0 **********
#15  "PyRo" 471 **********  0 00:53  70    0 9**********
#16    "bu" 472 **********  0 00:18  163    0 **********
16 users


[jk_botti] client count: 16, bot count: 1, max_bots: 6, min_bots: 0
[jk_botti] client_count < max_bots: FALSE
[jk_botti] client_count > max_bots: TRUE
[jk_botti] bot_count > min_bots: TRUE
[jk_botti] Should add bot: FALSE
[jk_botti] Should remove bot: TRUE
[jk_botti] Test UTIL_PickRandomBot(), return value: 0

"[jk_botti] Should remove bot: TRUE" but the bot is not removed...

EDIT: I will hide the STEAM_ID's and IP's for security reasons.

ghost of evilspy 03-07-2007 12:22

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
Ah, logic error in PickRandomBot.

The Storm 03-07-2007 13:46

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
Any fix? :)

ghost of evilspy 03-07-2007 14:26

Re: jk_botti v1.20 release - bug fixes, new feature: lift support
 
1 Attachment(s)
here.


All times are GMT +2. The time now is 16:41.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.