[SCRIPT] Auto Prep Ships v1.3 [2010-09-24]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Remenents
Posts: 25
Joined: Sun, 27. Jan 08, 22:49

Post by Remenents » Tue, 5. Oct 10, 06:32

I love the idea of this script, but I am having lots of trouble getting this to actually equip my ships. I have a Mammoth with 5 Discoverers as supply ships. I am trying to get them to equip Centaur, Dragon, and 2 Heavy Centaurs. I have been trying to get them equipped now for 2 real life days leaving my PC on using the Time Accelorator. Everything they need is within 5 jumps of where my home sector is, I even have a Shield Factory and an Equipment Dock of my own that the shields and most of the equipment could be recieved from. For some reason though, the Mammoth keeps trying to find the shields and equipment elsewhere instead of my own stations. I dont understand why. Could something be added to the script that sends you a message saying when something is wrong or when something is missing so the Player could fix it? And also so that ship ordered to do this will check your own stations FIRST, then other stations?

And yes, I have plenty of cash (I used cheats because I was thinking maybe that was the issue, so now I am sitting on over 500 million).

Also, I just remembered something else... the Mammoth has 5 Discoverers on it as suppl ships, but the Mammoth seems to only use 1 of them to purchase items, is this normal?

ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh » Tue, 5. Oct 10, 07:15

From the OP:
Wares will not be purchased. For that I suggest a combination with Manual Trade Extension. Use Manual Trade Extension to supply the equipment (possibly to a 'depot' intermediary ship) and Auto Prep Ships to equip.
There should be a log telling you what's wrong when you open the command menu.

Only one of the Discoverers will be used if there is only one ship to equip. If there is more than one ship, have you remembered to add them all to the supply ships list in the menu?
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.

Black holes are where God divided by zero.

Mad_CatMk2
Posts: 518
Joined: Sun, 22. Feb 09, 20:13
x4

Post by Mad_CatMk2 » Sun, 17. Oct 10, 09:56

@ThisIsHarsh

Is there a reason why the Waiting/Checking stage is taking a very long time to complete?

The equipping and arming part is amazing, but now my TM's are just snailing around each fighter 'checking'?

And does the 'When Finished: ferry/send ships to homebase' work?
I fly an OWP. What about you?

ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh » Mon, 18. Oct 10, 02:11

What does the log say when it is stuck "Waiting/checking"? This status appears whilst it is waiting for target ships or supply ships to do something, usually docking somewhere. If it stays stuck like that, it could be that you (or some other script) has ordered a target or supply ship to do something, taking it away from the expected routine, so the carrier permanently waits.

Hmm, been a while since I wrote and used/tested the "ferry/send ships to homebase". I definitely did at least some testing and it worked, but if you're having problems maybe there is some situation where it doesn't. Please let me know what you have found.
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.

Black holes are where God divided by zero.

Mad_CatMk2
Posts: 518
Joined: Sun, 22. Feb 09, 20:13
x4

Post by Mad_CatMk2 » Mon, 18. Oct 10, 06:29

Well the log says "Configure: configuring target ship settings (2)". I've noticed the TM 'lurch' forward a bit every few minutes, but it doesn't seem to make much progress. Other than this quirk, all my ships ARE prepped properly though.

EDIT: I've two 'repro-ed' crashes of x3tc from auto prep ships so far :( . Each time happens when the ship is prepping and when I select the option in the command menu to check the log, the game crashes.
I fly an OWP. What about you?

ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh » Mon, 18. Oct 10, 22:35

OK, the 'lurch forward' behaviour is a workaround for a bug in X3TC where ships will sometimes stop outside a carrier and never dock. So that means the carrier is waiting for a ship(s) to dock at it.

Thanks for the report on the crash. What kind of crash is it? I.e. does the game freeze and become unresponsive, or does it crash to desktop with an error?

Nazzet posted above about a similar crash, but I wasn't able to reproduce it. So your report is possibly confirmation of this issue. It seems there may be yet another issue with X3TC I have to find a workaround for. Urgh. Probably with text formatting for the log message or something.
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.

Black holes are where God divided by zero.

Mad_CatMk2
Posts: 518
Joined: Sun, 22. Feb 09, 20:13
x4

Post by Mad_CatMk2 » Tue, 19. Oct 10, 00:44

Good point about the lurch forward, I do notice that bug with other ships docking at my carriers. However, the TM is lurching while its landing bays are all full. I believe that it doesn't seem to ferry OR send the already docked ships home (and the home carrier is in the same sector, too).

The crash is very interesting, the game crashes VERY quick with a pop-under error box which has focus once the game crashes.
I fly an OWP. What about you?

ThisIsHarsh
Posts: 1135
Joined: Sun, 19. Oct 08, 18:46
x3tc

Post by ThisIsHarsh » Tue, 19. Oct 10, 01:06

OK, so it sounds like there is an issue with the send ships to homebase option, I will look into it when I can. Thanks for the heads-up on that.

The crash is a bit more serious though. Do you happen to have coloured names or special characters (e.g. '&', '\' etc) in the names for your target or supply ships? Does it happen every time you run the command, or just sometimes, with precisely the same initial conditions?
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.

Black holes are where God divided by zero.

Mad_CatMk2
Posts: 518
Joined: Sun, 22. Feb 09, 20:13
x4

Post by Mad_CatMk2 » Tue, 19. Oct 10, 02:15

Hmm, its hard to pinpoint the crash. I DO use MARS auto-collection on my supply ship and thus it now shows the 'empty/full' cargo number in color, and that can(?) cause the crash I suppose. However, I do not believe it causes all crashing in entirety. The two times it crashed was when it was performing the post-equipping (i think the checking/verifying) stage and I opened the auto-prep menu.

I'll try equipping some more ships when I get around to it and see if I can hopefully pinpoint the crash.

EDIT: Slight 'request', if possible. When doing turret commands, is it possible to have individual turret commands instead of overriding one turret with all of one command? I.e. Front turret: attack my target, Rear Turret: missile defense.
I fly an OWP. What about you?

irR4tiOn4L
Posts: 663
Joined: Wed, 19. Oct 05, 14:07
x3tc

Post by irR4tiOn4L » Tue, 19. Oct 10, 13:02

This is a great script, but im having a bit of a noob issue - how do i know/get running the AL plugin that sets up repair laser fabs? Where can i find them and how long does it take to produce repair lasers?

Do i need to start the script editor first?

EDIT - Nevermind, figured it out, and it was default OFF!

For those who dont know or are noob like me, you need to go to the bottom icon in your menu, where options like load/save/controls reside, and select 'gameplay'

From the gameplay menu there is an 'artificial life' selection, among other useful settings. Go to 'artificial life' and youll see your current AL plugins - you need to make sure that its set to ON.


I presume the script editor is unnecessary, but for those who dont know how to turn that on, change your pilot's name to 'Thereshallbewings' then go to your ship's command menu (shift C) then press S

Yes, most people know all this already, but you never know, someone might be a dunce like me @:(

User avatar
Daggaroth
Posts: 69
Joined: Mon, 28. Apr 08, 07:00
x3tc

Post by Daggaroth » Fri, 5. Nov 10, 08:20

anyone know how long until the repair laser factories start popping up from when you turn on the repair laser factory setting in game?

irR4tiOn4L
Posts: 663
Joined: Wed, 19. Oct 05, 14:07
x3tc

Post by irR4tiOn4L » Fri, 5. Nov 10, 20:45

I dont think there are any repair laser fabs per se

Rather, it seems from the changelog
Changelog
v1.3:
- Added: log in preload menu.
- Fixed: energy cell refuel quantity.
- Fixed: probably lots from way back.
v1.2.1
- Fixed: problem equipping shields when already some aboard target.
- Fixed: problem upgrading ships that are already aboard carrier.
- Fixed: not recognizing when a target ship has been destroyed.
v1.2:
- Added: fetching equipment from a homebase ship.
- Added: more options - set wing, add upgrades from template.
- Modified: better handling of 'when finished' ferrying.
- Modified: AL plugin now adds Repair Lasers to docks.
- Fixed: turret loadout issue.
- Fixed: various minor issues.
v1.1:
- Added: 'Dock when finished' option.
- Added: "Add all damaged ships' to target list, when repair is enabled.
- Added: 'Homebase' option for configuration according to template ship.
- Modified: current sector of target ships appended to name in list.
- Modified: slightly better information on current task in property view, etc.
- Fixed: some minor tweaks and bugfixes.
v1.0.1:
- Modified: minor command slot change for compatibility
v1.0:
- first release.
That the AL plugin just adds 5000 or so repair lasers at 64cr each (default) to each equipment dock.

I assume this was done for compatibility, and to bypass any potential balance/economy/patience issues with repair laser fabs. Having fabs would be nice, but if it means editing a bunch of files that other mods might, the loss of compatibility far outweighs the bit of immersion youd gain.

Every damn spacesuit in the universe has repair lasers so its not too far off base to say thousands might be buyable at an EQ dock

User avatar
Daggaroth
Posts: 69
Joined: Mon, 28. Apr 08, 07:00
x3tc

Post by Daggaroth » Sat, 6. Nov 10, 00:43

ive been looking around at the equipment docks in several different locations and none of them so far have repair lasers for sale.. does it take time for them to be shown on the products list or is there something else wrong that I just dont know about yet lol

StarCrack
Posts: 235
Joined: Thu, 3. Apr 08, 05:27
x3tc

Post by StarCrack » Mon, 6. Dec 10, 03:53

i'm getting the same CTD talked about on last page
only on the second run after prepping ship and the carrier docks when done

crash log from tc folder
======================================
Crash event occurred on Sun Dec 05 18:41:53 2010
G:\Program Files\SRM X3 Terran Conflict\X3TC.exe
The exception "Access violation" (0xc0000005) was caused at address 001b:004e9755

Process owned by user: StarCrackSteve

Story call stack dump:
[000000]->[0e83a9]#-552872(2275)[2200].StartMenu()
[0e8443]->[0e8838]#-552872(2275)[2200].Update()
[0e8928]->[1391d6]#-552872(2275)[2275].SpecialUpdate()

Stack dump:
11000000 1cf61200 a0f91200 be5a4a00 39000000 b0528b31 00000000 b2744a00 .... .... .... .ZJ. 9... .R.1 .... .tJ.
39000000 42000000 6f000000 0b7015b2 0d734a00 d4fa1200 588c5200 00000000 9... B... o... .p.. .sJ. .... X.R. ....
d3a04800 a0f91200 00000000 42000000 a0aa2519 fa92bf22 e4fa1200 64000000 ..H. .... .... B... ..%. ..." .... d...
25010000 13060000 42000000 4a000000 39000000 4a000000 39000000 4a000000 %... .... B... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 4a000000 9... J... 9... J... 9... J... 9... J...
39000000 4a000000 39000000 4a000000 39000000 4a000000 39000000 23000000 9... J... 9... J... 9... J... 9... #...
42000000 00000000 d7558b31 11568b31 5c568b31 96568b31 e1568b31 1b578b31 B... .... .U.1 .V.1 \V.1 .V.1 .V.1 .W.1
66578b31 a0578b31 eb578b31 25588b31 70588b31 aa588b31 f5588b31 2f598b31 fW.1 .W.1 .W.1 %X.1 pX.1 .X.1 .X.1 /Y.1
7a598b31 b4598b31 ff598b31 395a8b31 845a8b31 be5a8b31 095b8b31 435b8b31 zY.1 .Y.1 .Y.1 9Z.1 .Z.1 .Z.1 .[.1 C[.1
8e5b8b31 c85b8b31 135c8b31 4d5c8b31 985c8b31 d25c8b31 1d5d8b31 575d8b31 .[.1 .[.1 .\.1 M\.1 .\.1 .\.1 .].1 W].1
a25d8b31 dc5d8b31 275e8b31 615e8b31 ac5e8b31 e65e8b31 315f8b31 6b5f8b31 .].1 .].1 '^.1 a^.1 .^.1 .^.1 1_.1 k_.1
b65f8b31 f05f8b31 3b608b31 75608b31 c0608b31 fa608b31 45618b31 7f618b31 ._.1 ._.1 ;`.1 u`.1 .`.1 .`.1 Ea.1 .a.1
ca618b31 04628b31 4f628b31 89628b31 d4628b31 0e638b31 59638b31 93638b31 .a.1 .b.1 Ob.1 .b.1 .b.1 .c.1 Yc.1 .c.1
de638b31 18648b31 63648b31 9d648b31 e8648b31 22658b31 6d658b31 a7658b31 .c.1 .d.1 cd.1 .d.1 .d.1 "e.1 me.1 .e.1
f2658b31 2c668b31 77668b31 b1668b31 fc668b31 36678b31 81678b31 bb678b31 .e.1 ,f.1 wf.1 .f.1 .f.1 6g.1 .g.1 .g.1
06688b31 40688b31 8b688b31 c5688b31 10698b31 4a698b31 95698b31 cf698b31 .h.1 @h.1 .h.1 .h.1 .i.1 Ji.1 .i.1 .i.1
1a6a8b31 546a8b31 9f6a8b31 d96a8b31 246b8b31 5e6b8b31 a96b8b31 e36b8b31 .j.1 Tj.1 .j.1 .j.1 $k.1 ^k.1 .k.1 .k.1
2e6c8b31 686c8b31 b36c8b31 ed6c8b31 386d8b31 726d8b31 bd6d8b31 f76d8b31 .l.1 hl.1 .l.1 .l.1 8m.1 rm.1 .m.1 .m.1
426e8b31 7c6e8b31 c76e8b31 016f8b31 08f83399 226f8b31 00000000 9c3e2c03 Bn.1 |n.1 .n.1 .o.1 ..3. "o.1 .... .>,.
50709131 80fa1200 4100917c 380e6e01 5d00917c 6893bf22 58709131 00000001 Pp.1 .... A..| 8.n. ]..| h.." Xp.1 ....
00000001 48000000 11000000 40380e02 30ab200f 8017b619 64000000 06000000 .... H... .... @8.. 0. . .... d... ....
00020000 02000000 a0000000 00006e01 1861ea29 c0a04b00 00000000 a8754b21 .... .... .... ..n. .a.) ..K. .... .uK!
e0b2c123 03000000 09000000 78f91200 00006e01 64fa1200 20e9907c 6000917c ...# .... .... x... ..n. d... ..| `..|
ffffffff 5d00917c dc8e5000 00006e01 00000000 00000000 a015b20d 05000000 .... ]..| ..P. ..n. .... .... .... ....
40000000 18000000 7c590000 00006e01 58f81200 74fb1200 74fb1200 20e9907c @... .... |Y.. ..n. X... t... t... ..|
e001917c ffffffff db01917c 7ec95000 00006e01 00000000 10000000 06000000 ...| .... ...| ~.P. ..n. .... .... ....
a015b20d 7c594b00 a015b20d 00000000 10000000 06000000 58d0b624 60390402 .... |YK. .... .... .... .... X..$ `9..
ccfa1200 74fb1200 b0a05200 ffffffff b4fb1200 938b4a00 9192bf22 0993bf22 .... t... ..R. .... .... ..J. ..." ..."
938b4a00 74fb1200 2fae5200 09000000 01000000 b4fb1200 700c4a00 01000000 ..J. t... /.R. .... .... .... p.J. ....
a0aa2519 64000000 05000000 fa92bf22 2d845a10 a0aa2519 397d0f27 f592bf22 ..%. d... .... ..." -.Z. ..%. 9}.' ..."
60390402 f1ab5f10 503bc623 0e93bf22 503bc623 00000000 64000000 02000000 `9.. .._. P;.# ..." P;.# .... d... ....
00140100 ffff00ff 0040b6f5 23f91200 00006e01 34fc1200 20e9907c e001917c .... .... .@.. #... ..n. 4... ..| ...|
ffffffff db01917c 7ec95000 00006e01 00000000 a0000000 10000000 f822ba0d .... ...| ~.P. ..n. .... .... .... ."..
7c594b00 34fc1200 489c5200 ffffffff 10000000 0e000000 60390402 e29c4900 |YK. 4... H.R. .... .... .... `9.. ..I.
00000001 a0aa2519 60390402 9bf54900 60390402 2d845a10 437d0f27 4cfc1200 .... ..%. `9.. ..I. `9.. -.Z. C}.' L...
397d0f27 4cfc1200 b50a4a00 a0aa2519 1cc9a602 60390402 00000000 397d0f27 9}.' L... ..J. ..%. .... `9.. .... 9}.'
60390402 a0aa2519 503bc623 00000000 8e23ba0d 4d7d0f27 9c3e2c03 8e3e2c03 `9.. ..%. P;.# .... .#.. M}.' .>,. .>,.
98140100 6d10f273 1cfc1200 9110f273 0cfc1200 00000000 2ada907c c724807c .... m..s .... ...s .... .... *..| .$.|
58000000 00000000 30fc1200 051ef173 58000000 6811f273 1cc9a602 03000000 X... .... 0... ...s X... h..s .... ....
08c5a602 a0fd1200 489c5200 ffffffff 1cc9a602 08406e01 1cc9a602 01000000 .... .... H.R. .... .... .@n. .... ....
83cb4900 38053622 08406e01 1b3a4000 65000000 01000000 4cfe1200 b6030000 ..I. 8.6" .@n. .:@. e... .... L... ....
68c48e0e 13010000 01000000 002e372e 302e3000 cdabbadc 00000000 00000000 h... .... .... ..7. 0.0. .... .... ....
0f000000 4c5c7472 75655c78 756e6976 65727365 206c6f67 6f5f4844 0088417e .... L\tr ue\x univ erse log o_HD ..A~
98fd1200 90fd1200 a0e9e500 14000000 01000000 00000000 00000000 10000000 .... .... .... .... .... .... .... ....
00000000 0f000000 01000000 00000000 00000000 b0fc1200 00000000 4cfd1200 .... .... .... .... .... .... .... L...
8f04447e 3088417e ffffffff 2a88417e cd89417e 00000000 e993417e a893417e ..D~ 0.A~ .... *.A~ ..A~ .... ..A~ ..A~
90fd1200 00000000 00000000 00000000 00000000 2882e900 00f0fd7f b6030000 .... .... .... .... .... (... .... ....
5cfd1200 3ba4427e 90fd1200 00000000 00000000 00000000 00000000 01000000 \... ;.B~ .... .... .... .... .... ....
65000000 01000000 b6030000 4cfe1200 9ff14c00 90fd1200 00000000 00000000 e... .... .... L... ..L. .... .... ....
00000000 00000000 65000000 01000000 4cfe1200 b6030000 b0d95a0e 04735400 .... .... e... .... L... .... ..Z. .sT.
ba84417e 059c427e 00000000 28000000 3cfe1200 8eb35200 ffffffff 3b364000 ..A~ ..B~ .... (... <... ..R. .... ;6@.
48c3827c bcfe1200 01000000 20e9907c 00000001 ffffffff 10c9a602 ffffffff H..| .... .... ..| .... .... .... ....
00000000 00000000 00000000 01011400 00e80000 00370e02 00001400 e4fb1200 .... .... .... .... .... .7.. .... ....
2202917c 00000000 0f000000 0cfe1200 00370e02 e07b1400 00000000 68fe1200 "..| .... .... .... .7.. .{.. .... h...
00000000 0f000000 20000000 002e3134 2e303031 322e3538 393600ff 00000000 .... .... ... ..14 .001 2.58 96.. ....
0f000000 0040407c 00000000 8cfe1200 eeb35200 ffffffff 00000000 98fe1200 .... .@@| .... .... ..R. .... .... ....
41264000 02000000 48c3827c bcfe1200 01000000 ffffffff 117f937c 00000000 A&@. .... H..| .... .... .... ...| ....
90fe1200 81e95100 30d15f00 00020000 00000000 28000000 58fe1200 b0ff1200 .... ..Q. 0._. .... .... (... X... ....
08b45200 00000000 c0ff1200 e7004d00 02000000 280a0000 02000000 02000000 ..R. .... .... ..M. .... (... .... ....
02000000 14cd5500 bc231400 00000000 80000000 fb915000 c73a3d37 14ff1200 .... ..U. .#.. .... .... ..P. .:=7 ....
a5385100 10000000 14ff1200 383a5100 00000000 00000000 04ff1200 433a5100 .8Q. .... .... 8:Q. .... .... .... C:Q.
04ff1200 9c975000 ba231400 c0265200 00000000 80c75600 282e6e01 901e6e01 .... ..P. .#.. .&R. .... ..V. (.n. ..n.
019f4542 c0ff1200 0f275200 00000000 22000000 00000000 04000000 68e25000 ..EB .... .'R. .... "... .... .... h.P.
00004000 00000000 bc231400 01000000 7a3e0142 38003100 38003800 0080fd7f ..@. .... .#.. .... z>.B 8.1. 8.8. ....
44000000 e8391400 98391400 483a1400 00000000 00000000 00000000 00000000 D... .9.. .9.. H:.. .... .... .... ....
00000000 00000000 00000000 010c0000 01000000 00000000 00000000 01000100 .... .... .... .... .... .... .... ....
00000000 050000c0 01000000 05000000 00000000 38003100 40ff1200 18f21200 .... .... .... .... .... 8.1. @... ....
e0ff1200 c0325100 0aa14542 01000000 f0ff1200 7770817c 38003100 38003800 .... .2Q. ..EB .... .... wp.| 8.1. 8.8.
0080fd7f 050000c0 c8ff1200 14f21200 ffffffff d89a837c 8070817c 00000000 .... .... .... .... .... ...| .p.| ....
00000000 00000000 d1e25000 00000000 -------- -------- -------- -------- .... .... ..P. ....
Edit tried it again with the carrier docked when i ran the prep and made sure the template ship ha not moved/died and this time i got a flash of the menu befor the CTD

d-one
Posts: 32
Joined: Tue, 30. Dec 08, 18:49
x4

Post by d-one » Wed, 8. Dec 10, 00:28

I got a CTD as soon as I tried to open the APS menu today. The template ship that I had been using was recently blown up so that's most likely the cause for my troubles. Blowing up the APS ship and buying a new one fixed it, since that reset everything.

EDIT: Not sure if it makes any difference, but I was using a magnetar with 4 discoverer haulers in it. Used the same ship with the same settings other than target ships for days before I ran into problems, which is why I think the ship that equipment/upgrades/etc were copied from getting blown up was the cause.

angrysquirrel
Posts: 267
Joined: Tue, 18. Nov 03, 00:46
x3

Post by angrysquirrel » Mon, 27. Dec 10, 04:51

It's kind of working for me....kinda.
I have repair lasers on every turret of my yaki ryu. I have mers installed but have turrets set to anything other than a mers command. Tried single repair laser on one turret. Tried repairs lasers on all turrets. Same problem. What happens is that it repairs one ship for a while and then just stops. The Ryu just goes off and sits there while my repair is still at 75%.

User avatar
TheRealBix
Posts: 400
Joined: Thu, 2. Jul 09, 14:34
x4

Post by TheRealBix » Tue, 28. Dec 10, 01:04

I got the same CTD too... And my ships don't want to equip wares. They are transfered but not installed

jiunejai
Posts: 56
Joined: Fri, 4. Mar 11, 08:47
x4

Post by jiunejai » Sun, 10. Apr 11, 03:59

fragma wrote:Firstly, thanks for this script. Anything that makes micro-managing less annoying is good, and this script delivers!

I noticed just a small error in the "Upgrade ship like..." scripts. The command works perfectly, but it shows "Unknown Command!" on the current command for ships running it. I managed to fix it with the in-game script editor:

File 1. plugin.prep.cmd.upglike

Code: Select all

001   set script command: COMMAND_TYPE_SPECIAL_34
changed to:

Code: Select all

001   set script command: COMMAND_PREP_UPGLIKE
File 2. plugin.prep.upglike

Code: Select all

003   [THIS] -> set command: COMMAND_TYPE_SPECIAL_34
changed to:

Code: Select all

003   [THIS] -> set command: COMMAND_PREP_UPGLIKE
fragma wrote:There also seems to be a bug with the "Equip Energy Cells (resupply config)" function. The amount of ECells transferred is wrong.
For example, if the target ship's fuel resupply is set to 10 jumps, Autoprep will give it exactly 10 ECells, instead of say, 100 ECells it should transfer if the target is a TS, or 200 for a M2, etc.

Poking around the script I think I found a fix:

FILE: plugin.prep.ware.filter.xml
Lines Changed:

Code: Select all

038   |||$quantity = $ship -> get jumpdrive fuel resupply
changed to

Code: Select all

038   |||$quantity = $ship -> get resupply fuel required
So far it seems to transfer the correct amount based on fuel resupply settings. But I'm not sure if this will break something else...
Sry, but this 3 small error seems not fix in 1.3 yet?

John2022
Posts: 9
Joined: Tue, 26. Jul 11, 13:41

Post by John2022 » Wed, 10. Aug 11, 03:33

Up :roll:

I don't manage to use the "Auto prep ships command".:?
It's nearly good for the "Upgrade ship like".

I'll read all 7 pages tomorrow but, I wonder if this script is terminated.
I have translate all the t file in french, and have trouble with the hardcore hand of your script.

I really think I use it correctly but there's always something wrong/missing or understanding.:evil:
I want to make a freighter MK3 like my first one (some of upgrade & tech upgrade, some shields and eCells fuelded. But, the routine turn indefenitly, without my cargo 's modified... It seems that Upgrade part is buggy.:(

Ahnd just a question : Does the command "Upgrade ship like" force to buy or install stuff gratis? My Freighter for the test, has got all stuff in it's cargo bay, even those that's it's impossible to buy at the base (MK3 for exemple)

Hope you'll answer us.

Domiel
Posts: 31
Joined: Tue, 13. Sep 11, 22:55

Post by Domiel » Thu, 15. Sep 11, 19:37

Awsome mod sir! Was looking for this.
Have done quite a lot of testing with this, and it seems to have problems equipping ships when using proxy's for TS ships, especially in the equipment fase(software upgrades is what i mean)
Was trying to upgrade a TS to an Universal trader but the proxy just kept moving back and forth between the argon prime shipyard and my TM ship. Also I think the only thing missing on my TS was Trade software MK3.
This was the 2nd try trying to outfit universal traders. First time the TM got stuck in a loop after engine tunings...

Other than that it works great for fighters!

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”