[Script] Station Manager v1.11 (March 27)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2880
- Joined: Fri, 17. Feb 06, 04:55
-
- Posts: 66
- Joined: Wed, 4. Feb 04, 23:03
-
- Posts: 2282
- Joined: Thu, 29. Jan 04, 08:19
It wasn't small because it broke your station.
It was infrequent because it only happened when 3 conditions were met (and that's why it slipped past my tests).
Edit:
The bug only happens when
It was infrequent because it only happened when 3 conditions were met (and that's why it slipped past my tests).
Edit:
The bug only happens when
- Selling a ware
- The ware is very basic - Energy or Minerals etc.
- The buying stations all buy for the same price
-
- Posts: 66
- Joined: Wed, 4. Feb 04, 23:03
-
- Posts: 2981
- Joined: Mon, 29. Dec 03, 03:29
-
- Posts: 463
- Joined: Fri, 20. Feb 04, 17:30
I have another little problem.
I have an Adv. satellite factory that I got using the Auction script, I don't know if it matters but that means it was an NPC factory, complete with secondary resources.
My problem is that the script will not buy energy cells. It will buy silicon and majaglit until the stocks are full then just sit there doing nothing. I have excluded the secondary resources so the freighter will only buy the 3 primary ones. I have checked the cash in the factory, no probs there, I've checked the jump distance and energy cells buying price, nothing wrong there either.
When I set the freighter to buy energy cells for best price, it goes out and happily stocks the factory right up with them. So the problem must be with the script..
I have an Adv. satellite factory that I got using the Auction script, I don't know if it matters but that means it was an NPC factory, complete with secondary resources.
My problem is that the script will not buy energy cells. It will buy silicon and majaglit until the stocks are full then just sit there doing nothing. I have excluded the secondary resources so the freighter will only buy the 3 primary ones. I have checked the cash in the factory, no probs there, I've checked the jump distance and energy cells buying price, nothing wrong there either.
When I set the freighter to buy energy cells for best price, it goes out and happily stocks the factory right up with them. So the problem must be with the script..
-
- Posts: 2880
- Joined: Fri, 17. Feb 06, 04:55
-
- Posts: 463
- Joined: Fri, 20. Feb 04, 17:30
-
- Posts: 80
- Joined: Mon, 14. Jul 03, 20:34
OK stupid noob to scripts question coming.
I downloaded your script and used the Xscript installer and it lists your script as enabled. I checked the scripts file and sure enough there are a whole bunch of stat.mgr.... scripts in there. So I go to my stations command console to activate it , but the only thing I see there is the automated money transfer command.
Is there something else I need to do to get this script into the game? Am I looking in the wrong place? Can you give me detailed noob instructions or point me to a place where I can find them. Thanks
I downloaded your script and used the Xscript installer and it lists your script as enabled. I checked the scripts file and sure enough there are a whole bunch of stat.mgr.... scripts in there. So I go to my stations command console to activate it , but the only thing I see there is the automated money transfer command.
Is there something else I need to do to get this script into the game? Am I looking in the wrong place? Can you give me detailed noob instructions or point me to a place where I can find them. Thanks
-
- Posts: 463
- Joined: Fri, 20. Feb 04, 17:30
Did you activate the sscript editor ingame? I think this script requires it.
Change your name to:
Thereshallbewings
all one word with a capitol 'T', then press enter. You should here a noise, and your name will be changed back to what it was before.
If it still isn't there you might have to save and reload to start the script.
Hope that helps
ps bump on my last post, any ideas?
Change your name to:
Thereshallbewings
all one word with a capitol 'T', then press enter. You should here a noise, and your name will be changed back to what it was before.
If it still isn't there you might have to save and reload to start the script.
Hope that helps

ps bump on my last post, any ideas?
-
- Posts: 2282
- Joined: Thu, 29. Jan 04, 08:19
-
- Posts: 2981
- Joined: Mon, 29. Dec 03, 03:29
-
- Posts: 463
- Joined: Fri, 20. Feb 04, 17:30
-
- Posts: 86
- Joined: Wed, 3. Dec 03, 22:04
Any chance that we could make an addition to this mod?
Say, an addition that allows the station manager to replace destroyed haulers automatically? Like many others, I like to leave my game running unattended at times and obviously while not at my keyboard I take ship losses. Typically, I'll return to find that some of my stations are out of resources needed to continue production because all of their freighters have been destroyed. I think it would be neat for the stations to use either the players account or the credits assigned to the station to purchase a replacement hauler so that they don't totally ceize up.
Say, an addition that allows the station manager to replace destroyed haulers automatically? Like many others, I like to leave my game running unattended at times and obviously while not at my keyboard I take ship losses. Typically, I'll return to find that some of my stations are out of resources needed to continue production because all of their freighters have been destroyed. I think it would be neat for the stations to use either the players account or the credits assigned to the station to purchase a replacement hauler so that they don't totally ceize up.
-
- Posts: 2880
- Joined: Fri, 17. Feb 06, 04:55
I'm having some weirdness.
The freighters are not getting items from the local station (I have a Teladianium and Sun Oil comp in Grand Exchange) which is a Flower Farm, when the price for the sun flowers drops to my required limit to buy. Takes about 5-10 mins before it tries.
Is there some kind of timer involved? Other npc's keep getting there before mine even launch. There's not much pattern other than it won't launch quickly enough to buy anything.
The freighters are not getting items from the local station (I have a Teladianium and Sun Oil comp in Grand Exchange) which is a Flower Farm, when the price for the sun flowers drops to my required limit to buy. Takes about 5-10 mins before it tries.
Is there some kind of timer involved? Other npc's keep getting there before mine even launch. There's not much pattern other than it won't launch quickly enough to buy anything.
-
- Posts: 2282
- Joined: Thu, 29. Jan 04, 08:19
A ship that cannot find anything at all to do will sit at home and check resources every 8 - 10 minutes. This gives an average response time of 4 - 5 minutes though. It's done this way so that the costly search is run less often, increasing cpu performance.
You can change this by editing the script stat.mgr.WaitAtHome.xml and changing the given milliseconds to a smaller number. I would suggest 3 to 5 minutes giving an average reponse time of 2 minutes. The number you would need to enter for 3 minutes is 3 * 60 * 1000.
You can change this by editing the script stat.mgr.WaitAtHome.xml and changing the given milliseconds to a smaller number. I would suggest 3 to 5 minutes giving an average reponse time of 2 minutes. The number you would need to enter for 3 minutes is 3 * 60 * 1000.
-
- Posts: 2880
- Joined: Fri, 17. Feb 06, 04:55
-
- Posts: 14
- Joined: Thu, 2. Mar 06, 02:17