Exscriptor - new external script editor

The place to discuss scripting and game modifications for X³: Reunion.

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

DaOpa
Posts: 914
Joined: Sun, 28. Jan 07, 17:55

Post by DaOpa »

Hello,

I meant such things like "Command_Get_Ware" and "Command_Return_Home". Sure all Commands ar listed, but this spezial Descriptions aren't there, or I'm not able to find them (could be :roll: )

Greetings
Whimsy
Posts: 167
Joined: Mon, 9. Feb 04, 20:32
x3tc

Post by Whimsy »

DaOpa wrote:I meant such things like "Command_Get_Ware" and "Command_Return_Home". Sure all Commands ar listed, but this spezial Descriptions aren't there, or I'm not able to find them (could be)
You mean the normal text names of the ship commands etc? No, those aren't listed anywhere - only the 'ID' names which are all in capitals are shown. But then that's the same in the in-game editor too. :)
GULIDRECK
Posts: 48
Joined: Tue, 11. Dec 07, 17:48

Post by GULIDRECK »

Hello Whimsy,

thx for your work and usefull tool!


Sorry if my english sometimes bad... (no one is perfect :oops:)

I will give you and small info about zlib1.dll.

please follow this LINK thx.

compare your zlib1.dll with that one and when possible refresh your ones with this one thx!

this should also all do, how use zlib1.dll in his programms also EGOSOFT.

to get the realy right version, coz sometimes the infile version or infile informations are wrong or not right!!, you should use an CRC32-Filecheck, to compare and find out did you have the realy right and true one...!

information for all USERS: did you have programms in use, there use a zlib1.dll (and i am sure, ALL USE THEM!), you should check the zlib1.dll's files on your windows system! the best way is to install the latest and true zlib1.dll from the LINK above, in the windows/systems32 folder... also check where you can find other zlib1.dll's in all your files & directorys, with the search command from windows and look did u can change them.

hope this was a little helpfull...


Regards
GULIDRECK


PS: for the Moderators, a STICKY with this information on all Forums-areas and all language-areas, will helpfully, all readers and users, to get this information and can do, what is to do... THX

Sure someone think, thats small bugs, BUT be warned, the problems/results how comes from them, is realy BIG & FAT and mostly, no one find the true realy problem-maker behind there...!!
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

Sorry, but I didn't get the reason, why I should use this zlib1.dll.

Could you maybe explain it further and point out the relevance to this tool?

Greets,
ScRaT
GULIDRECK
Posts: 48
Joined: Tue, 11. Dec 07, 17:48

Post by GULIDRECK »

Hi,

@ScRaT_GER

well i have installed this tool, after i saw, zlib1.dll v1.2.1.0 date 18.11.2003 was installed also into this directory!

i think, when it was installed with this tool, the tool use it also?!
if it so, then is the best, we use the best and buggy free one or?!

this version is extremly buggy...

to get more information about, you should follow my given above link.
for more information read and search all informations on the page or links on there.

the author of it, wrote it also self on his page.


Regards
GULIDRECK
omarza
Posts: 10
Joined: Thu, 20. Apr 06, 11:22
x3

Post by omarza »

ScRaT_GER wrote:Sorry, but I didn't get the reason, why I should use this zlib1.dll.

Could you maybe explain it further and point out the relevance to this tool?

Greets,
ScRaT
I might be mistaken here but zlib1.dll is basically a library file with function calls for decompressing the script files that are compressed. This means zlib1.dll shouldn't fix your problem you are having. However it is needed by Exscriptor to read the compressed data files (scripts).

Whimsy...thanks for Exscriptor...its a great script editor making life a lot easier for us.
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22438
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow »

zlib is the standard compression tool, its used to compress and uncompress most of the files, any pck files require it, as do any files inside the cat files.

the dll file is included in the game install itself, so its required for the game
draffutt
Posts: 4293
Joined: Wed, 21. Feb 07, 17:46
x4

Post by draffutt »

Hello Whimsy:

i have another little bug for yea. i messed up my 0001 file by accident in tc and this is what scriptor reported:

[ external image ]

even thou it was suppose to be reading the L044 file; as you can see it says it can not find the 440001 even thou i have it set for TC.
None of us is as smart as all of us. ~Ken Blanchard

TC player bug fixes
Reunion player bug fixes
User avatar
s9ilent
Posts: 2033
Joined: Wed, 29. Jun 05, 01:45
x4

Post by s9ilent »

Just another small idea from me

Code: Select all

   <RetVar/IF> <RefObj> -> get user input: type=<Script Reference Type>, title=<Var/String>

It would be nice to have the <script reference type> selectable from somewhere. As of right now we are having to type it out manually, and use the arguments list as a frame of reference (for the available ref. types)
Whimsy
Posts: 167
Joined: Mon, 9. Feb 04, 20:32
x3tc

Post by Whimsy »

GULIDRECK wrote:i think, when it was installed with this tool, the tool use it also?!
if it so, then is the best, we use the best and buggy free one or?!
I've updated the zlib DLL to the latest version now.
draffutt wrote:even thou it was suppose to be reading the L044 file; as you can see it says it can not find the 440001 even thou i have it set for TC.
Evidently I missed some of the filenames when updating everything to X3TC. :) This should be fixed now.
s9ilent wrote:It would be nice to have the <script reference type> selectable from somewhere.
Good idea. I've added this to the object list (Objects --> Script Reference Types).

As always, the new version can be found here.
GULIDRECK
Posts: 48
Joined: Tue, 11. Dec 07, 17:48

Post by GULIDRECK »

THX Whimsy :D

great work ! (i install later atm no time sorry)


