Git Product home page Git Product logo

pedsyncer's People

Contributors

kwmsources avatar lameulefr avatar thisneq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pedsyncer's Issues

Gamecrash for Everyone...

If a Player spawns/is near another player... everyone's pc crash... tested it with Heron, LargePeach & Solid_Snake

.gitignore

Please add a .gitignore for your project, you dont want prebuild code, tmp files and user files in your repo

Unhandled exception when loading program

[16:03:29] Search File P:\Programming\AltV\PilotsLifeV\resources/pedSyncer/server/newNavigationMeshes.msgpack
[16:03:29] Could not find dump file at P:\Programming\AltV\PilotsLifeV\resources/pedSyncer/server/newNavigationMeshes.msgpack
[16:03:29] < ==== UNHANDLED EXCEPTION ==== >
 Received an unhandled exception from : System.NullReferenceException: Object reference not set to an instance of an object.
   at PedSyncer.Control.NavigationMesh..ctor() in F:\Projekte\pedSyncer\src\control\NavigationMesh.cs:line 27
   at PedSyncer.Control.NavigationMesh.getInstance() in F:\Projekte\pedSyncer\src\control\NavigationMesh.cs:line 167
   at PedSyncer.PedSyncer.OnStart() in F:\Projekte\pedSyncer\src\PedSyncer.cs:line 56
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at PedSyncer.Control.NavigationMesh..ctor() in F:\Projekte\pedSyncer\src\control\NavigationMesh.cs:line 27
   at PedSyncer.Control.NavigationMesh.getInstance() in F:\Projekte\pedSyncer\src\control\NavigationMesh.cs:line 167
   at PedSyncer.PedSyncer.OnStart() in F:\Projekte\pedSyncer\src\PedSyncer.cs:line 56

NullReferenceException

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
      at Ped
      at PedSyncer.Control.NavigationMesh.getInstance() in F:\Projekte\pedSyncer\src\control\NavigationMesh.cs:line 167
      at PedSyncer.PedSyncer.OnStart() in F:\Projekte\pedSyncer\src\PedSyncer.cs:line 56

Question

