UGX-Mods

Call of Duty 5: World at War => Help Desk => Mapping => Topic started by: jm-390 on April 03, 2015, 10:14:20 pm

Title: My map stopped working please help
Post by: jm-390 on April 03, 2015, 10:14:20 pm
finally and after I finished my first map I tried to tested and I got some problems :
yesterday I tried to put zombie moon and I changed the localized_map name.ff with the original one

But when I tried my map I got this error :


http://my.jetscreenshot.com/demo/20150401-grpn-62kb (http://my.jetscreenshot.com/demo/20150401-grpn-62kb)

Anyway it's not work :D  and I restored the original  localized_map name.ff

And I did some changes on the map and after I tested it is not worked
When the loading is compelet the game freezes and stopped working and I got this error :

http://my.jetscreenshot.com/demo/20150401-wjrd-41kb (http://my.jetscreenshot.com/demo/20150401-wjrd-41kb)

I really need help :'(
Title: Re: My map stopped working please help
Post by: AlecKeaneDUB on April 06, 2015, 12:23:58 am
Sounds like you broke something in one of the scripts. First of all, what do you mean when you said you "tried to put zombie moon"? Do you mean you were trying to change the name of the map or something? Anyway, try creating a new blank map with script placer and then copy your map in radiant to that new blank map. Dont edit any scripts unless necessary for something in your map, and then give it a try.
Title: Re: My map stopped working please help
Post by: jm-390 on April 06, 2015, 11:01:50 am
Sounds like you broke something in one of the scripts. First of all, what do you mean when you said you "tried to put zombie moon"? Do you mean you were trying to change the name of the map or something? Anyway, try creating a new blank map with script placer and then copy your map in radiant to that new blank map. Dont edit any scripts unless necessary for something in your map, and then give it a try.

Ok

 First,sorry for My bad English


 this is what I want to say :

 So ,I got a big problem I'm working on my map.


the map will be really awesome but sometimes I get strange errors ?


now at the moment when I'm done with compiling my map.  I launch codwaw then I load my map then the next one I start the map and I get the loading screen and you can see then that the loading bar is going to the 100%

and I think around the 99% then it does nothing anymore.   and the codwaw.exe  is crashed and I need to kill the program otherwise I can't do anything on the computer.


now I have it tried more times to play my map but does not working.

I have activated "developer 1"  in console and the "devmap nazi_zombie_my_mapname"

to load my map (starting)  but then sometimes I get the same effect as the previous time or I get an unkown error,  when I'm opening my console then it is on a unkown location ?

And sometimes it gives other error

So this is the error when I activated " developer 1 "

my.jetscreenshot.com/demo/20150404-ca4w-18kb

And this is the console

my.jetscreenshot.com/demo/20150404-eppf-89kb

my.jetscreenshot.com/demo/20150404-ci3u-82kb

Then I tried to activated "developer 2 "  "developer_script 1"  " logfile 1 " and I go this error

my.jetscreenshot.com/demo/20150405-lvpg-102kb


Sorry for my bad english again


I hope that this will be more pronounced







Title: Re: My map stopped working please help
Post by: johndoe on April 06, 2015, 12:08:26 pm
Can you try deleting the compiled files of your mod in appdata and compile everything? because it looks like one of the fast files is the reason behind this error and since we have no idea how your files are organized, that's the best solution i can think of.

p.s: check your inbox.
Title: Re: My map stopped working please help
Post by: jm-390 on April 06, 2015, 01:32:52 pm
Ok

 First,sorry for My bad English


 this is what I want to say :

 So ,I got a big problem I'm working on my map.


the map will be really awesome but sometimes I get strange errors ?


now at the moment when I'm done with compiling my map.  I launch codwaw then I load my map then the next one I start the map and I get the loading screen and you can see then that the loading bar is going to the 100%

and I think around the 99% then it does nothing anymore.   and the codwaw.exe  is crashed and I need to kill the program otherwise I can't do anything on the computer.


now I have it tried more times to play my map but does not working.

I have activated "developer 1"  in console and the "devmap nazi_zombie_my_mapname"

to load my map (starting)  but then sometimes I get the same effect as the previous time or I get an unkown error,  when I'm opening my console then it is on a unkown location ?

And sometimes it gives other error

So this is the error when I activated " developer 1 "

my.jetscreenshot.com/demo/20150404-ca4w-18kb

And this is the console

my.jetscreenshot.com/demo/20150404-eppf-89kb

my.jetscreenshot.com/demo/20150404-ci3u-82kb

Then I tried to activated "developer 2 "  "developer_script 1"  " logfile 1 " and I go this error

