Jump to content
TrinityCore

Shauren

Developers
  • Posts

    470
  • Joined

  • Last visited

  • Days Won

    84

Posts posted by Shauren

  1. localSubnetMask controls the choice of address vs localAddress to send to connecting clients

    bnetserver applies that value to connecting client address (make sure to NOT connect with portal=127.0.0.1) and to localAddress, if the network matches then localAddress is sent, otherwise address

    In your case where you don't want to expose anything to the internet I would just set both addresses to 172.17.17.23 (then netmask doesnt even matter)

     

    You can find the complete logic here https://github.com/TrinityCore/TrinityCore/blob/6.x/src/server/shared/Realm/Realm.cpp#L21

    ps. The fact that you could even see the realm list in client means LoginREST.* configs passed successfully.

  2. First. your structure of CriteriaTree has fields in wrong order - m_ID, m_criteriaID, m_amount, m_operator, m_parent, m_flags, m_description_lang, m_orderIndex

    This is how you get to Criteria.db2 id

    Take the id of CriteriaTree (16658) and find all CriteriaTree where m_parent = 16658, this gets us CriteriaTree 16659 with m_criteriaID = 12909 (repeat this until you run out of criteria trees)

    12909 is your id.

     

    • Upvote 1
×
×
  • Create New...