Hello,
im trying to write a plugin but i always get this error: Unable to set Core.AMP.LoadPlugins (List
When i try to debug i got this error. I use the Plugin Template. The NameSpace and Name are the same: TestPlugin.
This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.
Hello,
im trying to write a plugin but i always get this error: Unable to set Core.AMP.LoadPlugins (List
When i try to debug i got this error. I use the Plugin Template. The NameSpace and Name are the same: TestPlugin.
so first my key then the developer.
thank you ^^ it works but i do the same the time before but now it run the sample plugin :D now i can write it and add it to my instancen. i need write u for upgrade my dev. license? i write on local and when all work i will at it to my server-
is there any way to add a plugin to a specific game??
ADS isn't activated. Follow this guide: https://github.com/CubeCoders/AMP/wiki/Configuring-AMP-for-Enterprise-or-Network-Usage but then repeat the activation step with your developer key.
In AMPs logs it'll say which licences are present and activated.
Yeah... mutiple times... it already says that im using it 2/1... but i got the same error on an non activated amp instance on an virtual machine. can i check it dev license is working ?
Have you added your developer licence to AMP?
The assembly and namespace must be identical.
So "MyPlugin.dll" with an assembly of "MyPlugin" and namespace of "MyPlugin" with a class called "PluginMain" for example.
xcopy "$(TargetPath)" "F:\AMPDatastore\Instances\AMPInstance1-ADS\Plugins\$(ProjectName)\" /Y
IF NOT EXIST "$(TargetDir)WebRoot\" GOTO NOWEB xcopy "$(TargetDir)WebRoot*.*" "F:\AMPDatastore\Instances\AMPInstance1-ADS\Plugins\$(ProjectName)\WebRoot\" /Y /E :NOWEB
this are the line. i only change my path. but never hear bevor what REM mean. but its not important because i can copy it by myself. i copy my DLL and the Webroot. Can i run the Template when i change Assemlby, Namespace etc or ist this code outdated ?
In the project properties there's a post-build event, two of the lines have REM at the start at the REM needs removing and the paths adjusting so that when you build your plugin it goes to the right place.
try and try but dont work :( i new installed all, try many times but always the same .
I write down in the AMPConfig.conf this one: AMP.LoadPlugins=["other...","TestPlugin"]
but got the error from the last post and then: [00:55:56] [Core Error] : Could not load plugin TestPlugin
in the project Build Events, remove the "REM" before the two xcopy lines What do you mean with that ?
The wiki might be out of date, I'd suggest editing the value in the file rather than using the command line flag. The CryptographicException can be ignored.
ah okay. so its write false down in the Wiki ? so i need to set: +Core.AMP.LoadPlugins ["TestPlugin"] right?
when i try like this i got the following:
[00:35:22] [Core Error] : Unable to set Core.AMP.LoadPlugins (List
I changed the " to ' and got other errors..
CryptographicException [0] (CryptographicException) : Das angeforderte Objekt wurde nicht gefunden. at Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at Security.Cryptography.X509Certificates.X509Utils.QueryCertFileType(String fileName) at Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromFile(String fileName, Object password, X509KeyStorageFlags keyStorageFlags) at GSMyAdmin.SignatureVerification.VerifyWindows(String Filename) Unable to load plugin TestPlugin: Could not load file or assembly 'TestPlugin' or one of its dependencies. Failure during Cryptographic operation. (Exception from HRESULT: 0x80131430)
Dev License error ?
It's expecting an array :) ["TestPlugin"] - you'll also want to take a look at the existing value in AMPConfig.conf to make sure you're including the other standard plugins (or just modify AMPConfig.conf and not bother using the command line to load it)
i do like the wiki I set the AMP.exe off my local installation and as comand i use: +Core.AMP.LoadPlugins TestPlugin
What are you setting LoadPlugins too exactly?