[Script] Factory Complex Constructor [22.9.2007] [V3.21 FINAL]

The place to discuss scripting and game modifications for X³: Reunion.

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

asmondar
Posts: 88
Joined: Thu, 28. Dec 06, 23:29
x3

Post by asmondar »

bruinboi2007 wrote:sorry but this will be my first script ever but I can't find the place to set my own hotkeys for this script. If someone could explain to me where exactly to set it that would be great, thanks.
To Set your HotKeys, Hit Esc, then Controls, Interface

For this script and maybe all others, not sure myself, the commands are under the Extensions. Just scroll down and you'll see Extensions with a bunch of commands below there.

Select the command you want, hit enter Add control, hit key(s) you want and hit Apply Esc and Save changes and that should be all.
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

@asmondar: oh... damn. That doens't sound good... But I'm very thankful that you tell us those errors - othwerwise, we maybe would never have seen it...

The readtext-error isn't caused by the script itself, I think. Try to run the readtext-bugfix again. If that doesn't help, download the FCC again and replace the old textfile. I think that's not a major problem...

And my bugfix doesn't work correctly with the resources, I've tried it some minutes ago :oops:
Seems that the array <>= <> ->get tradeable ware array of station puts out something very strange. At least, the sequence seems to be different at some stations. And the command <> <> -> uses ware <> as primary resource is buggy too. Sorry, but how you've said, I have to work... I'll have a look at it and try to fix that as good as possible, but I can do that soonest in the evening...

And I hate to say that, but I am only the translator of this scirpt, I didn't write it... Unfortuneately, I don't really know how to fix the problem. I just can try to write a little bugfix, but I'm a noob in scripting too. I told Lt. Ford that problems yesterday, I hope he fixes it as soon as possible. And again, I'm really sorry for all the trouble. This shouldn't happen... :oops:
bruinboi2007
Posts: 34
Joined: Tue, 23. May 06, 22:45
x3

Post by bruinboi2007 »

@ asmondar

Thanks but I think thats where my problem is, there are no other things under extensions except for the stuff that came with the bonus pack. I used the script installer program to install this script and then tried to install it manually also. I don't understand why it isn't showing up. Any insights?
asmondar
Posts: 88
Joined: Thu, 28. Dec 06, 23:29
x3

Post by asmondar »

@ Bruinboi2007
bruinboi2007 wrote:@ asmondar

Thanks but I think thats where my problem is, there are no other things under extensions except for the stuff that came with the bonus pack. I used the script installer program to install this script and then tried to install it manually also. I don't understand why it isn't showing up. Any insights?
Did you type Thereshallbewings as your pilot name? That's the only thing I can think of, to activate the Script editor. You need it active to use some / most / maybe all scripts.

@ProfitLord
ProfitLord[KBG] wrote: @asmondar: oh... damn. That doens't sound good... But I'm very thankful that you tell us those errors - othwerwise, we maybe would never have seen it...
I thought that I might as well help out since i'm using it. and No problem.
ProfitLord[KBG] wrote: The readtext-error isn't caused by the script itself, I think. Try to run the readtext-bugfix again. If that doesn't help, download the FCC again and replace the old textfile. I think that's not a major problem...
I did rerun bugfix, but nothing, I even manually ran it. I'll try to uninstall, and then bugfix, then reinstall FCC from a new dl'd version.

Did it and still readtext 118, I don't know why. When I uninstall and run bugfix, all hotkeys stay there and stay registered. Like I've said, my computer hates me.
ProfitLord[KBG] wrote: And my bugfix doesn't work correctly with the resources, I've tried it some minutes ago
Seems that the array <>= <> ->get tradeable ware array of station puts out something very strange. At least, the sequence seems to be different at some stations. And the command <> <> -> uses ware <> as primary resource is buggy too. Sorry, but how you've said, I have to work... I'll have a look at it and try to fix that as good as possible, but I can do that soonest in the evening...
All I can say is, Strange.
ProfitLord[KBG] wrote: And I hate to say that, but I am only the translator of this scirpt, I didn't write it... Unfortuneately, I don't really know how to fix the problem. I just can try to write a little bugfix, but I'm a noob in scripting too. I told Lt. Ford that problems yesterday, I hope he fixes it as soon as possible. And again, I'm really sorry for all the trouble. This shouldn't happen...
No problem, I appreciate you trying to help me out here. Like I said I understand that some people, me not included have jobs and arn't here all day long.
Last edited by asmondar on Wed, 28. Feb 07, 15:17, edited 1 time in total.
bruinboi2007
Posts: 34
Joined: Tue, 23. May 06, 22:45
x3

