UGX-Mods

Call of Duty 5: World at War => Help Desk => Mapping => Topic started by: ShinDynamo on January 27, 2014, 12:30:39 am

Title: Error with UGX (Please Help)
Post by: ShinDynamo on January 27, 2014, 12:30:39 am
Hey guys im back again! I fixed my other errors and this time I got a ugx error about dlc3. http://i.imgur.com/j9CkKgc.jpg (http://i.imgur.com/j9CkKgc.jpg)

For those who cant see the image the error is in WAW
Code Snippet
Plaintext
server script compile error function 'modderhelphud_createtext' already defined in 'maps/ugx_modder_help.gsc' #include maps\dlc3_code;
Title: Re: Error with UGX (Please Help)
Post by: daedra descent on January 27, 2014, 12:35:47 am
hmm... delete the duplicate function in UGX modder help maybe? but if your getting one duplicate function error then there might be more.
Title: Re: Error with UGX (Please Help)
Post by: ShinDynamo on January 27, 2014, 12:46:48 am
haha deleted the dupe function and got this crash again from the waw console.
Code Snippet
Plaintext
st_gfx'
used 1.13 MB memory in DB alloc
Setting initial state...
DirectX reports 1024 MB of video memory and 3896 MB of available texture memory.
Using video memory size to cap used texture memory at 1008 MB.
Picmip is set manually.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
Waited 32 msec for asset '$default' of type 'material'.
Waited 1 msec for asset '$additive' of type 'material'.
Waited 0 msec for asset '$line_nodepth' of type 'material'.
Waited 14 msec for asset 'light_corona' of type 'material'.
Waited 1 msec for asset 'clear_alpha' of type 'material'.
Waited 1 msec for asset 'depthprepass' of type 'material'.
Waited 0 msec for asset 'shadowclear' of type 'material'.
Waited 0 msec for asset 'shadowcookieoverlay' of type 'material'.
Waited 0 msec for asset 'shadowcookieblur' of type 'material'.
Waited 115 msec for asset 'shadowcaster' of type 'material'.
Waited 0 msec for asset 'shadowoverlay' of type 'material'.
Waited 1 msec for asset 'stencilshadow' of type 'material'.
Waited 118 msec for asset 'cinematic' of type 'material'.
Error: Waited 105 msec for missing asset "zombie_electric_shock_overlay".
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".
Loading fastfile 'ui'
used 39.48 MB memory in DB alloc

------- sound system initialization -------
------- sound system successfully initialized -------
--------------
GamerProfile_UpdateProfileFromDvars(0):
 "mis_01" = "0".
 "mis_difficulty" = "00000000000000000000000000000000000000000000000000".
 "cheat_points" = "0".
 "cheat_items_set1" = "0".
 "cheat_items_set2" = "0".
 "takeCoverWarnings" = "0".
 "r_gamma" = "1".
 "snd_volume" = "".
 "ps3_voiceSpeakerGain" = "".
Hostname: Rob-PC
PC IP: 192.168.1.129
end $init 3160 ms
--- Common Initialization Complete ---
Waited 4462 msec for asset 'loadscreen_mak' of type 'material'.
Waited 19 msec for asset 'loadscreen_pel1' of type 'material'.
Waited 18 msec for asset 'loadscreen_pel2' of type 'material'.
Waited 6 msec for asset 'loadscreen_see1' of type 'material'.
Waited 5 msec for asset 'loadscreen_see2' of type 'material'.
Waited 16 msec for asset 'loadscreen_nazi_zombie_prototype' of type 'material'.
WARNING: Could not find zone 'G:\Program Files\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
Waited 2837 msec for asset 'ui/patch_menus.txt' of type 'menufile'.
Working directory: G:\Program Files\Steam\steamapps\common\Call of Duty World at War
Huffman Took 1 Milliseconds
Controller #0 signed in locally
DW_DNS_RESOLVING
DW_DNS_RESOLVING
.
..
..
DW_GETUSERNAMES(1463 msecs)
Retrieving usernames
Retrieving usernames.
Retrieving usernames..
Retrieving usernames...
Retrieving usernames....
Retrieving usernames.....
Retrieving usernames......
Retrieving usernames.......
Retrieving usernames........
Retrieving usernames.........
Retrieving usernames..........
Retrieving usernames..........
Populated dw_user dvars with 3 accounts
GizGunnar
secretsauce is 00>00090
DW_AUTHORIZING GizGunnar
DW_AUTHORIZED (131 msecs)
DW_LOBBY_CONNECTING
DW_LOGON_GETFRIENDS
DW_LOGON_GETFRIENDS
DW_LOGON_COMPLETE
DW_LOGON_CHECKPROFILEEXISTS
DW_LOGON_CHECKPROFILEEXISTSChecking if profile exists..
.
..
...
....
.....
......
.......
........
.........
..........
...........
............
.............
..............
...............
................
.................
..................
...................
....................
.....................
......................
.......................
.......................9 friends, populating list..
g_numFriends is now 1
g_numFriends is now 2
g_numFriends is now 3
g_numFriends is now 4
g_numFriends is now 5
g_numFriends is now 6
g_numFriends is now 7
g_numFriends is now 8
g_numFriends is now 9
starting to get public profiles for 9 friends..
We have 0 outgoing proposals
.
..
...
...Messages retrieved ok
.
..
...
....
.....
......
.......
........
.........
..........
..........Profile exists!

