Recently Browsing 0 members
No registered users viewing this page.
Are these numbers from sniff or assigned (randomly) by developers?
according to table creature_template and gossip_menu, creature 4941 has gossip 12846, the next existing gossip is 15296/15297 (owned by creature 15296/15297), then 21002 (owned by creature 15563), and so on (a recent update related to T0.5 questline used 57000+ ids).
if not from sniff (kinda obvious), how can we prevent these ids from overlapping (eventually)?
as I remembered, some gossip menu id are still hardcoded in core, only makes it harder to manage.
maybe not a big issue, but it'll be nice to have official rules for this.
I have just written my first SAI script, copying from another and it was a partial success.
I do not know how to create text for an NPC to say, and how/where to link it. I think it is connected with a data script, but no details.
I do not know how to stop an NPC from attacking.
Are there any resources available to assist?
I have looked at the SAI Editor for Keira2, it is very good, but linking up a working SAI with an Idiots Guide to how to show text, stop attacking, run away to a certain point, etc would be very helpful.
An extremely complex SAI like insertwww.wowhead.com/quest=29678/shu-the-spirit-of-water seems daunting to write.
If the information is available via sniffs, then that would be fantastic, I have installed the sniff tool but live is so volatile atm that it is out of date, and even were it to be rewritten most likely live will be patched at least once per week for the near future, so it might not be worth the effort.
TLDR: I can't work out how to write SAI scripts, please help
Currently, I am trying to get wastewalker Workers to use the mining emote when out of combat.
I am currently trying this to no avail.
-- Wastewalker Worker SAI SET @ENTRY := 17964; UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`[email protected]; DELETE FROM `smart_scripts` WHERE `entryorguid`[email protected] AND `source_type`=0; INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES (@ENTRY,0,0,0,1,0,100,6,0,0,0,0,17,233,0,0,0,0,0,0,0,0,0,0,0,0,0,"Wastewalker Worker - Out of Combat - Set Emote State 233 (Dungeon)"), (@ENTRY,0,1,0,0,0,100,4,2300,7700,8000,11000,11,37662,32,0,0,0,0,5,0,0,0,0,0,0,0,"Wastewalker Worker - In Combat - Cast 'Rend' (Heroic Dungeon)"), (@ENTRY,0,2,0,2,0,100,7,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Wastewalker Worker - Between 0-15% Health - Flee For Assist (No Repeat) (Dungeon)"), Edit: It appears to work in normal (not sure if that is from me), but not heroic. I tried copying the same smart_script with the heroic entry ID and that didn't work.
In the picture below, smart manager throws a lot of messages. The one seen aren't the only ones. The only issue I have with running are these smart manager notices. I've always had them during the years of checking on and off again the status of TC development. Can I get some clarification as to why I always get these?
I can enter the game. I assume its an issue with non-complete implementations of certain code.....