EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[MOD] X Rebirth Lost Sectors v1.3.0
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 15, 16, 17  Next
View previous topic :: View next topic
Author Message
Marvin Martian





Joined: 08 Apr 2012
Posts: 2573 on topic

Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 09:35    Post subject: Reply with quote Print

Xen WP only use Energyweapons, no Missileturrets and without (tradeoffer-)docks it can't traded anyway, so he would be useless

I'm not sure, but IMO the Masstraffic stations of HoL also not have a tradenpc too

Back to top
View user's profile Send private message
eMYNOCK



MEDALMEDALMEDAL

Joined: 21 Aug 2003
Posts: 1886 on topic
Location: DeVries - Molten Archon
Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 09:48    Post subject: Reply with quote Print

the highway stations you can land on and the huge ad signs used to have a full crew of manager, engineer and defense officer...

i am not 100% sure but i might think that the 'init station' parameter only gives stations what they need to fully function.

at last it does in my CHT mod... and there i restrict it to only 3 station macros.

what we could do is to restrict the md only to the new system, sector in maelstrom and the station in fields of opportunity.

or we check... like in my code... every single station in the whole universe if they need the (vanilla) initialisation.


i am happy with any solution... because i am to greedy to start a new game for the mod Very Happy


_________________
For my Steam Workshop, klick below:

MynoCorp. Technologies:
We Build it, you life with it.
X³TC/AP Cockpit Callback Mod
Back to top
View user's profile Send private message
Marvin Martian





Joined: 08 Apr 2012
Posts: 2573 on topic

Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 10:27    Post subject: Reply with quote Print