my.jetscreenshot.com/demo/20150405-lvpg-102kb


Sorry for my bad english again


I hope that this will be more pronounced

I just forget something the lines are deferent between the second  (line 417) picture and the last picture (line390)  in zombiemode_ weapon.gsc

becase in the fist picture I followed this both tutorial

http://ugx-mods.com/forum/index.php?topic=4222.0 (http://ugx-mods.com/forum/index.php?topic=4222.0)

http://ugx-mods.com/forum/index.php?topic=4571.0 (http://ugx-mods.com/forum/index.php?topic=4571.0)

Then I had the error so I tried to remove everything I aded but we you can see the problem continues to occur

The problem happen in this function (init_weapon_upgrade(); ). But I didn't do anything with this function




Title: Re: My map stopped working please help
Post by: daedra descent on April 06, 2015, 07:46:08 pm
The first error is because one of your wall weapon models isn't a script_model. For the second is looks like the thompson is included in _zombiemode_weapons.gsc but not dlc3_code.gsc(or vice-versa).
Title: Re: My map stopped working please help
Post by: jm-390 on April 07, 2015, 01:59:19 pm
The first error is because one of your wall weapon models isn't a script_model. For the second is looks like the thompson is included in _zombiemode_weapons.gsc but not dlc3_code.gsc(or vice-versa).

ok this is the kvp of wall weapon

http://my.jetscreenshot.com/demo/20150407-akhp-59kb (http://my.jetscreenshot.com/demo/20150407-akhp-59kb)

and this is the weapon in dlc_code and zombie_weapons


