MapleServer2
MapleServer2 copied to clipboard
An error when the enemy uses a skill in some dungeons.
Describe the bug A clear and concise description of what the bug is.
As you move halfway through the dungeons of Cherry Blossom Hill, Lazy Stumpy breathes, creating a storm effect. Then an error occurred on the server and the connection to the server was lost.
To Reproduce Steps to reproduce the behavior: Example:
- Use X item...
- Enter X map...
- Error happens
- Move about 2/3 of the cherry blossom hill (coordinates unknown)
- Lazy Stumpy inhales and exhales along the way.
- Crash.
Expected behavior A clear and concise description of what you expected to happen.
Server disconnection, error
Screenshots If applicable, add screenshots to help explain your problem.
Stack trace of the error Copy the error from the console of MapleServer2
[01:46:49] [ERR] FieldManager: System.NullReferenceException: Object reference not set to an instance of an object. at MapleServer2.Types.RegionSkillHandler.HandleEffect(FieldManager field, SkillCast skillCast, IFieldActor target) in D:\MapleServer2-P1\MapleServer2\Types\RegionSkillHandler.cs:line 19 at MapleServer2.Triggers.TriggerContext.SetSkill(Int32[] triggerIds, Boolean arg2) in D:\MapleServer2-P1\MapleServer2\Triggers\FieldObjectTriggers.cs:line 175 at Maple2.Trigger._02000290_bf._wind.StateActivateSkill.Execute() at MapleServer2.Triggers.TriggerScript.Next() in D:\MapleServer2-P1\MapleServer2\Triggers\TriggerScript.cs:line 29 at MapleServer2.Managers.FieldManager.<StartTriggerTask>b__80_0() in D:\MapleServer2-P1\MapleServer2\Managers\FieldManager.cs:line 1347
Latest commit id
If you are using git, open the MapleServer 2 folder in the command prompt and do: git log --oneline
and copy the first line
I not use git
- The issue does not occur before Oct 1, 2022 version.
I'll look into it while I work on the next skills change. I think I see what is happening, I just need to verify.
- #782 Will somewhat fix this @mettaursp https://github.com/AlanMorel/MapleServer2/pull/782/files#diff-fc6132b3777162b20a751928249d0fc4fb0f4f379990ea01939a34664776ed9b