AL Plugin : Treasurehunt Redux 1.1 20.3.07
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 528
- Joined: Mon, 10. Nov 03, 19:11
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...
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)
Pirate Scanner(X2)
Have Scanner-Will Travel(X2)
WetWare's Ship Tweaks(X2)
-
- Posts: 622
- Joined: Mon, 7. Apr 03, 16:29
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.
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
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
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
-
- Posts: 622
- Joined: Mon, 7. Apr 03, 16:29
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.

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
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
-
- Posts: 205
- Joined: Wed, 17. Mar 04, 20:56
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
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
[ 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.
-
- Posts: 414
- Joined: Sat, 6. Mar 04, 09:32
-
- Posts: 166
- Joined: Tue, 20. Jul 04, 16:43
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.
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.
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
-
- Posts: 24
- Joined: Sat, 10. Jan 04, 03:00
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
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.
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
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
-
- Posts: 166
- Joined: Tue, 20. Jul 04, 16:43
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
"
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
"
-
- Posts: 622
- Joined: Mon, 7. Apr 03, 16:29
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 ...
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 ...

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
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
-
- Posts: 166
- Joined: Tue, 20. Jul 04, 16:43
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.
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.
-
- Posts: 597
- Joined: Tue, 6. Jul 04, 08:48
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:
Also in the "setup.lv.thunt" file you are using the following code:
the files" !a.plugin.treasurehunt.addboxes" and "!a.plugin.treaurehunt.ship" does not exist.
http://forum.egosoft.com/viewtopic.php? ... 31#1188531
I know it's not a problem at the moment, but as Burianek said:
you might consider changing it.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)
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
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
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/
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
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
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
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

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
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