AL Plugin : Treasurehunt Redux 1.1 20.3.07

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

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

Rate This Script

5/5
34
65%
4/5
11
21%
3/5
1
2%
2/5
2
4%
1/5
4
8%
 
Total votes: 52

WetWarev7
Posts: 528
Joined: Mon, 10. Nov 03, 19:11
x3tc

Post by WetWarev7 »

Have you thought about attaching this to the BBS? I've allways thought that you should be able to do something with some of those messages.

I know you'd have to write a whole bunch of different messages, but it would be cool to see messages about ships being lost/captured and being able to track them down to claim(or get attacked by) them...
My X2 mods:
Pirate Scanner(X2)
Have Scanner-Will Travel(X2)
WetWare's Ship Tweaks(X2)
999-JAY-999
Posts: 622
Joined: Mon, 7. Apr 03, 16:29
x3tc

Post by 999-JAY-999 »

Interesting thought there WetWarev7.

Tie in and make this 'treasure' some sort of Bulletin Board mission of discovery.

Even go as far as conjuring up elaborate explanations of a famous battle or first contact that has left a ship stranded.. Find the ship, rescue the pilot etc.
System Spec :-

AMD Athlon(tm) 64 Duel 6000+ (3.01GHz)
Windows XP Home Ed. SP 3
ATI Radeon HD 4850 (512)
Creative X-FI Soundard
2.00 GB of RAM
G9 RAZOR Mouse
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

BBS stuff later maybe i'm too busy fixing and writing new stuff atm :)

Can any of you running thunt let me know if plugin.treasurehunt.ships is constantly running in your global scripts menu before i posts updats to my scripts

ta :)
999-JAY-999
Posts: 622
Joined: Mon, 7. Apr 03, 16:29
x3tc

Post by 999-JAY-999 »

Such a traumatic decision... expand current scripts or write more????.... I am giddy just thinking about it ! :)

Your question about script constantly running?.. If you mean is it always set to YES in the AL script menu then yes, mine is always on ... if you mean something else then I will have to hand it over to someone else as I can not check right now.
System Spec :-

AMD Athlon(tm) 64 Duel 6000+ (3.01GHz)
Windows XP Home Ed. SP 3
ATI Radeon HD 4850 (512)
Creative X-FI Soundard
2.00 GB of RAM
G9 RAZOR Mouse
User avatar
Goffik
Posts: 205
Joined: Wed, 17. Mar 04, 20:56
x4

Post by Goffik »

I get a "Page not found" error when clicking the link to download.
nefas
Posts: 150
Joined: Thu, 1. Jan 04, 11:50
x4

Post by nefas »

Same as Goffik.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

CTRL +F5 the first page of this thread and the link will work.


[ external image ]

This is the Globals Scripts menu

[ external image ]

You will see the script running in here if it's locked




Updated

tweaks nothing too special other than enabling Escort to tap into the plugin

:)

please dl from first post link
Last edited by LV on Wed, 7. Dec 05, 18:24, edited 1 time in total.
DemaeRamen
Posts: 414
Joined: Sat, 6. Mar 04, 09:32
x3

Post by DemaeRamen »

Do the treasures disappear over time?

I'd been filling a notebook with sectors to check. Finally got round to it and I find nothing in any of them.

Maybe I just looked sloppily but the notes were a few days old.
Always welcome! Cheap and filling!
User avatar
NumNuts
Posts: 166
Joined: Tue, 20. Jul 04, 16:43
x3tc

Post by NumNuts »

I'm also having difficulty finding anything in sectors that pirates have given me......
Are the ships within the gate confines of the system?
Do they only appear if you get close enough to a coordinate?

Just accepted a pirates plea for life and he told me to go to PTNI HQ, I went there immediately and found no unpiloted ships.... :(

What am I missing???? Any ideas/help??
Thanks.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

from other threads it appears that ships with no command a killed by the game over time, this may be the issue, i'll take a look later :)
Mule
Posts: 24
Joined: Sat, 10. Jan 04, 03:00
x3tc

Post by Mule »

LV,
As to your earlier question...
I do have the script running in my global menu. Is this bad?
The only thing that stays the same, is the constant state of change!
Intel Dual Core 2.66ghz
Win Vista
4 GB RAM
Radeon 4870
160 GB SATA HDD
600w PSU
Saitek Cyberforce evo
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

no

delete it in that menu

then comment out in that script via the script editor (lines 4+5 below) run the script once using 'r' comment them back in then re-init script caches about 2 mins seta later.

it should then appear periodically in that menu and switch off again. :)


