-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB*/fix_creature_text #115
Comments
Every creature_text should has a BroadcastTextId.I update the missing BroadcastTextId.Smart Script still missing. |
Unknown column 'entry' in 'field list' |
Unable to import |
this SQL already in db |
CreatureTextMgr: TextGroup 1 for Creature(Aspiring Trainee) GuidLow 563382 Entry 53565, id 0 already added |
There are frequent such prompts |
In console worldserver |
CreatureTextMgr: TextGroup 0 for Creature(Recruitment Officer Carven) GuidLow 95043 Entry 25222, id 0 already added |
When you stand in Stormstorm |
The warning is caused by a script bug. |
Its a big one |
Yes.You can just ignore it now.I will push a commit to fix it when I have time, |
Wait for you |
its ok now |
SQL Fix
`/SQL_SCRIPT SCARFACE/
/23.4.2022/
npc_stormwind_infantry current script in SmartScript,creature texts already in db.
/Text for Creature(Stormwind Infantry) Entry 49869/
DELETE FROM
creature_text
WHEREentry
= '49869';INSERT INTO
creature_text
(entry
,groupid
,id
,text
,text_female
,TextRange
,type
,language
,probability
,emote
,duration
,sound
,BroadcastTextId
,comment
) VALUES(49869, 0, 0, 'I need a heal!', '', 0, 12, 0, 100, 0, 0, 0, 49898, 'Infanterist'),
(49869, 0, 1, 'HELP!', '', 0, 12, 0, 100, 0, 0, 0, 49897, 'Infanterist'),
(49869, 0, 2, 'Make yourself useful and heal me!', '', 0, 12, 0, 100, 0, 0, 0, 49896, 'Infanterist'),
(49869, 0, 3, 'I could use a heal, brother!', '', 0, 12, 0, 100, 0, 0, 0, 49895, 'Infanterist');
-- Text for Creature(Blackrock Invader) Entry 42937 ,Probability are gussed
DELETE FROM
creature_text
WHERECreatureID
= '42937';INSERT INTO
creature_text
(CreatureID
,GroupID
,ID
,Text
,Type
,Language
,Probability
,Emote
,Duration
,Sound
,SoundType
,BroadcastTextId
,TextRange
,comment
) VALUES(42937, 0, 0, 'Orc KILL $r!', 12, 0, 100, 0, 0, 0, 0, 42876, 0, 'Blackrock Invader on Aggro Text'),
(42937, 0, 1, 'Blackrock take forest!', 12, 0, 100, 0, 0, 0, 0, 42879, 0, 'Blackrock Invader on Aggro Text'),
(42937, 0, 2, 'The grapes were VERY TASTY!', 12, 0, 100, 0, 0, 0, 0, 42880, 0, 'Blackrock Invader on Aggro Text'),
(42937, 0, 3, 'Eat you!', 12, 0, 100, 0, 0, 0, 0, 42878, 0, 'Blackrock Invader on Aggro Text'),
(42937, 0, 4, 'Beg for life!', 12, 0, 100, 0, 0, 0, 0, 42877, 0, 'Blackrock Invader on Aggro Text');
/Text for Creature(Blackrock Spy) Entry 49874/
DELETE FROM
creature_text
WHEREentry
= '49874';INSERT INTO
creature_text
(entry
,groupid
,id
,text
,text_female
,TextRange
,type
,language
,probability
,emote
,duration
,sound
,BroadcastTextId
,comment
) VALUES(49874, 0, 0, 'Orc KILL $r!', '', 0, 12, 0, 50, 0, 0, 0, 42876, 'on Aggro Text'),
(49874, 0, 1, 'Blackrock take forest!', '', 0, 12, 0, 50, 0, 0, 0, 42879, 'on Aggro Text'),
(49874, 0, 2, 'The grapes were VERY TASTY!', '', 0, 12, 0, 50, 0, 0, 0, 42880, 'on Aggro Text');
/Text for Creature(Scarlet Warrior) Entry 1535/
DELETE FROM
creature_text
WHEREentry
= '1535';INSERT INTO
creature_text
(entry
,groupid
,id
,text
,text_female
,TextRange
,type
,language
,probability
,emote
,duration
,sound
,BroadcastTextId
,comment
) VALUES(1535, 0, 0, 'The light condemns all who harbor evil. Now you will die!', '', 0, 12, 0, 50, 0, 0, 0, 2627, 'on Aggro Text'),
(1535, 0, 1, 'You carry the taint of the scourge. Prepare to enter the twisting nether.', '', 0, 12, 0, 50, 0, 0, 0, 2625, 'on Aggro Text'),
(1535, 0, 2, 'The Scarlet Crusade shall smite the wicked and drive evil from these lands!', '', 0, 12, 0, 50, 0, 0, 0, 2628, 'on Aggro Text'),
(1535, 1, 0, '%s attempts to run away in fear!', '', 0, 16, 0, 100, 0, 0, 0, 1150, 'combat Flee');
`
The text was updated successfully, but these errors were encountered: