Jump to content
TrinityCore
Sign in to follow this  
Billy

Starting up worldserver and immediately have 'AccountMgr' messages?

Recommended Posts

I just pulled an update this morning and done the compile works, but when I started the worldserver up I got these messages immediately after the server booted up.

Anybody know what this might mean?

servbootup.jpg

Share this post


Link to post
Share on other sites
6 hours ago, Billy said:

Anybody know what this might mean?

Well, you can see in server/game/Accounts/AccountMgr.cpp that it's caused by something calling AccountMgr::HasPermission without supplying an accountId. Since that file hasn't been changed in a while, it's an issue with the caller or your databases.

I suspect that one of your accounts has somehow got a zero account id or some change to the databases is causing HasPermission to be called without a valid account, but that's just a guess. You might narrow the possibilities down by using git bisect (http://webchick.net/node/99) to figure out where the problem started.

You could also do a web search and find this (possibly related?) problem which referred to auction house code: https://community.trinitycore.org/topic/11138-account-manager/ If the auction house is to blame, you might be able to fix it by clearing the auction data.

Share this post


Link to post
Share on other sites

Thanks dane! 

Wasn't sure if it might have been something to do with the auto updating of the SQL. I only get these messages when I've updated the server and run worldserver which adds the SQL updates automatically.

I'll dig farther into it using your suggestion of git bisect.

Share this post


Link to post
Share on other sites
On 10/3/2018 at 4:18 PM, dane said:

Well, you can see in server/game/Accounts/AccountMgr.cpp that it's caused by something calling AccountMgr::HasPermission without supplying an accountId. Since that file hasn't been changed in a while, it's an issue with the caller or your databases.

I suspect that one of your accounts has somehow got a zero account id or some change to the databases is causing HasPermission to be called without a valid account, but that's just a guess. You might narrow the possibilities down by using git bisect (http://webchick.net/node/99) to figure out where the problem started.

You could also do a web search and find this (possibly related?) problem which referred to auction house code: https://community.trinitycore.org/topic/11138-account-manager/ If the auction house is to blame, you might be able to fix it by clearing the auction data.

Well tried to use git bisect, didn't find anything.

So .pdumped characters, and rebuilt the databases, and am currently recompiling this morning to see if it happens again.

Did notice a lot of sql's in the pull this morning, so will see if this corrected it or not.

Nope. Damn, had fingers crossed too. LOL!

servbootup1.jpg

Share this post


Link to post
Share on other sites
On 10/12/2018 at 10:00 AM, Billy said:

Well tried to use git bisect, didn't find anything.

So .pdumped characters, and rebuilt the databases, and am currently recompiling this morning to see if it happens again.

Did notice a lot of sql's in the pull this morning, so will see if this corrected it or not.

Nope. Damn, had fingers crossed too. LOL!

If bisect didn't fix it, that suggests that your database was the problem. When you say you rebuilt it, do you mean you started with an empty database? That would be my next step (after backing up the old database, naturally). If that worked, I'd try restoring the backup and deleting all the auction data. Note that you need to remove the auction items as well as the sell data. I've done this before, but forgot to take notes on the queries I used.

If an empty database doesn't work, I'm stumped. I need to update my server and see if there are any problems.

Share this post


Link to post
Share on other sites
15 hours ago, dane said:

If bisect didn't fix it, that suggests that your database was the problem. When you say you rebuilt it, do you mean you started with an empty database? That would be my next step (after backing up the old database, naturally). If that worked, I'd try restoring the backup and deleting all the auction data. Note that you need to remove the auction items as well as the sell data. I've done this before, but forgot to take notes on the queries I used.

If an empty database doesn't work, I'm stumped. I need to update my server and see if there are any problems.

That's exactly what I did. Deleted all 3 tables and pulled fresh source code to recompile and even changed out OS back to debian stretch.

Will have to wait until my next source pull to see if it works ok now.

Share this post


Link to post
Share on other sites

Sweet! Everything worked smooth as silk this morning when I compiled and loaded up new sql statements.

Aokromes, if you would, you can close this topic now as the problems seems to have gone bye-bye now.

