Giter VIP home page Giter VIP logo

iw4_bot_warfare's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

iw4_bot_warfare's Issues

How to play?

I have installed cod4x. I can see the version in the bottom right.
I have installed bot warfare.
I have loaded bots from the mod menu.
I "Start New Server", let the default settings and click "Start" (default map is Ambush)
Once the map loaded, no bots are added.
Pressed default action slot 2 key (5) nothing happens.
Typed \bots_manage_add in console, get Unknown cmd bots_manage_add
Typed /bots_manage_add in console, get Unknown cmd bots_manage_add
Typed /set bots_manage_add in console, nothing happens
Typed \set bots_manage_add in console, nothing happens

How to play with bots?

Waypoints not being loaded

With a few maps; particularly Karachi and Strike are two I'm certain of, they do not seem to load user created/saved wp files. Even as dirt simple as the waypoints I'll link below, it simply just doesnt load it. In the console upon initializing the game, it strictly states

attempting to read waypoints from waypoints/mp_checkpoint_wp.csv

and proceeds to load the default 196 waypoint file from http.

I have other maps that load waypoints totally fine, however I'm still not 100% that I can isolate it to being map specific, though it does appear to be.

here's the very simple karachi wp file I created, in which it does fail to load (though no errors are provided in console)
18 258.102 2080.51 -0.395854,1,stand,13.4912 -179.698 0,, 361.175 2114.33 -0.665004,2 0 8,stand,15.4193 -88.4564 0,, 572.278 2156.35 -7.21318,1,stand,17.9022 -15.0732 0,, -350.598 2087.3 0.333892,4,stand,17.1936 -88.797 0,, -350.628 1768.69 23.125,3 5,stand,23.0548 -80.7935 0,, -132.679 1754.31 56.125,4 6,stand,22.0496 -93.7134 0,, -133.031 1499.04 50.8133,5 7 9,stand,21.8903 -93.241 0,, -192.698 1461.45 48.5339,6 10,stand,28.8116 -131.083 0,, 348.748 1621.62 13.6777,1 9,stand,8.89893 176.649 0,, -29.2799 1618.91 61.7374,8 6,stand,38.4741 -175.353 0,, -487.641 1428.71 34.0899,7 11,stand,28.5699 -173.161 0,, -636.259 1239.48 8.125,10 12,stand,20.4401 -97.5586 0,, -653.258 853.237 -0.867595,11 13,stand,14.3921 -87.6544 0,, -618.063 595.607 8.125,12 14,stand,15.661 -81.9031 0,, -617.239 336.617 8.125,13 15,stand,19.8853 -14.1614 0,, -97.9254 312.04 60.4483,14 16,stand,15.2875 0.725098 0,, 42.1435 241.254 81.2863,15 17,stand,24.1095 -42.583 0,, 136.477 85.8983 33.4891,16,stand,28.0975 -57.6892 0,,

I'm really unsure if there is potentially any error I'm creating but I'd venture to guess not... I usually load the default waypoints, then go around deleting numerous waypoint markers that are more or less out of the way, so that bots route to higher traffic areas of the map.

Script Error

When I try and play with bots and load in I get an error that says "script compile error unknown function httpgetmaps/mp/bots/_bot_http.gsc" not sure how to fix
IMG_7428

mp_compact (Salvage) map is not working.

When I load the map, the bots wants to walk through the wall. It seems the waypoint have issue.
I install iw4x_full_game and use official release of BotWarfare(z_svr_bots.iwd).

Any advise? Thanks.

Script error

I have the base game and all of the dlc installed from steam, i did a clean install of iw4x and the bots mod from github. However every time i try and load up a map i get this. "script error unknown function botweapon maps/mp/bots/bot.http.gsc"

I've asked on the discord for iw4x and they have no idea either, only happens with this mod, and no antivirus is blocking anything

17 bots makes my custom game extremely laggy

