Jump to content
  • 0

Server crashing


Zerinho

Question

i just opened my server project for my friends can play but without nowhere this issue started to happen, the server crashes and close without for no reason that i know, can someone help me?
 

im using version 407 of intersect 'cause newer versions than this one doesn't work on my low profile computer (fps issue).
 

thank you,

errors log:

2025-05-08 13:28:22.020 -03:00 [ERR] Received an unhandled exception from System.Threading.Thread System.NullReferenceException: Object reference not set to an instance of an object. at Intersect.Server.Entities.Npc.Update(Int64 timeMs) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server.Core\Entities\Npc.cs:line 1010 at Intersect.Server.Maps.MapInstance.UpdateEntities(Int64 timeMs) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server.Core\Maps\MapInstance.cs:line 1260 at Intersect.Server.Maps.MapInstance.Update(Int64 timeMs) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server.Core\Maps\MapInstance.cs:line 268 at Intersect.Server.Core.LogicService.LogicThread.UpdateMap(MapInstance mapInstance, Boolean onlyProjectiles) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server.Core\Core\LogicService.LogicThread.cs:line 391 2025-05-08 13:28:43.335 -03:00 [INF] Starting Intersect.Server.Core v0.8.0.407-beta+ca564c318fa0e360eaef7c86c2789a2ef2910fdf 2025-05-08 13:28:57.118 -03:00 [ERR] UPnP Service Initialization Failed. You might not have a router, or UPnP on your router might be disabled. Open.Nat.NatDeviceNotFoundException: Exception of type 'Open.Nat.NatDeviceNotFoundException' was thrown. at Open.Nat.NatDiscoverer.DiscoverDeviceAsync(PortMapper portMapper, CancellationTokenSource cancellationTokenSource) at Intersect.Server.Networking.Helpers.UpnP.ConnectNatDevice() in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Server\Networking\Helpers\UPnP.cs:line 26

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

 Pelo erro que você compartilhou, o seu servidor ta crashando por causa de uma exceção não tratada (erro crítico) no código que atualiza os NPCs. A mensagem principal do log é:
 

pgsql

System.NullReferenceException: Object reference not set to an instance of an object.
 

 Esse erro significa que o servidor tentou acessar algo que não estava inicializado (por exemplo, um NPC que foi removido do mapa mas ainda ta sendo processado). Isso geralmente acontece quando algum NPC no mapa está corrompido ou mal configurado. Tenta ver se tem algum NPC sem spawn válido ou algum evento ligado a um NPC que foi apagado. Veja também se falta alguma configuração de habilidades, de falas ou comportamentos.

 Voce pode começar assim:

Abre o editor do Intersect e revisa os NPCs presentes nos mapas onde o servidor está crashando.

Deleta e recrie os NPCs ou spawns recentes que vc adicionou.

Vê se tem eventos ligados a NPCs que não existem mais.

Se vc usa spawn automático de NPCs, da uma olhada se tem algum spawn apontando para um mapa inválido ou coordenada errada.

 Agora sobre o outro erro (UPnP), nao faço ideia do que fazer porque estou tendo problema com este mesmo erro. Se você(ou alguem que esta lendo) descobrir como resolver por favor diz ai. Tmj.

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