|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: BUGZILLA report all bugs here![message #327572]
|
Sun, 03 November 2013 22:20
|
|
Moa |
|
Messages:58
Registered:September 2013 |
|
|
Kriploin r6554 was messing with these:
migrated from WORLDITEM* array to std::vector it was time to do that with gWorldItems too, all necessary functions which need to be adopted to gWorldItems std::vector type are also changed.
on debug build getting 3 different Assertions:
opening sector inventory: list erase iterator outside range
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::list >::erase(std::_List_const_iterator > > _Where) Line 1057 + 0x14 bytes C++
JA2_EN_Debug.exe!std::list >::pop_back() Line 932 + 0x59 bytes C++
JA2_EN_Debug.exe!std::list >::resize(unsigned int _Newsize) Line 863 + 0x8 bytes C++
JA2_EN_Debug.exe!OBJECTTYPE::Load(unsigned int hFile) Line 2890 C++
JA2_EN_Debug.exe!WORLDITEM::Load(unsigned int hFile) Line 2667 + 0xf bytes C++
JA2_EN_Debug.exe!LoadWorldItemsFromTempItemFile(short sMapX, short sMapY, char bMapZ, std::vector > & pData) Line 708 + 0x1a bytes C++
> JA2_EN_Debug.exe!BuildStashForSelectedSector(short sMapX, short sMapY, short sMapZ) Line 2126 + 0x19 bytes C++
JA2_EN_Debug.exe!CreateDestroyMapInventoryPoolButtons(unsigned char fExitFromMapScreen) Line 827 + 0x1d bytes C++
closing sector inventory: list insert iterator outside range
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::list >::_Insert(std::_List_const_iterator > > _Where, const StackedObjectData & _Val) Line 970 + 0x14 bytes C++
JA2_EN_Debug.exe!std::list >::_Insert > > >(std::_List_const_iterator > > _Where, std::_List_const_iterator > > _First, std::_List_const_iterator > > _Last, std::forward_iterator_tag __formal) Line 1042 + 0x37 bytes C++
JA2_EN_Debug.exe!std::list >::insert > > >(std::_List_const_iterator > > _Where, std::_List_const_iterator > > _First, std::_List_const_iterator > > _Last) Line 1005 C++
JA2_EN_Debug.exe!std::list >::_Assign > > >(std::_List_const_iterator > > _First, std::_List_const_iterator > > _Last, std::input_iterator_tag __formal) Line 951 + 0xa2 bytes C++
JA2_EN_Debug.exe!std::list >::assign > > >(std::_List_const_iterator > > _First, std::_List_const_iterator > > _Last) Line 939 C++
JA2_EN_Debug.exe!std::list >::operator=(const std::list > & _Right) Line 777 C++
JA2_EN_Debug.exe!OBJECTTYPE::operator=(const OBJECTTYPE & src) Line 1345 C++
JA2_EN_Debug.exe!WORLDITEM::operator=(const WORLDITEM & src) Line 180 C++
> JA2_EN_Debug.exe!SaveSeenAndUnseenItems() Line 1055 + 0x27 bytes C++
JA2_EN_Debug.exe!CreateDestroyMapInventoryPoolButtons(unsigned char fExitFromMapScreen) Line 896 C++
closing sector inventory (world loaded): list splice iterator outside range
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::list >::_Splice(std::_List_const_iterator > > _Where, std::list > & _Right, std::_List_const_iterator > > _First, std::_List_const_iterator > > _Last, unsigned int _Count) Line 1438 + 0x14 bytes C++
JA2_EN_Debug.exe!std::list >::splice(std::_List_const_iterator > > _Where, std::list > & _Right, std::_List_const_iterator > > _First, std::_List_const_iterator > > _Last) Line 1185 C++
JA2_EN_Debug.exe!OBJECTTYPE::SpliceData(OBJECTTYPE & sourceObject, unsigned int numToSplice, std::_List_iterator > > beginIter) Line 508 + 0xaf bytes C++
JA2_EN_Debug.exe!OBJECTTYPE::AddObjectsToStack(OBJECTTYPE & sourceObject, int howMany, SOLDIERTYPE * pSoldier, int slot, int cap, bool allowLBETransfer) Line 671 C++
JA2_EN_Debug.exe!OBJECTTYPE::PrivateRemoveObjectsFromStack(int howMany, OBJECTTYPE * destObject, SOLDIERTYPE * pSoldier, int slot, int cap) Line 749 + 0x21 bytes C++
JA2_EN_Debug.exe!OBJECTTYPE::MoveThisObjectTo(OBJECTTYPE & destObject, int numToMove, SOLDIERTYPE * pSoldier, int slot, int cap) Line 697 C++
JA2_EN_Debug.exe!InternalAddItemToPool(int * psGridNo, OBJECTTYPE * pObject, char bVisible, unsigned char ubLevel, unsigned short usFlags, char bRenderZHeightAboveLevel, char soldierID, int * piItemIndex) Line 2770 C++
JA2_EN_Debug.exe!AddItemToPool(int sGridNo, OBJECTTYPE * pObject, char bVisible, unsigned char ubLevel, unsigned short usFlags, char bRenderZHeightAboveLevel, char soldierID) Line 2683 + 0x28 bytes C++
JA2_EN_Debug.exe!RefreshWorldItemsIntoItemPools(std::vector > & pItemList, int iNumberOfItems) Line 848 + 0x3b bytes C++
JA2_EN_Debug.exe!RefreshItemPools(std::vector > & pItemList, int iNumberOfItems) Line 359 + 0xd bytes C++
> JA2_EN_Debug.exe!SaveSeenAndUnseenItems() Line 1060 + 0x14 bytes C++
JA2_EN_Debug.exe!CreateDestroyMapInventoryPoolButtons(unsigned char fExitFromMapScreen) Line 896 C++
Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: BUGZILLA report all bugs here![message #327806]
|
Sat, 09 November 2013 09:32
|
|
Deleted. |
|
Messages:2657
Registered:December 2012 Location: Russian Federation |
|
|
Is this a bug?
When i plant mines, my mercs and militia remember them and they will avoid running through that tile, unless they are explicitly told to go there.
But after save/load, they forget it and start exploding (But ALT+SHIFT+V still shows planted mines after save/load).
Maybe this information should be saved too?
[playing with current svn gamedir/exe ]
[Updated on: Sat, 09 November 2013 09:44] by Moderator Report message to a moderator
|
|
|
|
|
|
|
Re: BUGZILLA report all bugs here![message #327812]
|
Sat, 09 November 2013 13:26
|
|
Deleted. |
|
Messages:2657
Registered:December 2012 Location: Russian Federation |
|
|
Quote:
My mercs did never ever try to avoid land mines that have been placed recently.
My experience with this is completely different. Just tested with r6567.
Mercs and militia ALWAYS avoid recently planted mines.
And after save/load (or leaving sector) they completely forget about them.
UPDATE:
Problem was with MAP_ELEMENT->uiFlags (MAPELEMENT_PLAYER_MINE_PRESENT) not saved as MODIFY_MAP.
[Updated on: Sat, 09 November 2013 17:02] by Moderator Report message to a moderator
|
|
|
|
|