ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Bug Reports (https://www.esoui.com/forums/forumdisplay.php?f=187)
-   -   [notabug] Certain d() colored formatting causing game to crash (https://www.esoui.com/forums/showthread.php?t=7169)

silvereyes 06/23/17 07:56 AM

[notabug] Certain d() colored formatting causing game to crash
 
This isn't so much a feature request as a fix request for a strange bug that creeps up sometimes during addon development.

The d() system chat channel output function sometimes freezes the game - as if there's an infinite loop - if given specific strings with color formatting as input. The most simple form of the pattern that I could find is as follows:

Lua Code:
  1. d("|cFFFFFF|r<any character not a color code>|r")

The following all crash the game:
Lua Code:
  1. d("|cFFFFFF|r)|r")
  2. d("|cFFFFFF|rx|r")
  3. d("|cFFFFFF|r|r|r")

The following all work fine:
Lua Code:
  1. d("|cFFFFFF|r|r")
  2. d("|r)|r")
  3. d("|cFFFFFF|r|cFFFFFF|r")

sirinsidiator 06/23/17 08:22 AM

Moved it to the correct forum. ;)

ZOS_ChipHilseberg 06/23/17 09:58 AM

Hmm, I tried all of these using /script and didn't see an issue. Is there more to the repro?

silvereyes 06/23/17 10:12 AM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 31606)
Hmm, I tried all of these using /script and didn't see an issue. Is there more to the repro?

Okay, now I'm embarrassed. I disabled pChat, and the problem went away. Sorry for wasting your time. I'll report the bug to the pChat comments.


All times are GMT -6. The time now is 02:55 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI