Jump to content

触发瓦格斯塔夫出现时,服务器崩溃


zzk5551
  • Pending

有只附身座狼在岩浆池子旁边被烧,并且在玩家加载范围外,烧伤依然会生效,附身座狼被烧死后,触发瓦格斯塔夫出现(Trigger Wagstaff Appearance),但是在玩家加载范围外,导致游戏崩溃。并且当我把附身座狼在加载范围内击杀时,后面就没有发生游戏崩溃了,下面是服务器崩溃时的地面运行日志。我没导出源文件见谅。

[00:21:14]: [string "scripts/components/lunarriftmutationsmanage..."]:104: attempt to index field 'wagstaff' (a nil value)
LUA ERROR stack traceback:
    scripts/components/lunarriftmutationsmanager.lua:104 in (method) TriggerWagstaffAppearance (Lua) <90-107>
    scripts/components/lunarriftmutationsmanager.lua:85 in (method) SetMutationDefeated (Lua) <75-88>
    scripts/prefabs/warg.lua:557 in (local) fn (Lua) <554-559>
    scripts/entityscript.lua:1215 in (method) PushEvent (Lua) <1202-1229>
    scripts/components/health.lua:485 in (upvalue) oldSetVal (Lua) <462-499>
    ../mods/workshop-1909182187/scripts/medal_hook.lua:3233 in (method) SetVal (Lua) <3201-3235>
    scripts/components/health.lua:528 in (upvalue) oldDoDelta (Lua) <501-537>
    ../mods/workshop-1909182187/scripts/medal_hook.lua:3194 in (method) DoDelta (Lua) <3106-3198>
    scripts/components/health.lua:208 in (method) DoFireDamage (Lua) <173-218>
    scripts/components/propagator.lua:201 in (method) OnUpdate (Lua) <141-218>
    scripts/components/propagator.lua:68 in (field) fn (Lua) <67-69>
    scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
    scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
    scripts/update.lua:240 in () ? (Lua) <224-298>

 


Steps to Reproduce

在加载范围外,用岩浆池击杀附身座狼,并且满足触发瓦格斯塔夫出现的条件,游戏就会崩溃




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...