DW_LOGON_COMPLETE
starting to get public profiles for 9 friends..
Hostname: Rob-PC
PC IP: 192.168.1.129
Controller #0 signed in to live
Error: line 317: Invalid line in playlist 0
Error: line 322: Invalid line in playlist 0
Error: line 327: Invalid line in playlist 0
Error: line 332: Invalid line in playlist 0
Setting playlist version to 102 for controller 0
Got friend profiles OK!
updating profile info for friend xFlight
Client: nulling invite info for friend xFlight
updating profile info for friend DayZ_Hayes
Client: nulling invite info for friend DayZ_Hayes
updating profile info for friend WonderSlap
Client: nulling invite info for friend WonderSlap
updating profile info for friend NerdManiac34
Client: nulling invite info for friend NerdManiac34
updating profile info for friend Kobe824
Client: nulling invite info for friend Kobe824
updating profile info for friend DracoTime
Client: nulling invite info for friend DracoTime
updating profile info for friend KILLERDEATH9
Client: nulling invite info for friend KILLERDEATH9
updating profile info for friend CaptMunch
Client: nulling invite info for friend CaptMunch
updating profile info for friend lynxie96
Client: nulling invite info for friend lynxie96
Got friend profiles OK!
updating profile info for friend xFlight
Client: nulling invite info for friend xFlight
updating profile info for friend DayZ_Hayes
Client: nulling invite info for friend DayZ_Hayes
updating profile info for friend WonderSlap
Client: nulling invite info for friend WonderSlap
updating profile info for friend NerdManiac34
Client: nulling invite info for friend NerdManiac34
updating profile info for friend Kobe824
Client: nulling invite info for friend Kobe824
updating profile info for friend DracoTime
Client: nulling invite info for friend DracoTime
updating profile info for friend KILLERDEATH9
Client: nulling invite info for friend KILLERDEATH9
updating profile info for friend CaptMunch
Client: nulling invite info for friend CaptMunch
updating profile info for friend lynxie96
Client: nulling invite info for friend lynxie96
Imp read successful
Imp read successful
Imp read successful
Imp read successful
PATCH Imp read successful
Save Message First Frame Shown: 16934
Upload Bandwidth: 3000.00 Kbits/s
Download Bandwidth: 0.00 Kbits/s
Database: Assets Sync Started
Database: Assets Sync Finished
Database: Assets Sync Started
Database: Assets Sync Finished
Unloaded fastfile patch
PMem_Free( patch, 1 )
Unloaded fastfile common
PMem_Free( common, 1 )
Unloaded fastfile ui
PMem_Free( ui, 0 )
Unloaded fastfile code_post_gfx
PMem_Free( code_post_gfx, 0 )
Database: Assets Sync Started
Database: Assets Sync Finished
----- FS_Startup -----
Current language: english
Current search path:
C:\Users\Rob\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_test\nazi_zombie_test.iwd (85 files)
C:\Users\Rob\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_test\dlc3_weapons.iwd (123 files)
C:\Users\Rob\AppData\Local\Activision\CoDWaW/mods/nazi_zombie_test
C:\Users\Rob\AppData\Local\Activision\CoDWaW/usermaps
C:\Users\Rob\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_portal1.iwd (85 files)
C:\Users\Rob\AppData\Local\Activision\CoDWaW/mods
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_27.iwd (60 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_26.iwd (522 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_25.iwd (139 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_24.iwd (502 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_23.iwd (3 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_22.iwd (529 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_21.iwd (13 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_20.iwd (69 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_19.iwd (52 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_18.iwd (51 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_17.iwd (42 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_16.iwd (44 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_15.iwd (145 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_14.iwd (655 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_13.iwd (400 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_12.iwd (453 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_11.iwd (366 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_10.iwd (549 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_09.iwd (413 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_08.iwd (484 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_07.iwd (755 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_06.iwd (537 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_05.iwd (569 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_04.iwd (711 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_03.iwd (743 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_02.iwd (694 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_01.iwd (350 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\iw_00.iwd (808 files)
G:\Program Files\Steam\steamapps\common\Call of Duty World at War/main
G:\Program Files\Steam\steamapps\common\Call of Duty World at War/main_shared
C:\Users\Rob\AppData\Local\Activision\CoDWaW/players
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw06.iwd (1804 files)
    localized assets iwd file for english
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw05.iwd (1246 files)
    localized assets iwd file for english
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw04.iwd (363 files)
    localized assets iwd file for english
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw03.iwd (28 files)
    localized assets iwd file for english
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw02.iwd (3163 files)
    localized assets iwd file for english
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw01.iwd (5164 files)
    localized assets iwd file for english
G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\localized_english_iw00.iwd (4592 files)
    localized assets iwd file for english

File Handles:
----------------------
54329 files in iwd files
----- Initializing Renderer ----
----- 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 1920 x 1080 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 17.70 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 1024 MB of video memory and 3826 MB of available texture memory.
Using video memory size to cap used texture memory at 1008 MB.
Picmip is set manually.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
WARNING: Could not find zone 'G:\Program Files\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
Error: Waited 1343 msec for missing asset "zombie_electric_shock_overlay".
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 "loadscreen_nazi_zombie_test".
Save Message First Frame Shown: 26879
]devmap nazi_zombie_test
Database: Assets Sync Started
Database: Assets Sync Finished
Loading fastfile nazi_zombie_test_load
Database: Assets Sync Started
WARNING: Could not find zone 'G:\Program Files\Steam\steamapps\common\Call of Duty World at War\zone\english\nazi_zombie_test_load.ff'
Database: Assets Sync Finished
PROFILES: setting server info to 0.0.0.0:0
Couldn't get profiles instance, are we logged on?
BinkOpen failed on G:\Program Files\Steam\steamapps\common\Call of Duty World at War\main\video\nazi_zombie_test_load.bik because: Error opening file.
BinkOpen failed on G:\Program Files\Steam\steamapps\common\Call of Duty World at War\raw\video\nazi_zombie_test_load.bik because: Error opening file.
R_Cinematic_BinkOpen 'nazi_zombie_test_load' failed: BinkOpen: Error opening file.; trying default.
------ Server Initialization ------
Server: nazi_zombie_test
Database: Assets Sync Started
Database: Assets Sync Finished
----- R_Init -----
DirectX reports 1024 MB of video memory and 3741 MB of available texture memory.
Using video memory size to cap used texture memory at 1008 MB.
Picmip is set manually.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
Save Message First Frame Shown: 40181
Database: Assets Sync Started
Database: Assets Sync Finished
Unloaded fastfile ui
PMem_Free( ui, 0 )
Loading fastfile localized_nazi_zombie_test
Database: Assets Sync Started
WARNING: Could not find zone 'G:\Program Files\Steam\steamapps\common\Call of Duty World at War\zone\english\localized_nazi_zombie_test.ff'
Database: Assets Sync Finished
Loading fastfile nazi_zombie_test_patch
Database: Assets Sync Started
Loading fastfile 'nazi_zombie_test_patch'
used 1.25 MB memory in DB alloc
Database: Assets Sync Finished
Loading fastfile nazi_zombie_test
Loading fastfile 'nazi_zombie_test'
used 68.54 MB memory in DB alloc
Waited 712 msec for asset 'maps/nazi_zombie_test.d3dbsp' of type 'col_map_mp'.
WARNING: "weapons/sp/defaultweapon" does not appear to be a weapon file
 - R_Cinematic_BeginLostDevice()...
DB_BeginRecoverLostDevice()...
R_ResetModelLighting()...
R_ReleaseAllModels()...
R_ReleaseLostImages()...
Material_ReleaseAll()...
R_ReleaseWorld()...
Recovering lost device...
R_ResetDevice()...
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 buffe

Unhandled exception caught
Title: Re: Error with UGX (Please Help)
Post by: daedra descent on January 27, 2014, 01:01:26 am
Quote
server script compile error function 'modderhelphud_createtext' already defined in 'maps/ugx_modder_help.gsc' #include maps\dlc3_code;

I read this wrong. The function that you deleted is fine, but the one in dlc3_code isn't. the UGX mod doesn't use dlc3_code as far as I know.
Title: Re: Error with UGX (Please Help)
Post by: ShinDynamo on January 27, 2014, 01:11:44 am
in dlc3.csv i deleted the ugx mod help lines and now im getting this error http://i.imgur.com/EWQSSlf.jpg (http://i.imgur.com/EWQSSlf.jpg)
Title: Re: Error with UGX (Please Help)
Post by: daedra descent on January 27, 2014, 01:15:09 am
in dlc3.csv i deleted the ugx mod help lines and now im getting this error http://i.imgur.com/EWQSSlf.jpg (http://i.imgur.com/EWQSSlf.jpg)

that's because one of your files is trying to include ugx_modder_help, but it can't find it. like I was trying to say earlier though, if your running the UGX mod then you need that file.
Title: Re: Error with UGX (Please Help)
Post by: ShinDynamo on January 27, 2014, 01:17:04 am
so how do i go about fixing this? Because now i ahve deleted stuff and yup. I used the ugx mod tools so the line is the dlc3 was from one of thos modtools.


Post Merge: January 27, 2014, 01:48:01 am
I got it back but the file its looking for can be found. here is whats inside of it.

Code Snippet
Plaintext
//UGX Notes: This is code from DLC3 for creating the modderhelp hud. I moved this to an external file for #include purposes. Want to keep the external file references to a minimum (i.e. no maps\_filename::function())

#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;

//Args:
// item: the item to be analyzed
// msg: the message to display if the check fails
// type: the type of check we are performing
//Types:
// entity: checks if an entity is defined
// test: checks bool value of item parameter.

modderHelp( item, msg, type )
{
if(!isDefined(type)) type = "entity";
// Developer Needs To Be Set To 1
if( getDvarInt( "developer" ) >= 1 )
{
// Title
if( !isDefined( level.modderHelpText[ 0 ] ) )
{
level.modderHelpText[ 0 ] = modderHelpHUD_CreateText( "UGX Modtools Patch Developer Help Center" );
}

if(type == "entity")
{
// Check If Entity Exists Or Forced Error Msg
if( !isDefined( item ) )
{
// Check If Error Msg Exists
if( !isDefined( msg ) )
{
return false;
}

// Let Modder Know What's Wrong And How To Fix
level.modderHelpText[ level.modderHelpText.size ] = modderHelpHUD_CreateText( "^1   -" + msg );

return true; // Return That There Was Something Wrong
}
}
if(type == "test")
{
if(item)
level.modderHelpText[ level.modderHelpText.size ] = modderHelpHUD_CreateText( "^1   -" + msg );
}
}

return false;
}

modderHelpHUD_CreateText( Msg )
{
temp_modderHelpHUD = newHudElem();
temp_modderHelpHUD.x = 0;
temp_modderHelpHUD.y = (level.modderHelpText.size * 20) - 180;
temp_modderHelpHUD.alignX = "left";
temp_modderHelpHUD.alignY = "middle";
temp_modderHelpHUD.horzAlign = "left";
temp_modderHelpHUD.vertAlign = "middle";
temp_modderHelpHUD.sort = 1;
temp_modderHelpHUD.foreground = true;
temp_modderHelpHUD.fontScale = 1.25;
temp_modderHelpHUD SetText( Msg );
temp_modderHelpHUD.alpha = 0;
temp_modderHelpHUD FadeOverTime( 1.2 );
temp_modderHelpHUD.alpha = 1;

return temp_modderHelpHUD;
}

Post Merge: January 27, 2014, 01:54:16 am
i keep getting returned to the original error of
http://i.imgur.com/j9CkKgc.jpg (http://i.imgur.com/j9CkKgc.jpg)
Title: Re: Error with UGX (Please Help)
Post by: SajeOne on January 27, 2014, 12:38:21 pm
This error has since been corrected. Unless you did not install them correctly there is no script conflict with the current patch. So I would update your installation.
Title: Re: Error with UGX (Please Help)
Post by: ShinDynamo on January 27, 2014, 02:17:08 pm
I just used sniperbolts patch instead. Fixed my problems. Thanks everyone!