Forum > Serverside Modding

[QUESTION] [Trinity] Spawn a house by an item?

<< < (2/3) > >>

Bartons:
It would only grant permissions for a split second for the house spawn. It would then revoke them.

schlumpf:
If the server is executing the command automatically, why would it grant permissions to execute any command in the first place instead of just executing it?

Nic:
But how i write the spell function in the source code of the Trinity? I found no spell functions in the source code, so i think Trinity managed the whole spells by DBC's.

Or it is possible to write a function in the source code and connect it directly to an item without a spell?

schlumpf:
There are a lot of non-dbc spells in Trinity. https://github.com/TrinityCore/TrinityC ... pts/Spells

Nic:
Oh.. i think the spell_item.cpp is the source for item spells. I think, if i copy the ".gobject add" code from the command cpp into the spell_item.cpp then it works.

Has anyone some hints for me for this problem?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version