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

Search results

  1. efonius

    Getting the area name as a string?

    Hey, I don't see any method for retrieving the name of an area in a string format(eg. creature:GetAreaName()), there's only :GetAreaId(). Is there any workaround I can do to retrieve the name as a string?
  2. efonius

    Support for basic Game Object hooks?

    Hey. I have been working on scripting the Deadmines recently and was thinking of sharing it all when done, there's just one small limitation holding me back and that is the cannon that opens the door to the cove where they hide the large ship. When searching through the HookMgr I found that a...
  3. efonius

    Registering an event when the server starts?

    Salutations. For a while now I have been trying to think of a clean method to register a creature event on server start up. The first thing I have noticed is that none of these are doing the job: CREATURE_EVENT_ON_SPAWN = 5 CREATURE_EVENT_ON_RESET...
  4. efonius

    Performance difference in containing multiple "scripts" in one file vs. one file per "script"

    Hi, I am looking into achieving the best performance with the Lua engine. To make my question a little bit more specific, say for example I wanted to script all the bosses in Molten Core using lua, would it be best to have separate script files for every boss or would it work just as fast with...
  5. efonius

    Repost from Eluna TBC issue tracker: Player hooks and area trigger hook crashes mangosd.exe

    I've noticed some of the hooks causes the server to crash, this wasn't always the case, but I am unsure of which changes caused it. Here are some hooks I have tried it with and can confirm crashes mangosd.exe(on windows: freezes the mangosd.exe application, recieves mangosd.exe has stopped...
  6. efonius

    Help localizing variables in script

    Hi. I have been trying out some methods Rochet mentioned when it comes to localizing the variables of a scripts but are having some trouble. I just want to make sure the script works while multiple groups in different instances are doing it at once, notably to prevent waypoint variables from...
  7. efonius

    Suggestions: Unit targeting for "SendUnit(Say/Yell/Emote) and SetStandstate(state)

    Hi, these are functions that are already included with Scriptdev2 for MaNGOS, so I am assuming they also exists for TrinityCore. I think both of the functions would be huge conveniences when it comes to scripting creature RP events, adding the option to target a unit when you send a unit...
  8. efonius

    Making a creature face a player.

    [SOLVED] Making a creature face a player. Hi, as the title says. I have been trying to make a creature face a player on receiving emote. No success so far, as I can't find any method to do such with. In the code below I tried shifting the orientation, which will work, if the player were to...
Top