1
我正在做的聊天記錄中的某些詞searchs,然後這個插件將它們發送到指定的chatframe它的工作原理,但它隨機導致錯誤和崩潰遊戲附加組件(WOW,LUA)造成嚴重的錯誤
This application has encountered a critical error: ERROR #132 (0x85100084) Fatal Exception Program: C:\WoW\Wow.exe Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:00416DB0 The instruction at "0x00416DB0" referenced memory at "0x1F97FFFE". The memory could not be "read".
我打開cheatengine瀏覽區後墜毀,看看在那裏
1F97FFFE: http://i.imgur.com/D7XKi2D.jpg 00416DB0: http://i.imgur.com/duTM315.jpg
和插件代碼:
--Event CHAT_MSG_CHANNEL if event == "CHAT_MSG_CHANNEL" then if TriggerEnabled then local arg1 = string.lower(arg1) local found, dump = false, false for k,v in pairs(lsus.Triggers) do if not found then for k,v in pairs(lsus.NegTriggers) do if (string.find(arg1, v)) then dump = true end end if (string.find(arg1, v)) and not dump then local output = " [\124Hplayer:" .. arg2 .. ":1:WHISPER\124h" .. arg2 .. "\124h\124r]: " .. arg1:gsub(v, "\124c0000FF00\124h" .. string.upper(v) .. "\124h\124r") print(output, 0.41, 0.80, 0.94) found = true end end end end end --print function function print(msg, r, g, b) if not r then ChatFrame1:AddMessage(msg) else ChatFrame1:AddMessage(msg, r, g, b) end end
任何人都可以幫助我,爲什麼這是崩潰的遊戲?
https://eu.battle.net/support/en/article/error-132嘗試恢復到DX9。 可能不是由插件引起的。 – Blenderer 2013-03-05 21:08:46