Forum > Serverside Modding

Teleport objects via GUID

<< < (3/3)

Landira:
It´s very easy but somewhere must be an Entry failure...

The same object and the script when I´m using the ID works perfectly. I´m right clicking the Object and I teleport.
When I do it with the GUID it does nothing when I´m right click on the object.

I wish to do it with the GUID because I can use ONE Object for many many Portals like the Translocation Orb of Silvermoon.

Is it possible i have to change something on the Object himself when I wish to do this with GUID IDs?

Landira:
After a long time I think I found the problem.

The Server Error log say:

SmartAIMgr::LoadSmartAIFromDB: Creature guid (228821) does not exist, skipped loading.
SmartAIMgr::LoadSmartAIFromDB: Creature guid (228795) does not exist, skipped loading.

I think the Server is dearching fpr CREATURE guid´s not for OBEJCTS.

But the source_type in the Smart script section is on "1" that means he must use the GUID for GAMEOBJECTS.

The source_type for Creature is "0" .
It is correct set on 1 and I don´t know why the Server already searching for CREATURE GUID -.-
It´s a TrinityCore

XxXGenesisXxX:
There could be a -1 offset, have you tried experimenting with it by putting the source_type as 2 (in other words 1 with a -1 offset). Probably not the solution but certainly an option to try.

Navigation

[0] Message Index

[*] Previous page

Go to full version