Log inRegister
Basic Script install mechanism for the Mac
Post new topic Reply to topic
View previous topic :: View next topic
Author Message

Joined: 29 Jan 2012

PostPosted: Sun, 29. Jan 12, 14:00    Post subject: Basic Script install mechanism for the Mac Reply with quote Print

Hi all, This is a most informative forum, and I have found most of the answers I need to create scripts for the Mac platform but I am stuck on the basic registration process for the script to become visible / accessible in game.

I am running Mac OSX Lion current with all updates with the latest version of X3 Reunion, X3 Terran Conflict, and X3 Albion Prelude. All bought through the Apple Application Store.

I have been experimenting with creating Logistics scripts (Informational in most part) linking into Sector Trader. As an example I have a script that extends the Sector blacklist for 5 days rather than the Auto trader plugin of 4 minutes. I have been building Stations for the pirates to improve my relations (and earn some big cash) but my trading fleet swoops on these new stations and gets destroyed. So i created the blacklist extension to prevent this from happening.

I would like to be able to utilise my own scripts plus other public scripts for the Mac platform in as easy a form as the windows platform, without the end user having to be a Mac whiz.

My current situation with scripting is:

I have created and tested the scripts in game. The Mac version very conveniently stores the scripts you create in XML format in a script folder in the users Application Support library along with the save games.

I can move these scripts in and out of this script folder and all is good as long as I don't modify or edit the actual XML code block. (Can change details, version etc OK)

What I can not do is move these scripts to another instance of X3 or another Mac.

If I copy the xml files to the Application Scripts folder or to the User library scripts folder the scripts are not available in game.

If I try and create a new script with the same name as the one that I copy into the Library script folder it deletes the copied script. This tells me that the game know it is there and there are no permission issues.

I assume that the windows script installers have solved this problem. I have read posts on others attempts to install scripts on the Mac and some have been successful. I am not sure if this issue I face is a Mac OSX Lion problem or something basic I have missed around registering new XML scripts.

Any advice would be appreciated.

p.s. Big thanks to Cycrows's scripting tutorial, it reduced a huge learning curve down to an easy set of basic tasks.


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 cannot download files in this forum
Control Panel
Login Data
The time now is Sun, 19. Aug 18, 06:31

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.15192 seconds, sql queries = 16