Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash moving through Nanto #1401

Closed
FireyJoe opened this issue Feb 1, 2019 · 3 comments
Closed

Crash moving through Nanto #1401

FireyJoe opened this issue Feb 1, 2019 · 3 comments
Assignees

Comments

@FireyJoe
Copy link

FireyJoe commented Feb 1, 2019

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Repro steps.

Setup: New test character, no items picked up, nothing examined, no fighting, etc. Click world map from training academy and arrive directly at location in Nanto below:

Drop location: Your location is: 0xE63E0001[10.000000 10.000000 95.171669] 0.678557 0.000000 0.000000 0.734548

Upon moving several steps west from the location above (on road inside Nanto), server consistently crashes with message in Crash Log. Could replicate this across all characters in account and two server/world file versions (listed below).

Crash occurred similarly entering area from from different directions outside Nanto.

The log given by the failure.

2019-01-31 21:19:58,713 [World Manager] ERROR (ACE.Server.Program) System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1.get_Item(Int32 index)
at ACE.Server.Physics.Common.LandblockStruct.ConstructVertices() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\LandblockStruct.cs:line 337
at ACE.Server.Physics.Common.LandblockStruct.Generate(UInt32 landblockID, Int32 cellScale, Direction transAdj) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\LandblockStruct.cs:line 392
at ACE.Server.Physics.Common.LandblockStruct..ctor(CellLandblock landblock) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\LandblockStruct.cs:line 87
at ACE.Server.Physics.Common.Landblock..ctor(CellLandblock landblock) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\Landblock.cs:line 44
at ACE.Server.Physics.Common.LScape.get_landblock(UInt32 blockCellID) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\LScape.cs:line 78
at ACE.Server.Physics.Common.Landblock.get_adjacents(Boolean reload) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\Landblock.cs:line 610
at ACE.Server.Physics.Common.ObjectMaint.GetVisibleObjects(ObjCell cell) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\ObjectMaint.cs:line 300
at ACE.Server.Physics.Common.ObjectMaint.GetVisibleObjectsDist(ObjCell cell) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\ObjectMaint.cs:line 270
at ACE.Server.Physics.Common.ObjectMaint.get_voyeurs() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\Common\ObjectMaint.cs:line 480
at ACE.Server.Physics.PhysicsObj.get_voyeurs() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Physics\PhysicsObj.cs:line 3951
at ACE.Server.WorldObjects.WorldObject.NotifyPlayers() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\WorldObjects\WorldObject_Networking.cs:line 1277
at ACE.Server.Entity.Landblock.AddWorldObjectInternal(WorldObject wo) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Entity\Landblock.cs:line 555
at ACE.Server.Entity.Landblock.AddWorldObject(WorldObject wo) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Entity\Landblock.cs:line 516
at ACE.Server.Entity.Landblock.<>c__DisplayClass72_0.b__0() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Entity\Landblock.cs:line 227
at ACE.Server.Entity.Actions.ActionEventDelegate.Act() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Entity\Actions\ActionEventDelegate.cs:line 16
at ACE.Server.Entity.Actions.ActionQueue.RunActions() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Entity\Actions\ActionQueue.cs:line 21
at ACE.Server.Entity.Landblock.Tick(Double currentUnixTime) in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Entity\Landblock.cs:line 296
at ACE.Server.Managers.WorldManager.UpdateGameWorld() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Managers\WorldManager.cs:line 449
at ACE.Server.Managers.WorldManager.UpdateWorld() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Managers\WorldManager.cs:line 397
at ACE.Server.Managers.WorldManager.<>c.b__18_0() in D:\ACE-master 2019-01-31\ACE-master\Source\ACE.Server\Managers\WorldManager.cs:line 82
at System.Threading.Thread.ThreadMain_ThreadStart()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Desired functionality.

N/A: bug report
nanto crash location

Mention any other details that might be useful.

Server versions tested:
2019-01-16: Crash occurred as described
2019-01-31: Crash occurred as described

World Data versions tried (deleted ace_world and rebuilt db between tries):
ACE-World-Database-v0.9.12.sql: Crash occured
ACE-World-16PY-db-v0.7.3.sql: Crash occured

@gmriggs gmriggs self-assigned this Feb 1, 2019
@gmriggs
Copy link
Collaborator

gmriggs commented Feb 1, 2019

Hey @FireyJoe,

Thanks for the bug report

Are you running with full copies of the client_cell_1.dat and client_portal.dat files? For references, here are the fullsizes:

348,127,232 client_cell_1.dat
926,941,184 client_portal.dat

@FireyJoe
Copy link
Author

FireyJoe commented Feb 4, 2019

Hello. Thank you for your reply. I checked the files as you advised. The ones in my main AC directory were up to date, the sizes you mentioned from Jan 2017, but the ones that I copied into my ACE directory were from 2015. I guess they must have come from one of my alt's directories. I updated the files in the ACE directory and the problem was resolved. Sorry for the bad report. I am impressed the server remained otherwise stable despite my big screwup. You guys are doing good work.

@FireyJoe FireyJoe closed this as completed Feb 4, 2019
@gmriggs
Copy link
Collaborator

gmriggs commented Feb 4, 2019

Hey FireyJoe,

No worries, a lot of people might not have the full copies of the dats unless they ran around to every landblock in retail

We can probably add something that detects when files from the dats are missing, and provide the user with an error instead of crashing

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants