Jump to content
TrinityCore

pooyatavan

Plebs
  • Posts

    9
  • Joined

  • Last visited

Everything posted by pooyatavan

  1. hey guys. i try to create web application in python with flask for this core but for creating hash in battlenet_accounts table i cant figure it out how it work exactly. if someone could help, that would be nice. i'm following this part of code to making this: strtoupper(bin2hex(strrev(hex2bin(strtoupper(hash("sha256",strtoupper(hash("sha256", strtoupper($username)).":".strtoupper($password)))))))); my python code: username = "admin" password = "admin" # To uppercase username = username.upper() password = password.upper() # username to hash username = hashlib.sha256(username.encode('utf-8')) username = username.hexdigest() # combine username(hash) with password and convert to uppercase username_password = str((username + ":" + password).upper()) # hash username and password and convert to uppercase username_password = hashlib.sha256(username_password.encode('utf-8')) username_password = str(username_password.hexdigest()).upper() # convert hex to bin username_password = "{0:08b}".format(int(username_password, 16)) # rev string username_password = str(username_password[::-1]) # convert bin to hex username_password = '%08X' % int(username_password, 2) # string to uppercase username_password = str(username_password.upper()) print(username_password)
  2. something eating my vps ram after update to last version of trinity core master-branch. i have 6 gig ram for one player (admin)
  3. i solved that with set my vps ip in exrenal. now after creating my character and click enter to world at loading screen freeze and then jump in to character list and say: world server is down. with this errors in my vps console: [Player: Account: 1] Client tried to call not implemented method ResourcesService.GetContentHandle({ program: 16974 stream: 1634756212 version: 1701729619 }) Received not handled opcode [CMSG_GET_ACCOUNT_CHARACTER_LIST 0x36B8 (14008)] from [Player: Account: 1] Received not handled opcode [CMSG_GET_RAF_ACCOUNT_INFO 0x3724 (14116)] from [Player: Account: 1] Received not handled opcode [CMSG_GET_REMAINING_GAME_TIME 0x36EE (14062)] from [Player: Account: 1] Received not handled opcode [CMSG_QUICK_JOIN_AUTO_ACCEPT_REQUESTS 0x3709 (14089)] from [Player: Account: 1] Received not handled opcode [CMSG_BATTLE_PAY_GET_PURCHASE_LIST 0x36BD (14013)] from [Player: Account: 1] but in my pc(work fine): TrinityCore rev. unknown 1970-01-01 00:00:00 +0000 (Archived branch) (Win64, Release, Static) (worldserver-daemon) ready... Received not handled opcode [CMSG_BATTLE_PAY_GET_PURCHASE_LIST 0x36BD (14013)] from [Player: Account: 1] Received not handled opcode [CMSG_BATTLE_PAY_GET_PRODUCT_LIST 0x36BC (14012)] from [Player: Account: 1] Received not handled opcode [CMSG_UPDATE_VAS_PURCHASE_STATES 0x36F6 (14070)] from [Player: Account: 1] [Player: Account: 1] Client tried to call not implemented method ResourcesService.GetContentHandle({ program: 16974 stream: 1634756212 version: 1701729619 }) Received not handled opcode [CMSG_GET_ACCOUNT_CHARACTER_LIST 0x36B8 (14008)] from [Player: Account: 1] Received not handled opcode [CMSG_GET_RAF_ACCOUNT_INFO 0x3724 (14116)] from [Player: Account: 1] Received not handled opcode [CMSG_GET_REMAINING_GAME_TIME 0x36EE (14062)] from [Player: Account: 1] Received not handled opcode [CMSG_QUICK_JOIN_AUTO_ACCEPT_REQUESTS 0x3709 (14089)] from [Player: Account: 1] Received not handled opcode [CMSG_BATTLE_PAY_GET_PURCHASE_LIST 0x36BD (14013)] from [Player: Account: 1] Received not handled opcode [CMSG_QUEUED_MESSAGES_END 0x376C (14188)] from [Player: Logging in: Player-1-00000001, Account: 1] Prevented sending of NULL_OPCODE to [Player: Logging in: Player-1-00000001, Account: 1] Received not handled opcode [CMSG_QUERY_COUNTDOWN_TIMER 0x31A8 (12712)] from [Player: Admin Player-1-00000001, Account: 1] Received not handled opcode [CMSG_REQUEST_CONQUEST_FORMULA_CONSTANTS 0x32B7 (12983)] from [Player: Admin Player-1-00000001, Account: 1] Received not handled opcode [CMSG_DF_GET_JOIN_STATUS 0x3613 (13843)] from [Player: Admin Player-1-00000001, Account: 1] Received not handled opcode [CMSG_LFG_LIST_GET_STATUS 0x360A (13834)] from [Player: Admin Player-1-00000001, Account: 1] Received not handled opcode [CMSG_REQUEST_LFG_LIST_BLACKLIST 0x32A7 (12967)] from [Player: Admin Player-1-00000001, Account: 1] Received not handled opcode [CMSG_GARRISON_REQUEST_LANDING_PAGE_SHIPMENT_INFO 0x32F5 (13045)] from [Player: Admin Player-1-00000001, Account: 1] Received not handled opcode [CMSG_CHALLENGE_MODE_REQUEST_MAP_STATS 0x308F (12431)] from [Player: Admin Player-1-00000001, Account: 1] CMSG_DB_QUERY_BULK: [Player: Admin Player-1-00000001, Account: 1] requested unsupported unknown hotfix type: 3386291891 Received not handled opcode [CMSG_QUICK_JOIN_AUTO_ACCEPT_REQUESTS 0x3709 (14089)] from [Player: Admin Player-1-00000001, Account: 1] Received not handled opcode [CMSG_REPORT_CLIENT_VARIABLES 0x3703 (14083)] from [Player: Account: 1] Received not handled opcode [CMSG_REPORT_ENABLED_ADDONS 0x3702 (14082)] from [Player: Account: 1] Received not handled opcode [CMSG_REPORT_KEYBINDING_EXECUTION_COUNTS 0x3704 (14084)] from [Player: Account: 1] Received not handled opcode [CMSG_BATTLE_PAY_GET_PURCHASE_LIST 0x36BD (14013)] from [Player: Account: 1] Received not handled opcode [CMSG_BATTLE_PAY_GET_PRODUCT_LIST 0x36BC (14012)] from [Player: Account: 1] Received not handled opcode [CMSG_UPDATE_VAS_PURCHASE_STATES 0x36F6 (14070)] from [Player: Account: 1]
  4. finally files upload and run in my vps. but now i cant connet to my server with arctium launcher. how ever i can connected via local in my own pc. im also change realm address from 127.0.0.1 to my vps ip. and my ports allowed. edit my config.wtf file. i did not change anything.
  5. hello trinitycore. i using my worldserver runing successfully at the end, but while its loading i receive these errors in my console. im using this source and TDB 820.19071 what is my problem ? in 3.3.5 everything work perfect. Server.log
×
×
  • Create New...