我使用的Lua复刻版0.6加上借身行侠0.5。发现经常会莫名其妙的退出,在战斗完成后或对话时。
例如,在无量山战胜那个动物后、神雕洞战胜蛇之后。并且是随机的,有时战斗后会退出,重新试就不会。
请高手解决啊!
附件:神雕洞战胜蛇之后,退出时的debug.txt文件:
12:10:10 JY_Main start.
12:10:15 Start game cycle
12:10:24 oldevent_390.lua
12:10:24 war start. warid=66
12:10:28 load war map 17
12:14:15 script\jymain.lua:4285: attempt to index field '?' (a nil value)
12:14:15 stack traceback:
script\jymain.lua:86: in function <script\jymain.lua:84>
script\jymain.lua:4285: in function 'War_PersonTrainDrug'
script\jymain.lua:4085: in function 'War_EndPersonData'
script\jymain.lua:3973: in function <script\jymain.lua:3867>
(tail call): ?
script\oldevent\oldevent_390.lua:5: in main chunk
[C]: in function 'dofile'
script\jymain.lua:2508: in function 'oldCallEvent'
script/jymodify.lua:264: in function 'EventExecute'
script\jymain.lua:1146: in function 'Game_SMap'
script\jymain.lua:287: in function 'Game_Cycle'
script\jymain.lua:172: in function <script\jymain.lua:89>
[C]: in function 'xpcall'
script\jymain.lua:81: in function <script\jymain.lua:79>
附件:error.txt文件:
Video Driver: windib
Open file data\start.mpg error: Couldn't open data\start.mpg