EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[Question] Very quick question from jobs.xml
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
ravayen





Joined: 25 Jan 2016



PostPosted: Wed, 12. Jul 17, 17:17    Post subject: [Question] Very quick question from jobs.xml Reply with quote Print

on some jobs ive seen an extra part to time intervals......

<time interval="3600" start="0"/>

could someone explain what the 2nd part (start="0") does please as ive never actually had cause to acknowledge it's existence before and suddenly i'm curios about it Smile

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

MEDAL

Joined: 20 Nov 2005
Posts: 13623 on topic

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

just a guess: i would say this is the respawn timer value the game starts at.
so start="0" means the Ship can be created instantly at beginning of the Game.
start="3600" would mean the defined Ship(s) will be created 1 hour after gamestart (and until then they are handled like currently destroyed)


_________________
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
ravayen





Joined: 25 Jan 2016



PostPosted: Wed, 12. Jul 17, 19:07    Post subject: Reply with quote Print

so to clarify
time interval=respawn time when destroyed in game
start=initial first spawn after game start and only the first time it spawns.
?
If so thanks for the reply it answers my question perfectly Smile

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

MEDAL

Joined: 20 Nov 2005
Posts: 13623 on topic

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

ravayen wrote:
so to clarify
time interval=respawn time when destroyed in game
start=initial first spawn after game start and only the first time it spawns.
?
If so thanks for the reply it answers my question perfectly Smile


thats my assumption, yes. nothing else makes sense to me. but i didnt test this out and i also dont have any special documentation.


_________________
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
ravayen





Joined: 25 Jan 2016



PostPosted: Thu, 13. Jul 17, 00:47    Post subject: Reply with quote Print

nps thanks for the reply

Back to top
View user's profile Send private message
j.harshaw
EGOSOFT
EGOSOFT



Joined: 23 Nov 2015



PostPosted: Fri, 14. Jul 17, 14:49    Post subject: Reply with quote Print

ravayen wrote:
time interval=respawn time when destroyed in game
start=initial first spawn after game start and only the first time it spawns

in case there's some doubt, this is correct. should actually be documented in libraries.xsd (not all library xml files are documented, unfortunately, but the jobs file is.)

libraries.xsd wrote:
<xs:element name="time">

...

<xs:attribute name="interval" use="required">
Minimum job processing interval with +/- 25% random variation

...

<xs:attribute name="start">
First job processing time (interval without variation is used if not specified)


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
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 Tue, 22. May 18, 15:59

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.07383 seconds, sql queries = 20