Regards
GULIDRECK
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

I have a small question on an error the Exscriptor displays.

First the error message:

Code: Select all

Error while loading C:\Spiele\X3 Terran Conflict\t\8100-L049.xml - loading aborted. Der Index und die Länge müssen sich auf eine Position in der Zeichenfolge beziehen.
Parametername: length
The error log says the following:

Code: Select all

Error Log
---------

Exception occurred: Error while loading C:\Spiele\X3 Terran Conflict\t\8100-L049.xml
Message: Der Index und die Länge müssen sich auf eine Position in der Zeichenfolge beziehen.
Parametername: length
Stack Trace:    bei System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   bei System.String.Substring(Int32 startIndex, Int32 length)
   bei X3_Script_Editor.XData.loadLanguageFiles()
Source: mscorlib
Target: System.String InternalSubStringWithChecks(Int32, Int32, Boolean)

-------------------------------------------
The t-file #8100 is a quite long t-file containg many comments written like this:
\\ Comment here
Might that be the problem?
Ingame it's working correctly.

I hope you recognize the corresponding english texts and know what causes the problem.

Greets,
ScRaT
Whimsy
Posts: 167
Joined: Mon, 9. Feb 04, 20:32
x3tc

Post by Whimsy »

ScRaT_GER wrote:The t-file #8100 is a quite long t-file containg many comments written like this:
\\ Comment here
Might that be the problem?
Ingame it's working correctly.
Any chance you could upload the 8100 file somewhere? I can tell from the error message roughly what's going wrong but without the file, I can't find out the actual cause.
User avatar
Litcube
Posts: 4254
Joined: Fri, 20. Oct 06, 19:02
xr

Post by Litcube »

You know what would be neat? An option in the Tools menu bar that checks all the scripts in your script directory to see if the current script is being used at all, and if so, opens all those scripts. If not, it lets you know.

This would be useful, because sometimes we make a change in the parameters in a library script thta's being used in dozens or more scripts. We often have to go back, find all of them, and change all of those script references if we make a change to a single library.

What do you think?
Whimsy
Posts: 167
Joined: Mon, 9. Feb 04, 20:32
x3tc

Post by Whimsy »

Litcube wrote:You know what would be neat? An option in the Tools menu bar that checks all the scripts in your script directory to see if the current script is being used at all, and if so, opens all those scripts. If not, it lets you know.
That's a good idea - you're right, it could be quite useful. I'll give it a go and see what happens. :)
User avatar
Litcube
Posts: 4254
Joined: Fri, 20. Oct 06, 19:02
xr

Post by Litcube »

Hooraisins!
User avatar
ScRaT_GER
Posts: 1962
Joined: Tue, 8. Jan 08, 18:19
x3tc

Post by ScRaT_GER »

Hi Whimsy,

you got mail. ;)

Greets,
ScRaT
mpcribeiro
Posts: 187
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by mpcribeiro »

Hi,


Does it runs on XPPro 64?

I seem to have a little problem starting the app... this is the pop-up

Exscriptor.exe - Application Error

The application failed to initialize properly (0xc0000135). Click OK to terminate the application



Cheers
User avatar
Ponder
Posts: 1585
Joined: Wed, 19. Nov 08, 15:58
x3tc

Post by Ponder »

small question :)
If I modify the TShips did the Exscriptor notice that and add the new ships to Objects?

PS: sry for my bad english but I'm from germany
Whimsy
Posts: 167
Joined: Mon, 9. Feb 04, 20:32
x3tc

Post by Whimsy »

ScRaT_GER wrote:The t-file #8100 is a quite long t-file containg many comments written like this:
\\ Comment here
Might that be the problem?
Ingame it's working correctly.
I managed to investigate the problem and I've found the cause. Oddly it wasn't the comments (which is what I expected), though I am surprised that they work - normal XML comments are <!-- comments like this --> rather than C-style doubleslash comments. But X3, C#, and Internet Explorer all seem to deal with them. :?

Anyway, the problem turned out to be the sector IDs. The ID also contains the x/y coordinates of the sector in question, in the format 102yyxx (e.g. Kingdom End is 1020101), but the first two in your file had a different ID that Exscriptor couldn't recognise. I've improved the error handling for this now so that an invalid sector ID won't stop the whole file from loading.
Litcube wrote:You know what would be neat? An option in the Tools menu bar that checks all the scripts in your script directory to see if the current script is being used at all, and if so, opens all those scripts. If not, it lets you know.
You can revel in your hooraisins as the new version includes this function. It probably needs more testing and it's not very sophisticated, but basically there's now an option in Tools that says 'Find calling scripts'. It then scans through all the scripts (unfortunately this takes a while, during which you can't do anything else) and if it finds any that calls the currently opened script, then it prompts you to open them. Try it out and see what you think. :)
mpcribeiro wrote:Does it runs on XPPro 64?

I seem to have a little problem starting the app... this is the pop-up

Exscriptor.exe - Application Error

The application failed to initialize properly (0xc0000135). Click OK to terminate the application
It should run on XP 64, as far as I know. But normally that error occurs when you don't have .NET installed - do you definitely have the most up-to-date .NET Framework installed from Microsoft? If not, try that and see what happens. Otherwise, let me know and I'll investigate further.
Schaf123 wrote:small question Smile
If I modify the TShips did the Exscriptor notice that and add the new ships to Objects?
It should do, yes - Exscriptor reads the TShips file too, and as long as the entries there have corresponding entries in an XML file too (to give them a name), then they should show up. If not, then something may be wrong...

As per usual, the latest version is now available here.

Return to “X³: Reunion - Scripts and Modding”