I play bot warfare on iw5 pluto and it runs very well, but on iw4x I get 350+ fps on a custom game with no bots, and as soon as I add 17 bots (or even less) it gets extremely laggy and the fps drops to 120sh (feels like 40 though). Is there a fix for it without having to create a dedicated server?? I just want to play it in custom games, thx in advance : )

Boys don’t do anything

I have installed the mod no worries, all the options work. I can spawn in all bots.

BUT, when they get close to each other or me, they target but do not do anything and usually get stuck. Sometimes a random bot will run around knifing here and there, but they do not shoot guns at all.

There ping is 999 not sure if that has anything to do with it.

11+ bots lag my game.

I use bot warfare on IW5 and it runs without any problems, but on IW4x it begins to stutter when I add more than 11 bots.

Request : Add support for bot to join lobby if at least 1 player join the lobby.

Since the only place where you can have map voting screen is in lobby, is it possible to add support to lobby? Currently, lobby requires at least 2 person before the match can be started (for team based games. not ffa). Is it possible for the bot to join the lobby if player present? and disallow bots to vote map?

Thanks.

Error: Attempted to execute deprecated built-in HttpGet/HttpCancel! These functions have been deemed unsafe and are scheduled for removal.

*** DEPRECATION WARNING ***

Error: Attempted to execute deprecated built-in HttpGet/HttpCancel! These functions have been deemed unsafe and are scheduled for removal. Please update your mod!

***************************
Error getting remote version of Bot Warfare.

The function HttpGet() is used two places:

getRemoteVersion():
https://github.com/ineedbots/iw4x_bot_warfare/blob/27be561a42b674de8521385ea4703d1292cf5376/userraw/maps/mp/bots/_bot_http.gsc#L74

getLinesFromUrl()
https://github.com/ineedbots/iw4x_bot_warfare/blob/27be561a42b674de8521385ea4703d1292cf5376/userraw/maps/mp/bots/_bot_http.gsc#L95

Bot pathing fails if 2 waypoints cross a objective

As far as my observations go, bot pathing is likely to fail if one waypoint to another crosses a sabotage or demolition objective which leads into the bots jumping around the objective, until they decide to do something different or get killed.

I imagine it could be hard to fix due to how the waypoint-system works.

Bot's aim is inaccurate while ADS in 3rd Person Team Tactical mode

120254698-5ed07e00-c2c5-11eb-9744-23a2c767c0a3

Hello, I used to play with bot in private third person mode. But today I finally noticed that Bot's aim is inaccurate while ADS in 3rd Person Team Tactical mode. You know third person mode is official game mode in MW2.

As you can see in snap shot I captured, while ADS bot aim sideways not aim direct on my head. This happen bots with AR, LMG, SMG automatic weapon and bot with sniper aim and shot well in third person mode.

Salvage needs waypointing

if i can figure how to do it myself i will, but bots have no idea where to go on this map, when i swear the have before.

Bot Warfare won't work whatsoever

I am on iw4x version 0.7.2

I have installed bot warfare in my mods folder but it doesn't matter if I run it on a dedicated server or via private match. It just doesn't work. Pressing '5' on my keyboard doesn't do anything.

while setting up the dedicated server, I made sure to set the DVAR "fs_game" to "mods/bots" but it doesn't seem to do anything.

When starting the dedicated server, I get this error (See screenshot)

Screenshot 2022-05-22 222120

Is there something I am doing wrong?

Any help would be greatly appreciated.

Question: What happened to the chatter option?

It seems to be all but gone from the mod now. Why was it removed? I liked it.
In my opinion, it was one of Bot Warfare's biggest selling points, and it was the reason why I installed the mod to begin with.
It would be great if it could be re-added because it was hilarious watching 5 bots hackusate each other.
If it was removed because people didn't like it, they could've just turned it off. Not that hard to do.
Many thanks from CrazyCSIW6

[Request] Select bot names from bots.txt randomly

Currently bot-names are taken from the top to the bottom of the bots.txt file. It would be better in my opinion if these are selected randomly.

Current bot naming if 4 bots are spawned:
a
b
c
d

Desired bot naming if 4 bots are spawned:
a
z
b
k

Option to disable CoD4 guns

I dont know whether this is related to your mod or IW4X, but bots are using guns from CoD 4 and its annoying. Please give us option to disable those guns so bots can only use the vanilla (base game) guns.
Also nerf those bloody quick scopes. I swear bots can make a montage of how they quick scope me with that M40A3 from cod4.

Bot auto update

Does the mod have autoupdate implemented? Or do I need to update it manually?

Thanks.

crash

i'm using iw4m but i've also tried using iw4x and each time i tried to load a map it gives me this error for both...any fix :D
https://prnt.sc/1sct70y

Typo 'defualt' in .cfg files

In serverlanbots.cfg, these are the values

set bots_loadout "defualt"
set bots_loadout_killstreak "defualt"

is it a typo?

Is there a way to auto add the bots to a new offline local game without having to open the menu and manually add them?

I was wondering if there is a way to automatically add a preset number of bots to every game that one starts without having to wait for opening the menu once a game is started by hitting the '5' key and selecting manually the amount of bots to add. I was looking at _bot_utility.gsc file and the bots_main_waitForHostTime and bots_main_firstIsHost functions but I am not sure what needs to be changed. In the wiki it also states that bots_main_waitForHostTime default is 10 seconds. I was not able to find where this 10 seconds is being set at. If anyone can help me to add this automatically add bots to a new local LAN game functionality it would be greatly appreciated.

Votemap Menu

I try to run with votemap mod... But its not working with your mod... When i copy and paste all of the files for userraw folder...

Can you add an option to name your bots?

Hi, loved this mod btw its so refreshing to see no more of those glitchy bots.

Was wondering if you could add an option to name your bots instead of singular alphabet named bots.

Thanks!

Progress not being saved when using mod

Whenever I play using this mod Offline, the game never saves my progress. I tested out spawning the "dummy" clients in vanilla IW4X and it seems to save the progress I make, but as soon as i switch over to Bot Warfare the game will forget my progress made and revert to an older level and xp amount

class names not showing up

class names arent showing up in the create a class menu, while this doesnt need fixing, mainly because they still highlight, it would be nice to see them. I have also noticed that the bots can be absolute laser beams from a distance, if the bots could be a little less accurate based on range at least with weapons that arent snipers, i think this mod would be a lot closer to treyarch's bots

Hello, I would like to miss something

I love your bot mods but would like to ask if it is possible to add some features to your iw4x bots.
If you could add a menu that when connecting a player could choose if he wants to play with streaks or specialist and could choose his specialist configuration.
I am Cuban and I play in lan mode with friends here in my country due to the difficult access to the internet and we had a lot of fun with that game and your mods. Thanks in advance this has been translated from Spanish to English with the google translator

Bots taking objectives way too slowly

I hate to spam here but ive noticed another issue with these dudes, they dont seem to be very aggressive in objective based modes, a good example of this is S&D, 9 rounds out of 10 they seem to just deathmatch, instead of sprinting to the objective with the bomb, another example is in domination, where it's way too easy to corner the opposite team, they seem to go for caps very slowly instead of sprinting and i feel like if they did there would be a lot more challenge here. they do the killing just fine, they just need to have a higher priority when it comes to objectives like flags and bombs. just a thought.

Search & Destroy (especially Third-Person) bot waypoint issues on Backlot, Chinatown, Countdown, Pipeline, and Downpour

Hi,

I am using iw4x 0.7.5 with iw4x_bot_warfare 2.1.0. In Search & Destroy and especially third-person Search & Destroy, on certain maps, the bots get "stuck" like they don't have waypoints or something. The only settings I change are killcam off and third-person on.

On the defending side of Backlot in S&D, bots often get stuck in corners, like this one:

On the attacking side of Backlot in S&D, especially third-person S&D but also sometimes first-person S&D, the bots get stuck in the spawn area:

