Cargo crate scooped

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

That is strange... sorry for your lessened experience of cargo-wrex.
Riding the Rocket!
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Hmmm, it would definitely work on 1.70 with javascript... a_h, have you done a js version of the cargo wrecks script?
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

if I did it was lost in the HD crash.
it seems to stem from a difference in variable handling from 1.6 to 1.7, I'll fix it when things settle down. (unless others fix it first)
Riding the Rocket!
User avatar
Ark
---- E L I T E ----
---- E L I T E ----
Posts: 664
Joined: Sun Dec 09, 2007 8:22 am
Location: Athens Greece

Post by Ark »

Now that cargo & wrecks is generally working in the 1.71 trunk (because local variables are doing their job in script actions) we can track down the minor bugs of it.
Today I had the following message during scooping
1 ton top – quality %i1 slaves
I am definitely sure that they will be more.
The question is why?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6659
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

In the OXP's description.plist, change the occurences of [%i1] with [%I] and that should fix it. If not, try removing the square brackets as well.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Ark wrote:
Today I had the following message during scooping
1 ton top – quality %i1 slaves
I am definitely sure that they will be more.
The question is why?
Another Commander already answered that. It mentioned it long ago to AH. He thought this was also an expanding variable but it is not. He uses it a few times in the OXP.
Post Reply