Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/16/21, 06:26 PM   #1
Phuein's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 132
Post [notabug] SetText() with gsub operation crashes game

I have a couple of undocumented functions from the old author of the Notebook 2018 addon. They look like:
function NBUI.ProtectText(text)
	return text:gsub([[\]], [[%%92]])

function NBUI.UnprotectText(text)
	return text:gsub([[%%92]], [[\]])
They are called when changing element text, such as:
Or the other, when saving into variable.

I couldn't load the game with it. Other users reported errors only. I removed them, assuming that by now the game handles string issues better than years ago. This is to help the devs figure out the issue further, to avoid future crashes. Thanks!

ESOUI » Developer Discussions » Bug Reports » [notabug] SetText() with gsub operation crashes game

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off