winglessraven / AMP-Discord-Bot

Discord Bot plugin for AMP
37 stars 6 forks source link

Compatible Game List #47

Closed tadavispmd040507 closed 1 year ago

tadavispmd040507 commented 1 year ago

Describe the solution you'd like Would like to see a list of compatible games.

Additional context Doesn't seem to be compatible with Satisfactory, I expected Satisfactory since its so new. Conan Exiles seems to be partially compatible.See the image attached for Conan Exiles.

Member List image

Running Info Command image

winglessraven commented 1 year ago

Hey,

The bot is compatible with all instances. Errors like the one you screenshotted suggest something isn't configured right (e.g. the bot commands permission). First step is to check the AMP instance logs, the error might be logged there.

tadavispmd040507 commented 1 year ago

says i need a developer license but i have one and followed the instructions...now i attached this to the game instance, does it need to be on the main instance? Error is below.

[02:03:14] [ModuleLoader Error] : Unable to load plugin DiscordBotPlugin: A developer licence is required to load unsigned plugins.

tadavispmd040507 commented 1 year ago

so I tried to reactivate it again and received the following error...

[Error] Unable to query provisioning arguments for FileManagerPlugin [Error] ReflectionTypeLoadException [Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. [Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName) [Error] FileNotFoundException [Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. [Error] Unable to query provisioning arguments for FileManagerPlugin [Error] ReflectionTypeLoadException [Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. [Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName) [Error] FileNotFoundException [Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. [Error] Unable to query provisioning arguments for FileManagerPlugin [Error] ReflectionTypeLoadException [Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. [Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName) [Error] FileNotFoundException [Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. [Error] Unable to query provisioning arguments for FileManagerPlugin [Error] ReflectionTypeLoadException [Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. [Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName) [Error] FileNotFoundException [Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. [Error] Unable to query provisioning arguments for FileManagerPlugin [Error] ReflectionTypeLoadException [Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. [Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName) [Error] FileNotFoundException [Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. [Error] Unable to query provisioning arguments for FileManagerPlugin [Error] ReflectionTypeLoadException [Error] [0] (ReflectionTypeLoadException) : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. [Error] at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName) [Error] FileNotFoundException [Error] [0] (FileNotFoundException) : Could not load file or assembly 'mHttp, Version=0.1.6296.32466, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

winglessraven commented 1 year ago

That second error isn't related to this plugin, that's an error from the FileManagerPlugin (part of AMP). Try restarting your server if possible to see if that helps it.

Are you running in a docker container? If so you need to take it out of the container to activate a dev licence, AMP won't let you apply a dev licence when running in a container.

tadavispmd040507 commented 1 year ago

ok i will restart and try again and no i dont run anything in containers.

tadavispmd040507 commented 1 year ago

Restarting the server didnt do anything. Im still getting the same errors.

winglessraven commented 1 year ago

Strange. What's the command you're running? ampinstmgr reactivate Satisfactory01 devkey?

Also, for the Conan server, make sure the bot has the following permissions. The error you got on the command from that is likely related to that.

image

tadavispmd040507 commented 1 year ago

yes that is the command im using. I just double checked the Conan prives and i do have them set to that...I also just tried to install the bot on my Space Engineers server and got the same errors as Conan they are on the same box which is windows

winglessraven commented 1 year ago

To try and narrow the problem down a bit can you create a new instance (of anything) and try to activate the dev licence without changing the conf? Trying to figure out if the problem is activating it or the plugin misbehaving.

I did see that Mike was doing some maintenance on the activation server today so maybe that's part of the issue.

tadavispmd040507 commented 1 year ago

does the ADS and all need to be on the Dev Key or just the Game Instance?

winglessraven commented 1 year ago

Game instances only

tadavispmd040507 commented 1 year ago

ok let me recreate one....it might be a bit im at work

tadavispmd040507 commented 1 year ago

ok so i was able to get it to work on Satisfactory which im running on Ubuntu, I can not get it to work on either Conan Exiles or Space Engineers which are on Windows 11 Pro, thats where all errors above came from. So is this compatiable with Windows, also those errors are only when try to Reactivate with Dev License. I have tried this on a fresh Install of Space Engineers and nothing changed.

winglessraven commented 1 year ago

Yep it runs fine on W11. I just created a new instance on my dev machine and it activated without any issues.

image

Do the logs show if the licence has been applied?

image

tadavispmd040507 commented 1 year ago

ok, I'm starting to think its something to do with my perms which im working on with the people in AMP Discord...If i get this working i will let you know.

Thanks,

winglessraven commented 1 year ago

Yep could very well be that. I'll keep this open until I hear back.

tadavispmd040507 commented 1 year ago

you can close this, Ive installed a new Windows OS both pro and Server and i keep getting the same issue with the errors . I dont get these errors on Ubuntu.

winglessraven commented 1 year ago

Yep OK, will do. Does seem to be something to do with Windows permissions though. I've tested on W10,W11 and Server 2019 and it works fine. If you get the AMP errors sorted feel free to reach out if you need help setting this up again.