[SCRIPT] Satalite Early Warning Network : V1.22 : 03/06/2009

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

its most likly due to the amount of times it checks for enemy ships.

i could quite easily increase the gap between them, or even scale it to the size of the network, that should improve performance
User avatar
Sesk
Posts: 441
Joined: Fri, 17. Nov 06, 21:09
x4

Post by Sesk »

Yea changed the delay between scans from 100ms to 2000ms, don't know what kind of practical affect it will have but I'm using it as a Capital search network.

Now just need to find a way to sort out the hundreds of messages in my logs... Maybe add colors for system and claimable or enemy.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

new update available: 1.21

Added a performance fix that should help for larger networks.

delay between checks is increased based on your networks size
Roady1976
Posts: 92
Joined: Wed, 29. Apr 09, 09:59
x4

Post by Roady1976 »

Getting a problem with installing this script, i uninstalled the old version and when trying to install this new one it is giving the following message:
Unable to uncompress the file: Scripts/setup.cycrow.sewn.xml

It also leaves some tmp files in the folder this script is saved.

Thanks
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

sounds like its having trouble reading the file, u could try to redownload it, incase it got currupt somehow

EDIT: Seems there was a problem with the package, i've repacked it as 1.22, which should install properly
Last edited by Cycrow on Wed, 3. Jun 09, 18:22, edited 1 time in total.
Roady1976
Posts: 92
Joined: Wed, 29. Apr 09, 09:59
x4

Post by Roady1976 »

sounds like its having trouble reading the file, u could try to redownload it, incase it got currupt somehow
Thanks for the reply :)

I have just done as suggested and still have the same problem.

I tested with another SPK file i have downloaded previously, and that seems to work fine.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

redownload again, i just repacked it, its a different filename now
Roady1976
Posts: 92
Joined: Wed, 29. Apr 09, 09:59
x4

Post by Roady1976 »

Many thanks Cycrow,
It is working fine now.
Nykhola
Posts: 5
Joined: Fri, 5. Jun 09, 03:35
x3ap

Post by Nykhola »

Hello

First, excuse my english, but i'm french... so... ;)

So, i've installer 3 of Cycrow(s plugin.
Command Queuing,Community Configuration Menu and SEWN

As my game is french, i've "located" scripts.
Change to 33 in filename and in the text files in /T, change 44 to 33
It's works with other plug, but not with SEWN.

I don't see him in the plugin configuration window.
Command queuing is OK, but not SEWN.
I've tested with my game in English, it's works.

So, where i am forget something ?
Do i make anoter change directly in script files (/script) ?

For information, in the hotkeysconfig window, if my game is in French, i see Readtext7000-1 for "configuration plugin" (but for me, all files are well localisated)
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

did you try to set renaming of text files in the plugin manager to french ?

that should create them automatically.

but it should still show up in the list, just as a read text instead of the name if all thats missing is the language file
Nykhola
Posts: 5
Joined: Fri, 5. Jun 09, 03:35
x3ap

Post by Nykhola »

in fact, i've extract files from spk, then renaming it. Then, i put them in scripts and t folders.

But, i think, i have make a mistake.
I haven't put original t files XXXX-LO44.xml.
Maybe it's reason of this bug ?
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

shouldn't make a difference, if you game is running in french, it would ignore the L044 file anyways, so it dont make a difference if its there or not.

do you get anything in the list, like an extra readtext or something, or is it completly missing ?

i assume u've opened the file and changed the language id inside too ?
Nykhola
Posts: 5
Joined: Fri, 5. Jun 09, 03:35
x3ap

Post by Nykhola »

i've nothing in list for SEWN (in your configuration plugin)
Just a line for Commande queue

With game in english, those two lines appears whitout problem.

I've well make modification in filename, and in the file (44->33), saving in UTF-8.
ansver
Posts: 29
Joined: Fri, 31. Oct 08, 21:43

Post by ansver »

I cannot get this to work. More precisely, I get no menu when pressing the hotkey for plugin configurations.

I'm running:
X3TC from steam.
Plugin Manager v2.20
Community Plugin Configuration v1.20
Satellite Early Warning Network v1.22

I've assigned a hotkey to Plugin Configurations. Some debugging revealed the following:

1. plugin.config.menu is called when pressing the hotkey.
2. plugin.config.menu calls plugin.config.getsections.
3. plugin.config.getsections returns null at 014 as both aPlugin and aOptions are null:

Code: Select all

010   * check we have anything valid
011   $aPlugin = get global variable: name='config.scripts'
012   $aOptions = get global variable: name='config.options'
013   if ! $aOptions AND ! $aPlugin
014   |return null
015   end
4. plugin.config.menu then aborts as plugin.config.getsections returned null.

Have I somehow installed it incorrectly?
Nykhola
Posts: 5
Joined: Fri, 5. Jun 09, 03:35
x3ap

Post by Nykhola »

it's look you have the same problem
There are 3 screenshot

First, the configuration window
[ external image ]

Then, if i run this script manually
[ external image ]

->
[ external image ]
ansver
Posts: 29
Joined: Fri, 31. Oct 08, 21:43

Post by ansver »

Nykhola wrote:it's look you have the same problem
There are 3 screenshot
Yes, looks like it. Only difference is I have the english version of the game. In the configuration window I have "Plugin Configurations", but the rest is the same. I also get all those "ReadText" entries if I run plugin.sewn.config manually.

Edit: I installed the command queue script as well. Now I get a menu when pressing the Plugin Configurations hotkey, but SEWN isn't in it. I see command queue adds itself via the plugin.config.addscript call in the setup.cycrow.cmdqueue script, but I find no similar setup-script for SEWN. I get a feeling some files are missing from this release.

Edit 2: Installed an earlier version (1.20) which indeed contains a setup.cycrow.sewn script. SEWN shows up in the menu as expected. I guess he just forgot to include that file in this version. Here's a link to the 1.20 version http://cycrow.thexuniverse.us/tcscripts ... 0.2008.spk . Maybe it solves your problem as well, Nykhola.
ansver
Posts: 29
Joined: Fri, 31. Oct 08, 21:43

Post by ansver »

I think I got it working. I uninstalled 1.22 and installed 1.20 by the link above. I then made a copy of setup.cycrow.sewn.xml in the scripts directory before reinstalling 1.22 (which removed that file). After copying the file back to the scripts directory SEWN appears in the menu as it should.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

hmm interesting, it was the setup script that was causing problems with 1.21, the become curropt somehow in the package.

it has not actually be edited since 1.20, so it should be exactly the same, seems like its another packaging problem, ill have a look
Nykhola
Posts: 5
Joined: Fri, 5. Jun 09, 03:35
x3ap

Post by Nykhola »

ansver -> Thanks a lot !
It's work great !

Cycrow, thanks for you work in X script world ;)
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22422
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

the problem is indeed with the setup script, it seemed to be curropt and not even installing.

i've updated a new version that should now work.

could you try downloading and installing and see if it works properly

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”