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

[Trinitycore] Transmogrification 3.3.5a

Rochet2

Moderator / Eluna Dev
Hi there dear administration can you tell me please how to do transmogrification in this patch for players to change any lvl item like... to legendary item like ....

So you want to be able to transmogrify any item to legendary as well?
I think that should already be possible by default. But, legendary items are blocked.
Set the setting to allow legendary in the config (worldserver.conf).
+Transmogrification.AllowPoor = 0
+Transmogrification.AllowCommon = 0
+Transmogrification.AllowUncommon = 1
+Transmogrification.AllowRare = 1
+Transmogrification.AllowEpic = 1
+Transmogrification.AllowLegendary = 0
+Transmogrification.AllowArtifact = 0
+Transmogrification.AllowHeirloom = 1
 

Rochet2

Moderator / Eluna Dev
ahem, can someone try to help me please ?

Uh, its pretty hard to just try guessing whats wrong. When everything is supposedly fine.
Atm I can see that you probably have the script in the source you are compiling (check this)
And that you have the right scriptnames and all. But nothing happens ingame. Cant really think of a reason.
If you for example failed to run Cmake after adding the patch, it /should/ error.

Btw. you still didnt check the startup logs? or did you?
Did you apply it manually?
 

Plikaplouk

Enthusiast
I apply the script by launch "git apply Transmogrification.diff" in my TrinityCore/, should i try to add the script manually ?

What do you call "startup logs" ? If it's the server.log, see here : Logs
There is the warnings when i compile with the transmog script : Warnings
 

Plikaplouk

Enthusiast
I run the "world_NPC.sql" in my world database, then i add the npc in game with .npc add 190010, the NPC is here but does nothing
 

Rochet2

Moderator / Eluna Dev
I run the "world_NPC.sql" in my world database, then i add the npc in game with .npc add 190010, the NPC is here but does nothing

Check that the scriptname is right on the NPC and so.
The SQL doesnt overwrite existing NPC.

ps. dont try to run any updates.
 

Rochet2

Moderator / Eluna Dev
Well, I find it impossible to try to see why what where like this : |
Its just not possible to try to guess whats wrong.
 

Rochet2

Moderator / Eluna Dev
Ok thank you anyway, you tried and it was nice :)
I'll try to solve my problem alone
Thank you again !

Regards
:)

I tested now on a core pulled on 1.3.2014 (2 days ago)
And the script works fine: http://puu.sh/7hnYr.jpg
You get the Greetings only if the script was not compiled at all.
Please do check that the script is in the source again and retry compiling.
A full recompile might also help. Im not exactly sure how linux building works though .. hmm So I cant really help with that.
 

Plikaplouk

Enthusiast
I guess it doesn't work on linux then, because when i modify "Transmogrification.cpp" or something else about the transmog, it doesn't compile, i'll try to find something else
Thank you again for your help !
 

Rochet2

Moderator / Eluna Dev
5.3 is here :3
Updated the code for newest TC (see readme for hash)
Fixed a problem with one handed weapons not being able to be used for main or off hand weapons as displays.
Implemented multithreading support, so you should now be able to use more than one map update thread with this script.
Also changed how saving is handled. Now saves the items to DB when the player is saved.
Only items the player owns that are transmogrified are saved and loaded.
Added new checks and config option for item stat amount
Made logging to use a custom logger

Thanks for the bug report and info for tea91!
 
Last edited:

St0rmy

Enthusiast
Hi, i added the script and compiled everything, but the Items are still the same, the GUI is accepting the Mogg but the Database doesn't update and the appearence is still the same, but i think the rest is working fine, because i'm getting no error messages
 

Rochet2

Moderator / Eluna Dev
Hmm.. What do you mean the items are still the same, not transmogrifying?
What do you mean the database doesnt update, no rows for your transmogrified items?

Can you still transmogrify?
Does a transmogrification still last through relog?
 

Rochet2

Moderator / Eluna Dev
I will test this on weekend.
I just started a job so I dont have time today or tomorrow to check on this unfortunately ; <
 

Rochet2

Moderator / Eluna Dev
Tested and working on *latest* as intended.
Both images changed and transmogrification was applied and stays over relog etc.

The database data is saved when the player is saved (on logout or .save etc, whenever TC saves the player data)

http://prntscr.com/3szpsp

ps. just a small notice.
Older TC versions are not supported as some critical changes were made in TC source to be able to save player data correctly.
What I mean with older is from a while ago. Cant specify an exact commit atm, follow the supported commits.
 
Last edited:

Noven

Exalted Member
Probally a dumb question, but I can't seem to find the git apply thingy?

Edit: Found it out, but when I try to apply it I receive these lines;

patch failed: src/server/game/Entities/Player/Player.cpp:78
src/server/game/Entities/player/player.cpp: patch does not apply
Patch failed: src/server/scripts/custom/CmakeLists.txt:13
src/server/scripts/custom/CmakeLists.txt: Patch does not apply
 
Last edited:
Top