Jump to content
TrinityCore

Lenzork

Plebs
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Lenzork

  1. I think you have to compile it on the server that you wanna upload it.

    Why?

    I think when you compile it, it bounds the Paths to your Computers.

    Example:

    When you compile it on your computer the paths that the server has to read out will be something like that: xgamerninjax/Trinitycore/server/src/...

    So when you move it onto the Server (where it has other paths i believe) then the server has to read out the path xgamerninjax/Trinitycore/server/src/... but it can't because the Server is not having this Path.

     

    Idk if that is exactly the Problem put i'm trying to help and that would be my thinking right now

  2. Hey everyone!

    I've starting with scripting on a Trinitycore Server and now i'm facing a little bit of a Problem. I've created a custom boss and sometimes when you attack the boss, the whole server crashes and sometimes it doesn't - other than that he works completely fine. So it's just the Problem, that sometimes the Server crashes on pulling him. So i think it has something to do with the Initialize i believe?
    The Boss is on a custom instance map.

    This is my first Boss script so i'm sorry when it's a bit messy.

    Open the Spoiler for more Informations and the Script of the Boss:

    Pastebin - Lord Krazu Script *CLICK*

    Other Informations to the Boss:

    Lord Krazu: Entry = 80000 [SQL]

    Azaloth (Add): Entry = 80002 [SQL]

    Galvanoth (Add): Entry = 80003 [SQL]

    I did the debug thingy where you get a backtrace log and now i don't know about the next Steps. I'll upload the backtrace log here.
    It seems to have something to do with the Map i guess because of the bool IsInWorld() const { return m_inWorld; } error in the Object.h File?

    Also all of the Files are owned by the Lenzork User on the Server and i'm logged in as the Lenzork user when running the Server.
    I've heared that you should never run the Server as root.

    I hope to find some help here.

    backtrace_2021-06-27-17_09_08.log

×
×
  • Create New...