In third-person S&D, it's like the bots don't even try to destroy the objective, just run in circles - do they require first-person camera for waypoints or something?

This happens to a lesser extent on Bloc, at least Block still remains playable but is still a bit "weird" in terms of third-person S&D waypointing vs first-person S&D.

It's a shame that this mostly seems to affect third-person S&D since it's my favorite game mode.

Bots are also getting stuck on these maps in S&D as well: Chinatown at spawn running around looking at the ground, Countdown at spawn running around looking at the ground, Pipeline at spawn and on the other side they get stuck on walls, and Downpour stuck behind objects.

Waypoints

Decided to share my waypoints here.

  • Generally added more routes
  • Added more camp spots
  • Bots navigate around bomb spots
    waypoints.zip

On most maps except Afghan, brecourt and complex there could be more waypoints for grenades, claymores, javelins

game become laggy adding more than 7 bots

The game runs fine with 7 bots on my laptop with 300fps, but adding more bots lower the fps to 150, and the mouse feels very laggy. Is there a way to improve it, or can I add more bots as enemy, like 6v2 instead of 4v4?

script runtime warning: potential infinite loop in script 5000 > 5000.

Hi! I get this on a dedicated server multiple maps, when loaded spamming this line forewer...

This is for bad waypoints? I pulled all of your waypoints from here: https://github.com/ineedbots/iw4x_waypoints

Then pasted to my mods/mymod/waypoints

'BTW I dont think thats couse the waypoints, couse when i modify your COD4X Botwarfare to work with Mitsurugi WWII Mod

Sometimes i get this infinite loop error tooo.... I worked on bots wepon choosing system to not choose modern weapons... with multiple attachment like noobtube '

6423492] Waited 2096 msec for asset 'maps/mp/mp_vacant.d3dbsp' of type 'col_map_mp'.
[ 6423494] ------- Game Initialization -------
[ 6423494] gamename: IW4
[ 6423494] gamedate: Jan 14 2010
[ 6426361] -----------------------------------
[ 6426365] Loaded 147 waypoints from script.
[ 6435188] script runtime warning: potential infinite loop in script 5000 > 5000.

22335275] Attempting to read waypoints from waypoints/mp_estate_wp.csv
[ 22335294] Loaded 257 waypoints from csv.
[ 22344128] script runtime warning: potential infinite loop in script 5005 > 5000.

7387457] Attempting to read waypoints from waypoints/mp_cargoship_wp.csv
[ 7387470] Loaded 234 waypoints from csv.
[ 7396337] script runtime warning: potential infinite loop in script 5000 > 5000.

3751448] Attempting to read waypoints from waypoints/mp_checkpoint_wp.csv
[ 3751460] Loaded 196 waypoints from csv.
[ 3760644] script runtime warning: potential infinite loop in script 5000 > 5000.

8097914] Waited 3668 msec for asset 'maps/mp/mp_bog_sh.d3dbsp' of type 'col_map_mp'.
[ 8097915] ------- Game Initialization -------
[ 8097915] gamename: IW4
[ 8097915] gamedate: Jan 14 2010
[ 8099238] -----------------------------------
[ 8099244] Loaded 138 waypoints from script.
[ 8108145] script runtime warning: potential infinite loop in script 5000 > 5000.

Bots spinning in different directions cant walk straight

Hello, I'm trying to implement the bots into a mod, I have them set to only go to allies and be 1 bot only, he keeps spinning in random directions aiming in and out of his gun and walking backwards and forwards. sometimes he will follow the waypoints for 1 second then go back to spinning in random directions.

Clearly the bot is following the waypoints, it is on shipment and the waypoints loaded correct.
I'm trying to ascertain as to what the bot is trying to target or follow but keeps getting stuck in a loop somewhere trying to find a nonexistent target?

However when I try to print bot.target or bot.script_target or bot.script_goal they all return undefined.

I would love to get in contact on discord if possible, I highly appreciate your project my friend.
My discord is Locates#4189

How do I know which maps is fully supported?

