User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 7 of 8

Thread: Rochet2 Transmog Vendor

  1. #1
    Sexy Member
    Join Date
    Jun 2014
    Location
    United State
    Posts
    81
    XP
    9,503
    Level
    29
    Thanks
    11
    Thanked 5 Times in 5 Posts

    Rochet2 Transmog Vendor

    Code:
    https://github.com/Rochet2/TrinityCore/tree/transmogvendor/src/server/scripts/Custom/TransmogDisplayVendor
    Latest rev, as of right now. (Fresh Compiled 1hr ago to make sure i wasnt messing up).

    The gossip menu works fine, the issue I'm having is...

    [Head] -> [Epic] -> ??

    After selecting the Quality of item you wish to transmog, the gossip menu closes without any errors, or err msgs. Nothing happens it simply closes.

    did I miss something, is there a table I have to fill with the items I wish to use for transmogrification or is that pre-made and I didn't do something right? I have a fresh compile. Pulled rochet2 transmogvendor, no errors on patch apply. Compiled fine.

    Item I'm using is custom, however I added a blizzlike Wrathful Helm and tried to transmog it to something and the menu closes as well after clicking [Epic] or whatever else, [Uncommon], [Common], etc..

  2. #2
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,859
    XP
    13,487
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    The items are taken directly from item_template.

    I tested just now on https://github.com/TrinityCore/Trini...b6e4df9a72131a
    and the code works fine. Its not the latest source, but its recent. (5 days old atm)

    The bug you describe sounds a lot like you missed some code from the vendor handling.
    Did you install by git pull? Or by git diff / patch? How did you apply the diff/patch if you used that?
    If you used diff/patch it is possible you missed some edit if you applied manually or used --reject

    Is it possible for you to share the item code so I can test if the item is somehow affecting this?
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

  3. #3
    Original Poster
    Sexy Member
    Join Date
    Jun 2014
    Location
    United State
    Posts
    81
    XP
    9,503
    Level
    29
    Thanks
    11
    Thanked 5 Times in 5 Posts
    I installed by git remote pull. It gave no errors and it compiled fine. The entire NPC gossip script works fine the only thing that does not work is the vendor showing the items.

    So I went a little further and did a git reset --hard (latestrev), and then re-applied it except this time using the .diff/patch. I applied it with --reject and it applied 100%, no rej files. Compiled fine. Same result in-game.

    And what do you mean 'item' code?

  4. #4
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,859
    XP
    13,487
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    I meant the custom item's SQL.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

  5. #5
    Original Poster
    Sexy Member
    Join Date
    Jun 2014
    Location
    United State
    Posts
    81
    XP
    9,503
    Level
    29
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Code:
    INSERT INTO `item_template` (`entry`, `class`, `subclass`, `SoundOverrideSubclass`, `name`, `displayid`, `Quality`, `Flags`, `FlagsExtra`, `BuyCount`, `BuyPrice`, `SellPrice`, `InventoryType`, `AllowableClass`, `AllowableRace`, `ItemLevel`, `RequiredLevel`, `RequiredSkill`, `RequiredSkillRank`, `requiredspell`, `requiredhonorrank`, `RequiredCityRank`, `RequiredReputationFaction`, `RequiredReputationRank`, `maxcount`, `stackable`, `ContainerSlots`, `StatsCount`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `ScalingStatDistribution`, `ScalingStatValue`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `delay`, `ammo_type`, `RangedModRange`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmRate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmRate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmRate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmRate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmRate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `description`, `PageText`, `LanguageID`, `PageMaterial`, `startquest`, `lockid`, `Material`, `sheath`, `RandomProperty`, `RandomSuffix`, `block`, `itemset`, `MaxDurability`, `area`, `Map`, `BagFamily`, `TotemCategory`, `socketColor_1`, `socketContent_1`, `socketColor_2`, `socketContent_2`, `socketColor_3`, `socketContent_3`, `socketBonus`, `GemProperties`, `RequiredDisenchantSkill`, `ArmorDamageModifier`, `duration`, `ItemLimitCategory`, `HolidayId`, `ScriptName`, `DisenchantID`, `FoodType`, `minMoneyLoot`, `maxMoneyLoot`, `flagsCustom`, `VerifiedBuild`) VALUES (100187, 4, 1, -1, '|cffFFFFFF|TIER4| Ancient Priest\'s Leggings of Mysteries', 44976, 4, 8, 0, 1, 0, 6750000, 7, 16, -1, 300, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 10, 7, 62184, 5, 60864, 6, 60864, 32, 680, 36, 425, 45, 80839, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 915, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '', 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 1035, 300, 0, 0, 0, 0, 4, 0, 2, 0, 2, 0, 4015, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 1);
    But I even tried to Transmog

  6. #6
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,859
    XP
    13,487
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    I tested now on latest TC and a clean DB and everything works fine. d22569aababdc9eb09efaf558e0a1b262e3bfe79
    Tried the custom item and the wowhead item as well but everything worked as intended.

    Do you have any other modifications?
    Can you try to debug?
    What OS are you using?
    Last edited by Rochet2; 07-13-2016 at 07:11 PM.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

  7. #7
    Original Poster
    Sexy Member
    Join Date
    Jun 2014
    Location
    United State
    Posts
    81
    XP
    9,503
    Level
    29
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Okay literally compiled so many different latest rev's alternating the use of cmake, diff patching, git pulling, and only to find out the reason why it immediately closes the gossip after clicking the Quality of the item is because of the NPC that I was using.

    I skipped ahead and didn't use the pre-defined creature that you gave in the SQL. I already made mine and its flags were 1. Where they needed to have 128 + 1. So it makes sense that the vendor closes after that because there is no vendor flag on the npc (129). Simply mistake haha the little things trip you up I guess. Thanks for your help though!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •