Expensive Vanilla Scripts
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 14163
- Joined: Sun, 16. May 04, 13:01
Its been a long time since I bothered reading a 24 page thread all the way through.
Litcube, I'd no idea you had done even a tenth of that list way back when.
I've downloaded this and will try it as soon as I get a games computer back, due to mine dropping dead the other day. If its good, I'll probably include it in my AP AMS mod, when I also add Bounce into it.
Litcube, I'd no idea you had done even a tenth of that list way back when.
I've downloaded this and will try it as soon as I get a games computer back, due to mine dropping dead the other day. If its good, I'll probably include it in my AP AMS mod, when I also add Bounce into it.
-
- Posts: 105
- Joined: Wed, 6. Nov 02, 20:31
-
- Posts: 4320
- Joined: Sun, 6. Nov 05, 23:53
I was running this replacement in AP for several game days without problems and then I suddenly got a lockup with the game freezing up seconds after reload. I panicked, removed the files and loaded an earlier save. I ended up with about 10 FPS loss in the next hour (comparing 35-40 vs 45-50 in UFJD sector). How long does it take for ships to start using new tasks? Also, any ideas how I can troubleshoot potential lockups? I am not running any major mods or script packages.
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
It's funny you say this.kurush wrote:I was running this replacement in AP for several game days without problems and then I suddenly got a lockup with the game freezing up seconds after reload. I panicked, removed the files and loaded an earlier save. I ended up with about 10 FPS loss in the next hour (comparing 35-40 vs 45-50 in UFJD sector). How long does it take for ships to start using new tasks? Also, any ideas how I can troubleshoot potential lockups? I am not running any major mods or script packages.
Was it during a possible confrontation? I.E. were there pirates, xenon, kha'ak in the sector? Or two foes in the sector close to each other?
-
- Posts: 4320
- Joined: Sun, 6. Nov 05, 23:53
Why?Litcube wrote: It's funny you say this.

It was in an empty UFJD sector about 20 sec after jumping in. It was reproducible from a save game that I was stupid enough to overwrite. Now I decided not to panic and restored the rewrite, so far so good. I am not saying they are related, just asking for possible hints how to better troubleshoot it. The FPS gain is awesome.Litcube wrote: Was it during a possible confrontation? I.E. were there pirates, xenon, kha'ak in the sector? Or two foes in the sector close to each other?
-
- Posts: 603
- Joined: Tue, 15. May 07, 20:43
First, I want to say that I immensely appreciate all the work you've put into this, and other scripts.
On to the report.
So I just gave it a go in an install of AP-XRM. I'm also using a bevy of other mods/script packages (including some custom stuff) that I've played with for about 20 hours so far without issue.
This appears to break the command "Attack Target Nearest" which is the command that I use in lieu of defend ship. I believe this may be an AP only command (as I don't recall it in TC, but then it's been quite some time...). Anyway, instead of proactively seeking out potential aggressors the escorts simply remain in formation, even while their lead is being shot at.
On to the report.
So I just gave it a go in an install of AP-XRM. I'm also using a bevy of other mods/script packages (including some custom stuff) that I've played with for about 20 hours so far without issue.
This appears to break the command "Attack Target Nearest" which is the command that I use in lieu of defend ship. I believe this may be an AP only command (as I don't recall it in TC, but then it's been quite some time...). Anyway, instead of proactively seeking out potential aggressors the escorts simply remain in formation, even while their lead is being shot at.
My Contributions to the Community:
X4: Wing Hotkeys
X4: Urgent Orders
X4: Subsystem Targeting Orders
X4: Starbright: Variable Sector Sunlight Values
Landing page with all my mods
X4: Wing Hotkeys
X4: Urgent Orders
X4: Subsystem Targeting Orders
X4: Starbright: Variable Sector Sunlight Values
Landing page with all my mods
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
Hm... I'll look into that.Alkeena wrote:This appears to break the command "Attack Target Nearest" which is the command that I use in lieu of defend ship. I believe this may be an AP only command (as I don't recall it in TC, but then it's been quite some time...). Anyway, instead of proactively seeking out potential aggressors the escorts simply remain in formation, even while their lead is being shot at.
-
- Posts: 4320
- Joined: Sun, 6. Nov 05, 23:53
Hi Litcube, I don't suppose you are testing that fix you mentioned several days ago?
I finally got to the point when all my recent saves produce a freeze after some time. I tried to kill all ships in the universe that are docked along with their homebase ships and for some reason it didn't help. Any ideas what criteria can I use to isolate the ships that have this command running?

-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
-
- Posts: 105
- Joined: Wed, 6. Nov 02, 20:31
I'd like to add that in addition to "Attack nearest target of" two more commands are not working in AP:
- Attack my target
- Attack target of
Not that we can't live without those, I perfectly well did till now, but still, if you're gonna fix one - why not fix all
Thanks!
- Attack my target
- Attack target of
Not that we can't live without those, I perfectly well did till now, but still, if you're gonna fix one - why not fix all

Be careful about reading health books. You may die of a misprint.
---Mark Twain---
---Mark Twain---
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
-
- Posts: 105
- Joined: Wed, 6. Nov 02, 20:31
Some time ago I downloaded Missile Safety script by Gazz .
Only today I got to install it and saw in changelog that Gazz implements almost the same things in the !move.follow.template as you do, Litcube.
You may find it interesting perhaps
Only today I got to install it and saw in changelog that Gazz implements almost the same things in the !move.follow.template as you do, Litcube.
You may find it interesting perhaps
Be careful about reading health books. You may die of a misprint.
---Mark Twain---
---Mark Twain---
-
- Posts: 4320
- Joined: Sun, 6. Nov 05, 23:53
@Charon_A: did you get a similar huge FPS boost on SETA from Gazz script as this one provides? I really miss my 15 FPS on SETA now when I had to remove it because of freezes. 4 FPS suck.Charon_A wrote: Only today I got to install it and saw in changelog that Gazz implements almost the same things in the !move.follow.template as you do, Litcube.
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
Vanilla Rewrite 0.37b:
[ external image ]
- Fixed: Infinite loop created under certain circumstances within combat.
[ external image ]
- Fixed: Infinite loop created under certain circumstances within combat.
-
- Posts: 562
- Joined: Thu, 1. Jun 06, 12:17
hi Litcube, can you tell me a lil bit more about that fixed Infinite loop...
because i recently installed yr scripts and got very early on in a new game
a message that an Infinite loop was detected and script had to be closed ?
Does this mean the Vanilla Rewrite stops working then or is it just the fix informing us about the found infinite loop? and do we keep getting these messages whenever it detects it?
thnks,
qwizzie
because i recently installed yr scripts and got very early on in a new game
a message that an Infinite loop was detected and script had to be closed ?
Does this mean the Vanilla Rewrite stops working then or is it just the fix informing us about the found infinite loop? and do we keep getting these messages whenever it detects it?
thnks,
qwizzie