Post by bruinboi2007 »

yeah that got it working, thanks a bunch!!
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Well, we're testing the new version which doesn't contain the CTD-bug in this minutes. If it works, we'll upload it immediately.

And I've corrected my bugfix - it sets correct products and wares now, and it considers the rotation of the stations (the old version didn't).
The error in the old bugfix was caused by the array... I read out the values at the same time. X3 doesn't like that... Now I've corrected it.
Download it >>here<<

And something else: Are there any people interested, that the FCC supports stations from mods? (For example, Ashley's XXL-factories...)
I could modify the library, that would be no problem. So you could move and rotate mod-stations - But it would be impossible to build them with the FCC-command...
User avatar
X-Freak Cartman
Posts: 4017
Joined: Mon, 2. Oct 06, 15:08
x3

Post by X-Freak Cartman »

You had to use several libscripts - one for each mod. Thats necessary because the stations have certain IDs which are used by multiple mods.

I'd recommend updating the libscript for Ashley's XXL Stations and the XTM such as the DDRS. Other Mods shouldn't be that popular.
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

I think you didn't fully understand what I mean...
in the current version, the products and resources get removed from stations, when you defixate them. And when they get fixated, the wares will be added to the station again. But this isn't necessary - just stopping the production task would be enough.

It's possible to defixate the stations without removing the products, a library isn't required for that. This way, the FCC could support every possible station - but ONLY for moving and rotating! The mod-stations had to be built with the standard-command. like I wrote above...
btw. Why am I writing in english, if only you have to understand me? :lol:
asmondar
Posts: 88
Joined: Thu, 28. Dec 06, 23:29
x3

Post by asmondar »

Profitlord [KBG] wrote:Well, we're testing the new version which doesn't contain the CTD-bug in this minutes. If it works, we'll upload it immediately.
Cool if you need any help testing I'm sure I can try to break it again! :)
Profitlord [KBG] wrote: And I've corrected my bugfix - it sets correct products and wares now, and it considers the rotation of the stations.
Sweet! You rock.
Profitlord [KBG] wrote: And something else: Are there any people interested, that the FCC supports stations from mods? (For example, Ashley's XXL-factories...)
I could modify the library, that would be no problem. So you could move and rotate mod-stations - But it would be impossible to build them with the FCC-command...
I don't usa Ashley's XXL Factories, I don't think I'd have to look. So I don't have a large opinion. My suggestion is, depending on how difficult this would be, If its something that can be done easily, I say do it might help things down the line with people asking for more stuff and what not. If it's difficult well, don't hehe.
xalien
Posts: 2252
Joined: Fri, 12. Mar 04, 01:03
x4

Re: [Script] [21.02.07] [3.00] Factory Complex Constructor by Lt. Ford

Post by xalien »

Profitlord [KBG] wrote: Command-Slot
COMMAND_TYPE_SPECIAL_56 (556)
We have a little conflict here with the Scrap Ship at HQ script, could you guys resolve it?
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

@xalien: Oh... sorry, we didn't see that cause the script isn't in the german list. I think we can change this...

Well, just for Information: I'm still workin on the FCC. I don't know what Lt. Ford is doing, but it seems that he didn't find a solution for the bug yet...

Now, I'm trying to fix the problems in another way than him. I wrote a new system for (de-)fixating the stations. So, the FCC can now move and rotate mod-stations (ins't possible with the actual version 3.1); I've fixed the CTD-Bug at defixated stations; and it's not possible anymore to defixate ships :roll:
But there are still some problems which I have to fix.

As soon as I fixed the bugs, I'm gonna release the adjusted version here as a non-official beta-version.
Kaz Zardoz
Posts: 102
Joined: Mon, 19. Feb 07, 06:21

Post by Kaz Zardoz »

I used the last version, and i have no unfixed station, but when i leave sector and enter it again i have a ctd :doh:
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

@Kaz Zardoz: Are you sure that you have no unfixed station? Did you try to use the bugfix? If not, download it >here<, and copy the file into your scripts-foler. Now the ctd shouldn't happen anymore...

Well, Lt. Ford told me yesterday that he's gonna release the new version before today. Looks like he didn't...
So, here's my version:

____________________________________________________________

FCC: version 3.1 INOFFICIAL BETA
***Attention!*** This version has been written by me and not by Lt. Ford!! So it's possible that it contains errors, I can give you no guarantee. Usage is on your own risk!

---Download removed, official version 3.1 is available---

Changes from 3.00 to 3.1 BETA:
-Bug fixed: CTD when you enter a sector with defixated stations
-Bug fixed: It's not possible anymore to defixate ships
-FCC supports now ALL mod-stations*
-Readtext-errors fixed

*= Only for moving and rotating the stations! Mod-stations have to be built with the standard-command!!

Installation:
-It's very important that you have NO DEFIXATED STATIONS when you install this version - fixate all! If you're not sure, download the Bugfix, copy the file into your 'scripts' folder and load a savegame. Save it, and now you can install the new version.
-Version 3.00 has to be installed!!!
Copy the new files into your X3-Reunion folder.
Last edited by -Dusty- on Sun, 4. Mar 07, 14:28, edited 2 times in total.
User avatar
ChemODun
Posts: 440
Joined: Mon, 12. Feb 07, 21:58
x4

Post by ChemODun »

Profitlord [KBG] wrote: FCC: version 3.1 INOFFICIAL BETA
***Attention!*** This version has been written by me and not by Lt. Ford!! So it's possible that it contains errors, I can give you no guarantee. Usage is on your own risk!

>>Download<<
Sorry, but file has size only 194 bytes, with no one script or text file. (Only directories).
And question - are you include russian translation ?
Multiply entropy by absolute zero

Freedom in space
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Oh... :oops: Sorry, uploaded the wrong file. I've corrected the link...

And we're gonna include the russian translation as soon as Lt. Ford has released the "official" version :)
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

Version 3.01 available!

-Download-links in the startpost-

Changes from 3.00 to 3.01:
-Bug fixed: CTD when you enter a sector with defixated stations
-Bug fixed: It's not possible anymore to defixate ships
-FCC supports now ALL mod-stations*
-Readtext-errors fixed
-New command-slot: COMMAND_TYPE_SPECIAL_61 (no conflicts anymore with the Scrap Ship at HQ script)

*= Only for moving and rotating the stations! Mod-stations have to be built with the standard-command!!

Have fun :)
User avatar
ChemODun
Posts: 440
Joined: Mon, 12. Feb 07, 21:58
x4

