Jump to content

Photo

opcode 234 wrong desc (affects EE and BG)


1 reply to this topic

#1 Avenger

Avenger
  • Modders
  • 3799 posts
  • Gender:Male
  • Location:Hungary

Posted 11 December 2017 - 11:54 PM

The amount/restriction type field (param2) has the order wrong.

 

The high word (3rd and 4th bytes) affect the restriction type (0, 1, 2)

The low word (1st and 2nd bytes) affect the number of usable slots (3 is the maximum by the way, as there are 3 resource fields in eff v2.0). 

 

Example in spwi908, which has no restriction (chain contingency) :  00a2h Parameter 2      00000003

 

That is a WRITE_LONG 3 or WRITE_BYTE 3, so low word, first byte, whatever we call it :)

 

Also a typo in the 0 type: Contingeny 



#2 lynx

lynx
  • Modders
  • 3110 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 12 December 2017 - 01:07 AM

Yep, thanks. Updated.


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users