UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Harryb021 Perk Help

broken avatar :(
Created 8 years ago
by CamberedZombies
0 Members and 1 Guest are viewing this topic.
5,267 views
broken avatar :(
×
broken avatar :(
Location: usBrunswick, Ohio
Date Registered: 23 October 2015
Last active: 2 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Staminup is bae
Signature
Making maps is fun, getting errors isn't.
×
CamberedZombies's Contact & Social LinksSkhylinesCamberedzombsynkro834834
Hey guys! I ran into a problem when trying to compile and run my map after installing Harry's perks. I followed his instructions to a T and installed everything correctly. When I run my game, I get a bad syntax error. I checked console and even ran in dev 1 mode and all pointed me towards the _zombiemode_perks.GSC that HE setup, that was placed in my mapname/mods folder. I checked line 549 like it said to, and the only thing on that line was a bracket. This is the _zombiemode_perks.gsc in my mapname, and I made NO changes to it. Any ideas, did I install incorrectly, or did I mess something up? Any help is appreciated. Thanks!
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Some images of the console would help
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 17 September 2014
Last active: 2 years ago
Posts
167
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
W.I.P Rise & Fall
×
Krazzyboy97's Groups
Krazzyboy97's Contact & Social Links76561198105783700Krazzyboyxxkrazzyboy97xx
Hey guys! I ran into a problem when trying to compile and run my map after installing Harry's perks. I followed his instructions to a T and installed everything correctly. When I run my game, I get a bad syntax error. I checked console and even ran in dev 1 mode and all pointed me towards the _zombiemode_perks.GSC that HE setup, that was placed in my mapname/mods folder. I checked line 549 like it said to, and the only thing on that line was a bracket. This is the _zombiemode_perks.gsc in my mapname, and I made NO changes to it. Any ideas, did I install incorrectly, or did I mess something up? Any help is appreciated. Thanks!

Post a screen shot of the error and the error in the zombiemode_perks.gsc so we can see what the problem is.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 9 November 2013
Last active: 3 years ago
Posts
502
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Custom Zombies Videos: YouTube.com/RichGaming
Signature
YouTube: YouTube.com/RichGaming
Twitter: Twitter.com/RichGaming

×
RichGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Oil Rig Beta Access
Oil Rig Beta Access
RichGaming's Contact & Social Linksrichgaming1RichGamingRich_GamingRichGaming1
As you haven't posted any images of the bad syntax you are receiving it is very hard to help with the issue so I would recommend doing so as others above have said. A bit of advise I could probably give though would be to ensure you have the latest version of Harry's Perks and make sure you do follow the tutorial word by word, maybe even on a test map with no other custom scripts. Hope that helps, good luck with fixing the issue!
broken avatar :(
×
broken avatar :(
Location: usBrunswick, Ohio
Date Registered: 23 October 2015
Last active: 2 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Staminup is bae
×
CamberedZombies's Contact & Social LinksSkhylinesCamberedzombsynkro834834
Sorry it took me so long to respond. Steam wouldn't let me screenshot the error for some reason, but I do have the console log here.
Code Snippet
Plaintext
T4-SP (r44)
Current language: english
Current search path:
C:\Users\antiq\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_carentan\nsz_bo2_weapons_v1.3.2.iwd (330 files)
C:\Users\antiq\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_carentan\nazi_zombie_carentan.iwd (56 files)
C:\Users\antiq\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_carentan\harrybo21_bo1_2_3_perks_v4.0.2.iwd (474 files)
C:\Users\antiq\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_carentan\dlc3_weapons.iwd (67 files)
C:\Users\antiq\AppData\Local\Activision\CoDWaW/mods/nazi_zombie_carentan
C:\Users\antiq\AppData\Local\Activision\CoDWaW/usermaps
C:\Users\antiq\AppData\Local\Activision\CoDWaW/mods
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_27.iwd (60 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_26.iwd (522 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_25.iwd (139 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_24.iwd (502 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_23.iwd (3 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_22.iwd (529 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_21.iwd (13 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_20.iwd (69 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_19.iwd (52 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_18.iwd (51 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_17.iwd (42 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_16.iwd (44 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_15.iwd (145 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_14.iwd (655 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_13.iwd (400 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_12.iwd (453 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_11.iwd (366 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_10.iwd (549 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_09.iwd (413 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_08.iwd (484 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_07.iwd (755 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_06.iwd (537 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_05.iwd (569 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_04.iwd (711 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_03.iwd (743 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_02.iwd (694 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_01.iwd (350 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\iw_00.iwd (808 files)
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War/main
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War/main_shared
C:\Users\antiq\AppData\Local\Activision\CoDWaW/players
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War/raw
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War/raw_shared
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War/devraw
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War/devraw_shared
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw06.iwd (1804 files)
    localized assets iwd file for english
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw05.iwd (1246 files)
    localized assets iwd file for english
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw04.iwd (363 files)
    localized assets iwd file for english
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw03.iwd (28 files)
    localized assets iwd file for english
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw02.iwd (3163 files)
    localized assets iwd file for english
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw01.iwd (5164 files)
    localized assets iwd file for english
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw00.iwd (4592 files)
    localized assets iwd file for english
C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War/raw/english
    localized assets game folder for english

File Handles:
handle 1: console.log
----------------------
27945 files in iwd files
Adding channel: error
Adding channel: gamenotify
Adding channel: boldgame
Adding channel: subtitle
Adding channel: obituary
Adding channel: logfile_only
Adding channel: console_only
Adding channel: gfx
Adding channel: sound
Adding channel: files
Adding channel: devgui
Adding channel: profile
Adding channel: ui
Adding channel: client
Adding channel: server
Adding channel: system
Adding channel: playerweap
Adding channel: ai
Adding channel: anim
Adding channel: physics
Adding channel: fx
Adding channel: leaderboards
Adding channel: parserscript
Adding channel: script
Adding channel: coopinfo
No channels added or hidden
Adding channel: error
Adding channel: error
No channels added or hidden
Adding channel: gamenotify
Adding channel: obituary
No channels added or hidden
Adding channel: boldgame
No channels added or hidden
Adding channel: subtitle
No channels added or hidden
Adding channel: coopinfo
execing default.cfg from disk
execing default_controls.cfg from disk
execing coop_arcademode.cfg from disk
No channels added or hidden
execing language.cfg from disk
execing profiles/CamberedZomb/config.cfg from disk
Hiding channel: error
Hiding channel: gamenotify
Hiding channel: boldgame
Hiding channel: subtitle
Hiding channel: obituary
Hiding channel: logfile_only
Hiding channel: console_only
Hiding channel: gfx
Hiding channel: sound
Hiding channel: files
Hiding channel: devgui
Hiding channel: profile
Hiding channel: ui
Hiding channel: client
Hiding channel: server
Hiding channel: system
Hiding channel: playerweap
Hiding channel: ai
Hiding channel: anim
Hiding channel: physics
Hiding channel: fx
Hiding channel: leaderboards
Hiding channel: parserscript
Hiding channel: script
Hiding channel: coopinfo
No channels added or hidden
Adding channel: error
Adding channel: gamenotify
Adding channel: boldgame
Adding channel: subtitle
Adding channel: obituary
Adding channel: logfile_only
Adding channel: console_only
Adding channel: gfx
Adding channel: sound
Adding channel: files
Adding channel: devgui
Adding channel: profile
Adding channel: ui
Adding channel: client
Adding channel: server
Adding channel: system
Adding channel: playerweap
Adding channel: ai
Adding channel: anim
Adding channel: physics
Adding channel: fx
Adding channel: leaderboards
Adding channel: parserscript
Adding channel: script
Adding channel: coopinfo
Unknown command "updategamerprofile"
Unknown command "updategamerprofile"
Unknown command "updategamerprofile"
useFastFile is write protected.
fs_usedevdir is write protected.
fs_game is write protected.
CPU vendor is "AuthenticAMD"
CPU name is "AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G "
4 logical CPUs reported
4 physical CPUs detected
Measured CPU speed is 0.00 GHz
Total CPU performance is estimated as 0.01 GHz
System memory is 1024 MB (capped at 1 GB)
Video card is "AMD Radeon(TM) R6 Graphics"
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: localhost:28960
Hostname: LAPTOP-MIP0LIDE
IP: 25.12.137.253
IP: 192.168.0.12
----- Initializing Renderer ----
execing ragdoll.cfg from disk
----- Client Initialization -----
----- Client Initialization Complete -----
useFastFile is write protected.
fs_usedevdir is write protected.
fs_game is write protected.
Trying SMP acceleration...
...succeeded.
----- R_Init -----
Getting Direct3D 9 interface...
Pixel shader version is 3.0
Vertex shader version is 3.0
Shader model 2.0 code path is available.
Shader model 3.0 code path is available.
Using Shader model 3.0 code path because it is the best available path on this hardware.
Attempting 1280 x 720 fullscreen with 32 bpp at 60 hz
Game window successfully created.
Using 4x anti-aliasing
Creating Direct3D device...
Com_TouchMemory: 0 msec. Using sum: 0
Database: Assets Sync Started
Database: Assets Sync Finished
Loading fastfile code_post_gfx
Loading fastfile mod
Database: Assets Sync Started
Loading fastfile 'code_post_gfx'
used 1.13 MB memory in DB alloc
Loading fastfile 'mod'
used 14.80 MB memory in DB alloc
Database: Assets Sync Finished
Database: Assets Sync Started
Database: Assets Sync Finished
Loading fastfile ui
Loading fastfile localized_common
Loading fastfile common
Loading fastfile patch
Initializing render targets...
Requested frame buffer to be 24-bit color with 8-bit alpha
DirectX returned a frame buffer that is 24-bit color with 8-bit alpha
Initializing static model cache...
Initializing dynamic buffers...
Initializing particle cloud buffer...
Creating Direct3D queries...
Loading fastfile 'ui'
used 39.48 MB memory in DB alloc
Setting initial state...
DirectX reports 512 MB of video memory and 3972 MB of available texture memory.
Using video memory size to cap used texture memory at 496 MB.
Texture detail is set automatically.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
Error: Could not load material "zombie_electric_shock_overlay".
Error: Could not load material "zombie_transporter_overlay".
Error: Could not load material "water_droplet".
Error: Could not load material "water_dynamic_spray".

------- sound system initialization -------
------- sound system successfully initialized -------
Hostname: LAPTOP-MIP0LIDE
PC IP: 25.12.137.253
end $init 8012 ms
--- Common Initialization Complete ---
useFastFile is write protected.
fs_usedevdir is write protected.
Database: Assets Sync Started
WARNING: Could not find zone 'C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\zone\english\localized_common.ff'
Loading fastfile 'common'
used 41.51 MB memory in DB alloc
Loading fastfile 'patch'
used 2.06 MB memory in DB alloc
Database: Assets Sync Finished
Loading fastfile nazi_zombie_carentan_load
g_gametype cmp is not a valid gametype, defaulting to dm
WARNING: Could not find zone 'C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\zone\english\nazi_zombie_carentan_load.ff'
Database: Assets Sync Started
Database: Assets Sync Finished
PROFILES: setting server info to 0.0.0.0:0
Couldn't get profiles instance, are we logged on?
Huffman Took 14 Milliseconds
BinkOpen failed on C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\main\video\nazi_zombie_carentan_load.bik because: Error opening file.
BinkOpen failed on C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\raw\video\nazi_zombie_carentan_load.bik because: Error opening file.
R_Cinematic_BinkOpen 'nazi_zombie_carentan_load' failed: BinkOpen: Error opening file.; trying default.
------ Server Initialization ------
Server: nazi_zombie_carentan
Database: Assets Sync Started
Database: Assets Sync Finished
----- R_Init -----
DirectX reports 512 MB of video memory and 3888 MB of available texture memory.
Using video memory size to cap used texture memory at 496 MB.
Texture detail is set automatically.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
Error: Could not load material "loadscreen_nazi_zombie_carentan".
Save Message First Frame Shown: 15360
Database: Assets Sync Started
Database: Assets Sync Finished
Unloaded fastfile ui
PMem_Free( ui, 0 )
Loading fastfile localized_nazi_zombie_carentan
Database: Assets Sync Started
Loading fastfile 'localized_nazi_zombie_carentan'
used 25.47 MB memory in DB alloc
ERROR: image 'images/_-gviewarm_zom_dempsey_device_c.iwi' is missing
ERROR: image 'images/viewarm_zom_dempsey_n.iwi' is missing
ERROR: image 'images/viewarm_zom_dempsey_device_n.iwi' is missing
ERROR: image 'images/~__-gviewarm_zom_dempsey_devi~6cd94c77.iwi' is missing
ERROR: image 'images/~__-gviewarm_zom_dempsey_spc-~7beb67cd.iwi' is missing
ERROR: image 'images/_-gviewarm_zom_dempsey_c.iwi' is missing
Database: Assets Sync Finished
Loading fastfile nazi_zombie_carentan_patch
Database: Assets Sync Started
Loading fastfile 'nazi_zombie_carentan_patch'
used 36.96 MB memory in DB alloc
ERROR: image 'images/gc_usa_mp_fbi_helmet_c.iwi' is missing
ERROR: image 'images/gc_usa_mp_fbi_lower1_c.iwi' is missing
ERROR: image 'images/gc_gen_arm_clean_c.iwi' is missing
ERROR: image 'images/c_usa_mp_fbi_shotgun_gear_n.iwi' is missing
ERROR: image 'images/~gc_mul_nospecgloss_spec-rgb&~afd5fdf4.iwi' is missing
ERROR: image 'images/c_gen_arm_clean_n.iwi' is missing
ERROR: image 'images/gc_usa_mp_fbi_sniper_hood_c.iwi' is missing
ERROR: image 'images/c_chn_mp_pla_upper1_vest_n.iwi' is missing
ERROR: image 'images/gc_usa_mp_fbi_lmg_gear_c.iwi' is missing
ERROR: image 'images/c_usa_mp_fbi_sniper_hood_n.iwi' is missing
ERROR: image 'images/~gc_chn_mp_pla_upper1_vest_sp~95614e80.iwi' is missing
ERROR: image 'images/gc_usa_mp_fbi_sniper_gear_c.iwi' is missing
ERROR: image 'images/~gc_usa_mp_fbi_shotgun_gear_s~cbe12426.iwi' is missing
ERROR: image 'images/c_usa_mp_fbi_lmg_gear_n.iwi' is missing
ERROR: image 'images/char_base_fabric_nocloth.iwi' is missing
ERROR: image 'images/gc_usa_mp_fbi_smg_gear_c.iwi' is missing
ERROR: image 'images/c_usa_mp_fbi_sniper_gear_n.iwi' is missing
ERROR: image 'images/~gc_chn_mp_pla_lower_spec-rgb~5eabd680.iwi' is missing
ERROR: image 'images/~gc_usa_mp_fbi_lmg_gear_spec-~453ce21e.iwi' is missing
ERROR: image 'images/c_usa_mp_fbi_smg_gear_n.iwi' is missing
ERROR: image 'images/gc_mul_mp_pmc_glasses_c.iwi' is missing
ERROR: image 'images/gc_usa_unioninsp_backpack_alpha_c.iwi' is missing
ERROR: image 'images/~gc_usa_mp_fbi_smg_gear_spec-~01d90244.iwi' is missing
ERROR: image 'images/~gc_mul_mp_pmc_glasses_spec-r~a9f74efe.iwi' is missing
ERROR: image 'images/~gc_usa_mp_fbi_helmet_spec-rg~97c38133.iwi' is missing
ERROR: image 'images/gc_usa_mp_fbi_shotgun_gear_c.iwi' is missing
ERROR: image 'images/gc_usa_mp_fbi_vest_c.iwi' is missing
ERROR: image 'images/~gc_usa_mp_fbi_sniper_gear_sp~0f6cd999.iwi' is missing
ERROR: image 'images/c_chn_mp_pla_lower_n.iwi' is missing
ERROR: image 'images/c_usa_mp_fbi_helmet_n.iwi' is missing
ERROR: image 'images/~gc_usa_mp_fbi_sniper_hood_sp~6cf33a6d.iwi' is missing
ERROR: image 'images/c_mul_mp_pmc_glasses_n.iwi' is missing
ERROR: image 'images/~gc_gen_arm_clean_spec-rgb&gc~d0ba41e9.iwi' is missing
Database: Assets Sync Finished
Loading fastfile nazi_zombie_carentan
Loading fastfile 'nazi_zombie_carentan'
used 59.37 MB memory in DB alloc
Waited 1664 msec for asset 'maps/nazi_zombie_carentan.d3dbsp' of type 'col_map_mp'.
Error:
******* Server script compile error *******
Error: bad syntax: (file 'maps/_zombiemode_perks.gsc', line 549)
 }
 *
************************************
Database: Assets Sync Started
Database: Assets Sync Finished
********************
ERROR:  Server script compile error
bad syntax
 }
(see console for details)

********************
PROFILES: setting server info to 0.0.0.0:0
Couldn't get profiles instance, are we logged on?
----- Server Shutdown -----
---------------------------
Database: Assets Sync Started
Database: Assets Sync Finished
----- R_Init -----
DirectX reports 512 MB of video memory and 3589 MB of available texture memory.
Using video memory size to cap used texture memory at 496 MB.
Texture detail is set automatically.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
Working directory: C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War
Save Message First Frame Shown: 31339
 - R_Cinematic_BeginLostDevice()...
DB_BeginRecoverLostDevice()...
R_ResetModelLighting()...
R_ReleaseAllModels()...
R_ReleaseLostImages()...
Material_ReleaseAll()...
R_ReleaseWorld()...
Not too sure exactly why steam wouldn't let me screenshot, but due to that, this is all I've got.
broken avatar :(
×
broken avatar :(
Location: usBrunswick, Ohio
Date Registered: 23 October 2015
Last active: 2 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Staminup is bae
×
CamberedZombies's Contact & Social LinksSkhylinesCamberedzombsynkro834834
And here's a chunk of text surrounding the error line, the syntax that's giving me the error is the bracket right under "self thread mustang_thread( grenade, weapname )".
Code Snippet
Plaintext
// REVIEW =============================
harrybo21_perks_solo_game()
{
// If its a solo game, make your changes here ==============================================================================
level.zombie_perks[ "specialty_quickrevive" ].perk_hint = "Press & hold ^6&&1^7 to buy Revive [Cost: 500]";
level.zombie_perks[ "specialty_quickrevive" ].perk_cost = 500;
level thread harrybo21_perks_limit_perk_usage( "specialty_quickrevive", level.zombie_vars[ "solo_revive_uses" ] );
level thread harrybo21_perks_ignore_power( "specialty_quickrevive" );
if ( !isDefined( level.zombie_vars[ "tombstone_enable_solo_version" ] ) || !level.zombie_vars[ "tombstone_enable_solo_version" ] )
{
level thread harrybo21_perks_remove_perk( "specialty_reconnaissance" );
// if ( isDefined( level.has_wunderfizz ) && level.has_wunderfizz )
// maps\_zombiemode_wunderfizz::harrybo21_perks_wonderfizz_remove( "specialty_reconnaissance" );

}
}

// DONE =============================
harrybo21_perks_co_op_game()
{
// If its a co-op game, make your changes here ==============================================================================
}

// DONE =============================
harrybo21_perks_mustang_trail( model1, model2 )
{
wait .05;
PlayFXOnTag( level._effect[ "mustang_trail" ], model1, "tag_origin" );
PlayFXOnTag( level._effect[ "mustang_trail" ], model2, "tag_origin" );
}

// DONE =============================
harrybo21_perks_mustang_fired()
{
self endon ( "disconnect" );
while( 1 )
{
self waittill( "grenade_fire", grenade, weapname );
if ( !issubstr( weapname, "mustang_sally" ) )
continue;

self thread mustang_thread( grenade, weapname )
}
}

mustang_thread( grenade, weapname )
{
model1 = spawn( "script_model" , grenade.origin + ( anglesToRight( grenade.angles ) * -10 ) );
model1 setModel( "projectile_usa_m9a1_riflegrenade" );
model1.angles = grenade.angles;
model1 linkTo( grenade, "tag_origin", anglesToRight( grenade.angles ) * -10 );

model2 = spawn( "script_model" , grenade.origin + ( anglesToRight( grenade.angles ) * 10 ) );
model2 setModel( "projectile_usa_m9a1_riflegrenade" );
model2.angles = grenade.angles;
model2 linkTo( grenade, "tag_origin", anglesToRight( grenade.angles ) * 10 );

self thread harrybo21_perks_mustang_trail( model1, model2 );

self waittill( "projectile_impact", weapname, point, radius );
PlayFX( level._effect[ "grenade_explosion" ], point + ( anglesToRight( grenade.angles ) * -10 ) );
playsoundatposition ( "rifle_grenade_explode", point + ( anglesToRight( grenade.angles ) * -10 ) );
PlayFX( level._effect[ "grenade_explosion" ], point + ( anglesToRight( grenade.angles ) * 10 ) );
playsoundatposition ( "rifle_grenade_explode", point + ( anglesToRight( grenade.angles ) * 10 ) );
model1 delete();
model1 destroy();
model1 = undefined;
model2 delete();
model2 destroy();
model2 = undefined;
}
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 17 September 2014
Last active: 2 years ago
Posts
167
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
W.I.P Rise & Fall
×
Krazzyboy97's Groups
Krazzyboy97's Contact & Social Links76561198105783700Krazzyboyxxkrazzyboy97xx
And here's a chunk of text surrounding the error line, the syntax that's giving me the error is the bracket right under "self thread mustang_thread( grenade, weapname )".
Code Snippet
Plaintext
// REVIEW =============================
harrybo21_perks_solo_game()
{
// If its a solo game, make your changes here ==============================================================================
level.zombie_perks[ "specialty_quickrevive" ].perk_hint = "Press & hold ^6&&1^7 to buy Revive [Cost: 500]";
level.zombie_perks[ "specialty_quickrevive" ].perk_cost = 500;
level thread harrybo21_perks_limit_perk_usage( "specialty_quickrevive", level.zombie_vars[ "solo_revive_uses" ] );
level thread harrybo21_perks_ignore_power( "specialty_quickrevive" );
if ( !isDefined( level.zombie_vars[ "tombstone_enable_solo_version" ] ) || !level.zombie_vars[ "tombstone_enable_solo_version" ] )
{
level thread harrybo21_perks_remove_perk( "specialty_reconnaissance" );
// if ( isDefined( level.has_wunderfizz ) && level.has_wunderfizz )
// maps\_zombiemode_wunderfizz::harrybo21_perks_wonderfizz_remove( "specialty_reconnaissance" );

}
}

// DONE =============================
harrybo21_perks_co_op_game()
{
// If its a co-op game, make your changes here ==============================================================================
}

// DONE =============================
harrybo21_perks_mustang_trail( model1, model2 )
{
wait .05;
PlayFXOnTag( level._effect[ "mustang_trail" ], model1, "tag_origin" );
PlayFXOnTag( level._effect[ "mustang_trail" ], model2, "tag_origin" );
}

// DONE =============================
harrybo21_perks_mustang_fired()
{
self endon ( "disconnect" );
while( 1 )
{
self waittill( "grenade_fire", grenade, weapname );
if ( !issubstr( weapname, "mustang_sally" ) )
continue;

self thread mustang_thread( grenade, weapname )
}
}

mustang_thread( grenade, weapname )
{
model1 = spawn( "script_model" , grenade.origin + ( anglesToRight( grenade.angles ) * -10 ) );
model1 setModel( "projectile_usa_m9a1_riflegrenade" );
model1.angles = grenade.angles;
model1 linkTo( grenade, "tag_origin", anglesToRight( grenade.angles ) * -10 );

model2 = spawn( "script_model" , grenade.origin + ( anglesToRight( grenade.angles ) * 10 ) );
model2 setModel( "projectile_usa_m9a1_riflegrenade" );
model2.angles = grenade.angles;
model2 linkTo( grenade, "tag_origin", anglesToRight( grenade.angles ) * 10 );

self thread harrybo21_perks_mustang_trail( model1, model2 );

self waittill( "projectile_impact", weapname, point, radius );
PlayFX( level._effect[ "grenade_explosion" ], point + ( anglesToRight( grenade.angles ) * -10 ) );
playsoundatposition ( "rifle_grenade_explode", point + ( anglesToRight( grenade.angles ) * -10 ) );
PlayFX( level._effect[ "grenade_explosion" ], point + ( anglesToRight( grenade.angles ) * 10 ) );
playsoundatposition ( "rifle_grenade_explode", point + ( anglesToRight( grenade.angles ) * 10 ) );
model1 delete();
model1 destroy();
model1 = undefined;
model2 delete();
model2 destroy();
model2 = undefined;
}

Change "self thread mustang_thread( grenade, weapname )" to "self thread mustang_thread( grenade, weapname );"
broken avatar :(
×
broken avatar :(
Location: usBrunswick, Ohio
Date Registered: 23 October 2015
Last active: 2 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Staminup is bae
×
CamberedZombies's Contact & Social LinksSkhylinesCamberedzombsynkro834834
Change "self thread mustang_thread( grenade, weapname )" to "self thread mustang_thread( grenade, weapname );"
I just tried that and I'm still getting the same error. Any other ideas?  :poker:

Double Post Merge: August 01, 2016, 08:14:49 pm
Okay, I just realized I had the wrong version. I updated to latest version and now I get this error:
Code Snippet
Plaintext
******* Server script compile error *******
Error: unknown function: (file 'maps/_harrybo21_utilities.gsc', line 916)
    self maps\_zombiemode_bo2_utility::set_player_current_grenade( stuff.weap_inventory[ i ], stuff.weap_ammo[ stuff.weap_inventory[ i ] ][ "clip" ] );
         *
************************************
Any ideas?  :alone:
Last Edit: August 01, 2016, 08:14:49 pm by CamberedZombies
broken avatar :(
×
broken avatar :(
Location: usBrunswick, Ohio
Date Registered: 23 October 2015
Last active: 2 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Staminup is bae
×
CamberedZombies's Contact & Social LinksSkhylinesCamberedzombsynkro834834
Okay, I just updated to the newest version oh Nate's BO2 weapons and am still getting the clip error. Any ideas guys??  :poker:
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 21 September 2014
Last active: 2 months ago
Posts
191
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Let's all just light up a blunt, and make stuff.
×
AlecKeaneDUB's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
AlecKeaneDUB's Contact & Social LinksaleckeanedubAlecKeaneDUBAlecKeaneDUB
Okay, I just updated to the newest version oh Nate's BO2 weapons and am still getting the clip error. Any ideas guys??  :poker:
Do what KrazzyBoy said and add a semicolon at the end of line 548, then make sure you rebuild the mod with the .gsc file checked in launcher
broken avatar :(
×
broken avatar :(
Location: usBrunswick, Ohio
Date Registered: 23 October 2015
Last active: 2 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Staminup is bae
×
CamberedZombies's Contact & Social LinksSkhylinesCamberedzombsynkro834834
Well problem is, I updated to the newest version of Nate's BO2 guns and also latest version on Harry's perks, and that error was fixed, only to create a new one:
Code Snippet
Plaintext
******* Server script compile error *******
Error: unknown function: (file 'maps/_harrybo21_utilities.gsc', line 1030)
   self maps\_zombiemode_bo2_utility::player_set_primary_weapon( level.zombie_vars[ "start_pistol" ], undefined, undefined, undefined, 0 ); // harrybo21_give_gun( level.zombie_vars[ "start_pistol" ] );
        *
Ugh I swear, fixing one error seems to just create another  :lol:
broken avatar :(
×
broken avatar :(
Location: usBrunswick, Ohio
Date Registered: 23 October 2015
Last active: 2 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Staminup is bae
×
CamberedZombies's Contact & Social LinksSkhylinesCamberedzombsynkro834834
Also, here's the chunk of code from the actual error line:
Code Snippet
Plaintext
if ( level.zombie_vars[ "deadshot_laser" ] && self hasPerk( "specialty_bulletaccuracy" ) )
self setClientDvar( "cg_laserForceOn", 0 );

if( self GetStance() == "prone" )
self SetStance( "crouch" );

gun = self GetCurrentWeapon();
self GiveWeapon( "bo2_zm_knuckle_crack" );
self SwitchToWeapon( "bo2_zm_knuckle_crack" );
self waittill_any( "knuckle_over", "fake_death", "death", "player_downed", "weapon_change_complete" );

self TakeWeapon( "bo2_zm_knuckle_crack" );
if ( isDefined( gun ) && self hasWeapon( gun ) )
self SwitchToWeapon( gun );
else
{
primaries = self GetWeaponsListPrimaries();
if( primaries.size <= 0 )
{
self maps\_zombiemode_bo2_utility::player_set_primary_weapon( level.zombie_vars[ "start_pistol" ], undefined, undefined, undefined, 0 );  //harrybo21_give_gun( level.zombie_vars[ "start_pistol" ] );
self SwitchToWeapon( level.zombie_vars[ "start_pistol" ] );
}
else
self switchToWeapon( primaries[ 0 ] );

}

wait 1;

if ( level.zombie_vars[ "deadshot_laser" ] && self hasPerk( "specialty_bulletaccuracy" ) )
self setClientDvar( "cg_laserForceOn", 1 );

self _enableOffhandWeapons();
self EnableWeaponCycling();
self AllowLean( true );
self AllowAds( true );
self AllowSprint( true );
self AllowProne( true );
self AllowMelee( true );
self.is_drinking = undefined;
self notify("knuckle_crack_done");
}
Issue seems to lie within this specific line: "self maps\_zombiemode_bo2_utility::player_set_primary_weapon( level.zombie_vars[ "start_pistol" ], undefined, undefined, undefined, 0 );  //harrybo21_give_gun( level.zombie_vars[ "start_pistol" ] );
         self SwitchToWeapon( level.zombie_vars[ "start_pistol" ] );"
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 July 2016
Last active: 7 years ago
Posts
15
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
TheChattyGamer's Contact & Social Links
Hey guys! I ran into a problem when trying to compile and run my map after installing Harry's perks. I followed his instructions to a T and installed everything correctly. When I run my game, I get a bad syntax error. I checked console and even ran in dev 1 mode and all pointed me towards the _zombiemode_perks.GSC that HE setup, that was placed in my mapname/mods folder. I checked line 549 like it said to, and the only thing on that line was a bracket. This is the _zombiemode_perks.gsc in my mapname, and I made NO changes to it. Any ideas, did I install incorrectly, or did I mess something up? Any help is appreciated. Thanks!

An extra bracket can very well cause syntax errors. Make sure that the bracketing is correct. All that a syntax error means is that something isn't being formatted correctly programming-wise.

 
Loading ...