[Script] Kill All Ships (but mine)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
[Script] Kill All Ships (but mine)
this script when run will kill all the ships in the universe.
everyones.
even the hidden ships.
*it will leave yours though, which i find handy*
you do have to know where to put it, you have to know how to enable the script editor, and how to run a script. but because i have seen more than one person ask for it, here it is!
this script also happens to be very handy when your system boggs down really bad and gets to like 2-3 fps for no apparrent reason... run this script and you'll be back in business... till the next time some random ship somewhere decides to soak up all your cpu with a runaway script.
killships.zip
run the script named a.jmc.kill.all.ships
*disclaimer* this script comes with no warranty implied or otherwise, use at your own risk. i will also most likely not change the script so dont ask.
everyones.
even the hidden ships.
*it will leave yours though, which i find handy*
you do have to know where to put it, you have to know how to enable the script editor, and how to run a script. but because i have seen more than one person ask for it, here it is!
this script also happens to be very handy when your system boggs down really bad and gets to like 2-3 fps for no apparrent reason... run this script and you'll be back in business... till the next time some random ship somewhere decides to soak up all your cpu with a runaway script.
killships.zip
run the script named a.jmc.kill.all.ships
*disclaimer* this script comes with no warranty implied or otherwise, use at your own risk. i will also most likely not change the script so dont ask.
Thanks a lot, this is exactly what I needed
I'll try it as soon as I can.
Of course, new ships should be created soon after thanks to the jobs, right ?
Oh, by the way, will plot ships respawn too ? (Goner Ozias, Exterminator...)[/spoiler]
I'll try it as soon as I can.
Of course, new ships should be created soon after thanks to the jobs, right ?
Oh, by the way, will plot ships respawn too ? (Goner Ozias, Exterminator...)[/spoiler]
If brute force doesn't solve your problems, then you aren't using enough
Hi, thanks for your script, I tried it and it worked perfectly.
It solved the problem I had (some ships "carrying" old code from another script, which was freezing my game)
However,
when I ran your script, I got a message telling me "Oh no, you let it get away !"
And a few minutes after, I received another message saying "I found another ship, its name is "L0xxx@Mxxxx" , and instantly after another message sayiing "Oh no, you let it get away !"
So, I can't continue the mission. Neither can I abort it since it's a plot mission.
What can I do ?
Thanks in advance
It solved the problem I had (some ships "carrying" old code from another script, which was freezing my game)
However,
Spoiler
Show
I'm at the Goner Mission where I have to follow a piarte ship to its base :
And a few minutes after, I received another message saying "I found another ship, its name is "L0xxx@Mxxxx" , and instantly after another message sayiing "Oh no, you let it get away !"
So, I can't continue the mission. Neither can I abort it since it's a plot mission.
What can I do ?
Thanks in advance
If brute force doesn't solve your problems, then you aren't using enough
-
- Posts: 1406
- Joined: Wed, 6. Nov 02, 20:31
So you want no ships and no stations eh?slickdrac wrote:Can you do this with stations too?
So you'll have a completely empty universe:
Nothing to kill
Nothing to trade with
Nothing to buy your products
Nothing to buy resources from
Nothing to kill to increase your fighting status
No workable plots
No where to renew your ships
So how about buying a new game! Cos clearly this one isn't for you!!
Tone it down... I can see that there would be potential uses for something like that, although if you simply want to remove a hostile station or three you'd be best using the cheat scripts.
Initially, yes, but it wouldn't take all that long to come back to life. It would be considerably emptier than usual for longer than that though.CanadianBrit wrote:So you'll have a completely empty universe
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
Using this in the middle of running the plot would be a very bad idea.
The plot creates its own ships in places, and if you kill these, the plot scripts will still be running, but the ships wont be there. Its unlikely the ships would respawn either, since the scripts already running would assume they are still there.
Personally, I think a mechanism to identify and terminate running scripts that are causing problems would be a lot more useful.
The plot creates its own ships in places, and if you kill these, the plot scripts will still be running, but the ships wont be there. Its unlikely the ships would respawn either, since the scripts already running would assume they are still there.
Personally, I think a mechanism to identify and terminate running scripts that are causing problems would be a lot more useful.
Or, you know, I could just want to create my own custom battles and such and want as much free resources as possible. But go right aheadCanadianBrit wrote: So you want no ships and no stations eh?
So you'll have a completely empty universe:
Nothing to kill
Nothing to trade with
Nothing to buy your products
Nothing to buy resources from
Nothing to kill to increase your fighting status
No workable plots
No where to renew your ships
So how about buying a new game! Cos clearly this one isn't for you!!
-
- Posts: 13
- Joined: Fri, 23. Jan 09, 13:47
Re: [Script] Kill All Ships (but mine)
Yes all ships and i'd assume the ships you bought too only the ship your currently in will be saved.JMCorp wrote:this script when run will kill all the ships in the universe.
everyones.
even the hidden ships.
*it will leave yours though, which i find handy*
Asus M4A785TD-V EVO
AMD Phenom II X2 550 @ 3100 MHz
4 x 2048 DDR3-SDRAM
NVIDIA GeForce GTX 460 SE
AMD Phenom II X2 550 @ 3100 MHz
4 x 2048 DDR3-SDRAM
NVIDIA GeForce GTX 460 SE
Here you goGripen wrote:Was trying to download this, but the filesize is 0byte?
Anyone care to reupload this, would be appreciated
http://depositfiles.com/files/zr3exrqz6
-
- Posts: 168
- Joined: Sun, 25. Nov 07, 22:39
This is sorely needed. Is there any sort of script profiler or performance monitor for the thousands of scripts that are running simultaneously?apricotslice wrote:Using this in the middle of running the plot would be a very bad idea.
The plot creates its own ships in places, and if you kill these, the plot scripts will still be running, but the ships wont be there. Its unlikely the ships would respawn either, since the scripts already running would assume they are still there.
Personally, I think a mechanism to identify and terminate running scripts that are causing problems would be a lot more useful.
Also, the script could be tuned by restricting destruction to 1 sector, 1 race, 1 ship type, etc... Maybe you could use the handy menu system to help. For example, I spent hours with the script editor destroying ships until I narrowed my performance hog down to particular TLs in particular systems deploying jump gates (script).
Modified this alittle to now sterilise the universe of both ships and stations
Currently running scrips: 14
Before: Quazillions
Edit: Hm.. interesting, even after purging the universe my fps is still horrid.
No increase in performance at all.
Very strange since its perfectly fluid when starting a new game.
What could possibly kill my cpu when there are no ships or stations? >.<
Currently running scrips: 14
Before: Quazillions
Edit: Hm.. interesting, even after purging the universe my fps is still horrid.
No increase in performance at all.
Very strange since its perfectly fluid when starting a new game.
What could possibly kill my cpu when there are no ships or stations? >.<
Very interresting.
I'm looking for a script that removes all ships in one (and only one) sector (Antigone Memorial, if you want to know).
Can you enhance the script in that way??
Besides: does the script also add (or better substract) from your reputation, or does the script remove rather than kill the ships??
I'm looking for a script that removes all ships in one (and only one) sector (Antigone Memorial, if you want to know).
Can you enhance the script in that way??
Besides: does the script also add (or better substract) from your reputation, or does the script remove rather than kill the ships??
X4: Let's do this!
(ASUS Sabertooth X99S; i7 5930@3.5; 24GB RAM; RX 580; playing latest vanilla steam version with Split Vendetta on Win10/64, "the young gun''; mogul/captain)
{playing since X-BTF}
(ASUS Sabertooth X99S; i7 5930@3.5; 24GB RAM; RX 580; playing latest vanilla steam version with Split Vendetta on Win10/64, "the young gun''; mogul/captain)
{playing since X-BTF}
Just wondering,
After playing for a few hours and finally getting my ST's to UT's and beginning to make some money...my game is getting very laggy due to all of the extraneous ships the AI is producing.
Q. If I run this script...will all my traders/fleets and such be destroyed? (as seems the case).
Q. Does this script kill docked ships as well? ( I was hoping to dock my ST's / UT's to keep them alive).
Q. If this script does indeed kill ALL ships but the one the player is currently in...What's the point? (Your back to game start...only with a little more money but no traders or fleets or anything.) Your basically restarting the game every few hours.
After playing for a few hours and finally getting my ST's to UT's and beginning to make some money...my game is getting very laggy due to all of the extraneous ships the AI is producing.
Q. If I run this script...will all my traders/fleets and such be destroyed? (as seems the case).
Q. Does this script kill docked ships as well? ( I was hoping to dock my ST's / UT's to keep them alive).
Q. If this script does indeed kill ALL ships but the one the player is currently in...What's the point? (Your back to game start...only with a little more money but no traders or fleets or anything.) Your basically restarting the game every few hours.
-
- Posts: 48
- Joined: Fri, 1. Jan 10, 23:16
- Jaga_Telesin
- Posts: 435
- Joined: Sat, 16. Sep 06, 22:48
While it might be nice to do cleanup on ships with either no purpose, or which are running CPU-hogging processes, I have to wonder at what it does to the economy in the game, long-term. The jobs file creates ships in a *new* game almost immediately. I have no idea how quickly it re-consults the Jobs.txt file when the game has been running for a while and ships are magically deleted.
Might want to use it with caution - you'll have stations left without Docktraders, and a lot of station's product will get deleted along with the ships.
Might want to use it with caution - you'll have stations left without Docktraders, and a lot of station's product will get deleted along with the ships.