
New Xai Corporation Software
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 5505
- Joined: Wed, 6. Nov 02, 20:31
New Xai Corporation Software
I've finished the Convoy trading commands I was working on. It's mutated a little bit from what it was origionally going to be 

-
- Posts: 353
- Joined: Sat, 3. Apr 04, 09:47
-
- Posts: 5505
- Joined: Wed, 6. Nov 02, 20:31
Good question
As a complement to the venerable Mk1 which provides trade commands for factory operations, Mk2 offers a complete suite of remote trading commands. The new commands range from single sector traders to trade convoys.
New commands included:
Lead Convoy: no trading
Patrol Convoy: protect a whole fleet instead of just one ship
Xai Corp Best buy: buy ware for best price in sector (and return to convoy)
Xai Corp Best Sell: sell ware for best price in sector (and return to convoy)
Xai Corp. Sector Trader: 2 modes: sector only; include surrounding sectors
Xai Corp. Galaxy Trader: 2 modes: travel 1 sector at a time; cross multiple sectors with jumpdrive
Xai Corp. Convoy Trader: lead a trade convoy between two sectors
AP Report: view a report of the ship's progress
-
- Posts: 38
- Joined: Sun, 22. Feb 04, 22:32
-
- Posts: 3
- Joined: Wed, 2. Jun 04, 21:40
Need Help
Have installed the following Xai Scripts in the order shown below.
Xai Trader Mk1.1
Xai Jumpdrive 4.1
Xai Fleet Supply 1.2
Xai Trader Mk2
But about half the commands are greyed out on my Argon Mercury and Boron Dolphin.
Greyed out commands:
Xai Sector Trader
Xai Galaxy Trader
Xai Best Buy
Xai Best Sell
Xai Resupply Ship
Xai Resupply Group
Working Commands:
Jump Drive Commands working fine.
Lead Convoy
Xai Convoy Trader
Retrieve Pilot Stats
Xai AutoBuy/Sell
Xai AutoBuy
Drop Cargo
Retrieve Deployed
Remote Install Single Ship
Remote Install All Ships
Have all the Upgrades showing in the Station for Upgrade and they are all on both ships. Aswell as all the normal game upgrades, jumpdrive, nav software, flight 1 & 2, trade updrades etc.
Have tried the following steps to correct this.
1) Manually Uninstalling all scripts using the Ingame Script Editor. Then reinstalling them. Using saved game. Tried this with and without OlisJ HQMod (as I noticed that the Xai Trade MK2 software would revert back to Goner Contract in the stations when HQmod was installed, also the Xai Retreive Pilot Stats would go to a Text Command General 35 but would still work as intended).
2) Repeating above and started a new game.
3) Deleted all game files and completely replaced the files from my installed backup folder (Original game with patch 1.3 only). Then installed the Xai scripts above.
So what am I missing or should have done to get these working?
Xai Trader Mk1.1
Xai Jumpdrive 4.1
Xai Fleet Supply 1.2
Xai Trader Mk2
But about half the commands are greyed out on my Argon Mercury and Boron Dolphin.
Greyed out commands:
Xai Sector Trader
Xai Galaxy Trader
Xai Best Buy
Xai Best Sell
Xai Resupply Ship
Xai Resupply Group
Working Commands:
Jump Drive Commands working fine.
Lead Convoy
Xai Convoy Trader
Retrieve Pilot Stats
Xai AutoBuy/Sell
Xai AutoBuy
Drop Cargo
Retrieve Deployed
Remote Install Single Ship
Remote Install All Ships
Have all the Upgrades showing in the Station for Upgrade and they are all on both ships. Aswell as all the normal game upgrades, jumpdrive, nav software, flight 1 & 2, trade updrades etc.
Have tried the following steps to correct this.
1) Manually Uninstalling all scripts using the Ingame Script Editor. Then reinstalling them. Using saved game. Tried this with and without OlisJ HQMod (as I noticed that the Xai Trade MK2 software would revert back to Goner Contract in the stations when HQmod was installed, also the Xai Retreive Pilot Stats would go to a Text Command General 35 but would still work as intended).
2) Repeating above and started a new game.
3) Deleted all game files and completely replaced the files from my installed backup folder (Original game with patch 1.3 only). Then installed the Xai scripts above.
So what am I missing or should have done to get these working?
-
- Posts: 985
- Joined: Sun, 7. Dec 03, 05:15
If your haveing the same problem as I was then you need to have other software installed. There wasn't any info in the readme of what other software was needed. Dr. Xavia will prolly change this. But in the mean time..put the x2script.xsl script into your /script folder and click on this script init.Xai.XTC2 when it loads into your browser scroll down till you fine what command you are wanting to know what wares are needed then click on the link I marked in paraenthesis if its say the Xai Trade Commands Mk2. This will take you to anther script which will tell you what wares you need. Just jot them down and do the same for the other commands.
the link in parenthasis takes you to this script
Code: Select all
$command = COMMAND_XAI_XTC2_TRADE_GALAXY
052 global ship map: set: key=$command, class=Small Transport TS, race=Player, script='Xai.XTC2.cmd.trade.sector', prio=0
053 global ship map: set: key=$command, class=Pirate Transport TS, race=Player, script='Xai.XTC2.cmd.trade.sector', prio=0
054 global ship map: set: key=$command, class=Passenger Transport TP, race=Player, script='Xai.XTC2.cmd.trade.sector', prio=0
055 *set ship command upgrade: command=$command upgrade=$upgrade
056 set ship command upgrade: command=$command upgrade=$upgrade script=(((('Xai.XTC2.chk.auto2')))
057
Code: Select all
001 * Created by Xai Corporation, 764
002 *
003 *
004
005 $r = 1
006
007 $bs = $ship -> get amount of ware Best Selling Price Locator in cargo bay
008 $bb = $ship -> get amount of ware Best Buys Locator in cargo bay
009 $tse = $ship -> get amount of ware Trading system extension in cargo bay
010 $jd = $ship -> get amount of ware Jumpdrive in cargo bay
011
012 skip if $bb AND $bs AND $tse AND $jd
013 $r = 2
014
015 return $r
"Try not. Do or do not, there is no try."-Yoda
"[Its] time for the human race to enter the solar system"-Dan Quayle
"[Its] time for the human race to enter the solar system"-Dan Quayle
-
- Posts: 3
- Joined: Wed, 2. Jun 04, 21:40
-
- Posts: 985
- Joined: Sun, 7. Dec 03, 05:15
-
- Posts: 985
- Joined: Sun, 7. Dec 03, 05:15
445010.xml
this is the file that you should have installed in your /t folder. if its there, have you tried reinit scripts? I have those scripts installed also.
Have you patched in the corret order 1.1, 1.2, then 1.3?
this is the file that you should have installed in your /t folder. if its there, have you tried reinit scripts? I have those scripts installed also.
Have you patched in the corret order 1.1, 1.2, then 1.3?
"Try not. Do or do not, there is no try."-Yoda
"[Its] time for the human race to enter the solar system"-Dan Quayle
"[Its] time for the human race to enter the solar system"-Dan Quayle
-
- Posts: 353
- Joined: Sat, 3. Apr 04, 09:47
Yup, I have 445010.xml in the /t directory, and am patch from 1.1, 1.2 to 1.3. I tried reinit cached scripts, saved, quit, reloaded, started new game, re-installed all the scripts and whatever else i could think of. still... ReadText17-5883 in every equipment dock =\
I tried altering the 445002.xml file from Xai Corp Jumpdrive Commands, changing the ware to 5883 and it successfully replaced the ReadText17-5883 in script and stations. It somehow seems that the game just doesn't care what 445010.xml says!
I tried altering the 445002.xml file from Xai Corp Jumpdrive Commands, changing the ware to 5883 and it successfully replaced the ReadText17-5883 in script and stations. It somehow seems that the game just doesn't care what 445010.xml says!
-
- Posts: 353
- Joined: Sat, 3. Apr 04, 09:47
Ok, new problem, now to do with 445017.xml:
the command "Request AP Status" becomes "COMMAND_TYPE_GENERAL_25" after saving and reloading the first time. It works when loading up a fresh save, but after the script is a part of the savegame it turns into "COMMAND_TYPE_GENERAL_25" for some reason. Funny thing is, its abbreviated name remains intact!
the command "Request AP Status" becomes "COMMAND_TYPE_GENERAL_25" after saving and reloading the first time. It works when loading up a fresh save, but after the script is a part of the savegame it turns into "COMMAND_TYPE_GENERAL_25" for some reason. Funny thing is, its abbreviated name remains intact!
-
- Posts: 985
- Joined: Sun, 7. Dec 03, 05:15
moggy2 (DR.Xavia) is on vacation but I will look into this for you as another has pointed this out.Shanjaq wrote:Ok, new problem, now to do with 445017.xml:
the command "Request AP Status" becomes "COMMAND_TYPE_GENERAL_25" after saving and reloading the first time. It works when loading up a fresh save, but after the script is a part of the savegame it turns into "COMMAND_TYPE_GENERAL_25" for some reason. Funny thing is, its abbreviated name remains intact!
"Try not. Do or do not, there is no try."-Yoda
"[Its] time for the human race to enter the solar system"-Dan Quayle
"[Its] time for the human race to enter the solar system"-Dan Quayle
-
- Posts: 353
- Joined: Sat, 3. Apr 04, 09:47
Ok, I outfitted a pirate ship with everything necessary to run the Galaxy Trader, but when I use the command he starts the Sector Trader instead. I edited the script and got the Galaxy Trader working(it was a duplicate script call), so I watched the pirate ship make a few trade runs. He did quite well, but was selling all e-cells after each jump.
-
- Posts: 985
- Joined: Sun, 7. Dec 03, 05:15
I fixed that file also and here is a link to it http://webpages.charter.net/kailric/init.Xai.XTC2.zipShanjaq wrote:Ok, I outfitted a pirate ship with everything necessary to run the Galaxy Trader, but when I use the command he starts the Sector Trader instead. I edited the script and got the Galaxy Trader working(it was a duplicate script call), so I watched the pirate ship make a few trade runs. He did quite well, but was selling all e-cells after each jump.
Are you still haveing problems with the Report Status command appearing as General?
"Try not. Do or do not, there is no try."-Yoda
"[Its] time for the human race to enter the solar system"-Dan Quayle
"[Its] time for the human race to enter the solar system"-Dan Quayle
-
- Posts: 4179
- Joined: Fri, 9. Apr 04, 17:49
I wish to post a warning, if anyone has Xai Corp Advanced Combat Project 1.55b and xaicorp.xtc2.v1.0, DO NOT INSTALL HQmodV2byOlisJ, I did and when I installed xtc2, some text in the command menus went funny for example “XaiCmd” change into “custom” and the commands in there showed “custom then text” amongst others.
So don’t install it whatever you do, as for me I have to revert to an older save but at least I don’t have to start again. You have been warned
So don’t install it whatever you do, as for me I have to revert to an older save but at least I don’t have to start again. You have been warned
=