Jump to content

Server B5 Error.


Weylon Santana
  • Version: Beta 5 Fixed Bug Report

For tracking and organizational purposes, please include ONLY ONE bug or suggestion per report. Thank you!
Reports not in English will be removed.

///////////////////////////////////////////////////
Error Description
///////////////////////////////////////////////////

 

The server when closing is not saving modifications made in the game. But everything is saved correctly in the editor.

For example.
I can create normal items in the editor, animations, projectiles, everything is saved.
But currently, when I enter my account, I delete the two char I have, I create new ones. When I close the server, the new ones I created are deleted and the two that I had deleted return, that is, changes in the game are not being saved when closing the server.



///////////////////////////////////////////////////
Replication Steps
///////////////////////////////////////////////////



///////////////////////////////////////////////////
Attach Screenshots/Other media
////////////////////////////////////////////////////

 

2019-02-17 13:41:45.953 [Error] Received unhandled exception from Nome:Intersect Server.exe
Não existem políticas de contexto.
.
2019-02-17 13:41:46.066 [Error] Message: Referência de objeto não definida para uma instância de um objeto.
2019-02-17 13:41:46.066 [Error] Stack Trace:    em Intersect.Collections.DatabaseObjectLookup.<>c.<get_Values>b__25_0(IDatabaseObject p) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect (Core)\Collections\DatabaseObjectLookup.cs:linha 76
   em System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   em System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   em System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   em System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   em System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   em Intersect.Collections.DatabaseObjectLookup.get_Values() na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect (Core)\Collections\DatabaseObjectLookup.cs:linha 76
   em Intersect.Server.ServerLoop.RunServerLoop() na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Server\Classes\Core\ServerLoop.cs:linha 23
   em Intersect.Server.ServerStart.<>c.<Start>b__2_0() na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Server\Classes\Core\ServerStart.cs:linha 175
   em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   em System.Threading.ThreadHelper.ThreadStart()
2019-02-17 13:41:46.066 [Error] Time: 2/17/2019 1:41:46 PM

--------------------------------------------------------------------------------

2019-03-15 14:53:45.541 [Error] Received unhandled exception from Nome:Intersect Server.exe
Não existem políticas de contexto.
.
2019-03-15 14:53:45.556 [Error] Message: An error occurred while updating the entries. See the inner exception for details.
2019-03-15 14:53:45.556 [Error] Stack Trace:    em Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
   em Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(DbContext _, ValueTuple`2 parameters)
   em Microsoft.EntityFrameworkCore.Storage.Internal.NoopExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   em Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
   em Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IReadOnlyList`1 entriesToSave)
   em Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
   em Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
   em Intersect.Server.LegacyDatabase.SavePlayerDb() na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Server\Classes\Core\LegacyDatabase.cs:linha 938
   em Intersect.Server.LegacyDatabase.SavePlayerDatabase() na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Server\Classes\Core\LegacyDatabase.cs:linha 921
   em Intersect.Server.ServerStart.ShutDown() na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Server\Classes\Core\ServerStart.cs:linha 782
   em Intersect.Server.ServerStart.ConsoleCtrlCheck(CtrlTypes ctrlType) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Server\Classes\Core\ServerStart.cs:linha 880
2019-03-15 14:53:45.556 [Error] Stack Trace:    em Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   em Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   em Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
   em Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   em Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
2019-03-15 14:53:45.556 [Error] Time: 3/15/2019 2:53:45 PM

--------------------------------------------------------------------------------

2019-03-15 14:53:45.572 [Error] Inner Exception?
2019-03-15 14:53:45.572 [Error] Message: SQLite Error 19: 'FOREIGN KEY constraint failed'.
2019-03-15 14:53:45.572 [Error] Stack Trace:    em Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   em Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   em Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
   em Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   em Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
2019-03-15 14:53:45.572 [Error] Time: 3/15/2019 2:53:45 PM

--------------------------------------------------------------------------------



///////////////////////////////////////////////////
Attach Error Logs
////////////////////////////////////////////////////
If you are using Intersect, please find and attach BOTH your Client/Resources/Logs folder and Server/Resources/Logs folder to help us debug your problem. Without these logs we often cannot fix bugs in the engine.



User Feedback

Recommended Comments

Couldn't reproduce, @jcsnider @panda @Kibbelz  deleted 1 character, created a new one, shutted down the server quite after creating it and when I turned it on the new character was there and the deleted one wasn't

Share this comment


Link to comment
Share on other sites

Much like other DB errors I'm closing due to changes made in B6 sorta invalidating these reports.  Also it looks like the server was using an outdated version of MySQL.

Share this comment


Link to comment
Share on other sites


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...