PDA

View Full Version : Questions about FoxBot v0.79-beta3



pWEN
12th December 2016, 12:39 AM
Hello! I hope this is the right place for this. I've recently been tinkering with TFC again, and went looking for the latest version of FoxBot. Through Googling around, and searching through Bots-United and the Omni-Bot forums, I discovered this version 0.79-beta3 (https://apg-clan.org/vbdownloads.php?do=download&downloadid=980) hosted on this site, though it was linked to on a post about v0.78 being released. I tried the newer version, but noticed some issues like spies not cloaking and medics and engies not healing anyone; went to v0.78 and they worked fine. Is FoxBot still being developed? Was that a legit version or a misnumbered earlier version? Just curious what the development state of these bots is, and the possible future of the project. I'm impressed with them so far!

RoboCop
12th December 2016, 08:25 AM
Yes FoxBot is still under development but still at it's beta stage. I've tampered with bot_job_think priority as the engineers appeared to neglect on building and just wonder around repairing player's armour.

Over here is the current bot task priority factor below that was compiled for FoxBot 0.79-beta3:-


// these must be in the right order for each job to run properly
const jobList_struct jl[JOB_TYPE_TOTAL] = {
{ 400, "JOB_SEEK_WAYPOINT" }, { PRIORITY_MAXIMUM, "JOB_GET_UNSTUCK" }, { 0, "JOB_ROAM" }, { 450, "JOB_CHAT" },
{ 500, "JOB_REPORT" }, { 510, "JOB_PICKUP_ITEM" }, { 420, "JOB_PICKUP_FLAG" },
{ PRIORITY_MAXIMUM - 1, "JOB_PUSH_BUTTON" }, { 690, "JOB_USE_TELEPORT" }, { PRIORITY_MAXIMUM - 1, "JOB_MAINTAIN_OBJECT" },
{ PRIORITY_MAXIMUM, "JOB_BUILD_SENTRY" }, { 560, "JOB_BUILD_DISPENSER" }, { 700, "JOB_BUILD_TELEPORT" },
{ 300, "JOB_BUFF_ALLY" }, { 460, "JOB_ESCORT_ALLY" },
{ 550, "JOB_CALL_MEDIC" }, // this should be a higher priority than JOB_GET_HEALTH
{ 540, "JOB_GET_HEALTH" }, { 480, "JOB_GET_ARMOR" }, { 490, "JOB_GET_AMMO" }, { 410, "JOB_DISGUISE" },
{ 190, "JOB_FEIGN_AMBUSH" }, { 520, "JOB_SNIPE" }, { 250, "JOB_GUARD_WAYPOINT" }, { 430, "JOB_DEFEND_FLAG" },
{ 530, "JOB_GET_FLAG" }, { 580, "JOB_CAPTURE_FLAG" }, { 340, "JOB_HARRASS_DEFENSE" },
{ PRIORITY_MAXIMUM - 1, "JOB_ROCKET_JUMP" }, { PRIORITY_MAXIMUM, "JOB_CONCUSSION_JUMP" },
{ 390, "JOB_DETPACK_WAYPOINT" }, { 450, "JOB_PIPETRAP" }, { 425, "JOB_INVESTIGATE_AREA" },
{ 440, "JOB_PURSUE_ENEMY" }, { 200, "JOB_PATROL_HOME" }, { 710, "JOB_SPOT_STIMULUS" },
{ 600, "JOB_ATTACK_BREAKABLE" }, { 430, "JOB_ATTACK_TELEPORT" }, { 650, "JOB_SEEK_BACKUP" },
{ 610, "JOB_AVOID_ENEMY" }, { PRIORITY_MAXIMUM - 1, "JOB_AVOID_AREA_DAMAGE" },
{ PRIORITY_MAXIMUM - 2, "JOB_INFECTED_ATTACK" }, { PRIORITY_MAXIMUM, "JOB_BIN_GRENADE" },
{ PRIORITY_MAXIMUM, "JOB_DROWN_RECOVER" }, { 240, "JOB_MELEE_WARRIOR" }, { 210, "JOB_GRAFFITI_ARTIST" },
};

Zybby from Omni-Bot who left the FoxBot project in 2010 hadn't finished 0.77 as it had some flaws - like some typos in the coding and wasn't fully compatible for TFC SteamPipe Linux servers cos of the change of the /dll/tfc_i386.so binary to tfc.so that needed altered from h_export.cpp.

We are hoping for you guys to test our latest build for both Linux and Windows servers. At the moment I'm working on fixing the bot_team_balance integer that appears to be faulty. Plus those map configs that I've added in /foxbot folder would require to add map configs for certain stock maps - like for for example 2fortsniper sniper cfg removes the sniper class restriction but appears the server didn't restore to default server.cfg settings. So I took the liberty on adding like 2fort map config in Foxbot to use "exec server.cfg" that maybe useful. But it may conflict with the /amxmodx/configs/map for their version of map config being loaded.

pWEN
14th December 2016, 12:35 AM
Awesome! Really happy to hear someone is still working on it. I wish I could help, but my coding skills are front end web dev and nothing with AI. That seems like a rather linear job queue. Is that standard? I guess it's like Maslow's hierarchy of needs, huh? :p

I'm not sure what the issue was with the 0.79-b3 medics and spies not working properly, but 0.78 is still great, so I'll stick with those until a new version is out. Looking forward to it! TFC is one of my all-time favorite games.

RoboCop
14th December 2016, 08:06 AM
Well I've just released FoxBot 0.79-beta4 just now. Try it now from the same download link from where you found FoxBot 0.79-b3.