EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[AL Plugin] Fix Flying Wares v1.02 7-Nov-07
Post new topic Reply to topic Goto page 1, 2  Next
View previous topic :: View next topic
Author Message
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
modified
PostPosted: Thu, 1. Nov 07, 05:28    Post subject: [AL Plugin] Fix Flying Wares v1.02 7-Nov-07 Reply with quote Print

Fix Flying Wares


Version 1.02 - Download here - Xai Corp, thanks moggy

Another response to a request - this time from here to make crates stick around longer. From the readme:

readme wrote:
Fix Flying Wares v1.02 by eladan
--------------------------------

This is an AL plugin to scan for flying wares (crates dropped by destroyed ships primarily) and change them so that they don't self destruct after a certain period of time. This will make them behave like e.g. the hidden crates or pandora tunings, which are permanent until picked up.

I've limited it to only work in the sector that the playership is currently in. The reason for this is to limit the amount of processing required, and also the fact that crates are only dropped when the player is in the sector. I've also limited it to only run on crates you know about. The reason for that is to ensure you don't have a glut of crates lying around that you're unaware of, potentially causing unexplained slowdowns.

The plugin runs every sixty seconds, so as long as you know of crates for at least this long before leaving a sector, you should be able to rely on them being there when you get back.

The plugin is shown in the Options->Gameplay->Artificial Life Settings menu as 'Fix Flying Wares'. Turning it off will return to default behaviour on any *future* drops - any crates already processed will stay that way.

There are no commands or text associated with this plugin.

Changelog
---------

v1.02 - Restricted wares that plugin will work with, to avoid problems with plot objects being replaced and no longer recognised.

v1.01 - Fixed minor issue with any crates outside scanner range reverting to unknown. :/
- Increased range for detection of crates for those really big sectors...

V1.00 - Initial release.




Last edited by eladan on Wed, 7. Nov 07, 05:14; edited 2 times in total
Back to top
View user's profile Send private message
johntarmac





Joined: 05 Mar 2004
Posts: 384 on topic
Location: england
Thank you for registering your game
PostPosted: Thu, 1. Nov 07, 05:56    Post subject: Reply with quote Print

nice Smile

Back to top
View user's profile Send private message
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
PostPosted: Thu, 1. Nov 07, 07:09    Post subject: Reply with quote Print

Thanks John - enjoy! Smile

You might want to re-download. A couple of minor fixes/tweaks
.

Back to top
View user's profile Send private message
Reaxe





Joined: 30 Oct 2007



PostPosted: Thu, 1. Nov 07, 09:16    Post subject: Reply with quote Print

eladan - this is exactly the kind of thing I was after - thank you Smile

Back to top
View user's profile Send private message
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
PostPosted: Thu, 1. Nov 07, 09:45    Post subject: Reply with quote Print

Reaxe wrote:
eladan - this is exactly the kind of thing I was after - thank you Smile

Just following directions. Wink

Back to top
View user's profile Send private message
Reaxe





Joined: 30 Oct 2007



PostPosted: Fri, 2. Nov 07, 10:41    Post subject: Reply with quote Print

I *may* have found a possible issue/bug - not too sure though.

I just finished cleaning out X594, looking to score some big lwet with my new script a-running, and lo and behold, out of the 10+ Xenon cap ships I showed to the door, I got no cap ship goodies. No GPPC's, BPPC's, APPC's, flaks or smaller guns - though a few small guns did drop from the fighters in-sector. The only other stuff left floating around was missiles.

Now, this may just be my luck, and the RNG is nopt liking me too much right now, but I figured I'd post it just in case.

Back to top
View user's profile Send private message
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
PostPosted: Fri, 2. Nov 07, 11:06    Post subject: Reply with quote Print

Hi Reaxe, while admittedly I didn;t test this with PPCs, I think it's far more likely you just got an unlucky streak. Sad Did you see any drop at all? If they did drop, and then disappeared, then that would clearly indicate a problem.

I'll get in and take a look, to test with PPC drops, but it'll have to be in a bit - currently my gaming rig is tied up doing something else.

Back to top
View user's profile Send private message
Reaxe





Joined: 30 Oct 2007



