Hi! i'm sorry i'm newbie can anyone help me how to disable character deletion?
thanks in advance.
thanks in advance.
No, you just need to delete the entry in resdata.inc.Quote:
i tried to remove it in APP_SELECT_CHAR using GUI editor but when i try to login i cannot go through character select the client auto closes.
do i also need to remove the "delete" from the Resdata.txt and .h?
Why do queries when you completely want to disable character deletion?Quote:
how to disable??
Go to _Database\DbManager.cpp
Find this
DBQryCharacter( szQuery, "D1", idPlayer, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, lpDbOverlappedPlus->AccountInfo.szPassword);
Change to this
DBQryCharacter( szQuery, "D1", idPlayer, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, szNo);
Go to Database: CHARACTER_STR
Look for
IF EXISTS(SELECT * FROM ACCOUNT_DBF.dbo.ACCOUNT_TBL WHERE account = @iaccount) --AND (id_no2 = @im_szName OR member = 'B' ))
Change to this
IF EXISTS(SELECT * FROM ACCOUNT_DBF.dbo.ACCOUNT_TBL WHERE account = @iaccount AND (id_no2 = @im_szName OR member = 'B' ))
So character deletion is gone :D
IF @iGu = 'D1' BEGIN select fError = '2' return