Post by ChemODun »

Profitlord [KBG] wrote:Version 3.01 available!
Unfortunately, without russian text file :-( .
OK, it was posted by me on local russian site.
Many thanks for new features and fixes. :-)
Multiply entropy by absolute zero

Freedom in space
User avatar
-Dusty-
Posts: 2301
Joined: Fri, 30. Dec 05, 20:17
x3tc

Post by -Dusty- »

@ChemODun: Oh... I thougt that Lt. Ford included the textfile? :gruebel:
However, I actualiced the download - but only the alternative link contains the russian translation! I would be glad if you could update the link in the russian forum.
And thanks again :)
User avatar
ChemODun
Posts: 440
Joined: Mon, 12. Feb 07, 21:58
x4

Post by ChemODun »

Profitlord [KBG] wrote:@ChemODun:
However, I actualiced the download - but only the alternative link contains the russian translation! I would be glad if you could update the link in the russian forum.
OK, thanks.
But please replace command ID in russian text file (it was maked for previous version).
From
<t id="556">
to
<t id="561">.
In russian forum I will make changes tomorrow.
Multiply entropy by absolute zero

Freedom in space
bluewiz1960
Posts: 61
Joined: Mon, 9. Feb 04, 00:55
x4

Commands

Post by bluewiz1960 »

I must be doing something wrong. I want to add a couple of cahoona bakeries to my complex. I select FCC from my TL ...I select the Cahoona Bakery....it asks for my offsets... and proceeds to create a NPC bakery. What am I missing here? :?:

Return to “X³: Reunion - Scripts and Modding”