I'm really hating myself now,
at the end of the video 94 (login client, chapter 12) when nelson used command line token to login and test the login system, and forward (i checked the photon update video, didn't help) i get this exception on master server :
Code:
1015 19:15:28 13 ERROR Master Photon.SocketServer.PeerBase exception during handling of data.Peer:T:Peer,ConnId:10,ip:127.0.0.1:50514, Data: F3-02-00-00-01-03-62-00,
1016 Exception:Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(BuzzMMO.Server.Master.MasterServerContext)' on type 'MainLobbyService'. ---> Value cannot be null.
1017 Parameter name: source (See inner exception for details.) ---> System.ArgumentNullException: Value cannot be null.
1018 Parameter name: source
1019 at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
1020 at BuzzMMO.Server.Master.MainLobbyService..ctor(MasterServerContext context) in E:\UnityProjects\MMO\src\BuzzMMO.Server.Master\MainLobbyService.cs:line 27
1021 at lambda_method(Closure , Object[] )
1022 at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
1023 --- End of inner exception stack trace ---
1024 at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
1025 at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
1026 at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
1027 at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
1028 at Autofac.Core.Resolving.InstanceLookup.Execute()
1029 at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
1030 at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
1031 at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
1032 at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
1033 at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
1034 at Autofac.Core.Resolving.InstanceLookup.Execute()
1035 at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
1036 at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
1037 at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
1038 at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
1039 at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
1040 at BuzzMMO.Server.ClientSystems.Create[TConcreteType]() in E:\UnityProjects\MMO\src\BuzzMMO.Server\ClientSystems.cs:line 32
1041 at BuzzMMO.Server.Master.Peer.CreateContext(ContextType type, OperationRequest request) in E:\UnityProjects\MMO\src\BuzzMMO.Server.Master\Peer.cs:line 29
1042 at BuzzMMO.Server.MMOPeerBase`1.OnOperationRequest(OperationRequest operationRequest, SendParameters sendParameters) in E:\UnityProjects\MMO\src\BuzzMMO.Server\MMOPeerBase.cs:line 40
1043 at Photon.SocketServer.PeerBase.OnReceive(Byte[] data, SendParameters sendParameters) in h:\svncontent\photon-socketserver-sdk_cloud\src\Photon.SocketServer\PeerBase.cs:line 1244
1044 at Photon.SocketServer.PeerBase.OnReceiveInternal(Byte[] data, SendParameters sendParameters, Int32 rtt, Int32 rttVariance, Int32 numFailures) in h:\svncontent\photon-socketserver-sdk_cloud\src\Photon.SocketServer\PeerBase.cs:line 988
I seriously don't know where to start checking the errors, the only thing i can say is that i have one user in data base (admin) that has roles of admin and registered and the game is enabled for both those roles.
if anyone has any online repo, i would gladly take the clone of that repo at this point in project lol