[SCR] Memia AutoScan Freight (V1.11 - 02/07/2013)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
[SCR] Memia AutoScan Freight (V1.11 - 02/07/2013)
Memia AutoScan Freight
An AL Plugin for Terran Conflict and Albion Prelude that automatically scans freight in all ships within range.
Background
Tired of having to manually click that "Scan" button every time you want to scan a ship for freight? Well I am, hence the script
How to Use
Ensure you have a Frieght Scanner installed into your ship and that the plugin is turned on (see Installation below).
Simply pass within the range of the scanner (default 4km) and the ship will be automatically scanned on your behalf.
Note, if you are in a system where scanning is illegal then the scanner will not scan anything.
The plugin only works on the Player's current ship.
It works during freight scanning missions for law enforcement against illegal wares as well as pirate missions to scan for legal wares to plunder.
Installation
To use, simply install the SPK and then ensure the plugin is switched on in the Artificial Life plugin section (Gameplay -> Artificial Life Settings -> Memia AutoScan Freight).
Download
Download the SPK from here:
[ external image ]
Version History
Version 1.11 (02.07.2013)
A further update to correct scanning in Goner sectors.
Version 1.10 (25.06.2013)
Update to correct scanning in Goner sectors such that it no longer causes a loss of Argon reputation.
Allow the plugin to be disabled in AL settings.
Version 1 (06.08.2010)
Initial Release
Resources used
None
Compatibility
X3:TC - All versions
X3:AP - All versions
An AL Plugin for Terran Conflict and Albion Prelude that automatically scans freight in all ships within range.
Background
Tired of having to manually click that "Scan" button every time you want to scan a ship for freight? Well I am, hence the script
How to Use
Ensure you have a Frieght Scanner installed into your ship and that the plugin is turned on (see Installation below).
Simply pass within the range of the scanner (default 4km) and the ship will be automatically scanned on your behalf.
Note, if you are in a system where scanning is illegal then the scanner will not scan anything.
The plugin only works on the Player's current ship.
It works during freight scanning missions for law enforcement against illegal wares as well as pirate missions to scan for legal wares to plunder.
Installation
To use, simply install the SPK and then ensure the plugin is switched on in the Artificial Life plugin section (Gameplay -> Artificial Life Settings -> Memia AutoScan Freight).
Download
Download the SPK from here:
[ external image ]
Version History
Version 1.11 (02.07.2013)
A further update to correct scanning in Goner sectors.
Version 1.10 (25.06.2013)
Update to correct scanning in Goner sectors such that it no longer causes a loss of Argon reputation.
Allow the plugin to be disabled in AL settings.
Version 1 (06.08.2010)
Initial Release
Resources used
None
Compatibility
X3:TC - All versions
X3:AP - All versions
Last edited by memia on Tue, 2. Jul 13, 11:03, edited 8 times in total.
A security system is only as strong as its weakest link
-
- Posts: 116
- Joined: Thu, 8. Sep 11, 14:03
I still have the script if anyone wants it.
But I'm having issues with the Goner Sector.
Even though scanning in there is illegal it still seems to be scanning and I'm losing Reputation.
I tried to disable it under the AL Settings but it didn't work.
I think this is a must script, and I hate having to disable it.
But I'm having issues with the Goner Sector.
Even though scanning in there is illegal it still seems to be scanning and I'm losing Reputation.
I tried to disable it under the AL Settings but it didn't work.
I think this is a must script, and I hate having to disable it.
-
- Posts: 116
- Joined: Thu, 8. Sep 11, 14:03
Hi All,
Apologies that the download links went offline. My old site got taken down by a DoS attack on the server it was hosted by.
I've got a new site online and have updated the original download links.
The new site is available at http://www.memiasx.com.
I would appreciate it if other links to my downloads are now removed (although I totally understand why people provided them).
Thanks,
M
Apologies that the download links went offline. My old site got taken down by a DoS attack on the server it was hosted by.
I've got a new site online and have updated the original download links.
The new site is available at http://www.memiasx.com.
I would appreciate it if other links to my downloads are now removed (although I totally understand why people provided them).
Thanks,
M
A security system is only as strong as its weakest link
I haven't checked the reason why it scans even while turned off, but I found the reason why it scans goner's.
The file mermia.asf.xml
if $race == stuff OR $race == [Goner]
$canScan = [TRUE]
For some reason the author thinks that a Goner sector is like a pirate sector where it's always legal to scan.
Simple solution is to remove the "$race == [Goner] OR" and then it won't scan in those two sectors.
I think a full fix would be to also change the else after it with:
if $race == [Goner]
$canScan = player has police license for race [Argon]
else
$canScan = player has police license for race $race
end
But I'm not a X scripter, so thats just an educated guess.
The file mermia.asf.xml
if $race == stuff OR $race == [Goner]
$canScan = [TRUE]
For some reason the author thinks that a Goner sector is like a pirate sector where it's always legal to scan.
Simple solution is to remove the "$race == [Goner] OR" and then it won't scan in those two sectors.
I think a full fix would be to also change the else after it with:
if $race == [Goner]
$canScan = player has police license for race [Argon]
else
$canScan = player has police license for race $race
end
But I'm not a X scripter, so thats just an educated guess.
I finally had the opportunity to test the code and it worked brilliantly of course, only a slight problem, having an Argon Police License doesn't make it legal to scan in Goner sectors. DOH
I don't know if it's a bug or what, but the current path level of AP does not allow freight scanning in Goner's two sectors.
So the "fix" is to remove the "$race == [Goner] OR" from the early line of mermia.asf.xml.
I don't know if it's a bug or what, but the current path level of AP does not allow freight scanning in Goner's two sectors.
So the "fix" is to remove the "$race == [Goner] OR" from the early line of mermia.asf.xml.
Update to Version 1.10 [25.06.2013]
Update to Version 1.10
The new update includes a fix to no longer cause loss of Argon reputation when in Goner sectors.
Also allows disabling of the plugin through the AL plugin configuration menu.
The new update includes a fix to no longer cause loss of Argon reputation when in Goner sectors.
Also allows disabling of the plugin through the AL plugin configuration menu.
A security system is only as strong as its weakest link
Update to Version 1.11 [02.07.2013]
Update to Version 1.11
Further update to fix Goner sector scanning to prevent rep loss.
Further update to fix Goner sector scanning to prevent rep loss.
A security system is only as strong as its weakest link
-
- Posts: 14
- Joined: Sat, 2. Jan 16, 12:32
Re: [SCR] Memia AutoScan Freight (V1.11 - 02/07/2013)
This plugin and the source code is now available on my GitHub at the following location:
https://github.com/memiamap/X3TCMods
The code is under the MIT license so you may copy and modify as required.
https://github.com/memiamap/X3TCMods
The code is under the MIT license so you may copy and modify as required.
A security system is only as strong as its weakest link