ineedbots / iw3_bot_warfare

The Bot Warfare mod for CoD4
https://www.moddb.com/mods/bot-warfare
49 stars 7 forks source link

Bot Warfare with Promod? #24

Closed Pucur closed 10 months ago

Pucur commented 1 year ago

Hey!

This bot mod looks interesting, but i wish to use it with the newest promod version, is it possible to merge the bot mod with that?

Thank you!

exeLocates commented 1 year ago

Follow the installation and test it with your mod, this mod works with 90% of mods, depends on a few things.

Let us know any errors if they occur :)

frasou commented 1 year ago

Follow the installation and test it with your mod, this mod works with 90% of mods, depends on a few things.

Hello, could you please be more specific? How to combine two mods together? As it doesn't work for me. Either server is running "bot mod" or another. It cannot be combined. If I try to run server with different mod then "bot" (modwarfare for example) it yields this::

./cod4x18_dedrun +set fs_game mods/modwarfare +set net_port 56650 +set scr_hardcore 1 +exec server.cfg

------- Game Initialization ------- gamename: Call of Duty 4 gamedate: Feb 12 2009 fs_ignoreLocalized is cheat protected. fs_ignoreLocalized is cheat protected. Loaded fastfile 'mp_crash' in 1145ms (0ms waiting) Error: Waited 467 msec for missing asset "codescripts/delete.gsx". Error: Error: script compile error Error: unknown function: (file 'maps/mp/bots/_bot_internal.gsc', line 424) if ( maps\mp\gametypes_missions::getWeaponClass( weap ) != "weapon_sniper" ) *

]CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded. ----- Server Shutdown -----

With the reason: Server fatal crashed: script compile error unknown function if ( maps\mp\gametypes_missions::getWeaponClass( weap ) != "weapon_sniper" ) (see console for details)

Pucur commented 1 year ago

I tried to merge this mod with simple promod, but this was the result if i loading with this:

./cod4x18_dedrun +set dedicated 1 +set sv_maxclients 64 +set net_port 28960 +set fs_game mods/promodlive211_sniper +exec cod4server.cfg +map mp_crash

this was the error:

`Error: Waited 182 msec for missing asset "codescripts/delete.gsx". Error: Error: script compile error Error: unknown function: @ 71798


----- Server Shutdown -----

With the reason: Server fatal crashed: script compile error unknown function

(see console for details)

==== ShutdownGame (1) ====

---- Network shutdown ---- Closing IPv4 UDP socket: 5 Closing IPv6 UDP socket: 3 Closing IPv4 TCP socket: 6 Closing IPv6 TCP socket: 4

Sys_Error: script compile error unknown function

(see console for details) `

with running the mod with:

./cod4x18_dedrun +set dedicated 1 +set sv_maxclients 64 +set net_port 28960 +set fs_game mods/bots +exec cod4server.cfg +map mp_crash

It will load a "custom" bots mod, with the main mod succesfully, but its boring to play with this with the main engine.

I saw this in the repository: "This mod does not edit ANY stock .gsc files, meaning EVERY other mod is compatible with this mod. Mod doesn't add anything unnecessary, what you see is what you get."

How is that works then if i want to work out this to a new mod?

I running my server on Ubuntu 22.04 linux, with newest cod4x

Thanks!

exeLocates commented 1 year ago

in your mod you need to replace your mods _missions.gsc with the _missions.gsc in raw\maps\mp\gametypes aka the original cod4 _missions.gsc (If you do not have a 'raw' folder in your cod4 directory, then search online for COD4 Mod Tools, and you will find it)

exeLocates commented 1 year ago

I tried to merge this mod with simple promod, but this was the result if i loading with this:

./cod4x18_dedrun +set dedicated 1 +set sv_maxclients 64 +set net_port 28960 +set fs_game mods/promodlive211_sniper +exec cod4server.cfg +map mp_crash

this was the error:

`Error: Waited 182 msec for missing asset "codescripts/delete.gsx". Error: Error: script compile error Error: unknown function: @ 71798

----- Server Shutdown -----

With the reason: Server fatal crashed: script compile error unknown function

(see console for details)

==== ShutdownGame (1) ====

---- Network shutdown ----

Closing IPv4 UDP socket: 5 Closing IPv6 UDP socket: 3 Closing IPv4 TCP socket: 6 Closing IPv6 TCP socket: 4 Sys_Error: script compile error unknown function

(see console for details) `

with running the mod with:

./cod4x18_dedrun +set dedicated 1 +set sv_maxclients 64 +set net_port 28960 +set fs_game mods/bots +exec cod4server.cfg +map mp_crash

It will load a "custom" bots mod, with the main mod succesfully, but its boring to play with this with the main engine.

I saw this in the repository: "This mod does not edit ANY stock .gsc files, meaning EVERY other mod is compatible with this mod. Mod doesn't add anything unnecessary, what you see is what you get."

How is that works then if i want to work out this to a new mod?

I running my server on Ubuntu 22.04 linux, with newest cod4x

Thanks!

Try changing the command line to run ur server to include +set developer 1 +set developer_script 1, then upload the new error it shows

balogune commented 1 year ago

please can someone make a deep tutorial on how to instal the bots mod.i dont know how to setup a server for the mod

ineedbots commented 10 months ago

Bot Warfare was designed to work with the vanilla game, I cannot attempt to support every mod, it would be too difficult.

ineedbots commented 10 months ago

Unfortunately promod is missing a lot of regular gsc functions that I use in bot warfare;

https://github.com/promod/promod4/blob/master/maps/mp/gametypes/_weapons.gsc

Notice its extremely culled and missing functions such as isweapondroppable and ishackweapon.

https://github.com/promod/promod4/blob/master/maps/mp/gametypes/_rank.gsc

Is also missing functions I need, like getrankforxp.