zombie_weapons
Code Snippet
Plaintext
init_weapons()
{
// Zombify
PrecacheItem( "zombie_melee" );


// Pistols
add_zombie_weapon( "colt", &"ZOMBIE_WEAPON_COLT_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "colt_dirty_harry", &"ZOMBIE_WEAPON_COLT_DH_100", 100, "vox_357", 5 );
add_zombie_weapon( "nambu", &"ZOMBIE_WEAPON_NAMBU_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "sw_357", &"ZOMBIE_WEAPON_SW357_100", 100, "vox_357", 5 );
add_zombie_weapon( "zombie_sw_357", &"ZOMBIE_WEAPON_SW357_100", 100, "vox_357", 5 );
add_zombie_weapon( "zombie_sw_357_upgraded", &"ZOMBIE_WEAPON_SW357_100", 100, "vox_357", 5 );
add_zombie_weapon( "halo_magnum", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );
    add_zombie_weapon( "halo_magnum_upgraded", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );
add_zombie_weapon( "tokarev", &"ZOMBIE_WEAPON_TOKAREV_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "tokarev_upgraded", &"ZOMBIE_WEAPON_ZOMBIECOLT_25", 25, "vox_crappy", 8 );
add_zombie_weapon( "walther", &"ZOMBIE_WEAPON_WALTHER_50", 50, "vox_crappy", 8 );
add_zombie_weapon( "zombie_colt", &"ZOMBIE_WEAPON_ZOMBIECOLT_25", 25, "vox_crappy", 8 );
add_zombie_weapon( "zombie_colt_upgraded", &"ZOMBIE_WEAPON_ZOMBIECOLT_25", 25, "vox_crappy", 8 );
add_zombie_weapon( "blst_walther", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );
add_zombie_weapon( "blst_walther_upgraded", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );

// Bolt Action                                     
add_zombie_weapon( "kar98k", &"ZOMBIE_WEAPON_KAR98K_200", 200, "", 0);
add_zombie_weapon( "zombie_kar98k", &"ZOMBIE_WEAPON_KAR98K_200", 200, "", 0);
add_zombie_weapon( "zombie_kar98k_upgraded", &"ZOMBIE_WEAPON_KAR98K_200", 200, "", 0);
add_zombie_weapon( "kar98k_bayonet", &"ZOMBIE_WEAPON_KAR98K_B_200", 200, "", 0);
add_zombie_weapon( "mosin_rifle", &"ZOMBIE_WEAPON_MOSIN_200", 200, "", 0);
add_zombie_weapon( "mosin_rifle_bayonet", &"ZOMBIE_WEAPON_MOSIN_B_200", 200, "", 0 );
add_zombie_weapon( "springfield", &"ZOMBIE_WEAPON_SPRINGFIELD_200", 200, "", 0 );
add_zombie_weapon( "zombie_springfield", &"ZOMBIE_WEAPON_SPRINGFIELD_200", 200, "", 0 );
add_zombie_weapon( "springfield_bayonet", &"ZOMBIE_WEAPON_SPRINGFIELD_B_200", 200, "", 0 );
add_zombie_weapon( "zombie_type99_rifle", &"ZOMBIE_WEAPON_TYPE99_200", 200, "", 0 );
add_zombie_weapon( "zombie_type99_rifle_upgraded", &"ZOMBIE_WEAPON_TYPE99_200", 200, "", 0 );
add_zombie_weapon( "type99_rifle_bayonet", &"ZOMBIE_WEAPON_TYPE99_B_200", 200, "", 0 );

// Semi Auto                                       
add_zombie_weapon( "zombie_gewehr43", &"ZOMBIE_WEAPON_GEWEHR43_600", 600, "" , 0 );
add_zombie_weapon( "zombie_gewehr43_upgraded", &"ZOMBIE_WEAPON_GEWEHR43_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1carbine", &"ZOMBIE_WEAPON_M1CARBINE_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1carbine_upgraded", &"ZOMBIE_WEAPON_M1CARBINE_600", 600, "" , 0 );
add_zombie_weapon( "m1carbine_bayonet", &"ZOMBIE_WEAPON_M1CARBINE_B_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1garand", &"ZOMBIE_WEAPON_M1GARAND_600", 600, "" , 0 );
add_zombie_weapon( "zombie_m1garand_upgraded", &"ZOMBIE_WEAPON_M1GARAND_600", 600, "" , 0 );
add_zombie_weapon( "m1garand_bayonet", &"ZOMBIE_WEAPON_M1GARAND_B_600", 600, "" , 0 );
add_zombie_weapon( "svt40", &"ZOMBIE_WEAPON_SVT40_600", 600, "" , 0 );

// Grenades                                         
add_zombie_weapon( "fraggrenade", &"ZOMBIE_WEAPON_FRAGGRENADE_250", 250, "" , 0 );
add_zombie_weapon( "molotov", &"ZOMBIE_WEAPON_MOLOTOV_200", 200, "vox_crappy", 8 );
add_zombie_weapon( "molotov_zombie", &"ZOMBIE_WEAPON_MOLOTOV_200", 200, "vox_crappy", 8 );
add_zombie_weapon( "stick_grenade", &"ZOMBIE_WEAPON_STICKGRENADE_250", 250, "" , 0 );
add_zombie_weapon( "stielhandgranate", &"ZOMBIE_WEAPON_STIELHANDGRANATE_250", 250, "" , 0, 250 );
add_zombie_weapon( "type97_frag", &"ZOMBIE_WEAPON_TYPE97FRAG_250", 250, "" , 0 );

// Scoped
add_zombie_weapon( "kar98k_scoped_zombie", &"ZOMBIE_WEAPON_KAR98K_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "kar98k_scoped_upgraded", &"ZOMBIE_WEAPON_PTRS41_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "kar98k_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_KAR98K_S_B_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "mosin_rifle_scoped_zombie", &"ZOMBIE_WEAPON_MOSIN_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "mosin_rifle_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_MOSIN_S_B_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "ptrs41_zombie", &"ZOMBIE_WEAPON_PTRS41_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "ptrs41_zombie_upgraded", &"ZOMBIE_WEAPON_PTRS41_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "springfield_scoped_zombie", &"ZOMBIE_WEAPON_SPRINGFIELD_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "springfield_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_SPRINGFIELD_S_B_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "type99_rifle_scoped_zombie", &"ZOMBIE_WEAPON_TYPE99_S_750", 750, "vox_ppsh", 5);
add_zombie_weapon( "type99_rifle_scoped_bayonet_zombie", &"ZOMBIE_WEAPON_TYPE99_S_B_750", 750, "vox_ppsh", 5);

// Full Auto                                                                               
add_zombie_weapon( "zombie_mp40", &"ZOMBIE_WEAPON_MP40_1000", 1000, "vox_mp40", 2 );
add_zombie_weapon( "zombie_mp40_upgraded", &"ZOMBIE_WEAPON_MP40_1000", 1000, "vox_mp40", 2 );
add_zombie_weapon( "zombie_ppsh", &"ZOMBIE_WEAPON_PPSH_2000", 2000, "vox_ppsh", 5 );
add_zombie_weapon( "zombie_ppsh_upgraded", &"ZOMBIE_WEAPON_PPSH_2000", 2000, "vox_ppsh", 5 );
add_zombie_weapon( "zombie_stg44", &"ZOMBIE_WEAPON_STG44_1200", 1200, "vox_mg", 9 );
add_zombie_weapon( "zombie_stg44_upgraded", &"ZOMBIE_WEAPON_STG44_1200", 1200, "vox_mg", 9 );
add_zombie_weapon( "zombie_thompson", &"ZOMBIE_WEAPON_THOMPSON_1200", 1200, "", 0 );
add_zombie_weapon( "zombie_thompson_upgraded", &"ZOMBIE_WEAPON_THOMPSON_1200", 1200, "", 0 );
    add_zombie_weapon( "aug",         &"ZOMBIE_WEAPON_aug_1000",     1000, "vox_aug", 2 );
add_zombie_weapon( "ae4",         &"ZOMBIE_WEAPON_aae4_1000",         1000, "vox_ae4", 2 );
    add_zombie_weapon( "galil",     &"ZOMBIE_WEAPON_galil_1000",             1000, "vox_galil", 2 );

// Shotguns                                         
add_zombie_weapon( "zombie_doublebarrel", &"ZOMBIE_WEAPON_DOUBLEBARREL_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_doublebarrel_upgraded", &"ZOMBIE_WEAPON_DOUBLEBARREL_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_doublebarrel_sawed", &"ZOMBIE_WEAPON_DOUBLEBARREL_SAWED_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_doublebarrel_sawed_upgraded", &"ZOMBIE_WEAPON_DOUBLEBARREL_SAWED_1200", 1200, "vox_shotgun", 6);
add_zombie_weapon( "zombie_shotgun", &"ZOMBIE_WEAPON_SHOTGUN_1500", 1500, "vox_shotgun", 6);
add_zombie_weapon( "zombie_shotgun_upgraded", &"ZOMBIE_WEAPON_SHOTGUN_1500", 1500, "vox_shotgun", 6);
   
// Heavy Machineguns                               
add_zombie_weapon( "zombie_30cal", &"ZOMBIE_WEAPON_30CAL_3000", 3000, "vox_mg", 9 );
add_zombie_weapon( "zombie_30cal_upgraded", &"ZOMBIE_WEAPON_30CAL_3000", 3000, "vox_mg", 9 );
add_zombie_weapon( "zombie_bar", &"ZOMBIE_WEAPON_BAR_1800", 1800, "vox_bar", 5 );
add_zombie_weapon( "zombie_bar_upgraded", &"ZOMBIE_WEAPON_BAR_1800", 1800, "vox_bar", 5 );
add_zombie_weapon( "zombie_fg42", &"ZOMBIE_WEAPON_FG42_1500", 1500, "vox_mg" , 9 );
add_zombie_weapon( "zombie_fg42_upgraded", &"ZOMBIE_WEAPON_FG42_1500", 1500, "vox_mg" , 9 );
add_zombie_weapon( "fg42_scoped", &"ZOMBIE_WEAPON_FG42_S_1500", 1500, "vox_mg" , 9 );
add_zombie_weapon( "zombie_mg42", &"ZOMBIE_WEAPON_MG42_3000", 3000, "vox_mg" , 9 );
add_zombie_weapon( "zombie_mg42_upgraded", &"ZOMBIE_WEAPON_MG42_3000", 3000, "vox_mg" , 9 );
add_zombie_weapon( "type99_lmg", &"ZOMBIE_WEAPON_TYPE99_LMG_1750", 1750, "vox_mg" , 9 );

// Grenade Launcher                                 
add_zombie_weapon( "m1garand_gl_zombie", &"ZOMBIE_WEAPON_M1GARAND_GL_1500", 1500, "", 0 );
add_zombie_weapon( "m1garand_gl_zombie_upgraded", &"ZOMBIE_WEAPON_M1GARAND_GL_1500", 1500, "", 0 );
add_zombie_weapon( "mosin_launcher_zombie", &"ZOMBIE_WEAPON_MOSIN_GL_1200", 1200, "", 0 );

// Bipods                               
add_zombie_weapon( "30cal_bipod", &"ZOMBIE_WEAPON_30CAL_BIPOD_3500", 3500, "vox_mg", 5 );
add_zombie_weapon( "bar_bipod", &"ZOMBIE_WEAPON_BAR_BIPOD_2500", 2500, "vox_bar", 5 );
add_zombie_weapon( "dp28_bipod", &"ZOMBIE_WEAPON_DP28_BIPOD_2500", 2500, "vox_mg", 5 );
add_zombie_weapon( "fg42_bipod", &"ZOMBIE_WEAPON_FG42_BIPOD_2000", 2000, "vox_mg", 5 );
add_zombie_weapon( "mg42_bipod", &"ZOMBIE_WEAPON_MG42_BIPOD_3250", 3250, "vox_mg", 5 );
add_zombie_weapon( "type99_lmg_bipod", &"ZOMBIE_WEAPON_TYPE99_LMG_BIPOD_2250", 2250, "vox_mg", 5 );

// Rocket Launchers
add_zombie_weapon( "bazooka", &"ZOMBIE_WEAPON_BAZOOKA_2000", 2000, "", 0 );
add_zombie_weapon( "panzerschrek_zombie", &"ZOMBIE_WEAPON_PANZERSCHREK_2000", 2000, "vox_panzer", 5 );
add_zombie_weapon( "panzerschrek_zombie_upgraded", &"ZOMBIE_WEAPON_PANZERSCHREK_2000", 2000, "vox_panzer", 5 );

// Flamethrower                                     
add_zombie_weapon( "m2_flamethrower_zombie", &"ZOMBIE_WEAPON_M2_FLAMETHROWER_3000", 3000, "vox_flame", 7);
add_zombie_weapon( "m2_flamethrower_zombie_upgraded", &"ZOMBIE_WEAPON_M2_FLAMETHROWER_3000", 3000, "vox_flame", 7);

// Special                                         
add_zombie_weapon( "mine_bouncing_betty", &"ZOMBIE_WEAPON_SATCHEL_2000", 2000, "" );
add_zombie_weapon( "mortar_round", &"ZOMBIE_WEAPON_MORTARROUND_2000", 2000, "" );
add_zombie_weapon( "satchel_charge", &"ZOMBIE_WEAPON_SATCHEL_2000", 2000, "vox_monkey", 3 );
add_zombie_weapon( "zombie_cymbal_monkey", &"ZOMBIE_WEAPON_SATCHEL_2000", 2000, "vox_monkey", 3 );
add_zombie_weapon( "ray_gun", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );
add_zombie_weapon( "ray_gun_upgraded", &"ZOMBIE_WEAPON_RAYGUN_10000", 10000, "vox_raygun", 6 );
add_zombie_weapon( "tesla_gun", &"ZOMBIE_BUY_TESLA", 10, "vox_tesla", 5 );
add_zombie_weapon( "tesla_gun_upgraded", &"ZOMBIE_BUY_TESLA", 10, "vox_tesla", 5 );
add_zombie_weapon( "thundergun", &"ZOMBIE_BUY_thundergun", 10, "vox_thundergun", 5 );

if(level.script != "nazi_zombie_prototype")
{
Precachemodel("zombie_teddybear");
}
// ONLY 1 OF THE BELOW SHOULD BE ALLOWED
add_limited_weapon( "m2_flamethrower_zombie", 1 );
add_limited_weapon( "tesla_gun", 1);
}   

and the dlc_cod
Code Snippet
Plaintext
include_weapons()
{
include_weapon( "blst_walther",true );
include_weapon( "blst_walther_upgraded",false );
include_weapon( "halo_magnum" );
    include_weapon( "halo_magnum_upgraded", false );

// Bolt Action


// Semi Auto
include_weapon( "zombie_m1carbine", false );
include_weapon( "zombie_m1carbine_upgraded", false );

// Full Auto
include_weapon( "zombie_mp40" );
include_weapon( "zombie_mp40_upgraded", false );
include_weapon( "aug" );
include_weapon( "ae4" );
include_weapon( "galil" );
include_weapon( "thompson" );
include_weapon( "Ripper" );

// Scoped
include_weapon( "ptrs41_zombie" );
include_weapon( "ptrs41_zombie_upgraded", false );

// Grenade
include_weapon( "molotov" );
include_weapon( "stielhandgranate" );

// Flamethrower
include_weapon( "m2_flamethrower_zombie" );
include_weapon( "m2_flamethrower_zombie_upgraded", false );

// Shotgun
include_weapon( "m1014_mp" );

// Heavy MG 



// Rocket Launcher


// Special
include_weapon( "ray_gun", true, ::factory_ray_gun_weighting_func );
include_weapon( "ray_gun_upgraded", false );
include_weapon( "tesla_gun", true );
include_weapon( "tesla_gun_upgraded", false );
include_weapon( "zombie_cymbal_monkey", true, ::factory_cymbal_monkey_weighting_func );
    include_weapon( "thundergun", true );

// include_weapon( "mortar_round" );
include_weapon( "dp28_bipod_lmg", true );
    include_weapon( "dp28_bipod_lmg_upgraded", false );

// Bouncing betties
include_weapon( "mine_bouncing_betty", false );

// Added By Sniperbolt
// include_weapon( "zombie_the_sniperbolt", true );
// include_weapon( "zombie_the_sniperbolt_upgrated", false );

// Limited weapons
maps\_zombiemode_weapons::add_limited_weapon( "zombie_colt", 0 );
maps\_zombiemode_weapons::add_limited_weapon( "zombie_gewehr43", 0 );
maps\_zombiemode_weapons::add_limited_weapon( "zombie_m1garand", 0 );
}

all i did is just add some stuff on my map and change some script on zombiemode_weapon.gsc
This is all after this error happened to me.

This is the function which gets  the error (init_weapon_upgrade(); )

Code Snippet
Plaintext
// For buying weapon upgrades in the environment
init_weapon_upgrade()
{
weapon_spawns = [];
weapon_spawns = GetEntArray( "weapon_upgrade", "targetname" );

for( i = 0; i < weapon_spawns.size; i++ )
{
hint_string = get_weapon_hint( weapon_spawns[i].zombie_weapon_upgrade );

weapon_spawns[i] SetHintString( hint_string );
weapon_spawns[i] setCursorHint( "HINT_NOICON" );
weapon_spawns[i] UseTriggerRequireLookAt();

weapon_spawns[i] thread weapon_spawn_think();
model = getent( weapon_spawns[i].target, "targetname" );
model hide();
}
}

// weapon cabinets which open on use
init_weapon_cabinet()
{
// the triggers which are targeted at doors
weapon_cabs = GetEntArray( "weapon_cabinet_use", "targetname" );

for( i = 0; i < weapon_cabs.size; i++ )
{

weapon_cabs[i] SetHintString( &"ZOMBIE_CABINET_OPEN_1500" );
weapon_cabs[i] setCursorHint( "HINT_NOICON" );
weapon_cabs[i] UseTriggerRequireLookAt();
}

array_thread( weapon_cabs, ::weapon_cabinet_think );
}
Title: Re: My map stopped working please help
Post by: Harry Bo21 on April 08, 2015, 01:53:29 am
if thats the original thompson then

in weapons you have :

Code Snippet
Plaintext
 );
add_zombie_weapon( "zombie_thompson", &"ZOMBIE_WEAPON_THOMPSON_1200", 1200, "", 0 );

but in DLC3 you have :

Code Snippet
Plaintext
include_weapon( "thompson" );

Notice one has "zombie_", it should be whatever the weapon file is called. And the "stock" thompson is "zombie_thompson"

youve also set it so half youre guns are not in the box, is this intentional?
Title: Re: My map stopped working please help
Post by: jm-390 on April 08, 2015, 08:43:08 pm
if thats the original thompson then

in weapons you have :

Code Snippet
Plaintext
 );
add_zombie_weapon( "zombie_thompson", &"ZOMBIE_WEAPON_THOMPSON_1200", 1200, "", 0 );

but in DLC3 you have :

Code Snippet
Plaintext
include_weapon( "thompson" );

Notice one has "zombie_", it should be whatever the weapon file is called. And the "stock" thompson is "zombie_thompson"

youve also set it so half youre guns are not in the box, is this intentional?

ok i added these scripts  in the zombiemode_weapons.gsc and dlc3_cod.gsc but game still crashing when i load my map

when i activated "developer 2 "  "developer_script 1"  " logfile 1 " i got errors about all thing i added in _zombiemode.gsc

Code Snippet
Plaintext
maps\_zombiemode_blockers_new::init();
maps\_zombiemode_spawner::init();
maps\_zombiemode_powerups::init();
maps\_zombiemode_radio::init();
maps\_zombiemode_perks::init();
maps\_zombiemode_tesla::init();
maps\_zombiemode_bowie::bowie_init();
maps\_zombiemode_cymbal_monkey::init();
maps\_zombiemode_betty::init();
maps\_zombiemode_timer::init();
maps\_zombiemode_auto_turret::init();
  maps\_zombiemode_perks_black_ops::init();
  maps\_zombiemode_weap_thundergun::init();
level.perk_limit = 6;
level.revive_point = getEnt("revive_retreat_point","targetname");
maps\bam_bo_mod_bo1_perks_standalone::bo1_perks_init();
level.vulture_chance = 40; //percent per zombie for dropping goodies
level.vulture_limit = 8; //cap how many waypoints can be seen
level.vulture_packets_limit = 5; //cap number of packets on ground
level.vulture_range = 2048; //see visibility limit for way points
level.vulture_range_min = 256; //is the player close enough to not need help?
level.stink_time = 10;              //how long does the stink smoke last?
level.makeStinkTime = 20; //how long until trying to give another zombie stink?
maps\bam_bo_mod_vulture_aid_standalone::vulture_init();
maps\bam_bo_mod_e_cherry_standalone::cherry_init();
    level.wunderfizz_cost = 1500;         //cost to use wunderfizz
level.wunderfizz_bear_immunity = 2; //how many spins until the bear can be a thing
level.wunderfizz_bear_chance = 55; //chance of bear after immunity wears off
maps\bam_bo_mod_wunderfizz_standalone::wunderfizz_init();
level.usesDiesel = true;
maps\bam_bo_mod_generators_system::generators_init();
maps\bam_bo_mod_lunar_lander_system::lunar_landers_init();
maps\bam_bo_mod_porter_punch_standalone::porter_init();

i mean i got errors about this

Code Snippet
Plaintext
 maps\_zombiemode_perks_black_ops::init();
  maps\_zombiemode_weap_thundergun::init();
level.perk_limit = 6;
level.revive_point = getEnt("revive_retreat_point","targetname");
maps\bam_bo_mod_bo1_perks_standalone::bo1_perks_init();
level.vulture_chance = 40; //percent per zombie for dropping goodies
level.vulture_limit = 8; //cap how many waypoints can be seen
level.vulture_packets_limit = 5; //cap number of packets on ground
level.vulture_range = 2048; //see visibility limit for way points
level.vulture_range_min = 256; //is the player close enough to not need help?
level.stink_time = 10;              //how long does the stink smoke last?
level.makeStinkTime = 20; //how long until trying to give another zombie stink?
maps\bam_bo_mod_vulture_aid_standalone::vulture_init();
maps\bam_bo_mod_e_cherry_standalone::cherry_init();
    level.wunderfizz_cost = 1500;         //cost to use wunderfizz
level.wunderfizz_bear_immunity = 2; //how many spins until the bear can be a thing
level.wunderfizz_bear_chance = 55; //chance of bear after immunity wears off
maps\bam_bo_mod_wunderfizz_standalone::wunderfizz_init();
level.usesDiesel = true;
maps\bam_bo_mod_generators_system::generators_init();
maps\bam_bo_mod_lunar_lander_system::lunar_landers_init();
maps\bam_bo_mod_porter_punch_standalone::porter_init();

i tried remove all these script but game still crashing and activated "developer 2 "  "developer_script 1"  " logfile 1 "

the console give me different errors every time i really don't know what cause this error :'(
Title: Re: My map stopped working please help
Post by: Harry Bo21 on April 09, 2015, 01:32:02 am
ok, try this

devmode 1

/devmap yourmapname

itll crash

run it again

it will crash again

then hold shift, and press ` (which is the button under escape and left of the number 1 on your keyboard)

Youll get a text box over your entire screen, what error does it give?
Title: Re: My map stopped working please help
Post by: jm-390 on April 09, 2015, 12:34:47 pm
ok, try this

devmode 1

/devmap yourmapname

itll crash

run it again

it will crash again

then hold shift, and press ` (which is the button under escape and left of the number 1 on your keyboard)

Youll get a text box over your entire screen, what error does it give?

I can't hold shift, and press ` after the game crash because I can not do anything just  close the game (code waw.exc)
I search in the forum about this problem and I found the kvp what cause this problem (mostly) But I do not remember that I did something to KVP

Double Post Merge: April 09, 2015, 09:54:39 pm
Any help
Title: Re: My map stopped working please help
Post by: Harry Bo21 on April 09, 2015, 10:12:38 pm
wait its completely crashing the game?

lol, thats a litle harder to track, I see why people were asking you to use logfile now.

developer 1
logfile 2
/devmap yourmap

then upload the console log here, may or may not fit just as a attatchment
Title: Re: My map stopped working please help
Post by: jm-390 on April 09, 2015, 10:28:08 pm
wait its completely crashing the game?

lol, thats a litle harder to track, I see why people were asking you to use logfile now.

developer 1
logfile 2
/devmap yourmap

then upload the console log here, may or may not fit just as a attatchment
Lol

I did not know you meant this  :troll:

Anyway  I will try both ways  ;D
Title: Re: My map stopped working please help
Post by: Harry Bo21 on April 10, 2015, 04:44:57 am
lol originally i didnt, but it seems to be the only way we will find the problem

Usually cod just throws you out to the menu, but if its crashing the entire game then this is the only way to find the cause
Title: Re: My map stopped working please help
Post by: jm-390 on April 10, 2015, 06:36:26 am
lol originally i didnt, but it seems to be the only way we will find the problem

Usually cod just throws you out to the menu, but if its crashing the entire game then this is the only way to find the cause

Well this is the console when you load the map, but I do not think it is useful

http://my.jetscreenshot.com/demo/20150410-zaqo-108kb (http://my.jetscreenshot.com/demo/20150410-zaqo-108kb)

But finally I don't know how it worked after I tried

devmode 1
logfile 2
/devmap yourmap

 finally it's worked  :D
and I think that is what cause problem
http://my.jetscreenshot.com/demo/20150410-c83m-68kb (http://my.jetscreenshot.com/demo/20150410-c83m-68kb)

and this is the console

http://my.jetscreenshot.com/demo/20150410-0gcg-65kb (http://my.jetscreenshot.com/demo/20150410-0gcg-65kb)
Title: Re: My map stopped working please help
Post by: Harry Bo21 on April 10, 2015, 10:22:52 am
hmm... well i see errors for missing weapons, dogs, infinite loops and spawn points being in solids. But i didnt think any of those should kill the whole game

Can you send me the entire log file?
Title: Re: My map stopped working please help
Post by: BluntStuffy on April 10, 2015, 11:04:29 am
seems kinda weird to me it's refering to _spawner in the console, and not to _zombiemode_spawner  ???
Title: Re: My map stopped working please help
Post by: jm-390 on April 10, 2015, 11:29:59 am
hmm... well i see errors for missing weapons, dogs, infinite loops and spawn points being in solids. But i didnt think any of those should kill the whole game

Can you send me the entire log file?

I don't know what you mean (entire log file) sorry for that  ::) this is the first time this error happened to me
 
I  really think this what cause problem  (killing thread)

http://my.jetscreenshot.com/demo/20150410-0gcg-65kb (http://my.jetscreenshot.com/demo/20150410-0gcg-65kb)
Title: Re: My map stopped working please help
Post by: jm-390 on April 10, 2015, 01:07:29 pm
seems kinda weird to me it's refering to _spawner in the console, and not to _zombiemode_spawner  ???

Well what I shuold do ?
Title: Re: My map stopped working please help
Post by: Harry Bo21 on April 10, 2015, 01:36:47 pm
killing thread means that there was a loop running that was never gonna end, so would permanently freeze your game, so it breaks from that loop to prevent that

When you have logfile set and run the game, it creates a text file called "console" in your mod folder, i meant to send me that ;) Its a full report of what it did from launch to crash

Stuffy is most likely right as to the cause. Which script placer did you use?
Title: Re: My map stopped working please help
Post by: jm-390 on April 10, 2015, 05:30:34 pm
killing thread means that there was a loop running that was never gonna end, so would permanently freeze your game, so it breaks from that loop to prevent that

When you have logfile set and run the game, it creates a text file called "console" in your mod folder, i meant to send me that ;) Its a full report of what it did from launch to crash

Stuffy is most likely right as to the cause. Which script placer did you use?

ok this is the logfile I upload it to the mediafire

http://www.mediafire.com/download/155b6xncv2o243h/console.log (http://www.mediafire.com/download/155b6xncv2o243h/console.log)

I used  (mrhankey Script Placer 1.3)  :-\


Double Post Merge: April 11, 2015, 07:27:41 am
ok this is the logfile I upload it to the mediafire

http://www.mediafire.com/download/155b6xncv2o243h/console.log (http://www.mediafire.com/download/155b6xncv2o243h/console.log)

I used  (mrhankey Script Placer 1.3)  :-\

Any help

Double Post Merge: April 11, 2015, 01:35:17 pm
killing thread means that there was a loop running that was never gonna end, so would permanently freeze your game, so it breaks from that loop to prevent that

When you have logfile set and run the game, it creates a text file called "console" in your mod folder, i meant to send me that ;) Its a full report of what it did from launch to crash

