[MOD] Auto Trader (v1.1 Dec 15 2015)

The place to discuss scripting and game modifications for X Rebirth.

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

User avatar
alexalsp
Posts: 1839
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Sun, 7. Jan 18, 15:51

Did, as written in the description. But the ship does not receive any commands. The trade menu is not displayed.

If the mod works for you, then maybe I'm doing something wrong.

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13309
Joined: Sun, 15. Feb 04, 20:12
x4

Post by euclid » Sun, 7. Jan 18, 18:49

Hmm ... my AutoTraders doing their job but I have not tried to start a new one recently. Will look into that.

Do you have AutoTraders running already and do they trade and report (player logbook) as usual?

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

iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Post by iforgotmysocks » Sun, 7. Jan 18, 22:14

Hm, i wanted to install ur mod again quite a while ago (i think it was even before 4.3 was out?!) and couldn't get the traders/miners to trade/mine.
But i can't remember what the actual problem was. xD
One of the latest patches must've broken it cuz i know i've used it already a long time ago and back then it worked.

Not very helpful i know, sorry. :D

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13309
Joined: Sun, 15. Feb 04, 20:12
x4

Post by euclid » Sun, 7. Jan 18, 22:32

Thanks to both of you. I think I've found the problem

Code: Select all

<do_if value="event.param">
					<do_if value="event.param.isclass.ship">
						<start_conversation actor="event.param.pilot" conversation="EuclidATradeConv"/>
					</do_if>
					</do_if>
The "event.param.pilot" returns "null" and hence the menu won't show. I'm not sure what has changed but even in the vanilla scripts cues with this particular line have been commended out.

Cheers Euclid

Edit: Scratch the above. In Notifications.xml, line 872 reads

Code: Select all

   <start_conversation actor="event.param.pilot" conversation="Speak" type="unqueued" convparam="$Speak_Line" />
where "event.param" is a ship. Hence this works. Will investigate further. E.
"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
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13309
Joined: Sun, 15. Feb 04, 20:12
x4

Post by euclid » Mon, 8. Jan 18, 00:32

Ok, the AutoTrader mod is working fine. The previous "null" for the pilot was due to the fact that I've tried to run the script on a bailed ship (yes, my combat rating is pretty high :p ) and that had no pilot.

I've generated a new ship (Titurel) with all personnel, targeted it, hit shift-A twice and got the AutoTrader menu. Was no problem to start the sector trader. I've waited until he jumped out to commence his first trade deal.

So, I do not know what your problem is. Please try again and also check your debuglog.txt for any related messages. If your problem persists please email the zipped saved game to me.

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
alexalsp
Posts: 1839
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Mon, 8. Jan 18, 17:52

Yes, switched SETA, The ship began to work after a while. There is no error in the log file.

In the menu, I noticed the option - Properties. I choose the menu. No dialog boxes are displayed.

Return to “X Rebirth - Scripts and Modding”