xGetHigh 140 Posted April 20, 2020 Share Posted April 20, 2020 (edited) Hello! I haven't been able to solve a problem for a few days, which is a big deal. When I want to change the password at the warehouse it tells me "the added password is wrong". I noticed that even when I manually changed the data in the safebox after the refresh they became null. I replaced "safebox" from "db/mysql/player/" and I have the same error. error syslog db Dec 25 05:09:08 :: QUERY_RESULT: HEADER_GD_SAFEBOX_LOAD Dec 25 05:09:13 :: [ 350] return 0/0/0 async 0/0/0 Dec 25 05:09:18 :: [ 400] return 0/0/0 async 0/0/0 Dec 25 05:09:21 :: QUERY_RESULT: HEADER_GD_SAFEBOX_CHANGE_PASSWORD 0x2aff7580 cmd_general.cpp Spoiler ACMD(do_safebox_change_password) { char arg1[256]; char arg2[256]; two_arguments(argument, arg1, sizeof(arg1), arg2, sizeof(arg2)); if (!*arg1 || strlen(arg1)>6) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<창고> 잘못된 암호를 입력하셨습니다.")); return; } if (!*arg2 || strlen(arg2)>6) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<창고> 잘못된 암호를 입력하셨습니다.")); return; } TSafeboxChangePasswordPacket p; p.dwID = ch->GetDesc()->GetAccountTable().id; strlcpy(p.szOldPassword, arg1, sizeof(p.szOldPassword)); strlcpy(p.szNewPassword, arg2, sizeof(p.szNewPassword)); db_clientdesc->DBPacket(HEADER_GD_SAFEBOX_CHANGE_PASSWORD, ch->GetDesc()->GetHandle(), &p, sizeof(p)); } ClientManager.cpp https://paste.ubuntu.com/p/YxJWn5h2YT/ Thanks a lot! Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
anonim55 3 Posted April 21, 2020 Share Posted April 21, 2020 Did you check owner and permissions for safebox table in db/mysql/player/ ? Owner must be mysql and you need to give it permissions. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now