Stuffy is most likely right as to the cause. Which script placer did you use?

Any idea, plz

Double Post Merge: April 11, 2015, 02:30:44 pm
:poker:  :'(
Title: Re: My map stopped working please help
Post by: Harry Bo21 on April 11, 2015, 03:35:05 pm
pretty sure bams stuff is breaking :

Code Snippet
Plaintext
Shader name string is empty: (file 'maps/bam_bo_mod_vulture_aid_standalone.gsc', line 79)
 PrecacheShader(getVendingShader(level.vending_triggers_vulture[i].script_noteworthy));

Id suggest recreating your map with the UGX script placer, then adding the perks and stuff after if you want. You can still keep your map file, just go rename it before you run script placer, then rename it back
Title: Re: My map stopped working please help
Post by: jm-390 on April 11, 2015, 04:36:54 pm
pretty sure bams stuff is breaking :

Code Snippet
Plaintext
Shader name string is empty: (file 'maps/bam_bo_mod_vulture_aid_standalone.gsc', line 79)
 PrecacheShader(getVendingShader(level.vending_triggers_vulture[i].script_noteworthy));

Id suggest recrdeating your map with the UGX script placer, then adding the perks and stuff after if you want. You can still keep your map file, just go rename it before you run script placer, then rename it back

Well... I understand my map die and I should make another map with ugx script placer and copyy everything