Jump to content

[BUG v34.3] BG:EE - Carsa malformed floater


Recommended Posts

In Firewine:

1. Speak to Carsa, end the dialogue such that she's random walking around the gully without invoking Kazah's name

2. Force attack Carsa, kill her, get an invalid sttref floater: "carsa_say_strref_8"

xyMRQ6h.jpg

Guessing the error is in /tactical_bg1/carsa.tpa, but I don't know weidu syntax well enough to know precisely where

	COPY_EXISTING "%tutu_var%carsa.dlg" override
		GET_OFFSET_ARRAY say_arr 0xc 4 0x8 4 0 0 0x10
		PHP_EACH say_arr AS say_ind=>say_off BEGIN
			READ_LONG say_off strref
			SET $carsa_say_strref("%say_ind%")=strref
			GET_STRREF strref string
			SPRINT $carsa_say("%say_ind%") "%string%"
		END
		GET_OFFSET_ARRAY resp_arr 0x14 4 0x10 4 0 0 0x20
		PHP_EACH resp_arr AS resp_ind=>resp_off BEGIN
			READ_LONG (0x4+resp_off) strref
			SET $carsa_response_strref("%resp_ind%")=strref
			GET_STRREF strref string
			SPRINT $carsa_response("%resp_ind%") "%string%"
		END

 

win10 x64

stratagems 34.3

weidu 249.0

WeiDU.log

Edited by agris
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...