This is the list of all maps in IW4x. Which of this maps is not supported? Copied pasted from serverlanbots.cfg

//////////////////////////////////////////////////
// MAP ROTATION TIPS //
//////////////////////////////////////////////////
// //
//Example: sv_maprotation "map mp_bloc map mp_" //
// //
// mp_afghan - Afghan //
// mp_derail - Derail //
// mp_estate - Estate //
// mp_favela - Favela //
// mp_highrise - Highrise //
// mp_invasion - Invasion //
// mp_checkpoint - Karachi //
// mp_quarry - Quarry //
// mp_rundown - Rundown //
// mp_rust - Rust //
// mp_boneyard - Scrapyard //
// mp_nightshift - Skidrow //
// mp_subbase - Sub Base //
// mp_terminal - Terminal //
// mp_underpass - Underpass //
// mp_brecourt - Wasteland //
// //
//// DLC1 STIMULUS ///////////////////////////////
// Make sure you have them all installed on your//
// server. //
// //
// mp_complex - Bailout //
// mp_crash - Crash //
// mp_overgrown - Overgrown //
// mp_compact - Salvage //
// mp_storm - Storm //
// //
//// DLC2 RESURGENCE /////////////////////////////
// //
// mp_abandon - Carnival //
// mp_fuel2 - Fuel //
// mp_strike - Strike //
// mp_trailerpark - Trailer Park //
// mp_vacant - Vacant //
// //
//// DLC3 NUKETOWN ///////////////////////////////
// //
// mp_nuked - Nuketown //
// //
/// DLC4 CLASSICS 1 //////////////////////////////
// //
// mp_cross_fire - Crossfire //
// mp_bloc - Bloc //
// mp_cargoship - Cargoship //
// //
/// DLC5 CLASSICS 2 //////////////////////////////
// //
// mp_killhouse - Killhouse //
// mp_bog_sh - Bog //
// //
/// DLC6 FREIGHTER ///////////////////////////////
// //
// mp_cargoship_sh - Freighter //
// //
/// DLC7 RESURRECTION ////////////////////////////
// //
// mp_shipment_long - Long:Shipment //
// mp_rust_long - Long: Rust //
// mp_firingrange - Firing Range //
// //
/// DLC8 RECYCLED ////////////////////////////////
// //
// mp_storm_spring - Chemical Plant //
// mp_fav_tropical - Tropical: Favela //
// mp_estate_tropical - Tropical: Estate //
// mp_crash_tropical - Tropical: Crash //
// mp_bloc_sh - Forgotten City //
// //
/// SP MAPS to MP ////////////////////////////////
// //
// oilrig - Oilrig //
// iw4_credits - Test map //
// co_hunted - Village //
// //
//////////////////////////////////////////////////

Thanks.

error (0xC0000005) at 0x59BFAD49

This error happen when the mod add bots in the next map rotation. I have no advance knowledge on programing, sorry for any inconvenience

IW4X MW2: Bots seem to be very... erratic

Hi there.

Got a quick question. I noticed that this mod is included in the IW4X Modern Warfare 2 distribution, which is cool. However, after setting my server up for bots (setting fs_game, etc), I loaded into the server and had bots spawn. However, this server instance was not running with "thereisacow" and "sv_cheats 1" or "devmap".

The bots were doing really weird stuff, like some would do nothing until I shot an enemy that it saw and then it would start running somewhere else, some would slowly move, some would traverse the map but then seem to be attracted to me and would follow me like a companion, some would have a party at a waypoint.

Bots are configured to do things and they are set to do them (I double checked it to make sure the settings stuck).

Is this a known bug with the IW4X shipped copy of Bot Warfare? The files seem fairly recent from January 2021 in the package.

Can upload a video to show what behaviour they perform. Hope to get this working so I can have a LAN server with bots for a good time.

Bots don't seem to use Predator or Harrier

Spectated some bots and they often hold a predator or harrier killstreak without using it. In fact I never have seen one of these killstreaks in my current playtime (around 8 hours).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.