PostPosted: Fri, 2. Nov 07, 11:20    Post subject: Reply with quote Print

No - I didn't see any drop. I'm about to head into the next one up from 594 and have a crack at those bad boys - see what I can come up with. If I get through two entire Xenon sectors without a single PPC or flak drop... something has got to be putting a kink in my Mojo.

*Checks under desk for evil spirits*

EDIT - It worked in 101 - seems I just had bad luck... 10 times in a row... Razz

Back to top
View user's profile Send private message
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
PostPosted: Fri, 2. Nov 07, 13:31    Post subject: Reply with quote Print

Reaxe wrote:
It worked in 101 - seems I just had bad luck... 10 times in a row... Razz

Yep, just checked, and PPCs work fine. Must be a run of bad luck. You didn't have a black cat walk in front of you while you ran under a ladder smashing a mirror on the way over halloween, did you? Very Happy

Back to top
View user's profile Send private message
Saint-Ashley





Joined: 03 Dec 2005
Posts: 1260 on topic
Location: Maryland USA
Thank you for registering your game
PostPosted: Fri, 2. Nov 07, 15:36    Post subject: Reply with quote Print

It could have also been possible that the crates got destroied conventionally (or naught had dropped at all). As they are naught indestrictible. A stray PPC fire shot or a fighter crashing into them and poof.

Keep in mind the X3's Autopilot and we all know how possible it is! Laughing

Back to top
View user's profile Send private message
Reaxe





Joined: 30 Oct 2007



PostPosted: Fri, 2. Nov 07, 23:01    Post subject: Reply with quote Print

Heh - you're not kidding! I just finished watching my TL try to plough through a factory on it's way to dock in PTNI. Amazing Razz

Back to top
View user's profile Send private message
Saint-Ashley





Joined: 03 Dec 2005
Posts: 1260 on topic
Location: Maryland USA
Thank you for registering your game
PostPosted: Wed, 7. Nov 07, 02:48    Post subject: Reply with quote Print

Was just going through the plot missions, and of course someone has to find a bug. Wink

When haveing to collect the black crystal from Xenon Sector 101 the script identifies it and replaces it. Causeing the plot to cease.

If your entering the sector to collect the Black Crystal for the plot you should (for now) turn off the 'Fix Flying Wares' until eladan gets a chance to fix this if he decides its even worth it. At least we know what *can* happen.

Back to top
View user's profile Send private message
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
PostPosted: Wed, 7. Nov 07, 03:37    Post subject: Reply with quote Print

Saint-Ashley wrote:
When haveing to collect the black crystal from Xenon Sector 101 the script identifies it and replaces it. Causeing the plot to cease.

Thanks SA - didn't even consider the plot... Rolling Eyes

I'll fix this asap.

Back to top
View user's profile Send private message
eladan





Joined: 07 Jan 2006
Posts: 5307 on topic
Location: Sunshine Coast, Australia
Thank you for registering your game
PostPosted: Wed, 7. Nov 07, 05:21    Post subject: Reply with quote Print

New Version - 1.02 to fix the problem if plot objects are replaced. I've restricted the wares that the plugin will work on to only be those that commonly drop.

For those who want the info, this means that I am only replacing wares with a maintype of 8-11, 13-15 (any subtype,) or maintype 16 with subtype<11.

There are some wares in maintype 12 which some people do occasionally see dropped, but as these are supposed to be plot or mission related wares, there shouldn't be any real interest in having this work on them.

Back to top
View user's profile Send private message
Dracken





Joined: 19 Nov 2007
Posts: 62 on topic

Thank you for registering your game
PostPosted: Wed, 16. Jul 08, 00:53    Post subject: Reply with quote Print

sorry im abit slow in the head tonight, 1 question and im sure gonna sound dumb


"I've limited it to only work in the sector that the playership is currently in"

dose that mean that when i kill and loot drops in the sector it will stay there for all time, or will it go back to normal once i leave the sector

(in my head im sure it means that only items that drop WHILE im in the sector will stay there even after i leave the sector - however been wrong before ^_^)

sorry again for the silly question, just need to know before get it.

Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Wed, 15. Aug 18, 05:49

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.11146 seconds, sql queries = 29