Closed ZenoX92 closed 6 years ago
@ZenoX92 : nice work as always. I have got a couple of TBC creatures for you to look at,
regarding this part of your issue description text: [ ... ] not changing his model
Hulking Helboar (Level: 60 - 66) / Dreadtusk (transformed from HH)
Cosmetic : Hulking Helboar (16880) does not turn into Dreadtusk (16992) -- mentioning this here instead of posting it as an issue ticket, so you can play with it when you feel like. =^.^= Note: in 3.3.5a, these had not been changed from Demon (faction=73) into beast/Boar NPCs yet, so no use for hunters to try taming them before patch 4.0.3a. :-p
Rip-Blade Ravager (Level: 63) http://www.wowhead.com/npc=22123/rip-blade-ravager#comments Back in the pre-Cata days in retail, the hunter pet kept changing its colors when re-summoned. Does not seem to switch models (listed in the DB) when re-summoned on TC source.
SELECT `entry`,`modelid1`,`modelid2`,`modelid3`,`modelid4`,`name` FROM `creature_template` WHERE `entry`=22123;
entry modelid1 modelid2 modelid3 modelid4 name
----- -------- -------- -------- -------- -----------------
22123 17086 17554 20965 20966 Rip-Blade Ravager
As I said above, this is only meant as something to play with at your leisure. :)
@tkrokli, I don't think Rip-Blade Ravager's multiple models can be fixed in DB. Hunter's pets do not use SAI, so I really don't know what to do about it.
As for the issue regarding Hulking Helboars, well... I'm very frustrated! I thought that this should fix the problem:
-- Hulking Helboar
DELETE FROM `smart_scripts` WHERE `entryorguid`=16880 AND `source_type`=0 AND `id`=5;
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
(16880,0,5,0,8,0,100,1,34665,0,0,0,3,16992,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hulking Helboar - On Spellhit 'Administer Antidote' - Morph To Creature 'Dreadtusk'");
But it's NOT working... and I don't know why. Hulking Helboars do not change their models, not even using gm commands: .morph 19249 .npc set model 19249
I'm going mad with this. Am I missing something? Or this is the weirdest issue I've ever seen? Open a ticket for this, perhaps someone else finds out what I'm missing.
Player's pet have model stored on characters.character_pet, this cannot be changed.
And about Hulking Helboar the spell casted by the quest item changes the entry as you can see on the spell script, but there's an issue with "change entry", it doesn't change the model, you can test the SAI action and you will notice that
https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/scripts/Spells/spell_quest.cpp#L248
OK, thank you very much for the feedback, both of you. Not much we can do about it without major changes.
Yeah, I know the issue regarding "change entry", but using "change model" (Smart Action 3) doesn't work either. And what I found most disturbing is that you cannot change the model using gm commands either.
Test this: .go creature 16880 .morph 19249 / .npc set model 19249
It doesn't work. And test it with another creature and it will work. But WHY??
Yeah, I know. I feel your frustration. I can only guess that it needs a new issue page.
edit: still guessing, but maybe because C++ scripts are involved?
Yes it's weird, the npc inf tell that the model was update: DisplayID: 19249 (Native: 16572) But the visual from the original model remains. The issue happen in an old revision from July, so it's not a new issue.
I don't think it has to do with the C++ scripts. I just removed them and issue still remains. Apparently, the issue only happens with model 19249 (Dreadtusk). Try changing the model into anyone else and it will work. .go creature 58373 .morph 20297 / .npc set model 20297 I think we should create a new thread for X-Files Issues and add this to the top of the list.
Description:
Branch(es):
3.3.5
TC rev. hash/commit:
TrinityCore rev. 1cc3d33 2018-02-19 20:21:57 +0100 (3.3.5 branch) (Win64, RelWithDebInfo, Static)
TDB version: 335.64
Operating system: Windows 7
Suggested Fix: