• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Eluna Transmogrification

Rochet2

Moderator / Eluna Dev
Converted my transmogrification to eluna :)
Its the earlier version, not the latest due to the latest using DBC files.

The script is rather plug and play.
You just need to set your NPC's entry to the top of the script: local NPC_Entry = 100

Everything else is handled automatically (DB table creation .. etc)
There are a few settings in the script at the top.
There is also a possibility to create some translations if you want to. You just need to replace the nil with a string in the locale table or slotname table in the right spot.
The locale order is the same as in TC DB: http://collab.kpsn.org/display/tc/Localization+lang

https://github.com/ElunaLuaEngine/Scripts/blob/master/Custom/Transmogrifier.lua
 
Last edited:

Etox

Enthusiast
scripts\transmog.lua:131: attempt to call method 'GetDbLocaleIndex' <a nil value>
 

Rochet2

Moderator / Eluna Dev
For some reasons you cant transmog custom items

Last time I looked into someone's custom item problem, the item was made badly and was not blizzlike or similar.
This caused some check(s) to fail and thus you could not use it.
Check that the item is ok
 

Mathias

Exalted Member
The custom item is just a copy past of an blizzlike item just with some boosts in stats and new entery id

- - - Updated - - -

Code:
REPLACE 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`, `WDBVerified`) VALUES (90010, 2, 7, -1, 'Bloodsurge V', 64531, 6, 0, 0, 1, 0, 200000, 13, -1, -1, 80, 80, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 10, 7, 350, 4, 400, 38, 350, 0, 0, 0, 0, 31, 400, 44, 350, 0, 0, 0, 0, 0, 0, 0, 0, 2500, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2600, 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, 'Forgotten-WoW', 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'internalitemhanler', 0, 0, 0, 0, 0, 1);

This is a sql query for one of em this is a weapon
 

RuneCodez

Respected Member
Is this script special in any way? Does it work like the other transmo scripts?
Other scripts I've used has required me to make custom items with the display id of how I want the item to look like, and the stats for the item I want transmoed.
Is this script just like that?
 

Rochet2

Moderator / Eluna Dev
Basically yes. This script works around like how it works on retail.

How would you want one too work?
I made one c++ script earlier that showed all displays from items in database.
I guess one with displays from dbc or just predefined table could be done.

This script was made like this since I wanted it to be blizzlike and since other scripts usually had predefined displays.
 
Top