[AL] [18.04.2011] Operating Costs [3.1.4]

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

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Mon, 21. Jun 10, 07:52

ok, i understand - and allready ready *gg*

update

21.06.2010 – 2.0.1
+ added sector and universe to station management

First two entrys are now Universe and Sector.
If you choose sector all stations within sector will get listet with actual station on top - this may take some extra time
If you choose Universe all of your stations will get listed - on top the actual station. This WILL take some extra time, so be patient.
I have around 300 stations and it took around 10 seconds for me!

russbo
Posts: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Mon, 21. Jun 10, 08:56

Do you have the previous version of this script?

Upgrading with this latest one seems to cause CTD. Maybe... Will have to play with it, but I need the earlier version.

EDIT: Took Operating Costs scripts out of directories. Still cannot load any save game. I don't think my universe liked this upgrade for some reason.

Should be able to get back in if I have the previous scripts.

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Mon, 21. Jun 10, 17:00

ok, no problem. i uploaded it again for you.

http://www.c-hake.de/webstuff/OperatingCosts_2.0.zip

When did it cause a ctd?
While asking for Universe list or on starting/loading game?


update

21.06.2010 - 2.0.2
sector listed ki-stations - repaired

russbo
Posts: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Tue, 22. Jun 10, 03:22

2.02 seems to work fine. I think I narrowed down the cause of CTD (upon loading game).

It only seems to crash after I add an LI SSDN CCC station from Logain Abler's Security Defense script. Not sure if it's that script, or, that script interacting with yours. Adding that station, even with 2.02 causes CTD.

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Tue, 22. Jun 10, 06:34

Ok, here i have ?? in my eyes.
during loading game all my scripts do are building all stations, geting there production factor and then kill them again. -> creating an array of production factors for each station.

At present i'm thinking about some work on station management.
adding departements:
management: sector and station -> lists as they are at moment
statistik: sector and station -> what have you paid up to know for each station
assistant: global and sector -> get stations with status active, inactiv or repair

but for this it will have to rework the station management, t-files andcreate some of my own libarys. so it may take some time

better suggestions for names?

russbo
Posts: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Tue, 22. Jun 10, 08:37

I think my CTD was because of a LI SSDN CCC that I had added. It may have interfered with Apricotslice's PHQ mod. Both alter the hq.xml. I don't think it had to do with this script.

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Tue, 22. Jun 10, 09:19

uff, thanks

i startet to make the changes i stated above.
maybe this evening - maybee tomorrow im ready to upload.

Esspecially the asistent should be for your interrest: show me all deactivated stations

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Tue, 22. Jun 10, 19:55

Update

22.06.2010 – 2.1
+ Station management reworked
+ added statistics


Station Management now has 3 departements:
Management
Assistant
Statistic

Each Departement has 2 areas from 3: complex, sector, company

Management shows you a list as you allready know.
Assistant evaluates a list of stations depending on filter you have choosen.
Company may take some time to progress.
Statistic shows you how much money each station has taken so far. operatinc costs and repairs are taken in account.
From each menu you can get to menus before.

From Station lists yopu can choose a station and get into station controll.
here you can choose the well known commands - or by choosing the listed station go back to station list.

russbo
Posts: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Tue, 22. Jun 10, 20:40

Huefte, getting readtext errors with 2.01

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Tue, 22. Jun 10, 20:57

please number!?

found it. it was a missing </t> in t-file. thanks a lot

please download it again, i repaired it


no update number for this

russbo
Posts: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Wed, 23. Jun 10, 09:48

Huefte, it feels a bit odd that we're on three pages, and it's only us, LOL.

Anyway, this is turning out very well. One thing I've noticed though, was wondering what you thought.

When entering Assistant / Company, to see the list of all of your stations, it does take a bit of time if you have a lot of stations. One nice feature is, if you click on one of those stations, you then get into a management sub menu for that station.

But you cannot get back to the Company list. "Abort" or the "back arrow" brings you to the station command menu. If there were other stations to take care of, you have to go to Assistant / Company again, and wait....

Just a thought.

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Wed, 23. Jun 10, 10:15

It was a decission i made

I thought up to station list it would be fine to move back to any choice.
That i don't have this possibility in station management sub-menu is because i think 4 entrys to only go back would look overloaded.

abord is meant to close it, if you only wanted to look at statistics or status of your stations.

If you click on the station name itself in last menu you go back to station list.

That creating this lists take some time is because of creating layout will take some time - and sort the station entrys takes a lot lot lot more time.
on this i cannot do something unless you want to wait 10 sekonds in front of freezed game ;)

Last menu to issue commands to choosen station is availible in all departements. (this way its more flexible)

Update

23.06.2010 – 2.2
+ added station holidays for factorys

In German forum someone asked for a way to reduce running costs of station without decompose of it.
stop production, reduce costs, but keep station alive.
this is station holiday.
Working only on factorys it stops production, halfes running costs but station is still active: in CAG-menu ist called in operation like without holidays and it won't decompose.

choose it like usualy from station management.

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Wed, 30. Jun 10, 18:39

Update

30.06.2010 – 3.0
+added costs for ships
+added command to activate or deactivate ships
+Accounts added to station management


Readme was neccesarily partial rewriten - please look there or first 2 posts for further informations.

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Fri, 9. Jul 10, 18:06

UPDATE

09.07.2010 – 3.1
+ deactivated ship can get stolen after 25h

first 25h after deactivating ships are save
between 25h and 125h the risk is increasing
after 125h the risk is fix at 75%

+ deactivated ships can directly get reactivatet, no more waiting time

give new orders and ship will start moving
if ships are owned by ships or stations wich are out of service, they will get deactivated anew

+ for stations with less then 50% hull you will get an offer to sell them once

the race wich offeres is owner of sector
if sector is unknown pirates will offer
offer is only made once as long as station is staying deactivated.


Changes on deactivated ships only work on new deactivated ships. sorry.

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Mon, 12. Jul 10, 15:09

UPDATE

12.07.2010 – 3.1.1
+ Ships docked at carrier cannot get stolen any more

self explained

+ Ships docked at own station or carrier only needs half costs

self explained

+ code-optimized

no extern lib used any more

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Tue, 20. Jul 10, 18:15

UPDATE


20.07.2010 – 3.1.2
- ESC now close Station management


Found the Bug. To hit ESC now closes Station management.

ESC gives -1 and not null as value :S

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Wed, 11. Aug 10, 17:38

UPDATE

11.08.2010 – 3.1.3
- repaired bug in station management - account

calling Accounts while a new station is added to complex will result in game hanging up - repaired.

-repaired bug with building complexes

when adding a station to complex all scripts get closed. this scripts didn't restart. now they do.

Ariok
Posts: 2
Joined: Wed, 11. Aug 10, 10:43

Post by Ariok » Thu, 19. Aug 10, 13:58

Hi, i get readtext7011-1100 instead of the name of you plugin in the artificial life options, then tried to look in the orders section of my factories and found readtext messages, i suppose those are your script commands. What's wrong?

User avatar
Cadvan
Posts: 2940
Joined: Sun, 14. Mar 04, 05:05
x4

Post by Cadvan » Mon, 6. Sep 10, 09:49

it seems you haven't installed the t-file 7011-0044.xml

Do you use X3TC in englisch or an other language?
If you use an other language then english or german maybe it will get solved by copying the t-file, rename it to 7011-0xxx.xml (change xxx to your country code)
then open the t-file with editor and change in first line 44 to your country code.

sorry for late answere, i had holiday and wasn't at home.

russbo
Posts: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Sat, 30. Oct 10, 07:01

Huefte even though I have the plug in disabled, my script editor shows many many tasks associated with this. My game is slowing down, and I have to start removing things to find out what the cause is. How do I uninstall this?

Post Reply

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