Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: interactive actions
Re: New feature: interactive actions[message #346574 is a reply to message #346570]
|
Wed, 10 August 2016 22:21
|
|
silversurfer |
|
Messages:2791
Registered:May 2009 |
|
|
Unfortunately it still crashes with the same error message.
Stack trace:
Toggle Spoiler
JA2_EN_Debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t * file, unsigned int line) Line 15 C++
JA2_EN_Debug.exe!std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > >::_Compat(const std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > > & _Right) Line 238 + 0x14 bytes C++
JA2_EN_Debug.exe!std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > >::operator==(const std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > > & _Right) Line 203 C++
JA2_EN_Debug.exe!std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > >::operator!=(const std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > > & _Right) Line 208 + 0xc bytes C++
JA2_EN_Debug.exe!std::vector<unsigned short,std::allocator<unsigned short> >::erase(std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > > _First_arg, std::_Vector_const_iterator<std::_Vector_val<unsigned short,std::allocator<unsigned short> > > _Last_arg) Line 1194 + 0xc bytes C++
JA2_EN_Debug.exe!std::vector<unsigned short,std::allocator<unsigned short> >::clear() Line 1218 + 0xaa bytes C++
> JA2_EN_Debug.exe!INTERACTIVE_STRUCTURE::reset() Line 133 C++
JA2_EN_Debug.exe!interactiveactionsStartElementHandle(void * userData, const char * name, const char * * atts) Line 56 C++
JA2_EN_Debug.exe!_XML_Parse() + 0x325d bytes C
JA2_EN_Debug.exe!_XML_Parse() + 0x3d9f bytes C
JA2_EN_Debug.exe!_XML_Parse() + 0x541b bytes C
JA2_EN_Debug.exe!_XML_Parse() + 0x5c1a bytes C
JA2_EN_Debug.exe!_XML_Parse() + 0x5e2f bytes C
JA2_EN_Debug.exe!_XML_ParseBuffer() + 0x5c bytes C
JA2_EN_Debug.exe!_XML_Parse() + 0x104 bytes C
JA2_EN_Debug.exe!ReadInInteractiveActionsStats(char * fileName) Line 233 + 0x13 bytes C++
JA2_EN_Debug.exe!LoadExternalGameplayData(char * directoryName) Line 396 + 0xc bytes C++
JA2_EN_Debug.exe!InitializeJA2() Line 1456 + 0x11 bytes C++
JA2_EN_Debug.exe!InitScreenHandle() Line 472 + 0x5 bytes C++
JA2_EN_Debug.exe!GameLoop() Line 398 + 0x12 bytes C++
JA2_EN_Debug.exe!SGPGameLoop() Line 1940 C++
JA2_EN_Debug.exe!CallGameLoop(bool wait) Line 1983 C++
JA2_EN_Debug.exe!TimerActivatedCallback(int timer, void * state) Line 905 + 0x7 bytes C++
JA2_EN_Debug.exe!InnerTimerNotify(int timer) Line 668 + 0x36 bytes C++
JA2_EN_Debug.exe!BroadcastTimerNotify(int timer) Line 678 + 0x10 bytes C++
JA2_EN_Debug.exe!JA2NotifyThread(void * lpParam) Line 334 + 0x7 bytes C++
kernel32.dll!76e238f4()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!77e65de3()
ntdll.dll!77e65dae()
Sorry, I'm no developer so I won't be of much help. The code crashes when trying to run tileindexvector.clear( ) inside pData->curArray[pData->curIndex].reset( ).
clear( ) runs function erase( ) which uses begin and end of a vector. The vector isn't initialized yet so begin and end are invalid pointers which causes function erase( ) to crash. At least that is how it looks to me.
Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MODReport message to a moderator
|
|
|
|
|
|
New feature: interactive actions
By: Flugente on Tue, 02 August 2016 21:21
|
|
|
Re: New feature: interactive actions
By: Flugente on Tue, 02 August 2016 21:21
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: ratpaz on Tue, 02 August 2016 22:07
|
|
|
Re: New feature: interactive actions
By: Kerghnox on Wed, 03 August 2016 00:55
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 03 August 2016 02:15
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 03 August 2016 13:33
|
|
|
Re: New feature: interactive actions
By: Elvis_A on Wed, 03 August 2016 21:21
|
|
|
Re: New feature: interactive actions
By: Slax on Thu, 04 August 2016 00:53
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Fri, 05 August 2016 21:52
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 10 August 2016 01:42
|
|
|
Re: New feature: interactive actions
By: Flugente on Wed, 10 August 2016 20:57
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Flugente on Thu, 11 August 2016 01:13
|
|
|
Re: New feature: interactive actions
By: Julix on Thu, 11 August 2016 08:44
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
By: Kitty on Wed, 19 February 2020 03:36
|
|
|
Re: New feature: interactive actions
By: San-Cat on Sat, 30 May 2020 19:10
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
|
|
Re: New feature: interactive actions
|
Goto Forum:
Current Time: Sun Dec 01 06:43:06 GMT+2 2024
Total time taken to generate the page: 0.01156 seconds
|