BUG Can't Pick Up Items[message #357594]
|
Wed, 26 June 2019 00:52
|
|
fightcancer |
|
Messages:214
Registered:February 2005 Location: USA |
|
|
So many times when I enter tactical view in a sector (Build 8675), several items will be inaccessible under the "Show Items" section of the Strategic view. These inaccessible items are not shown anywhere on the mini map at the bottom right when I hover over the items. That means they're not visible anywhere on the map--even using cheats with Alt + E. These items seem to be lost forever, but still visible in sector inventory.
Any fix?
[Updated on: Wed, 26 June 2019 00:54] Report message to a moderator
|
Sergeant 1st Class
|
|
|
|
|
Re: BUG Can't Pick Up Items[message #357600 is a reply to message #357596]
|
Thu, 27 June 2019 12:15
|
|
townltu |
|
Messages:384
Registered:December 2017 Location: here |
|
|
The workaround to 1st load the sector before dropping any stuff in sector inventory has a potential flaw,
imagine you expect an attack in another sector soon so you called the militia into a building and blocked the exit,
but that sector is unloaded when you load another, and the militia is distributed again over the maps default spots.
It happened several times here that there was literally no time left to move the militia back.
Btw that brings up the questions:
1) Am I right that the the game take the scripted soldiers positions from the save game
or will it still load those positions from the genuine map files data
2) are those values stored as coordinates, or as directly as the tiles number?
(the number wee see in game when we hit [F] with cursor over the specific tile)
[Updated on: Thu, 27 June 2019 12:22] Report message to a moderator
|
Master Sergeant
|
|
|
|
|
|
|
|
|
|
Re: BUG Can't Pick Up Items[message #357843 is a reply to message #357841]
|
Mon, 12 August 2019 04:56
|
|
Deleted. |
|
Messages:2663
Registered:December 2012 Location: Russian Federation |
|
|
@MH17
I would probably add some debug message so it's no just silently changed but some information stored in debug log that item's position was wrong, with item's ID and other needed data.
Since NOWHERE is TileIsOutOfBounds(), it is probably auto replaced with gMapInformation.sCenterGridNo somewhere later in the code, unlike sGridNo == 0 which is technically ok value.
[Updated on: Mon, 12 August 2019 04:58]
Left this community.Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: BUG Can't Pick Up Items[message #364748 is a reply to message #357594]
|
Sat, 09 July 2022 14:01
|
|
Shadooow |
|
Messages:109
Registered:April 2009 Location: Czech Republic |
|
|
fightcancer wrote on Tue, 25 June 2019 23:52So many times when I enter tactical view in a sector (Build 8675), several items will be inaccessible under the "Show Items" section of the Strategic view. These inaccessible items are not shown anywhere on the mini map at the bottom right when I hover over the items. That means they're not visible anywhere on the map--even using cheats with Alt + E. These items seem to be lost forever, but still visible in sector inventory.
Any fix?
I know this cos I fixed it in unstable version. Once the bug happens it is not possible to retrieve the items, not without compiling special version of JA2.exe which would let you do it.
Unfortunately I don't remember the exact repro, but I am sure I wrote it into SVN changelog when commiting that fix, so maybe check there, if you find it it should give you an idea how it is happening and thus how to avoid that to happen.
Actually there were at least 2 different issues, I now remember the other one - it was stacking you items with grayed (non-pickable) item in sector inventory. But there was other issue.
Unfortunately players these days have two awful choices: either play outdated, unsupported version full of bugs that has relatively good balance, or play newere supported, bugfree version that suffers from feature creep and is unbalanced to the point it is not even playable...
[Updated on: Sat, 09 July 2022 14:02] Report message to a moderator
|
Sergeant
|
|
|
Re: BUG Can't Pick Up Items[message #364764 is a reply to message #364748]
|
Sat, 30 July 2022 19:44
|
|
fightcancer |
|
Messages:214
Registered:February 2005 Location: USA |
|
|
Shadooow wrote on Sat, 09 July 2022 11:01Unfortunately players these days have two awful choices: either play outdated, unsupported version full of bugs that has relatively good balance, or play newere supported, bugfree version that suffers from feature creep and is unbalanced to the point it is not even playable...
Thanks for the info!
I'm guessing that of the 2 options listed above, the latter is playing with the newest release of JA2 1.13. Is that right?
Report message to a moderator
|
Sergeant 1st Class
|
|
|