Thanks for the assist dane!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Billy
      Players are logging off while at one location, but when they re-login their character is not where it was when they log off.
      Has happened to me as well. Was in the rest area in Astranaar, went to log back in and was at the Flight master at Astranaar instead.
      When this happens, the rest state does not properly shutdown. Have to go back into the rest area then leave before it shuts down the rest state. In other words, I can run all over the place, go into combat and finish, and still be gaining rest state.
      Edit:
      Forgot to add rev of core...sry.
      TrinityCore rev. 41982aa30026 2018-08-12 14:17:26 +0200 (3.3.5 branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon)
    • By Fyury
      I followed every step from the wiki site and created an own 3.3.5a WoW Server. After that I downloadet the 3.3.5a version of World of Warcraft from Warmane. Now when I want to create a character it look like this:
      Character: https://www.pic-upload.de/view-35767483/help1.png.html
      Npc: https://www.pic-upload.de/view-35767486/help2.png.html
       
      Is this a fail from my server or world of warcraft files? 
    • By Andorell
      Hello everyone. 
      I dont know, if this is the right Forum, but I have searched for a long time now and found nothing. 
      I want to increase Spell's in my DB with the table spell_bonus_data.
      Increasing with attackpower is no Problem, but with the direct_bonus and dot_bonus nothing will happen. 
      At the site atlastrinitycore there stand that these both colums are for Spellpower. 
      I hope somebody can help me with my problem. 
    • By Arvan903
      hi guys
      my fresh trinity has a built in anti cheat witch called warden anticheat and I'm sure that i enabled it from worldserver.conf but everyone can use emuhack very easily without any alarm or something else
      it seems my server doesn't have anticheat

      is there anyway fix this ? i think this warden anticheat is not good
      is there anyway add new anticheat ?

      pls help
       
        ################################################## #################################################
      # WARDEN SETTINGS
      #
      # Warden.Enabled
      # Description: Enable Warden anticheat system.
      # Default: 0 - (Disabled)
      # 1 - (Enabled)

      Warden.Enabled = 1

      #
      # Warden.NumMemChecks
      # Description: Number of Warden memory checks that are sent to the client each cycle.
      # Default: 3 - (Enabled)
      # 0 - (Disabled)

      Warden.NumMemChecks = 3

      #
      # Warden.NumOtherChecks
      # Description: Number of Warden checks other than memory checks that are added to request
      # each checking cycle.
      # Default: 7 - (Enabled)
      # 0 - (Disabled)

      Warden.NumOtherChecks = 7

      #
      # Warden.ClientResponseDelay
      # Description: Time (in seconds) before client is getting disconnecting for not responding.
      # Default: 600 - (10 Minutes)
      # 0 - (Disabled, client won't be kicked)

      Warden.ClientResponseDelay = 600

      #
      # Warden.ClientCheckHoldOff
      # Description: Time (in seconds) to wait before sending the next check request to the client.
      # A low number increases traffic and load on client and server side.
      # Default: 30 - (30 Seconds)
      # 0 - (Send check as soon as possible)

      Warden.ClientCheckHoldOff = 30

      #
      # Warden.ClientCheckFailAction
      # Description: Default action being taken if a client check failed. Actions can be
      # overwritten for each single check via warden_action table in characters
      # database.
      # Default: 0 - (Disabled, Logging only)
      # 1 - (Kick)
      # 2 - (Ban)

      Warden.ClientCheckFailAction = 1

      #
      # Warden.BanDuration
      # Description: Time (in seconds) an account will be banned if ClientCheckFailAction is set
      # to ban.
      # Default: 86400 - (24 hours)
      # 0 - (Permanent ban)

      Warden.BanDuration = 86400

      #
      ################################################## #################################################
    • By SarcNBit
      Can anyone confirm if the Ring of Law event has been patched? People being stuck in the event and not being able to get past it to the bar to get the key.
      I read thru some posted issues and it seems like the issue is being attributed to the same issue as the Death Knight mine car quest issue but the status is not clear to me.
      I'd prefer to wait a bit to recompile if the fix is forthcoming. Not trying to whine about a fix just trying to understand the status.
×