JezuzLizard / Recompilable-gscs-for-BO2-zombies-and-multiplayer

This project is primarily for use for plutonium t6 use on other clients at your own risk.
29 stars 18 forks source link

_zm_weapons.gsc will not run if a certain function is called #4

Closed JezuzLizard closed 4 years ago

JezuzLizard commented 4 years ago

patch_zm/maps/mp/zombies/MajorErrors/_zm_weapons.gsc At line number 782

[[ level._zombie_custom_add_weapons ]]();

in the function

init_weapons()
{
    //throws exe_client_field_mismatch on join
    //or the server won't rotate to the map
    if ( isDefined( level._zombie_custom_add_weapons ) )
    {
        //[[ level._zombie_custom_add_weapons ]]();
    }
    precachemodel( "zombie_teddybear" );
}

This function is responsible for allowing map specific scripts to populate the mystery box with their own chosen weapons. Without this function the mystery box is empty.

Currently, when the function is active the server won't rotate to the map or if it does clients cannot join due to exe_client_field_mismatch error.

JezuzLizard commented 4 years ago

_zm_weapons has been checked and repaired to the point where it has been placed into the No Known Errors category.