Git Product home page Git Product logo

ydwe's Introduction

ydwe's People

Contributors

actboy168 avatar alanoooaao avatar dulingzhi avatar h82258652 avatar luciouskami avatar shawwwn avatar shuen4 avatar sumneko avatar tc-imba avatar whimsyduke avatar yefq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ydwe's Issues

yd_leak_monitor导致魔兽崩溃

用YDWE的环境双开魔兽,2个魔兽均在疑似在生成报告时崩溃

Warcraft III (build 6387)

Exe: D:\魔兽争霸III\war3.exe
Time: Feb 11, 2015 7:55:37.154 PM
User: sunyijiu

Computer: RTS-SUNYIJIU

This application has encountered a critical error:

FATAL ERROR!

Program: D:\魔兽争霸III\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:6917E1E7

The instruction at '0x6917E1E7' referenced memory at '0x98CB9124'.
The memory could not be 'read'.

War3Build: 1.24.4.6387
Played Maps\allstart\new_All_Star_Battle_2.9_editor.w3x
Player 0 |cffffcc00[姝e湪娴嬭瘯涓璢|rWorldEdit锛堥箍鐩渾棣欙級 Race NightElf StartLoc 0
Player 1 鐜╁ 2 Race NightElf StartLoc 1
Player 2 鐜╁ 3 Race NightElf StartLoc 2
Player 3 鐜╁ 4 Race NightElf StartLoc 3
Player 4 鐜╁ 5 Race NightElf StartLoc 4
Player 5 |cffffcc00[姝e湪娴嬭瘯涓璢|rWorldEdit锛堝ぉ浣匡級 Race NightElf StartLoc 5
Player 6 鐜╁ 7 Race NightElf StartLoc 6
Player 7 鐜╁ 8 Race NightElf StartLoc 7
Player 8 鐜╁ 9 Race NightElf StartLoc 8
Player 9 鐜╁ 10 Race NightElf StartLoc 9
Player 10 |cff009900涓囩墿澶嶈嫃|r Race Undead StartLoc -1

Player 11 |cff0075ff鏋佸啲閰峰瘨|r Race Human StartLoc -1


x86 Registers

EAX=0FFF0090 EBX=1D40C6E0 ECX=E2332425 EDX=E7ACDEE4 ESI=0018F450
EDI=00000000 EBP=0018F3E0 ESP=0018F3E0 EIP=6917E1E7 FLG=00210206
CS =0023 DS =002B ES =002B SS =002B FS =0053 GS =002B


Stack Trace (Manual)

Address Frame Logical addr Module

6917E1EA 0018F3E0 0001:0000D1EA D:\魔兽争霸III\YDWE1.27.5测试版\bin\ydbase.dll
6FB51847 0018F4AC 0001:00000847 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_leak_monitor.dll
6FB51B1D 0018F740 0001:00000B1D D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_leak_monitor.dll
025CDCC8 0018F7FC 0001:0045CCC8 D:\魔兽争霸III\Game.dll


Stack Trace (Using DBGHELP.DLL)

6917E1EA ydb base::warcraft3::jass::from_stringid+26 (0x00000000,0x19F598A3,0x0018F710,0x00000000)


Loaded Modules

0x00400000 - 0x0047D000 D:\魔兽争霸III\war3
0x02160000 - 0x02D34000 D:\魔兽争霸III\Game
0x10000000 - 0x1010A000 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll
0x15000000 - 0x15061000 D:\魔兽争霸III\Storm
0x195B0000 - 0x19678000 C:\Windows\system32\OPENGL32.dll
0x1DC60000 - 0x1DD65000 C:\Windows\system32\d3d8.dll
0x21100000 - 0x2115F000 D:\魔兽争霸III\mss32
0x22600000 - 0x22616000 D:\魔兽争霸III\redist\miles\Mssfast
0x22700000 - 0x22717000 D:\魔兽争霸III\redist\miles\Mssdolby
0x22C00000 - 0x22C18000 D:\魔兽争霸III\redist\miles\Msseax2
0x24600000 - 0x24611000 D:\魔兽争霸III\redist\miles\Reverb3
0x26F00000 - 0x26F2A000 D:\魔兽争霸III\redist\miles\Mp3dec
0x500F0000 - 0x5017A000 C:\Users\sunyijiu\AppData\Roaming\TaobaoProtect\TaobaoProtectSE.dll
0x540B0000 - 0x540D2000 C:\Windows\system32\GLU32.dll
0x59B90000 - 0x5A9FF000 C:\Windows\system32\nvd3dum.dll
0x60000000 - 0x6005D000 D:\魔兽争霸III\ijl15
0x67000000 - 0x67283000 C:\Windows\system32\nvapi.dll
0x69170000 - 0x691B2000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\ydb
0x691C0000 - 0x6920A000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\Slk
0x6D930000 - 0x6D9B4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5\COMCTL32.dll
0x6E390000 - 0x6E396000 C:\Windows\system32\d3d8thk.dll
0x6E600000 - 0x6E61A000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\d3d8pr
0x6E620000 - 0x6E659000 C:\Windows\System32\MMDevApi.dll
0x6E750000 - 0x6E786000 C:\Windows\system32\AUDIOSES.DLL
0x6ED30000 - 0x6ED43000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_mutil_warcra
0x6EE80000 - 0x6EE86000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_virtual_
0x6F4E0000 - 0x6F515000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\luac
0x6F840000 - 0x6F857000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_lua_eng
0x6FB50000 - 0x6FB60000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_leak_moni
0x6FB60000 - 0x6FB6B000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_jass_de
0x6FB70000 - 0x6FB8D000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\boost_filesystem-vc100-mt-1
0x701D0000 - 0x701D7000 C:\Windows\system32\WSOCK32.dll
0x70CB0000 - 0x70D30000 C:\Windows\system32\uxtheme.dll
0x722A0000 - 0x722A9000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_jass_
0x72300000 - 0x72308000 D:\魔兽争霸III\YDWE1.27.5测试版\bin\boost_system-vc100-mt-1
0x72AE0000 - 0x72BCB000 C:\Windows\system32\dbghelp.dll
0x72F00000 - 0x72FF5000 C:\Windows\System32\PROPSYS.dll
0x730F0000 - 0x7318B000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\MSVCR80.dll
0x733B0000 - 0x733B6000 C:\Windows\system32\SensApi.dll
0x733C0000 - 0x733DC000 C:\Windows\system32\cryptnet.dll
0x733E0000 - 0x733F6000 C:\Windows\system32\GPAPI.dll
0x73450000 - 0x7348D000 C:\Windows\SysWOW64\bcryptprimitives.dll
0x734A0000 - 0x734A5000 C:\Windows\System32\wshtcpip.dll
0x734B0000 - 0x7356F000 C:\Windows\system32\MSVCR100.dll
0x73570000 - 0x735A8000 C:\Windows\system32\ncrypt.dll
0x735B0000 - 0x735EB000 C:\Windows\system32\rsaenh.dll
0x735F0000 - 0x73659000 C:\Windows\system32\MSVCP100.dll
0x73800000 - 0x73817000 C:\Windows\system32\bcrypt.dll
0x73820000 - 0x73837000 C:\Windows\system32\CRYPTSP.dll
0x73840000 - 0x7387C000 C:\Windows\system32\mswsock.dll
0x73A00000 - 0x73A08000 C:\Windows\system32\Secur32.dll
0x73DB0000 - 0x73DC0000 D:\魔兽争霸III\YDWE1.27.5测试版\plugin\warcraft3\yd_loa
0x74600000 - 0x74607000 C:\Windows\system32\avrt.dll
0x74E00000 - 0x74E35000 C:\Windows\SysWOW64\nvinit.dll
0x74EA0000 - 0x74EA9000 C:\Windows\system32\VERSION.dll
0x74F70000 - 0x74F7C000 C:\Windows\syswow64\CRYPTBASE.dll
0x74F80000 - 0x74FE0000 C:\Windows\syswow64\SspiCli.dll
0x74FE0000 - 0x75015000 C:\Windows\syswow64\WS2_32.dll
0x75020000 - 0x75024000 C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
0x750C0000 - 0x750C6000 C:\Windows\syswow64\NSI.dll
0x750D0000 - 0x750D5000 C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
0x75140000 - 0x75146000 C:\Windows\syswow64\DCIMAN32.dll
0x75150000 - 0x75154000 C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
0x75190000 - 0x7519C000 C:\Windows\syswow64\MSASN1.dll
0x751A0000 - 0x751A4000 C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
0x751B0000 - 0x75233000 C:\Windows\syswow64\CLBCatQ.DLL
0x75240000 - 0x7524B000 C:\Windows\syswow64\profapi.dll
0x753A0000 - 0x7542F000 C:\Windows\syswow64\OLEAUT32.dll
0x75430000 - 0x75442000 C:\Windows\syswow64\DEVOBJ.dll
0x75450000 - 0x75475000 C:\Windows\syswow64\powrprof.dll
0x755C0000 - 0x755C3000 C:\Windows\syswow64\normaliz.DLL
0x755D0000 - 0x75670000 C:\Windows\syswow64\ADVAPI32.dll
0x75670000 - 0x75683000 C:\Windows\syswow64\dwmapi.dll
0x75690000 - 0x75695000 C:\Windows\syswow64\PSAPI.DLL
0x756A0000 - 0x75790000 C:\Windows\syswow64\RPCRT4.dll
0x75790000 - 0x757C2000 C:\Windows\syswow64\WINMM.dll
0x757D0000 - 0x75815000 C:\Windows\syswow64\WLDAP32.dll
0x75820000 - 0x758EC000 C:\Windows\syswow64\MSCTF.dll
0x758F0000 - 0x75A4C000 C:\Windows\syswow64\ole32.dll
0x75A50000 - 0x75ACB000 C:\Windows\syswow64\COMDLG32.dll
0x75AD0000 - 0x75BF1000 C:\Windows\syswow64\CRYPT32.dll
0x75C00000 - 0x7684A000 C:\Windows\syswow64\SHELL32.dll
0x76850000 - 0x76867000 C:\Windows\syswow64\USERENV.dll
0x76870000 - 0x7689F000 C:\Windows\syswow64\WINTRUST.dll
0x768A0000 - 0x768F7000 C:\Windows\syswow64\SHLWAPI.dll
0x76900000 - 0x76927000 C:\Windows\syswow64\CFGMGR32.dll
0x76930000 - 0x76A30000 C:\Windows\syswow64\USER32.dll
0x76A30000 - 0x76ACD000 C:\Windows\syswow64\USP10.dll
0x76AD0000 - 0x76B60000 C:\Windows\syswow64\GDI32.dll
0x76B60000 - 0x76C47000 C:\Windows\syswow64\DDRAW.dll
0x76C50000 - 0x76C69000 C:\Windows\SysWOW64\sechost.dll
0x76C70000 - 0x76CD0000 C:\Windows\syswow64\IMM32.dll
0x76CD0000 - 0x76CD3000 C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
0x76CE0000 - 0x76D52000 C:\Windows\syswow64\DSOUND.DLL
0x76D70000 - 0x76F0D000 C:\Windows\syswow64\SETUPAPI.dll
0x76F10000 - 0x77142000 C:\Windows\syswow64\iertutil.dll
0x77150000 - 0x77197000 C:\Windows\syswow64\KERNELBASE.dll
0x771A0000 - 0x77375000 C:\Windows\syswow64\WININET.dll
0x77380000 - 0x7742C000 C:\Windows\syswow64\msvcrt.dll
0x77430000 - 0x77540000 C:\Windows\syswow64\kernel32.dll
0x77A50000 - 0x77A5A000 C:\Windows\syswow64\LPK.dll
0x77A80000 - 0x77C00000 C:\Windows\SysWOW64\ntdll.dll


Memory Dump

Code: 16 bytes starting at (EIP = 6917E1EA)

6917E1EA: 8B 40 14 5D C3 55 8B EC E8 66 FD FF FF 85 C0 74 .@.].U...f.....t

Stack: 1024 bytes starting at (ESP = 0018F3E0)

  • = addr ** *
    0018F3E0: AC F4 18 00 47 18 B5 6F 00 00 00 00 A3 98 F5 19 ....G..o........
    0018F3F0: 10 F7 18 00 00 00 00 00 BC F6 18 00 00 00 00 00 ................
    0018F400: 9C A8 67 1F 74 76 65 75 80 A8 67 1F 7C F5 18 00 ..g.tveu..g.|...
    0018F410: 60 A6 D5 1E 89 20 00 00 01 15 65 73 F8 29 EE 01 .... ....es.).. 0018F420: E0 C5 EE 01 25 34 00 00 34 F4 18 00 B0 00 3A 10 ....%4..4.....:. 0018F430: 00 08 00 00 00 00 00 00 58 29 42 0F 00 20 00 00 ........X)B.. .. 0018F440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0018F450: 00 5C 2C 1D 70 65 3A 20 75 65 76 74 00 00 45 00 .\,.pe: uevt..E. 0018F460: 00 00 00 00 0F 00 00 00 00 00 00 00 00 00 00 00 ................ 0018F470: FF FF FF FF 00 5C 2C 1D 7C 20 48 65 72 6F 5B 35 .....\,.| Hero[5 0018F480: 5D 00 66 00 00 00 00 00 0F 00 00 00 00 00 00 00 ].f............. 0018F490: 94 F5 18 00 AF 98 F5 19 34 F7 18 00 34 F7 18 00 ........4...4... 0018F4A0: 60 8B B5 6F 00 00 00 00 00 1B B5 6F 40 F7 18 00..o.......o@...
    0018F4B0: 1D 1B B5 6F 13 9C F5 19 A4 F7 18 00 A2 D8 AB 02 ...o............
    0018F4C0: FF FF FF FF 40 99 B5 6F 1C 7C F5 19 00 00 00 00 [email protected].|......
    0018F4D0: 00 00 00 00 48 99 B5 6F 88 9A 9E 02 FC 98 B5 6F ....H..o.......o
    0018F4E0: F8 16 3A 1D 00 00 00 00 00 00 00 00 E4 F4 18 00 ..:.............
    0018F4F0: E8 F4 18 00 00 00 00 00 00 00 00 00 F4 F4 18 00 ................
    0018F500: F8 F4 18 00 00 00 00 00 00 00 00 00 04 F5 18 00 ................
    0018F510: 08 F5 18 00 80 6F E2 1E D8 85 98 02 FF FF FF FF .....o..........
    0018F520: 00 00 00 00 44 00 D1 03 00 00 00 00 00 7D F5 19 ....D........}..
    0018F530: 00 00 00 00 3C 99 B5 6F B8 F5 18 00 00 00 00 00 ....<..o........
    0018F540: 00 00 00 00 00 00 00 00 01 02 00 00 06 00 00 00 ................
    0018F550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0018F560: 00 00 00 00 60 22 36 1D 00 00 E5 25 DC F4 18 00 ....`"6....%....
    0018F570: 00 00 00 00 20 00 00 00 00 00 00 00 40 99 B5 6F .... [email protected]
    0018F580: 00 00 00 00 00 00 00 00 00 00 00 00 48 99 B5 6F ............H..o
    0018F590: E2 5D 02 15 FC 98 B5 6F 98 EC 39 1D 00 00 00 00 .].....o..9.....
    0018F5A0: 00 00 00 00 70 30 56 73 70 30 56 73 00 00 00 00 ....p0Vsp0Vs....
    0018F5B0: 00 00 00 00 68 30 56 73 68 30 56 73 00 00 00 00 ....h0Vsh0Vs....
    0018F5C0: 00 00 00 00 6C 30 56 73 6C 30 56 73 A0 6F E2 1E ....l0Vsl0Vs.o..
    0018F5D0: FF FF FF 7F 98 00 3F 10 00 00 00 00 E3 00 5A 02 ......?.......Z.
    0018F5E0: 00 00 00 00 01 F6 18 00 68 30 56 73 3C 99 B5 6F ........h0Vs<..o
    0018F5F0: 88 00 3F 10 00 00 00 00 00 00 00 00 00 00 00 00 ..?.............
    0018F600: 01 02 00 00 06 00 00 00 00 00 00 00 00 00 00 00 ................
    0018F610: 00 00 00 00 00 00 00 00 00 00 00 00 90 6F E2 1E .............o..
    0018F620: FC F7 18 00 94 F5 18 00 00 00 00 00 20 D8 AB 02 ............ ...
    0018F630: 3C 01 50 02 73 B5 51 02 40 F6 18 00 29 B6 51 02 <.P.s.Q.@...).Q.
    0018F640: 32 32 00 00 08 6E 9B 10 04 00 00 00 40 F3 CB 22 22...n......@.."
    0018F650: 97 3C 03 15 70 FB CB 22 40 F3 CB 22 FF FF FF 7F .<..p.."@.."....
    0018F660: F8 4A 4A 19 00 00 E2 1E 00 00 00 00 00 00 00 00 .JJ.............
    0018F670: 88 0A 2E 18 00 00 00 00 07 00 00 00 90 0A 2E 18 ................
    0018F680: 00 00 2B 1D 3D 26 62 02 34 97 96 0C 00 00 00 00 ..+.=&b.4.......
    0018F690: 00 00 00 00 07 00 00 00 88 00 04 17 89 6E 76 02 .............nv.
    0018F6A0: 01 00 00 00 88 00 01 17 88 00 04 17 88 00 04 17 ................
    0018F6B0: 88 00 01 17 7C 6F 76 02 00 00 00 00 00 00 3A 1D ....|ov.......:.
    0018F6C0: 88 00 E3 14 FF FF FF FF 96 82 4E 02 00 00 00 00 ..........N.....
    0018F6D0: 07 00 00 00 00 00 00 00 00 00 6F 00 67 00 73 00 ..........o.g.s.
    0018F6E0: 00 00 F5 19 CE 01 10 00 00 00 00 00 07 00 00 00 ................
    0018F6F0: E8 50 99 02 B4 F7 18 00 BC 7B 42 0F 8F E0 51 02 .P.......{B...Q.
    0018F700: 28 59 CA 22 4F D1 D0 68 10 00 00 00 28 59 CA 22 (Y."O..h....(Y."
    0018F710: 28 97 49 1F F8 D4 C9 22 48 F7 18 00 A4 F7 18 00 (.I...."H.......
    0018F720: 35 00 00 00 37 00 00 00 48 F7 18 00 13 9C F5 19 5...7...H.......
    0018F730: B4 F4 18 00 A4 F8 18 00 F9 8B B5 6F 0B 00 00 00 ...........o....
    0018F740: FC F7 18 00 C8 DC 5B 02 08 6E 9B 10 B4 DC 5B 02 ......[..n....[.
    0018F750: B0 00 5C 10 AC DC 5B 02 28 59 CA 22 88 00 29 12 .....[.(Y."..).
    0018F760: 08 00 00 00 48 5D 02 15 1F 00 00 00 E2 5D 02 15 ....H].......]..
    0018F770: 78 A7 E8 25 A4 F7 18 00 00 00 E5 25 D6 9C B4 7B x..%.......%...{
    0018F780: F7 5F 02 15 90 6B 05 15 E8 C0 46 12 3D 26 62 02 ._...k....F.=&b.
    0018F790: E8 C0 46 12 00 00 00 00 1C 00 00 00 E9 03 00 00 ..F.............
    0018F7A0: 08 6E 9B 10 47 3D 5B 02 01 00 00 00 EC 59 BF 02 .n..G=[......Y..
    0018F7B0: FE FF FF FF E9 03 00 00 B0 00 75 10 A0 6D CD 22 ..........u..m."
    0018F7C0: E9 EF B1 66 C7 D2 5B 02 9C 2F 45 12 00 00 00 00 ...f..[../E.....
    0018F7D0: 00 00 00 00 D8 06 00 00 B0 00 75 10 04 00 00 00 ..........u.....

关闭ydwe后出现崩溃

73C7238E >/$  55            push ebp
73C7238F  |.  8BEC          mov ebp,esp
73C72391  |.  83E4 F8       and esp,0xFFFFFFF8
73C72394  |.  6A FF         push -0x1
73C72396  |.  68 806EC773   push log.73C76E80
73C7239B  |.  64:A1 0000000>mov eax,dword ptr fs:[0]    ; SEH链指针
73C723A1  |.  50            push eax
73C723A2  |.  81EC A0000000 sub esp,0xA0
73C723A8  |.  A1 00C0C773   mov eax,dword ptr ds:[0x73C7C000]
73C723AD  |.  33C4          xor eax,esp
73C723AF  |.  898424 980000>mov dword ptr ss:[esp+0x98],eax
73C723B6  |.  53            push ebx
73C723B7  |.  56            push esi
73C723B8  |.  57            push edi
73C723B9  |.  A1 00C0C773   mov eax,dword ptr ds:[0x73C7C000]
73C723BE  |.  33C4          xor eax,esp
73C723C0  |.  50            push eax
73C723C1  |.  8D8424 B00000>lea eax,dword ptr ss:[esp+0xB0]
73C723C8  |.  64:A3 0000000>mov dword ptr fs:[0],eax
73C723CE  |.  8BF1          mov esi,ecx      ;  ecx=this指针
73C723D0  |.  8B0E          mov ecx,dword ptr ds:[esi]
73C723D2  |.  33DB          xor ebx,ebx
73C723D4  |.  8B7D 08       mov edi,[arg.1]
73C723D7  |.  3999 84000000 cmp dword ptr ds:[ecx+0x84],ebx
73C723DD  |.  74 1F         je short log.73C723FE
73C723DF  |.  8B57 10       mov edx,dword ptr ds:[edi+0x10]
73C723E2  |.  33C0          xor eax,eax
73C723E4  |.  0391 D8000000 add edx,dword ptr ds:[ecx+0xD8]
73C723EA  |.  1381 DC000000 adc eax,dword ptr ds:[ecx+0xDC]
73C723F0  |.  3BC3          cmp eax,ebx
73C723F2  |.  77 16         ja short log.73C7240A
73C723F4  |.  72 08         jb short log.73C723FE
73C723F6  |.  81FA 00000800 cmp edx,0x80000
73C723FC  |.  73 0C         jnb short log.73C7240A
73C723FE  |>  8B41 30       mov eax,dword ptr ds:[ecx+0x30]
73C72401  |.  8B40 04       mov eax,dword ptr ds:[eax+0x4]    ; crash,eax=9DAA3800 
73C72404  |.  395C08 3C     cmp dword ptr ds:[eax+ecx+0x3C],ebx
73C72408  |.  74 07         je short log.73C72411
73C7240A  |>  8BCE          mov ecx,esi
73C7240C  |.  E8 F9010000   call log.?rotate_file@backend@logging@@Q>
73C72411  |>  8B06          mov eax,dword ptr ds:[esi]

EAX 9DAA3800
ECX 009CFFFF
EDX 00AE50B8
EBX 00000000
ESP 0018FB3C
EBP 0018FBF8
ESI 009C7798
EDI 0018FC18
EIP 73C72401 log.73C72401
LastErr ERROR_CLASS_DOES_NOT_EXIST (00000583)

这个问题在我的机器上可以得到完整的复现,打开YDWE,用OD附加wordeditydwe.exe,在log.dll+2401处下断,恢复主线程,关闭we。此时会在断点处断下,一直F9到所有模块卸载即栈中日志文件输出有” Main program exit”时。
在当前call入口处下断一直跟到log.dll+2401中间就会发现[ecx+30]处存放的地址明显非法,之后把这里的值给eax以后再对[eax+4]访问,一个非法的地址肯定会引发访问违规,具体崩溃原因(类里面访问的问题?)由于水平有限无法发现,希望我的反馈对解决问题有所帮助。

YDWE: error YDWE directory.

Hi, actboy168. When I click on YDWE.exe, this error message window pops up: error YDWE directory. I don't know how to fix it and will be grateful if you can help me. Thanks in advence for your time. :)

主动激活技能冷却时间的JAPI的2个问题

1:当单位处于空闲状态时无法激活技能冷却(返回false),必须当单位有其他指令时(例如移动中)才会成功
2:主动激活冷却时间为0的技能有可能导致单位被卡住,在技能冷却过程中会站在原地不动,发布指令后对应的命令或技能图标会高亮,但是不会执行,技能冷却完毕后恢复

YDWE1.285导入模型时丢失自定义main.lua文件

很奇怪的一个bug:
1.28.5(1.27.6一样)打开地图,导入6666文件夹里面的模型,点测试发现运行不了main.lua,hke解压出来发现丢失main.lua,继续导入模型,继续丢失lua文件。

如果先导入其他模型,再导入6666文件夹里面的模型,则未出现上述情况。
模型与图在百度云盘:http://pan点baidu点com/s/1jGGcNVC

另:一、 lua文件能用luac编译字节码运行吗?
二、1.28.5保存出来lua图,并不能在11上运行(未多次测试)

编译错误

环境 msvc 2015
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 C2694 “const char *base::win::windows_category::name(void) const”: 重写虚函数的限制性异常规范比基类虚成员函数“const char *std::error_category::name(void) noexcept const”少 ydbase d:\github\ydwe2\development\editor\core\ydbase\base\win\windows_category.h 10
错误 C2694 “const char *base::win::windows_category::name(void) const”: 重写虚函数的限制性异常规范比基类虚成员函数“const char *std::error_category::name(void) noexcept const”少 ydbase d:\github\ydwe2\development\editor\core\ydbase\base\win\windows_category.h 10
错误 C2694 “std::error_condition base::win::windows_category::default_error_condition(int) const”: 重写虚函数的限制性异常规范比基类虚成员函数“std::error_condition std::error_category::default_error_condition(int) noexcept const”少 ydbase d:\github\ydwe2\development\editor\core\ydbase\base\win\windows_category.h 12
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
错误 C2059 语法错误:“(” ydbase d:\github\ydwe2\development\editor\core\ydbase\base\hook\fp_call.h 45
警告 C4275 非 dll 接口 class“std::exception”用作 dll 接口 class“base::exception”的基 ydbase d:\github\ydwe2\development\editor\core\ydbase\base\exception\exception.h 11
错误 C2694 “std::error_condition base::win::windows_category::default_error_condition(int) const”: 重写虚函数的限制性异常规范比基类虚成员函数“std::error_condition std::error_category::default_error_condition(int) noexcept const”少 ydbase d:\github\ydwe2\development\editor\core\ydbase\base\win\windows_category.h 12

https://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=ZH-CN&k=k(C2059);&rd=true
https://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=ZH-CN&k=k(C2694);&rd=true

1.28.1的逆天传参BUG

qq 20141225100045
qq 20141225100111

在第一层计时器的参数中保存"触发单位"后,生成的代码并没有保存触发单位

自定义物体ID输入错误

开启自定义物体ID输入后,创建新技能时显示的默认技能ID为"000A"(正确的为"A000")
点击取消会正常创建出ID为"A000"的技能,点击确定显示输入错误(无论是否改动过ID),日志显示"[lua]-[trace] User input error()."

能说明一下编译环境吗

下载好后直接去点build目录下的编译命令显然是不行的,只会提示我找不到各种东西。。。

逆天计时器自动传参错误

多层嵌套的逆天计时器中,填在逆天计时器"参数"栏的"触发单位"会被直接转换成GetTriggerUnit(),没有进行自动传参

jass调用来自lua的code会崩溃

当满足一些条件后,jass试图调用一个来自lua的code时会崩溃(如计时器到期执行一个lua函数,或触发器触发运行一个lua函数)。如果在lua中hook过cj函数,这个hook运行时也会崩溃。触发的条件可能是因为注册了大量的触发器事件,准确的原因还在研究中。

多层嵌套逆天计时器中的自动传参错误

受影响的是诸如"触发单位"等事件响应函数
例如触发A运行了逆天计时器B,逆天计时器B中运行了逆天计时器C,在逆天计时器C中使用了"触发单位"后,生成的代码会在逆天计时器B中保存"触发单位".正确的代码应该是在触发A中保存"触发单位"

lua引擎对jass.TriggerSleepAction的支持

目前base::warcraft3:: jass::trampoline不可以重入,所以不支持jass.TriggerSleepAction。

为此需要引入coroutine,和带来一些运行时消耗。所以正在考虑四个方案
1.增加对jass.TriggerSleepAction的支持。
2.增加对jass.TriggerSleepAction的支持,但默认不开启,需要运行打开开关。
3.调用jass.TriggerSleepAction是给一个运行时警告/错误,并忽略。
4.保持现状。

Lua引擎的2个崩溃问题

1.lua引擎访问jass中的字符串类型变量时会导致魔兽崩溃
2.lua引擎hook了2个以上的native函数后,会在任意hook执行时导致魔兽崩溃

JAPI修改技能数据是全局修改而不是指定单位

测试发现JAPI的修改技能数据是全局修改的,并不是只修改指定单位的技能
如果确实无法实现(包括以后也难以实现)只修改指定单位的技能数据请告知,以便我尽快重写相关代码减少损失,烦请核实,谢谢!

最萌小汐的JAPI请求 2013-8-19

JAPI 2013-8-19
--------------------急需----------------------
1.修改技能的学习图标
2.修改技能的关闭图标
3.修改BUFF的图标
4.修改BUFF的说明
5.修改BUFF的扩展说明

注:3-5当时测试的时候可以实现,正式版时无法实现,烦请核实

---------------------需求----------------------
6.(玩家)单位发布无目标(点目标,物体目标)指令时通过触发玩家获取命令发布者,而不是触发单位的所有者

---------------------长期----------------------
7.修改物品图标
8.修改物品(扩展)说明
9.修改物品价格
10.修改物品带的技能(CD组)
11.修改物品是否可以主动使用

注:7-11是为了脚本统一注册物品

userdata不能自主添加key和value

local hero = CreateUnit(...)
hero["m_hp"] = 100 -- 编译过不去

不知能否实现?如果可以的话可以实现面向对象编程,不得不说是一个福音。

我对lua底层实现不熟,但在cocos2dx里面userdata是可以这么使用的,不知是不是lua版本问题,又或是cocos导出的原因?

希望可以增加同一个玩家可以同时寻路的单位数量

魔兽的寻路系统中,为了保证效率每个玩家可以同时寻路的单位有限,多余的单位会排队而导致大量刷兵的时候小兵移动不连贯
现在的电脑配置已经不再需要这么小的限制值了,希望可以增加同时寻路的单位数量

关于1.26.5版本ForGroup的预处理代码与bj_wantDestroyGroup之间的一些建议

在对BJ的选取单位组(比如选取圆形范围内的单位)进行ForGroup时,建议在生成的代码中添加一句set bj_wantDestroyGroup = false

在对自定义的单位组进行ForGroup时,生成的代码中虽然有判定bj_wantDestroyGroup来提高效率,但是判定后没有重设bj_wantDestroyGroup,希望也能添加一句set bj_wantDestroyGroup = false

这是我之前将旧版地图升级到1.26.5后发现的,尤其是第二个情况会导致只要你设置了一处set bj_wantDestroyGroup = true,那么所有的自定义单位组都会被摧毁,烦请采纳

YDColorizer未处理异常

某些情况下YDColorizer.TextConvert.ConvertToPreviewTextBox函数内会抛出异常
并且现在YDColorizer几乎没有对任何异常进行处理

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.