Hey thanks for this lib, this is really inspiring!
I have a question which might sounds dummy but I'm gonna ask you anyway : looking at your code in pedSyncer.mjs (and I found it all around on other repositories), there's always a netOwner responsible for syncing the ped with the server and I have always wondered why this is not the responsibility of the sole server itself (like handling the ped's whole lifetime and syncing it with the clients through events for example). I would have preferred to reach you out by email or Discord but then realized this discussion might also benefit other developers, hence this issue.

crash on start

[21:14:01] Loading resource pedSyncer2
[INFO] GameEntityResource InitEntitySync startet
Started
[21:14:01] Search File C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\server\newNavigationMeshes.msgpack
[21:14:02] Failed loading dump: MessagePack.MessagePackSerializationException: Failed to deserialize System.Collections.Generic.List1[[NavMesh_Graph.NavigationMeshPolyFootpath, pedSyncer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] value. ---> System.TypeInitializationException: The type initializer for 'FormatterCache1' threw an exception.
---> System.NotSupportedException: A non-collectible assembly may not reference a collectible assembly.
at System.Reflection.Emit.ModuleBuilder.GetTypeRef(QCallModule module, String strFullName, QCallModule refedModule, String strRefedModuleFileName, Int32 tkResolution)
at System.Reflection.Emit.ModuleBuilder.GetTypeRefNested(Type type, Module refedModule, String strRefedModuleFileName)
at System.Reflection.Emit.ModuleBuilder.GetTypeTokenWorkerNoLock(Type type, Boolean getGenericDefinition)
at System.Reflection.Emit.ModuleBuilder.GetTypeTokenInternal(Type type, Boolean getGenericDefinition)
at System.Reflection.Emit.SignatureHelper.AddOneArgTypeHelperWorker(Type clsArgument, Boolean lastWasGenericInst)
at System.Reflection.Emit.SignatureHelper.AddOneArgTypeHelperWorker(Type clsArgument, Boolean lastWasGenericInst)
at System.Reflection.Emit.SignatureHelper.GetTypeSigToken(Module module, Type type)
at System.Reflection.Emit.ModuleBuilder.GetTypeTokenWorkerNoLock(Type type, Boolean getGenericDefinition)
at System.Reflection.Emit.ModuleBuilder.GetTypeTokenInternal(Type type, Boolean getGenericDefinition)
at System.Reflection.Emit.TypeBuilder..ctor(String fullname, TypeAttributes attr, Type parent, Type[] interfaces, ModuleBuilder module, PackingSize iPackingSize, Int32 iTypeSize, TypeBuilder enclosingType)
at System.Reflection.Emit.ModuleBuilder.DefineType(String name, TypeAttributes attr, Type parent, Type[] interfaces)
at MessagePack.Internal.DynamicAssembly.DefineType(String name, TypeAttributes attr, Type parent, Type[] interfaces)
at MessagePack.Internal.DynamicObjectTypeBuilder.BuildType(DynamicAssembly assembly, Type type, Boolean forceStringKey, Boolean contractless)
at MessagePack.Resolvers.DynamicObjectResolver.FormatterCache1..cctor() --- End of inner exception stack trace --- at MessagePack.Resolvers.DynamicObjectResolver.GetFormatter[T]() at MessagePack.Resolvers.StandardResolver.FormatterCache1..cctor()
--- End of stack trace from previous location where exception was thrown ---
at MessagePack.Formatters.ListFormatter1.Deserialize(MessagePackReader& reader, MessagePackSerializerOptions options) at MessagePack.MessagePackSerializer.Deserialize[T](MessagePackReader& reader, MessagePackSerializerOptions options) --- End of inner exception stack trace --- at MessagePack.MessagePackSerializer.Deserialize[T](MessagePackReader& reader, MessagePackSerializerOptions options) at MessagePack.MessagePackSerializer.Deserialize[T](ReadOnlyMemory1 buffer, MessagePackSerializerOptions options, CancellationToken cancellationToken)
at navMesh_Graph_WebAPI.NavigationMeshControl.LoadDataFromDumpFile[TDumpType](String dumpFileName) in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\control\NavigationMeshControl.cs:line 133
[21:14:02] < ==== UNHANDLED EXCEPTION ==== >
Received an unhandled exception from : System.NullReferenceException: Object reference not set to an instance of an object.
at navMesh_Graph_WebAPI.NavigationMeshControl..ctor() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\control\NavigationMeshControl.cs:line 25
at navMesh_Graph_WebAPI.NavigationMeshControl.getInstance() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\control\NavigationMeshControl.cs:line 123
at PedSyncer.PedSyncer.OnStart() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\PedSyncer.cs:line 51
at System.Threading.Tasks.Task.<>c.b__139_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
< ==== UNHANDLED EXCEPTION ==== >
Received an unhandled exception from : System.NullReferenceException: Object reference not set to an instance of an object.
at navMesh_Graph_WebAPI.NavigationMeshControl..ctor() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\control\NavigationMeshControl.cs:line 25
at navMesh_Graph_WebAPI.NavigationMeshControl.getInstance() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\control\NavigationMeshControl.cs:line 123
at PedSyncer.PedSyncer.OnStart() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\PedSyncer.cs:line 51
at System.Threading.Tasks.Task.<>c.b__139_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
[21:14:02] Loaded resource pedSyncer2
Unhandled exception. [21:14:02] Loading resource 420core
System.NullReferenceException: Object reference not set to an instance of an object.
at navMesh_Graph_WebAPI.NavigationMeshControl..ctor() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\control\NavigationMeshControl.cs:line 25
at navMesh_Graph_WebAPI.NavigationMeshControl.getInstance() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\control\NavigationMeshControl.cs:line 123
at PedSyncer.PedSyncer.OnStart() in C:\Users\Administrateur\Desktop\Mystery Altv\resources\pedSyncer2\pedSyncer\PedSyncer.cs:line 51
at System.Threading.Tasks.Task.<>c.b__139_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

How to generate the json

hi, first thanks for your great work, but i need to rebeluid all the json , how did you do ? i have look up in the free dump but they haven't the same json as you, i think maybe you build them with tool but i don't know what is

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.