NL0bP / AAEmu

A server software for ArcheAge written in .Net Core
Other
16 stars 8 forks source link

[BUG] <Ошибка не исправлена [Game] Should fix the error: Destination array was not long enough;> #99

Closed Black-Judge closed 1 month ago

Black-Judge commented 1 month ago

I confirm that:

Code branch that is affected by this issue

AAEmu-client_version-3.0_client(2017-03-15)+

Bug description

Ранее попытка исправления не повлияла на проблему Destination array was not long enough, ошибка по прежнему присутствует.

в логах такие сообщения:

08:51:20 [ERROR] TickManager+TickEventHandler - Destination array is not long enough to copy all the items in the collection. Check array index and length. at System.Collections.Generic.Dictionary2.ValueCollection.CopyTo(TValue[] array, Int32 index) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable1 source) at AAEmu.Game.Core.Managers.TransferManager.GetTransfers() in /server/AAEmuRage/AAEmu.Game/Core/Managers/TransferManager.cs:line 99 at AAEmu.Game.Core.Managers.TransferManager.TransferTick(TimeSpan delta) in /server/AAEmuRage/AAEmu.Game/Core/Managers/TransferManager.cs:line 58 at AAEmu.Game.Core.Managers.TickManager.TickEventHandler.<>c__DisplayClass10_2.b__1() in /server/AAEmuRage/AAEmu.Game/Core/Managers/TickManager.cs:line 116 08:57:51 [ERROR] TaskManager - System.ArgumentException: Destination array was not long enough. Check the destination index, length, and the array's lower bounds. (Parameter 'destinationArray') System.ArgumentException: Destination array was not long enough. Check the destination index, length, and the array's lower bounds. (Parameter 'destinationArray') at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at AAEmu.Game.Models.Game.Units.Buffs.TriggerRemoveOn(BuffRemoveOn on, UInt32 value) in /server/AAEmuRage/AAEmu.Game/Models/Game/Units/Buffs.cs:line 528 at AAEmu.Game.Models.Game.Skills.Effects.DamageEffect.Apply(BaseUnit caster, SkillCaster casterObj, BaseUnit target, SkillCastTarget targetObj, CastAction castObj, EffectSource source, SkillObject skillObject, DateTime time, CompressedGamePackets packetBuilder) in /server/AAEmuRage/AAEmu.Game/Models/Game/Skills/Effects/DamageEffect.cs:line 92 at AAEmu.Game.Models.Game.Skills.Buffs.Triggers.BuffTrigger.Execute(Object sender, EventArgs eventArgs) in /server/AAEmuRage/AAEmu.Game/Models/Game/Skills/Buffs/Triggers/BuffTrigger.cs:line 83 at AAEmu.Game.Models.Game.Skills.Buff.StopEffectTask(Boolean replace) in /server/AAEmuRage/AAEmu.Game/Models/Game/Skills/Buff.cs:line 181 at AAEmu.Game.Models.Game.Skills.Buff.ScheduleEffect(Boolean replace) in /server/AAEmuRage/AAEmu.Game/Models/Game/Skills/Buff.cs:line 160 at AAEmu.Game.Models.Tasks.Skills.DispelTask.Execute() in /server/AAEmuRage/AAEmu.Game/Models/Tasks/Skills/DispelTask.cs:line 26 at AAEmu.Game.Core.Managers.TaskJob.Execute(IJobExecutionContext context) in /server/AAEmuRage/AAEmu.Game/Core/Managers/TaskManager.cs:line 276

Steps to reproduce

Инициировать запуск игрового сервера.

Expected behavior

Screenshots

Any additional context for this bug