[SCRIPT] UTProfit (v 1.0 28-04-09)

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

eddieg
Posts: 145
Joined: Tue, 9. Dec 03, 17:10

Post by eddieg » Thu, 18. Jun 09, 02:09

Is this profit since the first time that pilot ever started trading, or since the script has been added?

This might be one of my first scripts, it sounds very informative.

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 10032
Joined: Sun, 15. Feb 04, 21:12

Post by euclid » Sat, 20. Jun 09, 17:47

It's the profit the pilot made since the last start of the UT/ST command.

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

User avatar
Reisser
Posts: 648
Joined: Mon, 28. Feb 05, 16:39

Post by Reisser » Wed, 16. Dec 09, 23:33

Nice script - thanks ;)

I use it for the german version of TC and translated the few lines of the t-file. But some text is hardcoded in the script itself. Ok - I can change this too - but I don't want to have different script-versions.

If you make an update of this script - would it be possible to put all text (window-titles etc) in the t-file please?

It's not so that I can't read english - haha - but I prefer to have the whole game in only one language *g* By the way I could publish this script in the german community too

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 10032
Joined: Sun, 15. Feb 04, 21:12

Post by euclid » Fri, 18. Dec 09, 16:26

Reisser wrote:Nice script - thanks ;)

I use it for the german version of TC and translated the few lines of the t-file.... ***snip***.... By the way I could publish this script in the german community too
By all means, please feel free to publish your German version.


Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

User avatar
perkint
Posts: 4763
Joined: Wed, 6. Nov 02, 21:31

Post by perkint » Fri, 26. Feb 10, 16:46

Hi Euclid,

Would it be possible (ie is it possible and do you have the time!) to include the current instruction of the trader?

In other words to include on the report whether he's:

1. Sector trader
2. Local Trader (include base sector and jump radius)
3. UT.

As I say, not sure if this info's even available, but would be fantastic if so :D

Tim
Struggling to find something from the forums - Google it!!! :D

lowenblade
Posts: 36
Joined: Sat, 14. Aug 10, 03:29

Post by lowenblade » Sun, 22. Aug 10, 02:31

I'm not getting this script. My ship doesn't have a trade menu, and the station trades don't bring up UTProfits at all. Can someone make the user instruction more clear please?

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 10032
Joined: Sun, 15. Feb 04, 21:12

Post by euclid » Sun, 29. Aug 10, 00:37

Hi Lowenblade :-)

Please check if the file 7006-L044.xml is in your t folder and make sure the files setup.UTProfit.xml and UTProfit.xml are in your scripts folder.

If this is the case then I can think of two other reasons why it won't work for you:

#1 You have another script that uses the same page id (2010 and/or 9900)

#2 or you have not yet enabled the SE.


Hope that helps.


Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

tianlongprc
Posts: 123
Joined: Tue, 18. Aug 09, 09:41

Post by tianlongprc » Tue, 14. Jun 11, 20:35

--deleted--

mrowka
Posts: 128
Joined: Tue, 30. Jun 09, 19:50

Post by mrowka » Thu, 24. Nov 11, 03:59

Hi, i have a request,can ther be added a stat how much did they spend money.

Probe1
Posts: 696
Joined: Sat, 7. Jan 12, 02:37

Post by Probe1 » Sun, 22. Jan 12, 05:08

Has anyone else had difficulty getting this working in AP?

User avatar
Chemical-mix
Posts: 440
Joined: Mon, 27. Feb 06, 19:30

Post by Chemical-mix » Mon, 23. Apr 12, 21:13

Yes mate, it doesn't seem to work for me either in AP. No option in any of the ship menus. I've checked the files and the they seem to be in the right place. Shame; i really need a great script like this, i love the dataz!

Euclid- are there any known issues with this in AP? I have the AP bonus pack and Apricot's c-beam installed.
"I came, I saw, I crumbled"

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 10032
Joined: Sun, 15. Feb 04, 21:12

Post by euclid » Wed, 9. Jan 13, 21:22

Just installed it from the download to my steam TC & AP and for both it works fine. Even no need to activate SE. So I really do not know why you guys have trouble running it.

I doubt the BP nor Apricot's c-beam script will cause trouble because all pids, tids and cmds used are documented and should be uniquely used. For excample, UTprofit uses cmd trade_41 (tid 441), pid 7006/9900 as it is documented in the sticky thread.

My best guess is that you are running some "wild" scripts, i.e. one of those not registered in the sticky, which use one or more of the same resources (cmd/t-files).


Sorry if I can't be of more help here.


Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

GGRei
Posts: 28
Joined: Sat, 2. Feb 13, 01:48

Post by GGRei » Sat, 2. Feb 13, 16:22

Hi,

Same problem here, doesn't work for me too and i have no script in my game excepth UTProfit. :(

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 10032
Joined: Sun, 15. Feb 04, 21:12

Post by euclid » Sun, 3. Feb 13, 16:38

Sorry to read that GGRei, it's all a mystery to me. If your game is already tagged as "modified" could you please check the SE: are both script files listed there?

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

modisch
Posts: 20
Joined: Wed, 20. Mar 13, 07:25

Post by modisch » Sun, 31. Mar 13, 10:13

I've enabled the script editor and verified that both scripts are in the script list yet I also have trouble in AP. When I run the command from the trade menu I get a window that pops up with just one word in the up right corner, "Info". If I leave the window open long enough, escape-ing can cause a second window to open with a faulty display of a single ST's data... only it doesn't have real data, just "Unknown Object" and junk.

Running the UTProfit script from the SE results in the same as the trade command.

I'd love to have this script working. Let me know if there is anything I can try or any info you would like.

FWIW, all my scripts come from the official index in this forum. Most are Cycrow or DrBullwinkle's.

Post Reply

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