signal_objects 'init station' is only a cue that runs the same include_actions then your code, but only for a single request and without further condition
the original code you postet did it simple twice
logical would be to run first include_actions and then check again for controlnpcs and in case nobody in restore hull and send the signal_objects (but that just for fun and shouldn't required ever)

Back to top
View user's profile Send private message
eMYNOCK



MEDALMEDALMEDAL

Joined: 21 Aug 2003
Posts: 1886 on topic
Location: DeVries - Molten Archon
Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 13:35    Post subject: Reply with quote Print

okay... i did a quick edit in my CHT station init MD, changed some values and i got this.

Code:

<?xml version="1.0" encoding="UTF-8"?>
<mdscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Start_LostStations" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="Start_LostStations">
        <conditions>
         <event_game_loaded/>
        </conditions>
         <delay exact="1s"/>
       <actions>
            <find_station name="$allstations" multiple="true" space="player.galaxy"/>
        <do_all exact="$allstations.count" counter="$i">
         <signal_objects param2="$allstations.{$i}" param="'init station'" object="player.galaxy"/>
        </do_all>
         <remove_value name="$allstations"/>
       </actions>
</cue>
</cues>
</mdscript>


what do you think? would this work as intended?
search all existing stations and if needed init the stations.


_________________
For my Steam Workshop, klick below:

MynoCorp. Technologies:
We Build it, you life with it.
X³TC/AP Cockpit Callback Mod
Back to top
View user's profile Send private message
Marvin Martian





Joined: 08 Apr 2012
Posts: 2573 on topic

Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 13:45    Post subject: Reply with quote Print

not good!

whats wrong with my code ?
https://forum.egosoft.com/viewtopic.php?p=4667255#4667255

now you produce a lot of overhead, because you process all running stations too
the use of include_actions is ok
anyway you could search stations of the new spaces only

and the reason why i'm not fan of your code is, about the lack of possibility to destroy stations, i use ownerless for "destroyed" stations without controlenties, so you will start abandoned stations again - so you "sabotage" game mechanics of other mods Rolling Eyes *virtual slap send to eMYNOCK* Very Happy

Back to top
View user's profile Send private message
eMYNOCK



MEDALMEDALMEDAL

Joined: 21 Aug 2003
Posts: 1886 on topic
Location: DeVries - Molten Archon
Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 14:22    Post subject: Reply with quote Print

This is just raw Material... Feel free to add what we need and feel free to alter what we do not need.

Ideally the Station md has only to run once... And that is when the mod is activated, integrated, for the first time.

It doesn't is needed when you start a fresh game an way... In that case the universe init will do what is needed.


_________________
For my Steam Workshop, klick below:

MynoCorp. Technologies:
We Build it, you life with it.
X³TC/AP Cockpit Callback Mod
Back to top
View user's profile Send private message
Marvin Martian





Joined: 08 Apr 2012
Posts: 2573 on topic

Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 14:38    Post subject: Reply with quote Print

but that CUE will run on first load of an savegame too,
otherwise you need to cancle the cue or run it at "md.Setup.GameStart" too and take the code into a do_if event.name == 'event_game_loaded'
then on load of an savegame the cue is already done

i'm not against your code, but you had a better before and i add a suggestion about, your last "simplier" version is not better in any way - thats all what i want to say, the reasons i already explain

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13816 on topic

Thank you for registering your game
PostPosted: Wed, 12. Jul 17, 18:53    Post subject: Reply with quote Print

Marvin Martian wrote:
AND delete your VARs after working would nice too, otherwise this will be in the savegame forever


i didnt look intho this personally yet, but from what i have read in the XR MD Guide the Vars will get cleared eventually if all cues in the tree are complete or cancelled. this one will complete instantly when a game loads. But might be worth a Savegame Examination Smile


_________________
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
eMYNOCK



MEDALMEDALMEDAL

Joined: 21 Aug 2003
Posts: 1886 on topic
Location: DeVries - Molten Archon
Thank you for registering your game
modified
PostPosted: Thu, 13. Jul 17, 21:36    Post subject: Reply with quote Print

okay... i need validation for this one.

Marvin, UniTrader... feel free to comment or correct.

i still search the entire universe... just if something strange had happened to other stations.

a player deleted crews accidentially for example.

Code:

<?xml version="1.0" encoding="UTF-8"?>
<mdscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Start_LostStations" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="Start_LostStations">
<!--this checks the player age, if started with the mod nothing should happen-->
<!--script shall end here-->
      <delay exact="2s"/>
      <actions>
      <do_if value="player.age lt 1min">
        <cancel_cue cue="this"/>
      </do_if>
<!--if we are older than 1 minute the mod was not active on game start-->
<!--lets initiate the stations now or we do not have any crews-->
      <do_else>
      <find_station name="$allstations" multiple="true" space="player.galaxy"/>
        <do_all exact="$allstations.count" counter="$i">
         <set_value name="$controllable" exact="$allstations.{$i}"/>
            <do_if value="$controllable.owner.id" list="['player', 'ownerless']">
               <continue />
            </do_if>
         <do_if value="$controllable.engineer.exists and $controllable.defencenpc.exists" negate="true">
            <include_actions ref="md.InitUniverse.InitStationActions"/>
         </do_if>
        </do_all>
         <remove_value name="$controllable"/>
         <remove_value name="$allstations"/>
      </do_else>   
       </actions>
<!--we are done, if correct all stations now should have crews now. except player and ownerless-->
</cue>
</cues>
</mdscript>



_________________
For my Steam Workshop, klick below:

MynoCorp. Technologies:
We Build it, you life with it.
X³TC/AP Cockpit Callback Mod


Last edited by eMYNOCK on Thu, 13. Jul 17, 23:58; edited 1 time in total
Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13816 on topic

Thank you for registering your game
PostPosted: Thu, 13. Jul 17, 21:48    Post subject: Reply with quote Print

i miss the <find_station/> therre to set/populate the $allstations var


_________________
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
eMYNOCK



MEDALMEDALMEDAL

Joined: 21 Aug 2003
Posts: 1886 on topic
Location: DeVries - Molten Archon
Thank you for registering your game
PostPosted: Thu, 13. Jul 17, 23:59    Post subject: Reply with quote Print

UniTrader wrote:
i miss the <find_station/> therre to set/populate the $allstations var


corrected... how could this just sneak past me?


_________________
For my Steam Workshop, klick below:

MynoCorp. Technologies:
We Build it, you life with it.
X³TC/AP Cockpit Callback Mod
Back to top
View user's profile Send private message
KrYcHokE





Joined: 02 Dec 2015
Posts: 105 on topic
Location: Ukraine
Thank you for registering your game
modified
PostPosted: Wed, 19. Jul 17, 15:19    Post subject: Reply with quote Print

--Upd--

Added more new screenshots: http://imgur.com/a/NeLdB



Last edited by KrYcHokE on Fri, 15. Sep 17, 01:12; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
dfm5000





Joined: 12 Oct 2012

Location: United States of the Russian Federation

PostPosted: Sat, 12. Aug 17, 01:15    Post subject: Reply with quote Print

Can't download files from link, says try back later.

Never mind browser hates that site for some reason switching fixed situation.

Back to top
View user's profile Send private message
captainradish





Joined: 30 Apr 2005
Posts: 27 on topic

Thank you for registering your game
PostPosted: Thu, 12. Oct 17, 03:33    Post subject: Reply with quote Print

Just wanted to comment that I really love the Loki. I managed to capture one and it's become my personal ship. It's compact, it's very fast (it was a bitch to capture as it could outrun me), it's got a nice main gun, AND it has a universal cargo bay! I've named it the Gremlin and I'm loving it!

Back to top
View user's profile Send private message
alexalsp





Joined: 18 Jul 2014
Posts: 761 on topic

Thank you for registering your game
PostPosted: Thu, 14. Dec 17, 19:04    Post subject: Reply with quote Print

XR 4.30

Code:

[=ERROR=] 0.00 File I/O: Could not find file '.\extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 XLib::XMLInputOpenCallback(): Failed to open the file: extensions/lostsectors/assets/units/size_xl/macros/units_size_xl_builder_ship_ls_macro
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 MacroDB::FindMacro(): Error loading from XML file 'extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'. Check the log for further information.
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 File I/O: Could not find file '.\extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 XLib::XMLInputOpenCallback(): Failed to open the file: extensions/lostsectors/assets/units/size_xl/macros/units_size_xl_builder_ship_ls_macro
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 MacroDB::FindMacro(): Error loading from XML file 'extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'. Check the log for further information.
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_s_macro' in file 'index\macros'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_l_macro' in file 'index\macros'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 [Movie.LoadFormat] File videos/logo_egosoft.mkv: avformat_open_input = -2 'No such file or directory'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 [Movie.LoadFormat] File videos/logo_publisher.mkv: avformat_open_input = -2 'No such file or directory'
[General] 0.00 ======================================
[General] 1.00 ======================================
[=ERROR=] 1.00 Error in MD cue md.Setup_LostSectors.Add_Drone: Property lookup failed: md.$DroneTraderLists
* Expression: md.$DroneTraderLists.{1}
[General] 1.00 ======================================
[General] 1.00 ======================================
[=ERROR=] 1.00 Error in MD cue md.Setup_LostSectors.Add_Drone: Evaluated value 'null' is not of type list
* Expression: md.$DroneTraderLists.{1}
[General] 1.00 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-111.902f' is not of type angle
* Expression: -111.902f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-36.5467f' is not of type angle
* Expression: -36.5467f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '15.2839f' is not of type angle
* Expression: 15.2839f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '66.2162f' is not of type angle
* Expression: 66.2162f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-51.4243f' is not of type angle
* Expression: -51.4243f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '83.5451f' is not of type angle
* Expression: 83.5451f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-110.387f' is not of type angle
* Expression: -110.387f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-55.1863f' is not of type angle
* Expression: -55.1863f
[General] 5.02 ======================================
[General] 5.02 ======================================
[=ERROR=] 5.02 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '38.8333f' is not of type angle
* Expression: 38.8333f
[General] 5.02 ======================================

[=ERROR=] 0.00 File I/O: Could not find file '.\extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 XLib::XMLInputOpenCallback(): Failed to open the file: extensions/lostsectors/assets/units/size_xl/macros/units_size_xl_builder_ship_ls_macro
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 MacroDB::FindMacro(): Error loading from XML file 'extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'. Check the log for further information.
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 File I/O: Could not find file '.\extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 XLib::XMLInputOpenCallback(): Failed to open the file: extensions/lostsectors/assets/units/size_xl/macros/units_size_xl_builder_ship_ls_macro
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 MacroDB::FindMacro(): Error loading from XML file 'extensions\lostsectors\assets\units\size_xl\macros\units_size_xl_builder_ship_ls_macro'. Check the log for further information.
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_s_macro' in file 'index\macros'
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 Cannot find macro XML file from index 'asteroid_var1_l_macro' in file 'index\macros'
[General] 0.00 ======================================
[General] 1.00 ======================================
[=ERROR=] 1.00 Error in MD cue md.Setup_LostSectors.Add_Drone: Property lookup failed: md.$DroneTraderLists
* Expression: md.$DroneTraderLists.{1}
[General] 1.00 ======================================
[General] 1.00 ======================================
[=ERROR=] 1.00 Error in MD cue md.Setup_LostSectors.Add_Drone: Evaluated value 'null' is not of type list
* Expression: md.$DroneTraderLists.{1}
[General] 1.00 ======================================
[General] 2.45 ======================================
[=ERROR=] 2.45 LIBXML2: file:///extensions%2Flostsectors%2Fassets%2Funits%2Fsize_s%2Fmacros%2Funits_size_s_split_m8_macro?ext=xml%20xml.gz line 74, error 76: Opening and ending tag mismatch: connections line 25 and macro
connectionsmacro
[General] 2.45 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-111.902f' is not of type angle
* Expression: -111.902f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-36.5467f' is not of type angle
* Expression: -36.5467f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '15.2839f' is not of type angle
* Expression: 15.2839f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '66.2162f' is not of type angle
* Expression: 66.2162f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-51.4243f' is not of type angle
* Expression: -51.4243f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '83.5451f' is not of type angle
* Expression: 83.5451f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-110.387f' is not of type angle
* Expression: -110.387f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '-55.1863f' is not of type angle
* Expression: -55.1863f
[General] 5.01 ======================================
[General] 5.01 ======================================
[=ERROR=] 5.01 Error in MD cue md.PlacedObjects_LS.Place_Claimable_Ships: Evaluated value '38.8333f' is not of type angle
* Expression: 38.8333f
[General] 5.01 ======================================




Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 15, 16, 17  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Sun, 23. Sep 18, 13:49

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.13780 seconds, sql queries = 29