AWOG
    • Categories
    • Recent
    • Users
    • Discord
    • TeamSpeak
    • Steam Group
    • Register
    • Login

    [RELEASE] Vote Manager

    IW4m Administrator
    release
    3
    42
    6.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kalitos @Xerxes
      last edited by

      @xerxes there should be a history of changes to the post, it would help users a lot.

      1 Reply Last reply Reply Quote 0
      • K
        Kalitos @Xerxes
        last edited by Kalitos

        @xerxes I already tried the new version supposedly, I still have the same errors.

        [2021-03-01 16:47:58.627 127.0.0.1:4976 INF] Executing command voteskip for [Name=Alebolin32, NetworkId=219AC, IP=201.209.186.166, ClientSlot=3]
        [2021-03-01 16:47:58.633 127.0.0.1:4976 INF] Started timer for voteskip!
        [2021-03-01 16:47:58.635 127.0.0.1:4976 INF] [^2VM^7] failed to start VoteManager.Votes.Skip!
        [2021-03-01 16:47:58.635 127.0.0.1:4976 INF] [^2VM^7]  Object reference not set to an instance of an object.
        [2021-03-01 16:47:58.635 127.0.0.1:4976 INF] [^2VM^7] Command of Alebolin32
        
        
        XerxesX 1 Reply Last reply Reply Quote 0
        • XerxesX
          Xerxes @Kalitos
          last edited by

          And which version of the plug-in are you loading?

          ~Head admin

          K 2 Replies Last reply Reply Quote 0
          • K
            Kalitos @Xerxes
            last edited by Kalitos

            @xerxes
            Currently this version.

            [2021-03-02 07:35:46.408  INF] Begin IW4MAdmin startup. Version is 2021.1.24.2 []
            [2021-03-02 07:35:49.792  INF] Loaded Dynamic Map Reservoir (1.0.0.0+8a29415) by [AWOG] Xerxes in IW4MAdmin (2021.1.24.2)!
            [2021-03-02 07:35:49.799  INF] Loaded Ping Limiter (1.0.0.0+94284ae) by [AWOG] Xerxes in IW4MAdmin (2021.1.24.2)!
            [2021-03-02 07:35:49.853  INF] Loaded Vote Manager (0.1.0.0+04ea37f-dirty) by [AWOG] Xerxes in IW4MAdmin (2021.1.24.2)!
            [2021-03-02 07:35:50.535  INF] Beginning database migration sync
            [2021-03-02 07:35:54.472  INF] Finished database migration sync
            

            But when the error happened, checking the log history, it is this version.

            [2021-03-01 17:47:58.008  INF] Begin IW4MAdmin startup. Version is 2021.1.24.2 []
            [2021-03-01 17:48:02.056  INF] Loaded Dynamic Map Reservoir (1.0.0.0+8a29415) by [AWOG] Xerxes in IW4MAdmin (2021.1.24.2)!
            [2021-03-01 17:48:02.061  INF] Loaded Ping Limiter (1.0.0.0+94284ae) by [AWOG] Xerxes in IW4MAdmin (2021.1.24.2)!
            [2021-03-01 17:48:02.113  INF] Loaded Vote Manager (0.1.0.0+04ea37f) by [AWOG] Xerxes in IW4MAdmin (2021.1.24.2)!
            [2021-03-01 17:48:02.698  INF] Beginning database migration sync
            [2021-03-01 17:48:08.039  INF] Finished database migration sync
            
            1 Reply Last reply Reply Quote 0
            • K
              Kalitos @Xerxes
              last edited by Kalitos

              @xerxes I would like to make a suggestion, it would be possible to implement a HUD that shows in real time how many votes the command that has been called takes, ie “Vote to change map” Yes: No:, time remaining:, this could be put under the mimimap.
              I say this because when a vote starts, the players do not realize that it has started and do not vote, on the other hand, if they have the vote count in view, they will vote.

              XerxesX 1 Reply Last reply Reply Quote 0
              • XerxesX
                Xerxes @Kalitos
                last edited by

                As long as iw4mA does not include a framework to standardize this across all plug-ins and all games with modding support: No.

                ~Head admin

                K 1 Reply Last reply Reply Quote 0
                • K
                  Kalitos @Xerxes
                  last edited by

                  @xerxes Then another alternative, show every “x” time, how the voting progresses as well as when the voting begins or ends.

                  XerxesX 1 Reply Last reply Reply Quote 0
                  • XerxesX
                    Xerxes @Kalitos
                    last edited by

                    @kalitos :man_facepalming:

                    https://forum.awog.at/post/638

                    ~Head admin

                    K 2 Replies Last reply Reply Quote 0
                    • K
                      Kalitos @Xerxes
                      last edited by

                      @xerxes It may be very obvious, but that doesn’t work. If I understand, the idea of that is that each “x” time shows the progress of the vote, as I say it does not work.

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kalitos @Xerxes
                        last edited by

                        @xerxes I would like to report a problem with the last update of IW4MAdmin, the votes plugin does not load, I tried loading IW4MAdmin without the votes plugin and it correctly loads the latest version of IW4MAdmin.
                        This error you get:

                        [2021-03-24 15:26:46.385  INF] Begin IW4MAdmin startup. Version is 2021.3.24.1 []
                        [2021-03-24 15:26:49.874  FTL] Failed to initialize IW4MAdmin
                        System.MissingMethodException: Method not found: 'Void SharedLibraryCore.Command.set_Permission(Permission)'.
                           at VoteManager.Votes.Kick..ctor(CommandConfiguration config, ITranslationLookup translationLookup)
                           at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
                           at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType)
                           at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
                           at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
                           at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
                           at IW4MAdmin.Application.Program.LaunchAsync(String[] args)
                        [2021-03-24 15:27:41.799  INF] Begin IW4MAdmin startup. Version is 2021.3.23.2 []
                        [2021-03-24 15:27:46.459  FTL] Failed to initialize IW4MAdmin
                        System.MissingMethodException: Method not found: 'Void SharedLibraryCore.Command.set_Permission(Permission)'.
                           at VoteManager.Votes.Kick..ctor(CommandConfiguration config, ITranslationLookup translationLookup)
                           at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
                           at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
                           at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType)
                           at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
                           at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
                           at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
                           at IW4MAdmin.Application.Program.LaunchAsync(String[] args)
                        
                        XerxesX 1 Reply Last reply Reply Quote 0
                        • XerxesX
                          Xerxes @Kalitos
                          last edited by

                          You are using an outdated version again, take a look at IW4mA’s plug-in store and configure it properly so it automatically updates the plug-ins if you don’t wanna update them manually.

                          ~Head admin

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            Kalitos @Xerxes
                            last edited by

                            @xerxes You are right, my application does not automatically update the plugins even though I have a successful subscription. I had to manually update the plugin.

                            XerxesX 1 Reply Last reply Reply Quote 0
                            • XerxesX
                              Xerxes @Kalitos
                              last edited by

                              Thats because a manually installed version takes preference over the plug-in store version.

                              ~Head admin

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post