Gwaihir Posted December 13, 2019 Share Posted December 13, 2019 The multiclass shaman is causing my game to crash. I'm using version 0.78sd9.2 on an EET install. I created a shaman/ranger and a shaman/thief, they have the 'initialize shamanic spellcasting' ability, i can also cast spirit ward, but after clicking on the menu (inventory, character or spellbook) the game crashes. I could open those menus prior to using the initialize ability. If it is of any help, i put in spoiler tags the analisys of the crash dump file generated by the game: Spoiler Loading Dump File [C:\Users\thoro\Documents\Infinity Engine - Enhanced Edition\crash\dump.2.5.16.6.0007.dmp] User Mini Dump File: Only registers, stack and portions of memory are available Symbol search path is: srv* Executable search path is: Windows 10 Version 18362 MP (4 procs) Free x86 compatible Product: WinNt, suite: SingleUserTS 18362.239.x86fre.19h1_release_svc_prod1.190628-1641 Machine Name: Debug session time: Fri Dec 13 14:42:34.000 2019 (UTC + 1:00) System Uptime: not available Process Uptime: 0 days 0:04:14.000 ................................................................ ................. This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (2d60.27dc): Access violation - code c0000005 (first/second chance not available) For analysis of this file, run !analyze -v eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000718 eip=77221d9c esp=0019e888 ebp=0019e8f8 iopl=0 nv up ei pl nz na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00200206 ntdll!NtWaitForSingleObject+0xc: 77221d9c c20c00 ret 0Ch 0:000> !analyze -v ******************************************************************************* * * * Exception Analysis * * * ******************************************************************************* KEY_VALUES_STRING: 1 Key : AV.Dereference Value: NullClassPtr Key : AV.Fault Value: Read Key : Timeline.Process.Start.DeltaSec Value: 254 PROCESSES_ANALYSIS: 1 SERVICE_ANALYSIS: 1 STACKHASH_ANALYSIS: 1 TIMELINE_ANALYSIS: 1 Timeline: !analyze.Start Name: <blank> Time: 2019-12-13T14:14:21.41Z Diff: 1907041 mSec Timeline: Dump.Current Name: <blank> Time: 2019-12-13T13:42:34.0Z Diff: 0 mSec Timeline: Process.Start Name: <blank> Time: 2019-12-13T13:38:20.0Z Diff: 254000 mSec DUMP_CLASS: 2 DUMP_QUALIFIER: 400 CONTEXT: (.ecxr) eax=00000023 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000 eip=004fb980 esp=0019f22c ebp=0019f570 iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00210246 Baldur!SDL_GetNumAudioDrivers+0x65b80: 004fb980 80793500 cmp byte ptr [ecx+35h],0 ds:002b:00000035=?? Resetting default scope FAULTING_IP: Baldur!SDL_GetNumAudioDrivers+65b80 004fb980 80793500 cmp byte ptr [ecx+35h],0 EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 004fb980 (Baldur!SDL_GetNumAudioDrivers+0x00065b80) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 00000000 Parameter[1]: 00000035 Attempt to read from address 00000035 DEFAULT_BUCKET_ID: NULL_CLASS_PTR_READ PROCESS_NAME: Baldur.exe FOLLOWUP_IP: Baldur!SDL_GetNumAudioDrivers+65b80 004fb980 80793500 cmp byte ptr [ecx+35h],0 READ_ADDRESS: 00000035 ERROR_CODE: (NTSTATUS) 0xc0000005 - L'istruzione a 0x%p ha fatto riferimento alla memoria a 0x%p. La memoria non poteva essere %s. EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - L'istruzione a 0x%p ha fatto riferimento alla memoria a 0x%p. La memoria non poteva essere %s. EXCEPTION_CODE_STR: c0000005 EXCEPTION_PARAMETER1: 00000000 EXCEPTION_PARAMETER2: 00000035 WATSON_BKT_PROCSTAMP: 5b32cc0d WATSON_BKT_PROCVER: 0.1.0.0 PROCESS_VER_PRODUCT: Baldur's Gate II: Enhanced Edition WATSON_BKT_MODULE: Baldur.exe WATSON_BKT_MODSTAMP: 5b32cc0d WATSON_BKT_MODOFFSET: fb980 WATSON_BKT_MODVER: 0.1.0.0 MODULE_VER_PRODUCT: Baldur's Gate II: Enhanced Edition BUILD_VERSION_STRING: 18362.239.x86fre.19h1_release_svc_prod1.190628-1641 MODLIST_WITH_TSCHKSUM_HASH: c8d8214783d2aac17f226434d746ac25b7910b26 MODLIST_SHA1_HASH: 1e054661d89555874cb5a06e3371b6d0d6892f51 DUMP_FLAGS: 18 DUMP_TYPE: 1 ANALYSIS_SESSION_HOST: ROG1 ANALYSIS_SESSION_TIME: 12-13-2019 15:14:21.0041 ANALYSIS_VERSION: 10.0.18362.1 amd64fre THREAD_ATTRIBUTES: BUGCHECK_STR: APPLICATION_FAULT_NULL_CLASS_PTR_READ_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ PRIMARY_PROBLEM_CLASS: APPLICATION_FAULT PROBLEM_CLASSES: ID: [0n313] Type: [@ACCESS_VIOLATION] Class: Addendum Scope: BUCKET_ID Name: Omit Data: Omit PID: [Unspecified] TID: [0x27dc] Frame: [0] : Baldur!SDL_GetNumAudioDrivers ID: [0n285] Type: [INVALID_POINTER_READ] Class: Primary Scope: BUCKET_ID Name: Add Data: Omit PID: [Unspecified] TID: [0x27dc] Frame: [0] : Baldur!SDL_GetNumAudioDrivers ID: [0n309] Type: [NULL_CLASS_PTR_DEREFERENCE] Class: Primary Scope: BUCKET_ID Name: Add Data: Omit PID: [Unspecified] TID: [0x27dc] Frame: [0] : Baldur!SDL_GetNumAudioDrivers ID: [0n310] Type: [NULL_CLASS_PTR_READ] Class: Primary Scope: DEFAULT_BUCKET_ID (Failure Bucket ID prefix) BUCKET_ID Name: Add Data: Omit PID: [0x2d60] TID: [0x27dc] Frame: [0] : Baldur!SDL_GetNumAudioDrivers LAST_CONTROL_TRANSFER: from 0070a3b3 to 004fb980 STACK_TEXT: WARNING: Stack unwind information not available. Following frames may be wrong. 0019f570 0070a3b3 0019f8a8 0019f8ac 0019f8f8 Baldur!SDL_GetNumAudioDrivers+0x65b80 0019f9e4 006531df 00000000 41650015 009386e4 Baldur!SDL_GetNumAudioDrivers+0x2745b3 0019fa04 006515c9 00000001 00000004 08107798 Baldur!SDL_GetNumAudioDrivers+0x1bd3df 0019fa18 005146db 00000000 08078ab0 038135e8 Baldur!SDL_GetNumAudioDrivers+0x1bb7c9 0019fa2c 0075f80f 00000004 0075f780 00000018 Baldur!SDL_GetNumAudioDrivers+0x7e8db 0019fa50 004cefcf 038135e8 038135e8 08bbd078 Baldur!SDL_GetNumAudioDrivers+0x2c9a0f 0019fa74 004cc1d6 00000000 000000c8 038135e8 Baldur!SDL_GetNumAudioDrivers+0x391cf 0019fb10 004b63bb 038135e8 038135e8 0019fb9c Baldur!SDL_GetNumAudioDrivers+0x363d6 0019fb20 004ceb13 038135e8 0019fbe4 00000000 Baldur!SDL_GetNumAudioDrivers+0x205bb 0019fb9c 004cf5b2 0019fbe4 00000008 038135e8 Baldur!SDL_GetNumAudioDrivers+0x38d13 0019fbc4 004b64ea 0019fbe4 00000010 00000008 Baldur!SDL_GetNumAudioDrivers+0x397b2 0019fbf0 0074611e 038135e8 00000000 00000000 Baldur!SDL_GetNumAudioDrivers+0x206ea 0019fc10 00756ce9 0003fa6b 0019fe4c 0019fd0c Baldur!SDL_GetNumAudioDrivers+0x2b031e 0019fc30 007503be 07a6b1b0 00000001 00000001 Baldur!SDL_GetNumAudioDrivers+0x2c0ee9 0019fc74 00755c37 009822bc 0019fd0c 0019fe4c Baldur!SDL_GetNumAudioDrivers+0x2ba5be 0019fd20 007595eb 009822bc 0019fe4c 0019fd50 Baldur!SDL_GetNumAudioDrivers+0x2bfe37 0019fd40 0051443f 0019fe4c 0019fd50 00000000 Baldur!SDL_GetNumAudioDrivers+0x2c37eb 0019fd64 0068e70b 0019fe4c 037d5968 037d5968 Baldur!SDL_GetNumAudioDrivers+0x7e63f 0019fdec 00791c03 0019fe4c 0019fef0 037d5968 Baldur!SDL_GetNumAudioDrivers+0x1f890b 0019fec0 0079308f 0379de88 00516fe6 0019fef0 Baldur!SDL_GetNumAudioDrivers+0x2fbe03 0019fed8 00898d2f 00000001 0019fef0 0379de88 Baldur!SDL_GetNumAudioDrivers+0x2fd28f 0019ff24 0085ec76 00400000 00000000 037833c7 Baldur!SDL_malloc+0x11d5f 0019ff70 76c86359 002e3000 76c86340 0019ffdc Baldur!SDL_SaveBMP_RW+0x4d726 0019ff80 77217b74 002e3000 e1eb6925 00000000 kernel32!BaseThreadInitThunk+0x19 0019ffdc 77217b44 ffffffff 77238f13 00000000 ntdll!__RtlUserThreadStart+0x2f 0019ffec 00000000 0085eb6f 002e3000 00000000 ntdll!_RtlUserThreadStart+0x1b THREAD_SHA1_HASH_MOD_FUNC: d6231cc5c2b172985f4e693265868086e853eacf THREAD_SHA1_HASH_MOD_FUNC_OFFSET: e44f47f594c859a89c3bbb3dee98b9b80ef6128a THREAD_SHA1_HASH_MOD: e1f4a8d5e04e78668d928253054f4fe012af1162 FAULT_INSTR_CODE: 357980 SYMBOL_STACK_INDEX: 0 SYMBOL_NAME: Baldur!SDL_GetNumAudioDrivers+65b80 FOLLOWUP_NAME: MachineOwner MODULE_NAME: Baldur IMAGE_NAME: Baldur.exe DEBUG_FLR_IMAGE_TIMESTAMP: 5b32cc0d STACK_COMMAND: ~0s ; .ecxr ; kb FAILURE_BUCKET_ID: NULL_CLASS_PTR_READ_c0000005_Baldur.exe!SDL_GetNumAudioDrivers BUCKET_ID: APPLICATION_FAULT_NULL_CLASS_PTR_READ_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ_Baldur!SDL_GetNumAudioDrivers+65b80 FAILURE_EXCEPTION_CODE: c0000005 FAILURE_IMAGE_NAME: Baldur.exe BUCKET_ID_IMAGE_STR: Baldur.exe FAILURE_MODULE_NAME: Baldur BUCKET_ID_MODULE_STR: Baldur FAILURE_FUNCTION_NAME: SDL_GetNumAudioDrivers BUCKET_ID_FUNCTION_STR: SDL_GetNumAudioDrivers BUCKET_ID_OFFSET: 65b80 BUCKET_ID_MODTIMEDATESTAMP: 5b32cc0d BUCKET_ID_MODCHECKSUM: 0 BUCKET_ID_MODVER_STR: 0.1.0.0 BUCKET_ID_PREFIX_STR: APPLICATION_FAULT_NULL_CLASS_PTR_READ_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ_ FAILURE_PROBLEM_CLASS: APPLICATION_FAULT FAILURE_SYMBOL_NAME: Baldur.exe!SDL_GetNumAudioDrivers WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/Baldur.exe/0.1.0.0/5b32cc0d/Baldur.exe/0.1.0.0/5b32cc0d/c0000005/000fb980.htm?Retriage=1 TARGET_TIME: 2019-12-13T13:42:34.000Z OSBUILD: 18362 OSSERVICEPACK: 329 SERVICEPACK_NUMBER: 0 OS_REVISION: 0 SUITE_MASK: 256 PRODUCT_TYPE: 1 OSPLATFORM_TYPE: x86 OSNAME: Windows 10 OSEDITION: Windows 10 WinNt SingleUserTS OS_LOCALE: USER_LCID: 0 OSBUILD_TIMESTAMP: 2035-07-27 03:33:32 BUILDDATESTAMP_STR: 190628-1641 BUILDLAB_STR: 19h1_release_svc_prod1 BUILDOSVER_STR: 10.0.18362.239.x86fre.19h1_release_svc_prod1.190628-1641 ANALYSIS_SESSION_ELAPSED_TIME: 1728 ANALYSIS_SOURCE: UM FAILURE_ID_HASH_STRING: um:null_class_ptr_read_c0000005_baldur.exe!sdl_getnumaudiodrivers FAILURE_ID_HASH: {56d14e4d-4f38-e806-ae41-a410ee4dede4} Followup: MachineOwner WeiDU.log Quote Link to comment
subtledoctor Posted December 15, 2019 Author Share Posted December 15, 2019 (edited) I couldn't reproduce a game crash, but then I've been working with the 0.79 series. Both versions, I think, had some problems with cloning multiclass sorcerers to deity-kitted sorcerer/cleric kits. That led me to discover an issue with TnB multiclass sorcerers, which led to a part of that mod being re-written, which caused an issue with their integration with FnP, which led to some changes in the FnP_Spontaneous function, which led to multiclass shamans not working, which led to the discovery of a problem with multiclass rangers, which... You get the idea. I've been playing whack-a-mole. Too many systems that interact with other systems, and making a change here leads to disruptions there, there and there. But, I'm pretty sure I've nailed them all down. I just updated this mod to version 0.79.1, and tested it with the new TnB v0.8.44, and rolled up as many relevant kits as I could - multishamans, druid/sorcerers, sorcerer/clerics, etc. They all work fine. So hopefully they will continue to work fine, and will work fine for all of you, and will work fine with whatever other mods you throw at the game. So, @Gwaihir, my suggestion is to use 0.79.1. Edited December 15, 2019 by subtledoctor Quote Link to comment
Gwaihir Posted December 15, 2019 Share Posted December 15, 2019 Downloading the new versions right now, going to do a full reinstall. I'll let you know about any problems. Thank you very much Doc! Quote Link to comment
subtledoctor Posted December 16, 2019 Author Share Posted December 16, 2019 (edited) Apologies. But this needs another quick update. I realized that, since I folded multiclass shamans into the broader multi-spontaneous function, I successfully tested their ability to cast spells spontaneously, but they had lost the Shaman Dance and Detect Illusions abilities. I needed to add a patch to their particular invocation of the spontaneous function, in order for them to get the extra skills. While doing that, I subsequently realized that the new spontaneous function only works with the sphere system, while multiclass shamans are meant to work both with and without the sphere system. So I needed to graft on a parallel, alternative system (basically, the old one from v0.78.9) to handle multishamans in the absence of the sphere system. Those things having been done, I have updated the mod again, to v0.79.2. If you are not going to play a multiclass shaman, then you can ignore this one and stick with 0.79.1 until the next time you happen to update your install. Edited December 16, 2019 by subtledoctor Quote Link to comment
Endarire Posted December 21, 2019 Share Posted December 21, 2019 Multiclass Shaman: Is Shaman/Sor possible? If so, is it included? My friend really wants to play one! Quote Link to comment
subtledoctor Posted December 21, 2019 Author Share Posted December 21, 2019 (edited) 12 hours ago, Endarire said: Multiclass Shaman: Is Shaman/Sor possible? If so, is it included? My friend really wants to play one! No... the faux-spontaneous system would have to be duplicated in its totality, but with different resources, and different stats, etc. I’m not saying it couldn't be done (anyone can feel free to try), but it would be way more complex, and it would act weird in the UI, and it would be more prone to bugs. I don’t have the resources to make the attempt. Edited December 21, 2019 by subtledoctor Quote Link to comment
Jarno Mikkola Posted December 21, 2019 Share Posted December 21, 2019 Aka all you subtledoctor are saying is that it wouldn't ever be a /Sorcerer, let alone a mix with a Shaman one. Quote Link to comment
subtledoctor Posted December 21, 2019 Author Share Posted December 21, 2019 26 minutes ago, Jarno Mikkola said: Aka all you subtledoctor are saying is that it wouldn't ever be a /Sorcerer, let alone a mix with a Shaman one. I'm saying the mod does not include a shaman/sorcerer, and I'm not about to make one (though it would be technically possible). There are plenty of other sorcerer and shaman multiclasses though - sorcerer/cleric, sorcerer/druid, sorcerer/ranger, shaman/mage, shaman/ranger, shaman/monk, etc. Quote Link to comment
Jarno Mikkola Posted December 21, 2019 Share Posted December 21, 2019 So what you are not saying is, that there will definitely not be a Mage/Cleric/Sorcerer/Shaman then ? Quote Link to comment
Gwaihir Posted December 22, 2019 Share Posted December 22, 2019 With v.0.79.2 the 'Apply sphere system' component fails with this error: #ERROR: Failure("Unknown macro: vanilla_cleric_spheres") SETUP-FAITHS_AND_POWERS.DEBUG Quote Link to comment
subtledoctor Posted December 22, 2019 Author Share Posted December 22, 2019 3 hours ago, Gwaihir said: With v.0.79.2 the 'Apply sphere system' component fails with this error: #ERROR: Failure("Unknown macro: vanilla_cleric_spheres") Weird, I have never seen such an error. But I should have, for it to exist. I've made a change that should fix it, and also fixed the kitlist/kitids reading issues, in v0.79.3. Quote Link to comment
Gwaihir Posted December 22, 2019 Share Posted December 22, 2019 38 minutes ago, subtledoctor said: I've made a change that should fix it It did Quote Link to comment
Endarire Posted December 23, 2019 Share Posted December 23, 2019 (edited) EDIT: Cleric/Mage has Druid/Sor and Shaman/Mage. Oopsies! Also, I've attached my WeiDU logs from the installation should such matter. Having installed a long list of mods successfully this time including multiclass Clerics, Druids, Shamans, and Sors, I don't see any kit that for Druid/Sor. Where to find it? (The component of Sors being able to select spells via dialog didn't install, perhaps preventing that from working.) WeiDU.log WeiDU.log Edited December 23, 2019 by Endarire Quote Link to comment
subtledoctor Posted December 23, 2019 Author Share Posted December 23, 2019 5 hours ago, Endarire said: (The component of Sors being able to select spells via dialog didn't install, perhaps preventing that from working.) Glad you found the druid/sorc. FYI the ‘Spell Selection by Dialogue’ component of TnB is not needed for any of this. Multiclass sorcerers and shamans (and, with the sphere system, single-class shamans as well) use a UI system to learn spells. Quote Link to comment
Endarire Posted December 24, 2019 Share Posted December 24, 2019 (edited) We made a Human Fighter/Cleric with the standard F&P spheres system and he was only able to, at level 1, cast cure light and bless. Unlike our Sor/Dru, he didn't know any other spells of any level. (At higher levels, he know only universal sphere spells.) There was no option to choose multiclass Fighter/Clerics of a specific deity, but single classed Clerics could be. Intentional? Edited December 25, 2019 by Endarire Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.