Giter Club home page Giter Club logo

Comments (19)

gasofa avatar gasofa commented on May 24, 2024

I keep seeing and starting the server in developer it gives me this

Waited 179 msec for asset 'maps/mp/mp_crossfire.d3dbsp' of type 'col_map_mp'.
------- Game Initialization -------
gamename: Call of Duty 4
gamedate: Feb 12 2009

Game: G_SetupWeaponDef

fs_ignoreLocalized is cheat protected.
fs_ignoreLocalized is cheat protected.
Loaded fastfile 'mp_crossfire' in 289ms (1ms waiting)
Mistake:
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" )
*


----- 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)

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

Can somebody help me??

from cod4x_server.

ineedbots avatar ineedbots commented on May 24, 2024

image
Should exist unless you have another GSC that overrides the _mission script and removes this function

from cod4x_server.

ineedbots avatar ineedbots commented on May 24, 2024

ModWarfare
image

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

Hi friend.
Thanks for your answer.

I'm not exactly sure how to do it?

from cod4x_server.

ineedbots avatar ineedbots commented on May 24, 2024

Remove mods that modify _missions

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

ok modify in my mod the file _missions.gsc

and add these lines

init()
{
}

lastManSD()
{
}

still if it works

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

now I this

Game: G_SetupWeaponDef

fs_ignoreLocalized is cheat protected.
fs_ignoreLocalized is cheat protected.
Loaded fastfile 'mp_crossfire' in 357ms (3ms waiting)
Mistake:
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" )
*


----- 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)

from cod4x_server.

exeLocates avatar exeLocates commented on May 24, 2024

ok modify in my mod the file _missions.gsc

and add these lines

init() { }

lastManSD() { }

still if it works

no you misunderstood what @ineedbots said. 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

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

If the mod finally starts, you are the best !!!

The bots come out without a weapon, is that fixed?

thank you very much to all

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

hi all
it seems that the server is stable but the bots do not have weapons nor do they shoot

gretting

from cod4x_server.

exeLocates avatar exeLocates commented on May 24, 2024

since whatever mod your using modified _missions.gsc its entirely possible it is modifying other vanilla GSC's aswell, BotWarfare is built to run with vanilla game files, beyond that you will have to modify the scripts to be able to run your mod.

most likely if the bot is spawning but with no weapon, the classes menu is modified somehow.

Is the pick a class menu different in your mod? what mod are you using here?

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

Hi, thanks for your response
The mod I use is the extreme in version 2.0

I don't know which files to modify, could you help me? I would greatly appreciate it
Cheers

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

no one can help me??

from cod4x_server.

gasofa avatar gasofa commented on May 24, 2024

After a few days I managed to solve it.

Thank you very much for your help

from cod4x_server.

slimline33 avatar slimline33 commented on May 24, 2024

Hi, I have the same problem. Also that my bots have no weapons. Can you possibly tell me what exactly you did?

from cod4x_server.

ineedbots avatar ineedbots commented on May 24, 2024

Use the latest commit of bot warfare, as well as the latest commit of cod4x server, you will need to compile it from source.

from cod4x_server.

slimline33 avatar slimline33 commented on May 24, 2024

I tried already 😅 the compiling is not the problem. But now my server run for 10 minutes, then stops with "Server received signal: Segmentation fault"

from cod4x_server.

proxict avatar proxict commented on May 24, 2024

Your issue isn't related to the server but rather to the mod. Please, open an issue at the relevant repository, which I believe is here.

from cod4x_server.

Related Issues (20)

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.