planqi / slashdiablo-maphack

A customized maphack for the slashdiablo D2 server
GNU Affero General Public License v3.0
88 stars 42 forks source link

Fix the issue of displaying item name as ??? when the game language is Chinese #29

Open HuangJian opened 5 years ago

HuangJian commented 5 years ago

issue details here

UnclWish commented 4 years ago

On Russian language the same bug. All item names is ???. And string "Base Defense" are on english. But game is localized in russian.

UnclWish commented 4 years ago

I tried commit https://github.com/planqi/slashdiablo-maphack/pull/29/commits/84e912d7838043a1790bd860d7f28e4f026251cc and it works! Russian item names writes right with it!

MxCen commented 4 years ago

BUG-暗金装备丢在地上后左上角消息提示???

QQ截图20200319014108

QQ截图20200319014354

After being dropped on the ground, the game prompts that the equipment is dropped. There is still a problem in the upper left corner. Please ask God to help correct it.

丢在地上后,游戏提示装备掉落消息左上角还有点问题,烦请大神帮助修正。

MxCen commented 4 years ago

“D:\BH2\BH2\ALL_BUILD.vcxproj”(默认目标) (1) -> “D:\BH2\BH2\BH\BH.vcxproj”(默认目标) (3) -> (ClCompile 目标) -> d:\bh2\bh\asyncdrawbuffer.cpp(133): warning C4018: “>”: 有符号/无符号不匹配 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\common.cpp(243): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\common.cpp(261): warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\config.cpp(475): warning C4018: “>=”: 有符号/无符号不匹配 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\d2helpers.cpp(192): warning C4838: 从“int”转换到“DWORD”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\d2version.cpp(56): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\jsonobject.cpp(623): warning C4018: “<”: 有符号/无符号不匹配 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\mpqinit.cpp(1038): warning C4838: 从“int”转换到“BYTE”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\modules\item\item.cpp(287): warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\drawing\advanced\inputhook\inputhook.cpp(131): warning C4838: 从“unsigned int”转换到“LONG”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\drawing\basic\framehook\framehook.cpp(113): warning C4838: 从“unsigned int”转换到“LONG”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\drawing\basic\framehook\framehook.cpp(148): warning C4838: 从“unsigned int”转换到“LONG”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\drawing\basic\texthook\texthook.cpp(189): warning C4838: 从“DWORD”转换到“LONG”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\drawing\basic\texthook\texthook.cpp(189): warning C4838: 从“unsigned int”转换到“LONG”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\drawing\basic\texthook\texthook.cpp(200): warning C4838: 从“DWORD”转换到“LONG”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj] d:\bh2\bh\drawing\basic\texthook\texthook.cpp(200): warning C4838: 从“unsigned int”转换到“LONG”需要收缩转换 [D:\BH2\BH2\BH\BH.vcxproj]