EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[DISCUSSION+REGISTRATION] - MSCI Reference
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7
View previous topic :: View next topic
Author Message
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Nov 2004
Posts: 20453 on topic
Location: London
Thank you for registering your game
PostPosted: Tue, 19. Apr 16, 23:05    Post subject: Reply with quote Print

it does work on [THIS] however the command essentially clears the script stack, so if you run it on this, then that script will essentially be canceled, so nothing that comes after will work.

And in TC you couldn't use it on [PLAYERSHIP] although that was fixed in AP


_________________
My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Joubarbe





Joined: 31 Oct 2006
Posts: 2566 on topic
Location: France
Thank you for registering your game
PostPosted: Wed, 20. Apr 16, 09:38    Post subject: Reply with quote Print

Yep, sorry shanrak, I kind of forgot the "station" part of your question. Indeed, you cannot move a station. You need to destroy it and build another one. Two things to check when you do that : docked ships and station credits if it's owned by the player.

EDIT : and you should download X-Studio Smile


_________________
Mayhem - Satellites Monitoring - Internal Distribution Network - ADS (Joubarbian Edition) - Bounty Board - The Joubarbian Toolkit - EasyConnect
Back to top
View user's profile Send private message
shanrak





Joined: 25 Feb 2009
Posts: 587 on topic

Thank you for registering your game
PostPosted: Thu, 21. Apr 16, 11:57    Post subject: Reply with quote Print

Joubarbe wrote:
Yep, sorry shanrak, I kind of forgot the "station" part of your question. Indeed, you cannot move a station. You need to destroy it and build another one. Two things to check when you do that : docked ships and station credits if it's owned by the player.

EDIT : and you should download X-Studio Smile


Do you have a link to a version?

The one in this thread seems to have died: http://forum.egosoft.com/viewtopic.php?t=301433

Thanks Smile

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





Joined: 31 Oct 2006
Posts: 2566 on topic
Location: France
Thank you for registering your game
PostPosted: Thu, 21. Apr 16, 12:37    Post subject: Reply with quote Print

http://www.mediafire.com/download/u0q03n0qn3nrwi1/-+X-Studio.v1.08.14.Feb.2014.rar


_________________
Mayhem - Satellites Monitoring - Internal Distribution Network - ADS (Joubarbian Edition) - Bounty Board - The Joubarbian Toolkit - EasyConnect
Back to top
View user's profile Send private message
radistmorse





Joined: 09 Dec 2016



PostPosted: Fri, 9. Dec 16, 17:46    Post subject: Wrong description for "read text from ... to ..." Reply with quote Print

Sorry if I'm writing in the wrong place.

The description for the function "read text: page id=$i, from $j to $k to array" which can be found here

http://forum.egosoft.com/viewtopic.php?t=286539

is not accurate. The resulting array includes the line with the number $k (the "to ..." value) only if the "include empty =" is set to FALSE. Otherwise the last line is ignored. So short example:

Code:
$test1 = read text: page id=1906, from 101 to 103 to array, include empty=[FALSE]
$test1 = size of array $test1

$test2 = read text: page id=1906, from 101 to 103 to array, include empty=[TRUE]
$test2 = size of array $test2

* Now $test1 == 3 and $test2 == 2


Correct the description please. I just spent 2 hours trying to find WTF is going on.

Back to top
View user's profile Send private message
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 20255 on topic

Thank you for registering your game
PostPosted: Fri, 9. Dec 16, 18:41    Post subject: Reply with quote Print

***Merged with MSCI Reference discussion thread***


Good find. While testing your findings, I noticed that the "include empty" option doesn't seem to do anything. Whether it is set to TRUE or FALSE, empty text ids will always be included. Therefore I feel what you found may be a bug with the command in general. I'll try to get an answer on that, before making changes to the command explanation in the MSCI Reference.


_________________
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7
 
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 cannot download files in this forum
Control Panel
Login Data
The time now is Wed, 20. Sep 17, 07:36

All times are GMT + 2 Hours


Board Security

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