forums | blogs | polls | tutorials | downloads | rules | help

I can't find the problem..

I've been playing around with item making and editing and ran into a problem. I've been replacing the default merc armor because its suck more then dryad armor even thou the merc army is being bank rolled by valdis :roll:

As you can see this armor works.....

Yet i'm confused as to why i can't get the gloves to work Sad

[t:template,n:amr_glv_merc]
{
	doc = "mercenary_gloves";
	specializes = base_armor_gloves;

	[common]
	{
		screen_name = "Mercenary Gloves";
		allow_modifiers = false;
		rarity = unique;
	}
	[defend]
	{
		armor_style = 002;
		armor_type = type02;
		defense = 6.0;
	}
	[gui]
	{
		equip_slot = es_forearms;
		inventory_icon = b_gui_ig_i_amr_gntl_type02_002;
		inventory_height = 2;
		inventory_width = 1;
	}
	[magic]
	{
		[enchantments]
		{
			[*]
			{
				alteration = alter_strength;
				value = 3;
				description = "+<value> Strength";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
			[*]
			{
				alteration = alter_armor;
				value = 2;
				description = "+<value> Armor";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
			[*]
			{
				alteration = alter_fire_resistance;
				value = 0.08;
				description = "+<value> Fire Resistance";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
			[*]
			{
				alteration = alter_gold_dropped;
				value = 0.12;
				description = "+12% Gold Dropped";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
		}
	}
	[pcontent]
	{
		[base]
		{
			item_level = 0.0;
		}
	}
	[loot_drop_indicator]{}
}

Templarian Arch Sorcerer's picture

aim4it wrote:
I've been playing around with item making and editing and ran into a problem. I've been replacing the default merc armor because its suck more then dryad armor even thou the merc army is being bank rolled by valdis :roll:

As you can see this armor works.....

Yet i'm confused as to why i can't get the gloves to work Sad

[t:template,n:amr_glv_merc]
{
	doc = "mercenary_gloves";
	specializes = base_armor_gloves;

	[common]
	{
		screen_name = "Mercenary Gloves";
		allow_modifiers = false;
		rarity = unique;
	}
	[defend]
	{
		armor_style = 002;
		armor_type = type02;
		defense = 6.0;
	}
	[gui]
	{
		equip_slot = es_forearms;
		inventory_icon = b_gui_ig_i_amr_gntl_type02_002;
		inventory_height = 2;
		inventory_width = 1;
	}
	[magic]
	{
		[enchantments]
		{
			[*]
			{
				alteration = alter_strength;
				value = 3;
				description = "+<value> Strength";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
			[*]
			{
				alteration = alter_armor;
				value = 2;
				description = "+<value> Armor";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
			[*]
			{
				alteration = alter_fire_resistance;
				value = 0.08;
				description = "+<value> Fire Resistance";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
			[*]
			{
				alteration = alter_gold_dropped;
				value = 0.12;
				description = "+12% Gold Dropped";
				duration = #infinite;
				is_permanent = true;
				is_single_instance = false;
			}
		}
	}
	[pcontent]
	{
		[base]
		{
			item_level = 0.0;
		}
	}
	[loot_drop_indicator]{}
}

Strange.....Are you sure that you did not miss any semicolons and that the gloves are in the same format as the merc armor? :?

Yes, I've compared both the files and their the same, the only thing I can think of is the eninge doesn't like duplicate templates(although the Hot-fix mod has many) and i'll have to make a new item that draws the same skin, but that still leaves a problem of having it replace the starting gear.

Sharkull's picture

The code in the top post (for the gloves) works for me... but only when placed in amr_generic_sets.gas. To override an existing template you need to put it in a modified version of the same file, making your changes there... (a new gas file won't work right).

Unique item should be working in a seperate gas file. Uniques are not defined in set gas files. IT looks like you are overriding some gpg template. I can override those in my own gas files. I have ran into one exception with overriding a npc template though. I have not replaced any unique templates, so they may have an exception. I have made uniques in my own gas files, so it should not matter.

I think you need another template for the unique item. I do not have any references in front of me, but I think that is a base template that has a template for variations. I could be wrong, since I havn't looked at uniques in awhile, but I think the problem lies in the structucture. I'll take a look when I get home.

-Wyvante at school

Each armor part is an individual gas file, when I had them all in one gas file only the helm would work.

Hmm, why does the set have rarity = unique; ? The file is fine. I thought it was a unique. I don't see a problem.

Sharkull's picture

aim4it wrote:
Each armor part is an individual gas file, when I had them all in one gas file only the helm would work.

Again, if you're adding new templates (with new template names) then you can use new gas files... but if you're replacing templates (changing existing game content) then you need to make the changes in the original file/files (otherwise the changes won't work properly).

Each file was named after the template it was replacing, ie: amr_bdy_merc template = amr_bdy_merc.gas

And I set them as unique to make them stand out and I could see if they worked easily.

And the DS2Mod is reporting out that it finds duplicates of those gears.

Sharkull's picture

If that works for you, then great... but if it doesn't then try what I've described.

(Use TV2 to extract the file with the templates you want to modify, and then make your changes...).

It is best to override the entire gas file with the same name. It can cause problems otherwise. It should work, but I think dungeon siege gets confused. Old habbit of mine is creating new gas files when I can to cut down on file size. That is not proper though.

Wow, who would have thought that editing the tutorial dagger would create an exception :?

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
-== App          : Dungeon Siege II (C:\Program Files\Microsoft Games\Dungeon Siege 2\Dungeon Siege II Tool Kit\DungeonSiege2Mod.exe - Retail Mod)
-== Log category : Crash Report
-== Session      : 7/7/2006 08:13:39 PM
-== Build        : Win2k (2.30.0.3926)
-== Failures     : 59 warnings, 1 errors, 0 SEH's
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-

--==<< Top-level exception filter report >>==--


[WorldState]

    started = 114.947, stopped = 114.956, from = ws_nis, to = ws_sp_ingame
    started = 111.573, stopped = 111.58, from = ws_sp_ingame, to = ws_nis
    started = 111.058, stopped = 111.135, from = ws_wait_for_begin, to = ws_sp_ingame
    started = 111.052, stopped = 111.058, from = ws_loaded_intro, to = ws_wait_for_begin
    started = 107.434, stopped = 109.649, from = ws_loaded_map, to = ws_loaded_intro
    started = 107.288, stopped = 107.434, from = ws_loading_map, to = ws_loaded_map
    started = 101.504, stopped = 107.288, from = ws_load_map, to = ws_loading_map
    started = 100.296, stopped = 101.504, from = ws_preload_intro, to = ws_load_map
    started = 95.6188, stopped = 96.3246, from = ws_sp_load_game_screen, to = ws_preload_intro
    started = 93.3986, stopped = 93.3986, from = ws_sp_map_select, to = ws_sp_load_game_screen
    started = 92.2641, stopped = 93.3986, from = ws_sp_character_select, to = ws_sp_map_select
    started = 38.2019, stopped = 38.2019, from = ws_main_menu, to = ws_sp_character_select
    started = 35.0291, stopped = 35.2959, from = ws_intro, to = ws_main_menu
    started = 35.0291, stopped = 35.0291, from = ws_init, to = ws_intro

[Game]

    time: system = 147.151667, global = 197.151665, world = 46.263602, delta = 0.018252, sim = 10885

[Modules]

    name = 'C:\Program Files\Microsoft Games\Dungeon Siege 2\Dungeon Siege II Tool Kit\DungeonSiege2Mod.exe', crc = 0x2F5C7054, extra = 0xF9F22909

[Trace]

*** Report for process 0x00000644

    Process command line    : "C:\Program Files\Microsoft Games\Dungeon Siege 2\Dungeon Siege II Tool Kit\DungeonSiege2Mod.exe" loadanysave=true nointro=true fullscreen=false
    Process priority class  : 32
    Process priority boosted: no
    
*** Report for thread Main ***

    Exception code: access violation (continuable) - attempted to read data at 0x00000008
    Occurred at IP: 0x004B6729
    
    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x000000CB (The system could not find the environment option that was entered.)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:13:33.515
        Thread kernel mode time: 07:38:4.375
        Thread user mode time  : 29:23:16.875
    
    CPU registers:
    
        eax=0E93C328 cs=001B eip=004B6729 eflags=00210206
        ebx=3000006F ss=0023 esp=0012F6CC ebp   =0012F6E8
        ecx=00000004 ds=0023 esi=075FCB38 fs    =003B
        edx=00000007 es=0023 edi=00000000 gs    =0000
    
    FPU registers:
    
        st0=-88.542572 st4=  0.000000 ctrl=0C7F
        st1=  0.000000 st5=  0.000000 stat=0120
        st2=  0.000000 st6=  0.000000 tags=FFFF
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x004B6729 DungeonSiege2Mod.exe: UIPartyManager::HideEquipment + 892 bytes
        0x004BBFE8 DungeonSiege2Mod.exe: UIPartyManager::SetPartyOrders + 1873 bytes
        0x004C17AC DungeonSiege2Mod.exe: UIPartyManager::SSetPartyCorpseRetrievalCost + 4334 bytes
        0x004CF0D2 DungeonSiege2Mod.exe: UIPartyManager::ActivateAllInventories + 25763 bytes
        0x0048D2CE DungeonSiege2Mod.exe: UIGame::DisplayMsgSound + 1469 bytes
        0x00474AB4 DungeonSiege2Mod.exe: UISkritSupport::FUBI_GetClassSingleton + 1305 bytes
        0x0042B5FB DungeonSiege2Mod.exe: MohawkGame::RSDisableTimeoutsUntil + 876 bytes
        0x008A7229 DungeonSiege2Mod.exe: AppModule::UserPause + 16392 bytes
        0x008A97D5 DungeonSiege2Mod.exe: AppModule::UserPause + 26036 bytes
        0x008A4195 DungeonSiege2Mod.exe: AppModule::UserPause + 3956 bytes
        0x008A42C5 DungeonSiege2Mod.exe: AppModule::UserPause + 4260 bytes
        0x00427380 DungeonSiege2Mod.exe: String::GetDelimitedFloat + 64 bytes
        0x00A47DB5 DungeonSiege2Mod.exe: RapiAppModule::CopyScreenShotToClipboard + 129573 bytes
        0x7C816D4F kernel32.dll: 
    
*** Report for thread #0x154 ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:15:12.125
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=77E76BF0 cs=001B eip=7C90EB94 eflags=00000246
        ebx=00000000 ss=0023 esp=0C10FE1C ebp   =0C10FF80
        ecx=00000000 ds=0023 esi=036A2820 fs    =003B
        edx=00000000 es=0023 edi=036A28C4 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x77E76C22 rpcrt4.dll: I_RpcBCacheFree + 1514 bytes
        0x77E76A3B rpcrt4.dll: I_RpcBCacheFree + 1027 bytes
        0x77E76C0A rpcrt4.dll: I_RpcBCacheFree + 1490 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x224 ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:15.703
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=00000000 cs=001B eip=7C90EB94 eflags=00000297
        ebx=00171B38 ss=0023 esp=0BA8FD98 ebp   =0BA8FDD4
        ecx=0000000E ds=0023 esi=7FFFFFFF fs    =003B
        edx=0BC10000 es=0023 edi=FFFFFFFF gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x71A55FA7 mswsock.dll: 
        0x71AB2E67 ws2_32.dll: 
        0x4D506091 winhttp.dll: WinHttpReceiveResponse + 24336 bytes
        0x4D506525 winhttp.dll: WinHttpReceiveResponse + 25508 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x250 ***

    Thread traits:
    
        Thread priority        : 15
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:14.859
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=00000004 cs=001B eip=7C90EB94 eflags=00000297
        ebx=7C8024A7 ss=0023 esp=0AE7FF1C ebp   =0AE7FF80
        ecx=00000000 ds=0023 esi=0000042C fs    =003B
        edx=00000002 es=0023 edi=00000000 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C802542 kernel32.dll: WaitForSingleObject + 18 bytes
        0x21101561 mss32.dll: 
    
*** Report for thread SiegeLoad ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:13:40.875
        Thread kernel mode time: 00:00:46.875
        Thread user mode time  : 00:02:36.250
    
    CPU registers:
    
        eax=00000000 cs=001B eip=7C90EB94 eflags=00000246
        ebx=027D03B4 ss=0023 esp=034BFE28 ebp   =034BFE8C
        ecx=027D0370 ds=0023 esi=00000144 fs    =003B
        edx=7C90EB94 es=0023 edi=00000000 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C802542 kernel32.dll: WaitForSingleObject + 18 bytes
        0x0082107C DungeonSiege2Mod.exe: siege::SiegeEngine::IsPositionInLogicalMeshBounds + 77372 bytes
        0x0082130E DungeonSiege2Mod.exe: siege::SiegeEngine::IsPositionInLogicalMeshBounds + 78030 bytes
        0x00916B36 DungeonSiege2Mod.exe: FuelSys::SetUncachingEnabled + 153093 bytes
        0x00916AD0 DungeonSiege2Mod.exe: FuelSys::SetUncachingEnabled + 152991 bytes
        0x00A4A87E DungeonSiege2Mod.exe: RapiAppModule::CopyScreenShotToClipboard + 140526 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x474 ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:14.937
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=00002800 cs=001B eip=7C90EB94 eflags=00000297
        ebx=7C802530 ss=0023 esp=0AF7FF24 ebp   =0AF7FF88
        ecx=00000400 ds=0023 esi=00000434 fs    =003B
        edx=00000002 es=0023 edi=00000000 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C802542 kernel32.dll: WaitForSingleObject + 18 bytes
        0x21110209 mss32.dll: AIL_list_MIDI + 9321 bytes
    
*** Report for thread #0x504 ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:15.703
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=0BCAB000 cs=001B eip=7C90EB94 eflags=00000246
        ebx=00000000 ss=0023 esp=0BB8FF08 ebp   =0BB8FF34
        ecx=0BCAB000 ds=0023 esi=0BCAA0E0 fs    =003B
        edx=0BCAB000 es=0023 edi=00000001 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x4D5066CD winhttp.dll: WinHttpReceiveResponse + 25932 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x608 ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:12.140
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=774EC738 cs=001B eip=7C90EB94 eflags=00000246
        ebx=00A7004A ss=0023 esp=08D3FF14 ebp   =08D3FF30
        ecx=77E71368 ds=0023 esi=08D3FF54 fs    =003B
        edx=774E6228 es=0023 edi=00000000 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7750F64C ole32.dll: CoFreeUnusedLibrariesEx + 532 bytes
        0x77528B9D ole32.dll: CoGetObject + 6215 bytes
        0x77528AD0 ole32.dll: CoGetObject + 6010 bytes
        0x774FE3EE ole32.dll: StringFromGUID2 + 1500 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x6A4 ***

    Thread traits:
    
        Thread priority        : 1
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:15.703
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=71A5D5AF cs=001B eip=7C90EB94 eflags=00000202
        ebx=C0000000 ss=0023 esp=0BDBFF7C ebp   =0BDBFFB4
        ecx=7C913288 ds=0023 esi=00000000 fs    =003B
        edx=FFFFFFFF es=0023 edi=71A87558 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x6EC ***

    Thread traits:
    
        Thread priority        : 15
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:14.859
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=73F1B94B cs=001B eip=7C90EB94 eflags=00000246
        ebx=0A2003C0 ss=0023 esp=0AB7FD88 ebp   =0AB7FE24
        ecx=7799E140 ds=0023 esi=00000000 fs    =003B
        edx=09D36890 es=0023 edi=7FFD9000 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C809C86 kernel32.dll: WaitForMultipleObjects + 24 bytes
        0x73F114A2 dsound.dll: 
        0x73F1294A dsound.dll: 
        0x73F19FBF dsound.dll: DirectSoundCreate + 21372 bytes
        0x73F1297E dsound.dll: 
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x718 ***

    Thread traits:
    
        Thread priority        : 15
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:14.859
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=025C0000 cs=001B eip=7C90EB94 eflags=00000246
        ebx=0AD7FDB8 ss=0023 esp=0AD7FD90 ebp   =0AD7FE2C
        ecx=0AD7FE6C ds=0023 esi=00000000 fs    =003B
        edx=7C90EB94 es=0023 edi=7FFD9000 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C809C86 kernel32.dll: WaitForMultipleObjects + 24 bytes
        0x73F114A2 dsound.dll: 
        0x73F1294A dsound.dll: 
        0x73F12A13 dsound.dll: 
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread RapiMouse ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:13:39.750
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=0012FC28 cs=001B eip=7C90EB94 eflags=00000202
        ebx=00000001 ss=0023 esp=027BFE64 ebp   =027BFEBC
        ecx=02470040 ds=0023 esi=00000000 fs    =003B
        edx=7C90EB94 es=0023 edi=027BFE94 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C802451 kernel32.dll: Sleep + 15 bytes
        0x00A2706A DungeonSiege2Mod.exe: nema::ActiveVertexChore::BaseAnimDurationForStance + 116922 bytes
        0x00916B36 DungeonSiege2Mod.exe: FuelSys::SetUncachingEnabled + 153093 bytes
        0x00916AD0 DungeonSiege2Mod.exe: FuelSys::SetUncachingEnabled + 152991 bytes
        0x00A4A87E DungeonSiege2Mod.exe: RapiAppModule::CopyScreenShotToClipboard + 140526 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x768 ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:12.125
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=08B3FF54 cs=001B eip=7C90EB94 eflags=00000246
        ebx=00000000 ss=0023 esp=08B3FE1C ebp   =08B3FF80
        ecx=036A2820 ds=0023 esi=036A2820 fs    =003B
        edx=7C90EB94 es=0023 edi=036A28C4 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x77E76C22 rpcrt4.dll: I_RpcBCacheFree + 1514 bytes
        0x77E76A3B rpcrt4.dll: I_RpcBCacheFree + 1027 bytes
        0x77E76C0A rpcrt4.dll: I_RpcBCacheFree + 1490 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x7B0 ***

    Thread traits:
    
        Thread priority        : 0
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:15.859
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=4D50B73F cs=001B eip=7C90EB94 eflags=00000206
        ebx=4D4F0000 ss=0023 esp=0BECFF3C ebp   =0BECFF94
        ecx=7C913288 ds=0023 esi=00000000 fs    =003B
        edx=FFFFFFFF es=0023 edi=0BECFF6C gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C802451 kernel32.dll: Sleep + 15 bytes
        0x4D50B752 winhttp.dll: WinHttpReceiveResponse + 46545 bytes
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes
    
*** Report for thread #0x7C4 ***

    Thread traits:
    
        Thread priority        : 15
        Last error             : 0x00000000 (<unknown>)
        Thread priority boosted: no
        Thread creation time   : 07/07/2006,20:14:14.765
        Thread kernel mode time: 00:00:0.000
        Thread user mode time  : 00:00:0.000
    
    CPU registers:
    
        eax=72D230E8 cs=001B eip=7C90EB94 eflags=00000246
        ebx=0AA7FEF8 ss=0023 esp=0AA7FED0 ebp   =0AA7FF6C
        ecx=00000042 ds=0023 esi=00000000 fs    =003B
        edx=0A201350 es=0023 edi=7FFD9000 gs    =0000
    
    FPU registers:
    
        st0=  0.000000 st4=  0.000000 ctrl=0000
        st1=  0.000000 st5=  0.000000 stat=0000
        st2=  0.000000 st6=  0.000000 tags=0000
        st3=  0.000000 st7=  0.000000
    
    Stack trace:
    
        0x7C90EB94 ntdll.dll: KiFastSystemCallRet
        0x7C809C86 kernel32.dll: WaitForMultipleObjects + 24 bytes
        0x72D2312A wdmaud.drv: 
        0x7C80B50B kernel32.dll: GetModuleFileNameA + 436 bytes

That's more than just a dagger issue.

Yep I'm lost, I don't know why its doing this, and umm yea i haven't touch any files other then amr_generic_sets and wpn_dagger, so i don't understand what its doing in traps... 8O

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
-== App          : Dungeon Siege II (C:\Program Files\Microsoft Games\Dungeon Siege 2\Dungeon Siege II Tool Kit\DungeonSiege2Mod.exe - Retail Mod)
-== Log category : Error
-== Session      : 7/7/2006 09:38:14 PM
-== Build        : Win2k (2.30.0.3926)
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-

Specialization of nonexistent template 'base_grenade' by template 'trap_star' found at fuel 'world:contentdb:templates:interactive:trap_star'
Failure to add template 'trap_star' to content database

Sharkull's picture

Almost looks like all the game resources aren't loading properly... Do some basic troublshooting (remove one modified file at a time to see which one is causing the problem). Then look for syntax errors (missing / extra braces...).

// Used in the tutorial barrel
[t:template,n:dg_1h_tutorial]
{
	specializes = base_dagger_template;
	doc = "tutorial dagger";

	[aspect]
	{
		model = m_w_dag_301-a;
		tracer_texture = b_sfx_tra_generic-28-simple;	//Make it look pretty -- a must for all steel objects
		[textures]
		{
			0 =  b_w_dag_301-a;
		}
	}
	[common]
	{
		screen_name = "Tutorial Jumper Dagger";
		allow_modifiers = false;
		is_pcontent_allowed = false;
	}
	[gui]
	{
		equip_requirements = melee:#item_level - 2.0;
		inventory_height = 2;
		inventory_width = 1;
		inventory_icon = b_gui_ig_i_w_dgr_301-a;
		item_level = 0.0;
	}
	[magic]
	{
		[enchantments]
		{
			[*]
			{
				alteration		= alter_melee_damage_source_percent;
				value			= 2.00;
				description		= "+200% Damage";
				duration		= #infinite;
				is_permanent		= true;
				is_single_instance	= false;
			}
/*
			[*]
			{
				alteration = alter_strength;
				value = 100;
				description = "+<value> Strength";
				duration ="#infinite;
				is_permanet = true;
				is_single_instance = false;
			}
*/
		}
	}
}

I don't think the engine liked me adding 100 str to a lvl 0.0 character :?

After comenting out the alter strength portion or the template, the game loaded the wpn_dagger.gas fine, and I not longer get exceptions, I guess somthing in this file is get cloned and thats the other items went missing from the DB. :roll:

Sharkull's picture

Look at the alter_strength block's duration... there's a " (quote) where there shouldn't be, and "is_permanent" contains a typo (is_permanet). :idea:

Sharkull wrote:
Look at the alter_strength block's duration... there's a " (quote) where there shouldn't be, and "is_permanent" contains a typo (is_permanet). :idea:

Fixed typo, still crashes if its not commented out.

Specialization of nonexistent template 'base_grenade' by template 'trap_star' found at fuel 'world:contentdb:templates:interactive:trap_star'
Failure to add template 'trap_star' to content database
Unable to create source game object from template 'mc_1h_mc' for cloning
Item failed to load during party load: mc_1h_mc. Aborting remainder of load.  [CQ]

+00:00:12.579 - Fuel: failed to parse file.  file = world\contentdb\templates\interactive\wpn_dagger.gas

Even though my mods never work, when I'm helping friends out with their mods, I've found that the slightest error can have devastating effects on an otherwise perfectly coded mod. You have to scan over the entire thing to make sure you didn't misspell something or press an extra key on accident.

Templarian Arch Sorcerer's picture

Lord_Claw_II wrote:
Even though my mods never work, when I'm helping friends out with their mods, I've found that the slightest error can have devastating effects on an otherwise perfectly coded mod. You have to scan over the entire thing to make sure you didn't misspell something or press an extra key on accident.

Even an extra space or a misplaced } or { can ruin the entire mod, for example : a liche that i made had a slight error in it, and that effects dragons of all colors and types that i made. Wink

Just a tip: What I do is I look at one type part of the code at a time (i.e. the "}, {" symbols) to make sure they are all in place and that there are no stragglers left out of place. If you go step-by-step like this, you will almost deffinitely find the problems, given there are any at all.

Extra spaces shouldn't bother it.

here is what i would change -


[t:template,n:dagger_1h_tutorial_jumper]   // use some other than the original template

	doc = "Tutorial Jumper Dagger";   //should use something different from original cause siege editor uses this for placement

	

			[*]
			{
				alteration = alter_strength;
				value = 100;
				description = "+<value> Strength";
				duration = #infinite; //"#infinite is bad
				is_permanent = true; // is_permanet misspelled
				is_single_instance = false;
			}

	

aim4it wrote:

Specialization of nonexistent template 'base_grenade' by template 'trap_star' found at fuel 'world:contentdb:templates:interactive:trap_star'
Failure to add template 'trap_star' to content database
Unable to create source game object from template 'mc_1h_mc' for cloning
Item failed to load during party load: mc_1h_mc. Aborting remainder of load.  [CQ]

mc_1h_mc is in wpn_mace.gas, it must have some extra " or { in it otherwise it should work fine

base_grenade should be in wpn_projectile.gas
trap_star is in wpn_arrow.gas

Anonymous wrote:
here is what i would change -


[t:template,n:dagger_1h_tutorial_jumper]   // use some other than the original template

	doc = "Tutorial Jumper Dagger";   //should use something different from original cause siege editor uses this for placement

	

			[*]
			{
				alteration = alter_strength;
				value = 100;
				description = "+<value> Strength";
				duration = #infinite; //"#infinite is bad
				is_permanent = true; // is_permanet misspelled
				is_single_instance = false;
			}

	

typos have already been fixed, and i haven't even extracted those other files, their untouched, there shouldn't be a problem with them.

Templarian Arch Sorcerer's picture

aim4it wrote:
Anonymous wrote:
here is what i would change -


[t:template,n:dagger_1h_tutorial_jumper]   // use some other than the original template

	doc = "Tutorial Jumper Dagger";   //should use something different from original cause siege editor uses this for placement

	

			[*]
			{
				alteration = alter_strength;
				value = 100;
				description = "+<value> Strength";
				duration = #infinite; //"#infinite is bad
				is_permanent = true; // is_permanet misspelled
				is_single_instance = false;
			}

	

typos have already been fixed, and i haven't even extracted those other files, their untouched, there shouldn't be a problem with them.

I had a similer problem in DS1. When i made a liche lord summon, it seemed to effect all of the skeletons and wraiths in the game, saying they were not there. I never even touched the skellys. I fixed it by taking the templates that were actually there, and added the missing templates to the monster file, forcing it to see the missing skellys. Wink Try finding the actual "missing"(not really) templates and put them with your dagger, so if it sees the dagger, then it MUST see the missing items, unless it is intentionally ignoring the templates. In that case, reinstall. Laughing out loud
/example

Sharkull's picture

aim4it,
One other thing comes to mind... Did you make changes to an extracted file (leaving all the other templates in the file alone)? If you just renamed your modified file to be the same as one of GPG's then you'll be overriding some of GPG's templates without providing replacement code...