File tree Expand file tree Collapse file tree 5 files changed +15
-0
lines changed Expand file tree Collapse file tree 5 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1596,6 +1596,8 @@ Body:
15961596 Translation : " 正在准备加载 '[{CL_WHITE}]%d[{CL_RESET}]' 张地图.\n "
15971597- Original : " Loading '[{CL_WHITE}]%[{PRIdPTR}][{CL_RESET}]' entries in '[{CL_WHITE}]%s[{CL_RESET}]'\n "
15981598 Translation : " 将读取 [{CL_WHITE}]%-5[{PRIdPTR}][{CL_RESET}] 组数据, 源于 '[{CL_WHITE}]%s[{CL_RESET}]'\n "
1599+ - Original : " Loading '[{CL_WHITE}]%[{PRIu64}][{CL_RESET}]' entries in '[{CL_WHITE}]%s[{CL_RESET}]'\n "
1600+ Translation : " 将读取 [{CL_WHITE}]%-5[{PRIu64}][{CL_RESET}] 组数据, 源于 '[{CL_WHITE}]%s[{CL_RESET}]'\n "
15991601- Original : " Loading '[{CL_WHITE}]%s[{CL_RESET}]'...[{CL_CLL}]\r "
16001602 Translation : " 正在加载 '[{CL_WHITE}]%s[{CL_RESET}]'...[{CL_CLL}]\r "
16011603- Original : " Loading Char Data ([{CL_BOLD}]%d[{CL_RESET}])\n "
Original file line number Diff line number Diff line change @@ -1596,6 +1596,8 @@ Body:
15961596 Translation : " 正在準備載入 '[{CL_WHITE}]%d[{CL_RESET}]' 張地圖.\n "
15971597- Original : " Loading '[{CL_WHITE}]%[{PRIdPTR}][{CL_RESET}]' entries in '[{CL_WHITE}]%s[{CL_RESET}]'\n "
15981598 Translation : " 將讀取 [{CL_WHITE}]%-5[{PRIdPTR}][{CL_RESET}] 組資料, 源於 '[{CL_WHITE}]%s[{CL_RESET}]'\n "
1599+ - Original : " Loading '[{CL_WHITE}]%[{PRIu64}][{CL_RESET}]' entries in '[{CL_WHITE}]%s[{CL_RESET}]'\n "
1600+ Translation : " 將讀取 [{CL_WHITE}]%-5[{PRIu64}][{CL_RESET}] 組資料, 源於 '[{CL_WHITE}]%s[{CL_RESET}]'\n "
15991601- Original : " Loading '[{CL_WHITE}]%s[{CL_RESET}]'...[{CL_CLL}]\r "
16001602 Translation : " 正在載入 '[{CL_WHITE}]%s[{CL_RESET}]'...[{CL_CLL}]\r "
16011603- Original : " Loading Char Data ([{CL_BOLD}]%d[{CL_RESET}])\n "
Original file line number Diff line number Diff line change 10221022 //
10231023 // 特别感谢 "HongShin" 指出此问题
10241024 #define Pandas_Fix_ScriptControl_Shop_Missing_NpcID_Error
1025+
1026+ // 修正启用 use_sql_db 之后终端加载信息出现来源数据表为 (null) 的问题 [Sola丶小克]
1027+ #define Pandas_Fix_Use_SQL_DB_Make_Terminal_Show_Null
10251028#endif // Pandas_Bugfix
10261029
10271030// ============================================================================
Original file line number Diff line number Diff line change @@ -4363,7 +4363,11 @@ static int itemdb_read_sqldb(void) {
43634363 uint32 total_columns = Sql_NumColumns (mmysql_handle);
43644364 uint64 total_rows = Sql_NumRows (mmysql_handle), rows = 0 , count = 0 ;
43654365
4366+ #ifndef Pandas_Fix_Use_SQL_DB_Make_Terminal_Show_Null
43664367 ShowStatus (" Loading '" CL_WHITE " %" PRIdPTR CL_RESET " ' entries in '" CL_WHITE " %s" CL_RESET " '\n " , total_rows, item_db_name[fi]);
4368+ #else
4369+ ShowStatus (" Loading '" CL_WHITE " %" PRIu64 CL_RESET " ' entries in '" CL_WHITE " %s" CL_RESET " '\n " , total_rows, item_db_name[fi]);
4370+ #endif // Pandas_Fix_Use_SQL_DB_Make_Terminal_Show_Null
43674371
43684372 // process rows one by one
43694373 while ( SQL_SUCCESS == Sql_NextRow (mmysql_handle) ) {
Original file line number Diff line number Diff line change @@ -5607,7 +5607,11 @@ static int mob_read_sqldb(void)
56075607 uint32 total_columns = Sql_NumColumns (mmysql_handle);
56085608 uint64 total_rows = Sql_NumRows (mmysql_handle), rows = 0 , count = 0 ;
56095609
5610+ #ifndef Pandas_Fix_Use_SQL_DB_Make_Terminal_Show_Null
56105611 ShowStatus (" Loading '" CL_WHITE " %" PRIdPTR CL_RESET " ' entries in '" CL_WHITE " %s" CL_RESET " '\n " , total_rows, mob_db_name[fi]);
5612+ #else
5613+ ShowStatus (" Loading '" CL_WHITE " %" PRIu64 CL_RESET " ' entries in '" CL_WHITE " %s" CL_RESET " '\n " , total_rows, mob_db_name[fi]);
5614+ #endif // Pandas_Fix_Use_SQL_DB_Make_Terminal_Show_Null
56115615
56125616 // process rows one by one
56135617 while ( SQL_SUCCESS == Sql_NextRow (mmysql_handle) ) {
You can’t perform that action at this time.
0 commit comments