|
|
|
|
|
|
|
|
|
|
|
|
|
Re: BUGS: Tais' SCI's[message #301979]
|
Mon, 19 March 2012 18:15
|
|
ColCool |
|
Messages:12
Registered:March 2011 |
|
|
DepressivesBrotColCoolOh and another thing. New DG mercs dont show up in aimnas. Just in case this is not intended. That's because v21 is way older than the addition of the DG mercs. Future versions will fully support them.
just to be sure: I am right to assume that the version of aimnas is not related to my fullscreen freeze?
[Updated on: Mon, 19 March 2012 18:17] by Moderator Report message to a moderator
|
Private
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: BUGS: Tais' SCI's[message #302292]
|
Sat, 24 March 2012 06:02
|
|
medicinman |
|
Messages:38
Registered:July 2004 Location: FL |
|
|
Tais unstable 5088 with Arulco revisited (map mod)
When viewing Hezi SM-1 (.30 car) and going to advanced properties tab (doesn't matter if in sector inventory or merc inventory):
Runtime error
vobject.cpp
line - 869
BitVideoObjecttoBuffer
Video object index is larger than the number of subimages
ESC to desktop without problems.
[Updated on: Sat, 24 March 2012 06:03] by Moderator Report message to a moderator
|
Private 1st Class
|
|
|
|
|
|
|
|
|
|
|
Re: BUGS: Tais' SCI's[message #302390]
|
Sun, 25 March 2012 22:50
|
|
DepressivesBrot |
|
Messages:3658
Registered:July 2009 |
|
|
Found the problem: Both guns and magazines use DisplayMagazine (Laptop\BobbyRGuns.cpp ll. 1989) to display capacity and both try to get their capacity from the Magazine array whereas guns should get it from the Weapon array.
>>>Patch<<<Toggle SpoilerIndex: SVN_Source_Official/Laptop/BobbyRGuns.cpp
===================================================================
--- SVN_Source_Official/Laptop/BobbyRGuns.cpp (revision 5116)
+++ SVN_Source_Official/Laptop/BobbyRGuns.cpp (working copy)
@@ -1991,7 +1991,11 @@
CHAR16 sTemp[20];
DrawTextToScreen(BobbyRText[BOBBYR_GUNS_MAGAZINE], BOBBYR_ITEM_WEIGHT_TEXT_X, (UINT16)usPosY, 0, BOBBYR_ITEM_DESC_TEXT_FONT, BOBBYR_STATIC_TEXT_COLOR, FONT_MCOLOR_BLACK, FALSE, LEFT_JUSTIFIED);
- swprintf(sTemp, L"%3d %s", Magazine[Item[usIndex].ubClassIndex].ubMagSize, pMessageStrings[ MSG_ROUNDS_ABBREVIATION ] );
+ if(Item[usIndex].usItemClass & IC_BOBBY_GUN){
+ swprintf(sTemp, L"%3d %s", Weapon[Item[usIndex].ubClassIndex].ubMagSize, pMessageStrings[ MSG_ROUNDS_ABBREVIATION ] );
+ }else{
+ swprintf(sTemp, L"%3d %s", Magazine[Item[usIndex].ubClassIndex].ubMagSize, pMessageStrings[ MSG_ROUNDS_ABBREVIATION ] );
+ }
DrawTextToScreen(sTemp, BOBBYR_ITEM_WEIGHT_NUM_X, (UINT16)usPosY, BOBBYR_ITEM_WEIGHT_NUM_WIDTH, BOBBYR_ITEM_DESC_TEXT_FONT, BOBBYR_ITEM_DESC_TEXT_COLOR, FONT_MCOLOR_BLACK, FALSE, RIGHT_JUSTIFIED);
usPosY += usFontHeight + 2;
return(usPosY);
Report message to a moderator
|
|
|
|
|