Setup/Emotes

fixed field count after 8fa83eab64
This commit is contained in:
Sarjuuk
2015-07-23 22:43:41 +02:00
parent d771103428
commit 7b30c49785

View File

@@ -40,10 +40,11 @@ function emotes(/*array $ids = [] */)
$allOK = false; $allOK = false;
} }
DB::Aowow()->query('REPLACE INTO ?_emotes SELECT $_= DB::Aowow()->query('REPLACE INTO ?_emotes SELECT
et.Id, et.Id,
LOWER(et.command), LOWER(et.command),
IF(e.animationId, 1, 0), IF(e.animationId, 1, 0),
0, -- cuFlags
etdT.text_loc0, etdT.text_loc2, etdT.text_loc3, etdT.text_loc6, etdT.text_loc8, etdT.text_loc0, etdT.text_loc2, etdT.text_loc3, etdT.text_loc6, etdT.text_loc8,
etdNT.text_loc0, etdNT.text_loc2, etdNT.text_loc3, etdNT.text_loc6, etdNT.text_loc8, etdNT.text_loc0, etdNT.text_loc2, etdNT.text_loc3, etdNT.text_loc6, etdNT.text_loc8,
etdS.text_loc0, etdS.text_loc2, etdS.text_loc3, etdS.text_loc6, etdS.text_loc8 etdS.text_loc0, etdS.text_loc2, etdS.text_loc3, etdS.text_loc6, etdS.text_loc8
@@ -59,6 +60,9 @@ function emotes(/*array $ids = [] */)
dbc_emotestextdata etdS ON etdS.Id = et.selfId' dbc_emotestextdata etdS ON etdS.Id = et.selfId'
); );
if (!$_)
$allOK = false;
// i have no idea, how the indexing in this file works. // i have no idea, how the indexing in this file works.
// sometimes the \d+ after EMOTE is the emoteTextId, but not nearly often enough // sometimes the \d+ after EMOTE is the emoteTextId, but not nearly often enough
$aliasses = []; $aliasses = [];