AMP Beta 'TN/SR1' 1.4.7.0/1.4.7.2 Release Notes

  • Topic Is Sticky
  • 914 Views
  • Last Post 2 days ago
Mike posted this 5 weeks ago - Last edited 3 days ago

1.4.7.2 is a mini-release to just address a few minor issues that have been affecting people while SR2 is still being worked on:

AMPCore

  • Modules can now assign a new process to be monitored for resource usage instead of the one originally started.
  • Added the LOG_ENV_VARS environment variable which will log all environment variables when a process is started if set.
  • Removed the requirement to be in absolute paths, so AMP can be hosted in virtual directories now.

File Manager

  • The drop area for files has been extended to the full height of the screen.

SRCDS Module

  • Changed how startup works under Linux to fix instances not starting without an environment workaround.

This is the second release based on the new TITAN codebase, with a tonne of bugfixes and new functionality. Some of the functionality is API-level only (not yet exposed to the UI) but it's there and it works for people who want to get their hands dirty. Also a number of general QoL improvements and a new module!

If you have login issues such as the login screen not appearing, empty your browser cache, close all open browser windows, and login again.

Let me know how you get on in the comments below.

AMPCORE

  • Webserver no longer fails on requests that lack a User-Agent header.
  • The -setpass command-line flag now implies -configonly - aborting startup when used (security measure)
  • API change: POST data is now purely a JSON blob, no longer URL encoded. The Session ID is now the SESSIONID field of the JSON blob that's passed along with all the parameter data. Makes API integration simpler and reduces the amount of data being sent over the wire.
  • Fixed the UpdateRolePermission API call to handle explicit deny properly (Set param is now NULLable)
  • PID of newly created processes is logged.
  • Implemented log rolling, each day at midnight the log will roll over to a new file.
  • Access to individual methods can be revoked using -Methods.MODULE.METHOD as a permission node.
  • Fixed menu items wrapping not being handled correctly (regression after switch to data-bound menu)
  • Wrapping check is now performed at all viewport sizes, not just in mobile view (fixes wrapping with missing fonts)

File Manager

  • Fixed a conversion issue (UTF8<->B64) that stopped UTF8 encoded files from being loaded or saved properly (but extended ANSI for accented characters still worked fine, causing confusion about what was actually broken)
  • Fixed a bug that would cause the file manager to request segments of a file multiple times over when using multi-byte character encodings.
  • The API call to get a file chunk now returns information on the number of bytes that were read (helps with previous issue)
  • Trashing a file that already exists in trash is now allowed, if a trashed file already exists then the new version is added with an incrementing number appended to the end

APIGEN

  • Updated to support the current version of the AMP API.

Minecraft Module

  • Fixed a bug in sleep mode that was using the wrong encoding to send messages to clients.
  • Fixed a bug in sleep mode that would cause AMP to crash if a network connection was aborted unexpectedly while sending the sleep response.

System User Manager Plugin (Used by ADS, IM)

  • Fixed the first line of /etc/passwd being skipped, omitting the root users details (first row was being treated as CSV header)

SRCDSModule

  • Fixed GSLT not working properly by re-ordering the parameters passed to srcds.
  • Fixed a crash if you tried to send console input after RCON disconnects (but server is still running).

ARMA3 Module

  • Added a setting to specify -autoinit in the command line flags.
  • Added RCON retry logic from other games (waits 10 seconds, retries every 10)

Starbound Module

  • Fixed a startup issue due to incorrect paths.

The Forest Module

  • New module!
  • Very basic, config and startup only. There's no monitoring, and no console (the game doesn't have one)
  • Only tested on Windows so far. Linux milage may vary.

  • Liked by
  • Kakifrucht
  • Giggeler
5 Comments
Order By: Standard | Newest | Votes
JamiePhonic posted this 3 days ago

getting the following on a clean instance of 1472 after clearing my AMP cache

[13:30:19] [Program:Core Info]    : Starting AMP version 1.4.7.2, built 2017-05-21 22:47
[13:30:19] [Program:Core Info]    : OS: Windows / x86_64
[13:30:19] [Program:Core Info]    : AMP Instance ID: 186cd33f-c2a8-41f9-b716-fd399ba399ed
[13:30:19] [Core:Core Info]       : Loading Module: MinecraftModule
[13:30:20] [SignatureVerification:Core Debug] : Cannot find the requested object.

[13:30:20] [SignatureVerification:Core Debug] :    at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
   at System.Security.Cryptography.X509Certificates.X509Utils._QueryCertBlobType(Byte[] rawData)
   at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags)
   at GSMyAdmin.SignatureVerification.Verify(Byte[] Data)
[13:30:20] [Core:Core Warning]    : Verification failed for E:\AMP_Instances\Instances\1-Minecraft\Plugins\MinecraftModule\MinecraftModule.dll
[13:30:20] [ModuleLoader:Core Error] : Unable to load module MinecraftModule: A developer licence is required to load unsigned plugins.
[13:30:20] [Core:Core Fatal]      : Failed to initialize application module.

Mike posted this 3 days ago

Hmm, are other modules failing too or just minecraft?

JamiePhonic posted this 3 days ago - Last edited 3 days ago

ADS too:

[13:34:06] [Program:Core Info]    : Starting AMP version 1.4.7.2, built 2017-05-21 22:47
[13:34:06] [Program:Core Info]    : OS: Windows / x86_64
[13:34:06] [Program:Core Info]    : AMP Instance ID: 84f2d620-3371-4f09-b453-8f090b41a535
[13:34:06] [Core:Core Info]       : Loading Module: ADSModule
[13:34:06] [SignatureVerification:Core Debug] : Cannot find the requested object.

[13:34:06] [SignatureVerification:Core Debug] :    at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
   at System.Security.Cryptography.X509Certificates.X509Utils._QueryCertBlobType(Byte[] rawData)
   at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags)
   at GSMyAdmin.SignatureVerification.Verify(Byte[] Data)
[13:34:06] [Core:Core Warning]    : Verification failed for E:\AMP_Instances\Instances\0-ADS\Plugins\ADSModule\ADSModule.dll
[13:34:06] [ModuleLoader:Core Error] : Unable to load module ADSModule: A developer licence is required to load unsigned plugins.
[13:34:06] [Core:Core Fatal]      : Failed to initialize application module.

Glad i didn't update any of my production instances yet! I'm guessing the modules weren't signed properly when they were built?

Mike posted this 2 days ago

They're definitely signed - you can check by looking at the file properties for the DLLs

JamiePhonic posted this 2 days ago

the DLL's do appear to be signed.

I cleared my AMP cache and created a totally new instance with no change.

Extracted Cer file: https://filehost.net/6d9a5c59bd0005cc

system Specs:

Windows Server 2016 DataCenter Edition

Xeon E3-1241 V3

32GB DDR3 ECC RAM