Abandoned Ship Spawner for AP (ASS-AP) v88 [AP][ALP]
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 173
- Joined: Fri, 17. Jun 05, 06:35
OK, something is off then. Here are my test parameters:
- Cleanup time = 10 min
- Max spawned ships = 10
- Ships spawned before cleanup = 10
I waited 12 in-game minutes and ran the log (by the way, it enabled by default). I still got the same amount of spawned ships as before making the changes above. I edited both 7300-L099 and 7300-L044. Am I doing something wrong?
- Cleanup time = 10 min
- Max spawned ships = 10
- Ships spawned before cleanup = 10
I waited 12 in-game minutes and ran the log (by the way, it enabled by default). I still got the same amount of spawned ships as before making the changes above. I edited both 7300-L099 and 7300-L044. Am I doing something wrong?
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
You only need to edit the -L044 file (assuming that you are playing an English game). The -L089/99 files are just documentation -- they have no function other than to give you a visual reference when you view the folder in Windows Explorer.
The log does not clear itself automatically, so you may be seeing the old ships. There will not be any new ships until one spawns, of course.
Delete the old ships from the log, save, then watch the log for new ships.
Note to self: In the next version, allow the player to force a re-spawn by toggling the AL Plugin Off and On again.
The log does not clear itself automatically, so you may be seeing the old ships. There will not be any new ships until one spawns, of course.
Delete the old ships from the log, save, then watch the log for new ships.
Note to self: In the next version, allow the player to force a re-spawn by toggling the AL Plugin Off and On again.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 173
- Joined: Fri, 17. Jun 05, 06:35
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
That is normal. Cleanups do not happen until after a new spawn. Even then, the cleanups are random, so you never know when your Ryu will vanish.Mythrantar wrote:I had a Ryu spawned in Saturn 3. After changing the settings in the t file, it's still there.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 173
- Joined: Fri, 17. Jun 05, 06:35
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
if I want to clean up all the currently spawned ships ... what would be the best way?
Spoiler
Show
Run the script that I linked above (inside spoiler tags). That will put a list of all abandoned ships into the log file. Then go to each and destroy them.
Of course, it will also show all of the vanilla abandoned ships. Hence the spoiler tags.
Of course, it will also show all of the vanilla abandoned ships. Hence the spoiler tags.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 173
- Joined: Fri, 17. Jun 05, 06:35
I think I ran into a bug, or an interesting cross-reaction with the NPC boarding mod. I had this A.S.S. Ryu floating around for a about 5 in-game days until last night where I found out that it was no longer dormant - I scanned it and saw that it had been boarded by 19 4-star marines (!) and was no longer claimable. Instead, it was merrily flying around in circles around Saturn 3.
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Haha! Nice one!
Perhaps the AI is becoming self-aware?
Perhaps the AI is becoming self-aware?
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 1021
- Joined: Fri, 25. Nov 05, 16:05
Hey Bullwinkle, I just decided to switch from the NPC Bailing Addon to your simpler script in the hope to lessen a bit the strain on my system that became evident after noticing how it skips the Marine Repair cycles when in SETA.
So, I went to browse the libs that actually decide which ships will spawn in the intent to adapt them for XRM (I wanted to add some XRM ships to them, and while there I noticed they indeed need some tweaking, as the different tships makes it select a couple of placeholders here and there, as you can see in the screenshot). I'm a bit puzzled by how the array and relative random number generator is set though; for example:
[ external image ]
The array has 22 ships in it, but the random generator to choose which ship to spawn only goes from 0 to 15, aka it should NOT be able to select the ships at the end. Am I wrong? Is there any particular reason it's set up like that (such as if it's being called by some other script that uses the same array and needs it this way)?
I'm asking before I break something unexpected if I add entries to the array without being careful
So, I went to browse the libs that actually decide which ships will spawn in the intent to adapt them for XRM (I wanted to add some XRM ships to them, and while there I noticed they indeed need some tweaking, as the different tships makes it select a couple of placeholders here and there, as you can see in the screenshot). I'm a bit puzzled by how the array and relative random number generator is set though; for example:
[ external image ]
The array has 22 ships in it, but the random generator to choose which ship to spawn only goes from 0 to 15, aka it should NOT be able to select the ships at the end. Am I wrong? Is there any particular reason it's set up like that (such as if it's being called by some other script that uses the same array and needs it this way)?
I'm asking before I break something unexpected if I add entries to the array without being careful
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
It appears that I truncated the list intentionally. Perhaps because several of the ships were already on the list, and I didn't want to double the odds of selecting those. *Shrug*.... don't overthink it. You can fiddle with the odds as you prefer.
It did occur to me that it is possible to make ASS work with any mod. If I ever come back to the X-Verse, then doing that is already on my To-Do list.
- (and, yes, you are reading it correctly)
It did occur to me that it is possible to make ASS work with any mod. If I ever come back to the X-Verse, then doing that is already on my To-Do list.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 1021
- Joined: Fri, 25. Nov 05, 16:05
Then you might want to have a look at it: most of the libs are "truncated" this way, even those that indeed would be adding new AP ships. For instance, you added the new TP+ (Phantom, Lance, etc) to the TP array, but the random number is still capped at the old value, thus it's ignoring all your work...
In the meanwhile, while waiting for your input I indeed added the XRM ships, corrected those (very few) wrong entries due to the different tships, and adapted the random generator in all libs. I've only added M6/7/2/1/0 and TLs though, as I don't really care about fighters at the point I'm in the game right now, I'd just sell or scrap them all anyway.
Should you want to offer an XRM "compatibility" patch, though, let me know: I could add the remaining classes too and upload the libs.
Not that it's really needed, there where no more than 3 or 4 rogue entries in total, so it's highly unlikely they'd spawn, and they'd be harmless anyway.
In the meanwhile, while waiting for your input I indeed added the XRM ships, corrected those (very few) wrong entries due to the different tships, and adapted the random generator in all libs. I've only added M6/7/2/1/0 and TLs though, as I don't really care about fighters at the point I'm in the game right now, I'd just sell or scrap them all anyway.
Should you want to offer an XRM "compatibility" patch, though, let me know: I could add the remaining classes too and upload the libs.
Not that it's really needed, there where no more than 3 or 4 rogue entries in total, so it's highly unlikely they'd spawn, and they'd be harmless anyway.
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
That is good news for players who want to use ASS-AP with XRM. Thank you for the report.Kadatherion wrote:Not that it's really needed, there where no more than 3 or 4 rogue entries in total, so it's highly unlikely they'd spawn, and they'd be harmless anyway.
As for the lists, I will say again that I made them the way they are intentionally.
- While I see some value in making ASS work with any mod, I don't care specifically about XRM, one way or the other. If you want to post an XRM patch, that's fine by me, but don't do it *for* me because I don't play XRM.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
-
- Posts: 1021
- Joined: Fri, 25. Nov 05, 16:05
Ok, no prob then, I'll keep it as the usual private "hack". I wouldn't be able to guarantee long term support anyway in case I slipped a typo in or if a future XRM update breaks something (this week I'm playing, next week who knows), and if you don't use XRM you can't for sure be bothered with possible bug reports coming from people who use a different version.DrBullwinkle wrote:
- While I see some value in making ASS work with any mod, I don't care specifically about XRM, one way or the other. If you want to post an XRM patch, that's fine by me, but don't do it *for* me because I don't play XRM.
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Yeah, I think the real long-term solution is to make it work independently of mods.
- I may get around to doing that someday, but don't hold your breath.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
I don't know. I assume you are not playing in English? Can you find the ware in the Encyclopedia?
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Sorry for the resurrection, but I got an A.S.S.-spawned khaak corvette and it isn't claimable.
I checked for a pilot, but it has none (as intended I guess).
Might just leave it for now...
Anyway, here's a screenie:
http://i.imgur.com/QuA0BZg.jpg
Edit:
It turned hostile after I shot it with my repairlaser and vaporized me with its two beta kyons
I think I will go to bed now...
oversized image tags removed as per forum rules - Ketraar
I checked for a pilot, but it has none (as intended I guess).
Might just leave it for now...
Anyway, here's a screenie:
http://i.imgur.com/QuA0BZg.jpg
Edit:
It turned hostile after I shot it with my repairlaser and vaporized me with its two beta kyons
I think I will go to bed now...
oversized image tags removed as per forum rules - Ketraar
As the size of an explosion increases, the number of social situations it is incapable of solving approaches zero.
[ external image ]
[ external image ]
Litcube wrote:Don't succumb to the "I figured it'd be ok".
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Yeah, Kha'ak capital ships are neither claimable nor boardable.
As you noticed, ships not owned by you do not like being shot at ... not even with a Repair Laser.
If you want to cheat to own the Corvette, then Salvage Claim Software can claim it for you.
As you noticed, ships not owned by you do not like being shot at ... not even with a Repair Laser.
If you want to cheat to own the Corvette, then Salvage Claim Software can claim it for you.
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Well, since I had to reload the last save due to being an overtired dumbnut for bringing an empty bag of gum to a gunfight , I guess I won't reclaim that corvette.
Even more so because it took him about a whole minute so start moving and turning around to face me, and he DID fire his weapons 2 or 3 times while doing so. And I was just like "Oooooo, let's see what happens when he turned around".
Guess Darwin has a point after all
But I'll use the Salvage Claim Software if I ever happen to trip over another one
Even more so because it took him about a whole minute so start moving and turning around to face me, and he DID fire his weapons 2 or 3 times while doing so. And I was just like "Oooooo, let's see what happens when he turned around".
Guess Darwin has a point after all
But I'll use the Salvage Claim Software if I ever happen to trip over another one
As the size of an explosion increases, the number of social situations it is incapable of solving approaches zero.
[ external image ]
[ external image ]
Litcube wrote:Don't succumb to the "I figured it'd be ok".