Code: Select all

003   $runonce = get global variable: name='lv.scrun'
004   skip if $runonce == $anull
005    return $anull
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
User avatar
NumNuts
Posts: 166
Joined: Tue, 20. Jul 04, 16:43
x3tc

Post by NumNuts »

LV, My Global Script Tasks lists it as:
plugin.treasurehunt.ships : null

Should I do what you mentioned earlier?? ie.
"delete it in that menu,
then comment out in that script via the script editor (lines 4+5 below),
run the script once using 'r',
comment them back in then re-init script caches about 2 mins seta later.

004 skip if $runonce == $anull
005 return $anull
"
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

yes
999-JAY-999
Posts: 622
Joined: Mon, 7. Apr 03, 16:29
x3tc

Post by 999-JAY-999 »

I did this procedure (Script editor, comment out certain lines) about 5 times for the escort script before it kicked back into action.... and at last ....its working... reading here do I need to do the same for this one ????....

Very strange that there seems to be a time delay where certain scripts suddenly STOP..... can you LV add something into a script or provide a script that can reset and reinitialise automatically all scripts that are being used (or even display on screen in simple terms whats actually running at a touch of a button) as its becoming a brain bender as a player. Instead of playing the game I am wondering all the time are the scripts in the game actually working ..?

Like many here I am sure, I am very new to the script engine and its editor(no time, barely enough to actually play the game)...all I see are many many many entries of scripts describing this that and the other.. :?

I personally like to simply plug in a script and not have to worry again about it.

Without actually becoming a scripter in our own right its not easy to know what to do with these little marvels of programming.

Which is why I look to you about this issue ... :wink:
System Spec :-

AMD Athlon(tm) 64 Duel 6000+ (3.01GHz)
Windows XP Home Ed. SP 3
ATI Radeon HD 4850 (512)
Creative X-FI Soundard
2.00 GB of RAM
G9 RAZOR Mouse
User avatar
NumNuts
Posts: 166
Joined: Tue, 20. Jul 04, 16:43
x3tc

Post by NumNuts »

Hi LV,
Doing the above procedure didnt cure the script appearing in Global permanently for me, however deleting it again from Global then turning TH off and on again in AL settings has stopped it from appearing in Global. I ran seta (x6) for 15 mins and didnt see treasurehunt.ships appear once, many others including TH.addboxes and escort.me but no TH.ships.
Is this a good thing? Should it only launch when a Pirate gives info on a ship?
Sorry to ask so many questions, I have no idea whats going on but trying to provide as much info as possible.
Thanks.
User avatar
DeltaWolf
Posts: 597
Joined: Tue, 6. Jul 04, 08:48
x4

Post by DeltaWolf »

I see you are using text file "5676" and not "8802" as specified here:
http://forum.egosoft.com/viewtopic.php? ... 31#1188531

I know it's not a problem at the moment, but as Burianek said:
Text file names between 7000 - 8999 are reserved for unsigned scripts in X3. Please use numbers in this range.
(example: use 447002.xml, 448246.xml, etc. NOT 440050.xml)
you might consider changing it.

Also in the "setup.lv.thunt" file you are using the following code:

Code: Select all

 al engine: register script='!a.plugin.treasurehunt.ships'
015   al engine: set plugin '!a.plugin.treasurehunt.ships' timer interval to 900 s
016   
017 @ = wait randomly from 100 to 200 ms
018   al engine: register script='!a.plugin.treasurehunt.addboxes'
019   al engine: set plugin '!a.plugin.treasurehunt.addboxes' timer interval to 900 s
the files" !a.plugin.treasurehunt.addboxes" and "!a.plugin.treaurehunt.ship" does not exist.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

LV lines up and hands each person a large fish to beat him with.


I'll fix all this laters, thanks for the spots guys, I have toooo many scripts to deal with \o/
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

Script has now been updated to 1.2 (first post ;) )

Changes

all ! references removed from setup file (you can delete setup.thunt from your scripts folder) , tfile is now 8802 and not 5676 which you may delete if you already have thunt installed.

Cheers :)

I have also aded a link to the first post of all my plugins which will disable any global mission blocks *for peeps who were not being offered escort/dma/ect/ect missions ;)
Last edited by LV on Fri, 9. Dec 05, 14:04, edited 1 time in total.
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
User avatar
NumNuts
Posts: 166
Joined: Tue, 20. Jul 04, 16:43
x3tc

Post by NumNuts »

Thanks LV.
Now gotta go find some pirates. :twisted:

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