MapleServer2 icon indicating copy to clipboard operation
MapleServer2 copied to clipboard

An error when the enemy uses a skill in some dungeons.

Open Kustale opened this issue 2 years ago • 3 comments

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:

  1. Use X item...
  2. Enter X map...
  3. Error happens

  1. Move about 2/3 of the cherry blossom hill (coordinates unknown)
  2. Lazy Stumpy inhales and exhales along the way.
  3. 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.

20221005_014950_00 234987

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

Kustale avatar Oct 04 '22 16:10 Kustale

  • The issue does not occur before Oct 1, 2022 version.

Kustale avatar Oct 04 '22 17:10 Kustale

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.

mettaursp avatar Oct 04 '22 18:10 mettaursp

  • #782 Will somewhat fix this @mettaursp https://github.com/AlanMorel/MapleServer2/pull/782/files#diff-fc6132b3777162b20a751928249d0fc4fb0f4f379990ea01939a34664776ed9b

AngeloTadeucci avatar Oct 18 '22 14:10 AngeloTadeucci