Exciting stuff. I'm working on getting a VM up as a dedicated server or something so I can start researching the feasibility of a Linux version of Arma2NET.
Exciting stuff. I'm working on getting a VM up as a dedicated server or something so I can start researching the feasibility of a Linux version of Arma2NET.
Nice to hear ScottWay to go!
Arma2NET 1.9 has been released:
- New alternative function call syntax, e.g. ["DateTime", ["now", "HH:mm:ss"]]
- Added outputSize support to Arma2NetMethodAddIn and friends.
- Arma2NetMethodAddIn now optionally formats results as SQF.
- New YAML settings file that can be used to configure Arma2NET.
- The list of plugins to automatically activate on Arma2NET startup can now be configured through YAML.
- The Arma2NET plugin whitelist can now be configured through YAML.
- Added the ability to play a beep sound when Arma2NET is activated. This can be configured through YAML.
- Sharpened text in Arma2NetExplorer.
- Dropped installer banner images to reduce file size.
- Improved return result logic further from version 1.8.
- UtilitiesPlugin and WeatherPlugin dropped from Arma2NET and are now auxiliary plugins.
- Dropped FunctionArgumentsInvalidException in favour of the standard .NET exceptions.
- Error messages vastly improved.
New alternative syntax lets you do things like this:
Please bear in mind that it currently won't work for objNull, e.g.Code:args = ["DateTime", ["now", ""]]; hint ("Arma2Net.Unmanaged" callExtension str args)
Settings.yaml can be edited in your favourite text editor. The PublicKeyTokens field is the most useful field. You can add your own entries and Arma2NET will trust plugins with matching public key tokens.Code:["DateTime", ["now", objNull]];
Settings.yaml is (surprisingly!) in the human-readable YAML serialisation format, http://en.wikipedia.org/wiki/Yaml
I'll add documentation regarding the new Arma2NetMethodAddIn additions later.
Arma2NET releases under the "release early, release often" principle, so please reply with feedback and any problems/issues you have with using this update.
https://bitbucket.org/Scott_NZ/arma2...ma2NET-1.9.zip
https://bitbucket.org/Scott_NZ/arma2...taller-1.9.msi
Guys,
This seems to break MySQLPluginAddin with the latest version of Arma2Net 1.9.
I get the following:
05/26/2012 06:57:45 Arma2Net.Managed.Bridge ERROR Caught exception
System.TypeLoadException: Could not load type 'Arma2Net.Managed.FunctionArgumentsInvalidExceptio n' from assembly 'Arma2Net.Managed, Version=1.7.0.0, Culture=neutral, PublicKeyToken=8762987cc8e6095e'.
at Arma2NETMySQLPlugin.Arma2NETMySQLPlugin.Run(String args)
at AddInAdapter.Arma2NetAddInAddInAdapter.Run(String args, Int32 maxResultSize)
at HostAdapter.Arma2NetAddInHostAdapter.Run(String args, Int32 maxResultSize)
at Arma2Net.Managed.AddIns.AddInManager.RunAddIn(Stri ng addInName, String addInArgs, Int32 maxResultSize)
at Arma2Net.Managed.Bridge.Run(String function, Int32 maxResultSize)
Works fine with v1.8
Cheers
Tup
@ Tupolov: refer to the reply I made in HeliJunkie's thread.
I've been working on making Arma2NET more accessible.
- I have uploaded a Visual Studio solution with simple and working code (just make sure VS can find the references i.e. Arma2Net.Managed.dll). You can find it here.
- I have overhauled the wiki home page with some words describing what Arma2NET actually is, and I have added the example code.
- I have also overhauled the wiki sandboxing page, and added a page about the new Settings.yaml included with 1.9.
I have noticed that Settings.yaml isn't created by the 1.9 installer. This is fixed for the next version. Until then:
If you used the installer, create a Settings.yaml file inside @Arma2NET using the contents of https://bitbucket.org/Scott_NZ/arma2net/wiki/Settings, or download the @Arma2NET ZIP archive instead.
Arma2NET 1.10 has been released. This update mainly focuses on bug fixes and internal refactoring which I won't go into detail about here. It also brings some new features, as described below:
- Settings.yaml is now created by the installer.
- Log configuration file option added to Settings.yaml.
- Arma2NET evaluator added to Arma2NET Explorer, providing the ability to test code without needing to start the game.
- Fixed an issue where Arma2NetMethodAddIn methods with UnformattedResultAttribute were sometimes causing a NullReferenceException.
- "<NULL-object>" from the game is now treated as null by Arma2NET.
- Improved error messages for plugins using Arma2NetMethodAddIn.
https://bitbucket.org/Scott_NZ/arma2...a2NET-1.10.zip
https://bitbucket.org/Scott_NZ/arma2...aller-1.10.msi
To use the evaluator, type for example DateTime [now, ] into the text box on the Evaluator tab and then hit Enter. Note that Arma2NET Explorer will require a restart each time you update the plugin due to the current AppDomain setup. I'm looking to change this so you can reload plugins on the fly. This is already possible with Python/Ruby code used with PythonPlugin and RubyPlugin however.
New version frontpaged on the Armaholic homepage.
Visit Armaholic.com | Visit Carriercommandaholic.com
Public FTP available, just check the Armaholic.com FAQ.
I don't like this version number. From 1.9 to 1.10... or in my opinion 1.1..
Think this is misleading. Otherwise 1.9 must be 1.09 ...
A version is made up of four numbers: the major version, minor version, revision and build. Versions are usually represented as major.minor.revision.build, e.g. 1.0.0.0. I have left off the revision/build numbers when they aren't important. So 1.10 (or 1.10.0.0) means that major version = 1 and minor version = 10.
I can see where you're coming from though, and I do take this into consideration.