not sure if this is a bug

Freeform discussion about anything related to modding Transcendence.
Post Reply
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

(sysFindObject gSource "T:populated; F ")
this code is used for Korolov shipping companies to target destinations for freighters/ escorts ;

I discovered that while I used it great in extensions for Masak ( a copy of a "current" korolov ):
My other company, Gnome, which copied a korolov code from a different version of the game (99b) : the SAME code allows the freighters to go to abandoned stations to deliver. ( i never noticed this before because the Gnome shipping company was not exactly Independent )

I am using the code in Corporate Contracts and spend a few days testing many things but came back to this earlier today.
I have discovered that I could randomize the stations (the code does not do that intentionally) but to avoid the ones destroyed was still an issue.
I am testing an addition to the code now :

Code: Select all

(sysFindObject gSource "T:populated; F -objIsAbandoned;")
to see if I can avoid the destroyed stations ( and destroying things on purpose for the test )

version being tested and operated for Corporate Contracts: 1.01. ( as usual,)
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

shanej: you're combining a hardcoded attribute (sysFindObject only looks for attributes in attribute="") and a function (objIsAbandoned).
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

I NEVER tell anyone that my idea of codes ever works: you have seen a few of my worst ideas :)
but when I hit something I can't compensate for I try everything I can think up.

remember I spent days trying to compensate for a traffic code issue instead of going to an updated code George had published in a newer version :): I CAN get this to stop playing silly.....might not be that code ( yet ) but Ill get it to work. ( and let you know what worked )
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Try:

Code: Select all

(sysFindObject gSource "T:populated; FA")
F = friendly only
A = active only (i.e., not abandoned)
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

Thank You , George :) Works perfectly
Last edited by shanejfilomena on Fri Jul 29, 2011 7:52 am, edited 1 time in total.
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
Post Reply