[SCRIPT] Advanced Jumpdrive V1.50 : Updated 11/03/2007
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 95
- Joined: Thu, 18. Jan 07, 23:20
-
- Posts: 95
- Joined: Thu, 18. Jan 07, 23:20
It didn't work
I'm running the spanish version, those sectors are listed as "Sector enemigo" (Enemy sector). Pressing K doesn't highlight any sector, E too, and S cycles through Xenon Sectors and others, none of them Kha'ak. I jumped inside the first kha'ak sector, then used the universe map, and I could navigate to the west sectors using the keyboard, but I could not move the pointer back to the kha'ak sectors.

-
- Posts: 89
- Joined: Sun, 23. Apr 06, 16:48
i was reading the first few pages of this post and i read that the jumpdrive is hardcoded to use energy and that the script removes all the cargo to make room for energy cells for the jump. but im just curious as to what will happen if your ship simply doesn't have enough cargo space for the energy cells for the jump?
Got any space weed? if not i can hook you up.
-
- Posts: 911
- Joined: Sun, 17. Jul 05, 14:43
the answer to that is everything in the cargo bay dissappears, cyc ive found some kinda bug with energy cell generation, it replicates to fast and then everything dissappears including shields, ive lost a few of my hyperians due to this, lol going into battle with no shields is never a good idea, lol
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit
8GB DDR2
ATI HD4890
Windows 7 64bit
-
- Moderator (Script&Mod)
- Posts: 22438
- Joined: Sun, 14. Nov 04, 23:26
what should happen, is that it wont allow you to jump if it cant fit enough energy into your cargo bay.nailz45 wrote:i was reading the first few pages of this post and i read that the jumpdrive is hardcoded to use energy and that the script removes all the cargo to make room for energy cells for the jump. but im just curious as to what will happen if your ship simply doesn't have enough cargo space for the energy cells for the jump?
i've never had a problem with the wares not being returned
-
- Posts: 911
- Joined: Sun, 17. Jul 05, 14:43
the wares will return if i empty the cargobay of energy cells and eject the installed wares, ive tested the bug to see which ware it seems attached to, so far it looks like the actual advanced jumpdrive, ill try it without the addon to see if the problem stops
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit
8GB DDR2
ATI HD4890
Windows 7 64bit
-
- Posts: 15
- Joined: Tue, 2. Jan 07, 00:02
I've been using jumpdrive generator for a while; now have enough for advanced jumpdrive and targeting scanners
bought them through trading extension (m6)
had him free energy jump to my sector
transfered it to my m7
tried to jump to position from command menu (selected station to jump to) but get a proximity warning and no jump
how do i use the position command?
bought them through trading extension (m6)
had him free energy jump to my sector
transfered it to my m7
tried to jump to position from command menu (selected station to jump to) but get a proximity warning and no jump
how do i use the position command?
-
- Moderator (Script&Mod)
- Posts: 22438
- Joined: Sun, 14. Nov 04, 23:26
-
- Posts: 279
- Joined: Wed, 6. Nov 02, 20:31
Autom.Jump deletes ship inventory
Hi Cycrow,
in an earlier post from reinhart_menken (page 18, bottom):
I can confirm it. Its weird.
- I have it turned on and set 'Fly to...' - it works fine - I also (set some debug log comments) to see the destination ($target) as a sectorname.
- I set a command 'Follow... <a ship>' and it tries to jump. You can see shields decreasing, then several parts of the inventory were cleaned. The Advanced Jumpdrive included. In the debug comments I got a $target 0,0,0,null.
In both cases, it was tested with M6 (Nemesis, Centauer) and a M7, all ships carried nearly every possible original EGO upgrade and around 80% of goods inside. No other MODs active, Bonus 3.1.05 and X3plus packet.
I think its a problem inside the plugin.advjump.autojump script. Here you catch the actual command for this ship. In case its a fixed position, eg. sector, station it seems working without errors. If set to a moving ship it creates this null values.
Hm,
You go into this script part in case $target is null. Well, but then how to get the destination sector? Line 067 seems to make no sense to me, while as said, the $target itself is empty. So, in this case the upcoming jump in 'plugin.advjump.jump' goes to null.
And here, you start later to remove the inventory.
In the moment I'm trying to get these 'null' values out of the plugin.advjump.autojump script. Trying to check before jumping, if 0,0,0,null then abord jump.
in an earlier post from reinhart_menken (page 18, bottom):
Cycrow wrote:sounds like the auto command was attempting to jump each time but it failed.
which is strange as it shouldn't try to jump if its in the same sector, is it 100% repeatable ?
I can confirm it. Its weird.
- I have it turned on and set 'Fly to...' - it works fine - I also (set some debug log comments) to see the destination ($target) as a sectorname.
- I set a command 'Follow... <a ship>' and it tries to jump. You can see shields decreasing, then several parts of the inventory were cleaned. The Advanced Jumpdrive included. In the debug comments I got a $target 0,0,0,null.
In both cases, it was tested with M6 (Nemesis, Centauer) and a M7, all ships carried nearly every possible original EGO upgrade and around 80% of goods inside. No other MODs active, Bonus 3.1.05 and X3plus packet.
I think its a problem inside the plugin.advjump.autojump script. Here you catch the actual command for this ship. In case its a fixed position, eg. sector, station it seems working without errors. If set to a moving ship it creates this null values.
Hm,
Code: Select all
062 resize array $target.pos to 0
063 append 0 to array $target.pos
064 append 0 to array $target.pos
065 append 0 to array $target.pos
066 append $target to array $target.pos
067 $target.sector = $target
And here, you start later to remove the inventory.
In the moment I'm trying to get these 'null' values out of the plugin.advjump.autojump script. Trying to check before jumping, if 0,0,0,null then abord jump.
-
- Moderator (Script&Mod)
- Posts: 22438
- Joined: Sun, 14. Nov 04, 23:26
-
- Posts: 279
- Joined: Wed, 6. Nov 02, 20:31
Hi Cycrow,
so, more info after debug:
- I startet the Auto Jump new, clean log. The ship, startet before, is running in 'Defend...<another ship>'. It was following the leader (a Raptor carrier) without anything - no combat or else.
The Autojump was going through the lines and presented me with the complete coordinates of the leader. It went through the checks and when it came to the if $target -> is of class Moveable Ship it failed. It went into:
And here after this code - i got the problem 0,0,0,null as $target.pos and as sector 'null'. After this, well - there goes my inventory...
Well, hope it will help. For me now - well g8
-------------------
2nd comment:
I also installed your Trading Distribution Network scripts. Here I have the same error. But the difference is now, that it happens also when only the Adv.JD is installed. I didn't set the Autojump feature. Inventory was gone after the installment and starting of the TDN.
so, more info after debug:
- I startet the Auto Jump new, clean log. The ship, startet before, is running in 'Defend...<another ship>'. It was following the leader (a Raptor carrier) without anything - no combat or else.
The Autojump was going through the lines and presented me with the complete coordinates of the leader. It went through the checks and when it came to the if $target -> is of class Moveable Ship it failed. It went into:
Code: Select all
055 write to player logbook 'Target it NOT a ship!'
056 $target.sector = $target -> get sector
057 $target.pos = $target -> get position as array
058 append $target.sector to array $target.pos
059 write to player logbook $target.pos
Well, hope it will help. For me now - well g8

-------------------
2nd comment:
I also installed your Trading Distribution Network scripts. Here I have the same error. But the difference is now, that it happens also when only the Adv.JD is installed. I didn't set the Autojump feature. Inventory was gone after the installment and starting of the TDN.
-
- Posts: 229
- Joined: Sat, 27. Jan 07, 05:23
-
- Posts: 279
- Joined: Wed, 6. Nov 02, 20:31
wg.: Missing/gone upgrades
Hello Reinhard,
I used 'Follow... <ship>', 'Protect...' - there it was.
Here my changes (in: plugin.advjump.autojump):
This only sets an condition to avoid the NULL as target. In this case my inventory is still there.
Also, found a second problem:
I use Adv.JD for my FSUP. Set 'Auto use' to on. It works. But my ship is always jumping 2 times. First to the nearest gate, then to the middle of the sector. Its anoying, still works for me now.
And third: A, well, using ACC (Anarkis carrier cmds.) and Adv.JD with Auto Jump on - and now the carrier jumps, and my not landed ships... They're still in the old sector, desperate trying to fly to xenon sectors to follow the carrier
But here, I think I get a solution by implementing a 'eg.: all ships landed' function into the '!move.jump.xml' from the Plugin.
regards[/code]
I used 'Follow... <ship>', 'Protect...' - there it was.
Here my changes (in: plugin.advjump.autojump):
Code: Select all
...
060 $target.sector = $target
061 end
062
063 * We check again, if a target sector is given
064 if $target == null OR $target.pos == null OR $target.sector == null
065 *write to player logbook 'Adv. Jumpdrive: No target sector set, abording script!'
066 else
067 $Ship.name = [THIS] -> get name
068 $this.sector = [THIS] -> get sector
069 if $target.sector != $this.sector
070 *write to player logbook: printf: fmt='Adv.Jumpdrive: Automatic Jump startet from Ship '%s' to sector '%s'.', $Ship.name, $target.sector, null, null, null
...
Also, found a second problem:
I use Adv.JD for my FSUP. Set 'Auto use' to on. It works. But my ship is always jumping 2 times. First to the nearest gate, then to the middle of the sector. Its anoying, still works for me now.
And third: A, well, using ACC (Anarkis carrier cmds.) and Adv.JD with Auto Jump on - and now the carrier jumps, and my not landed ships... They're still in the old sector, desperate trying to fly to xenon sectors to follow the carrier

But here, I think I get a solution by implementing a 'eg.: all ships landed' function into the '!move.jump.xml' from the Plugin.
regards[/code]
-
- Posts: 39
- Joined: Sun, 18. Jul 04, 21:11
-
- Posts: 697
- Joined: Sat, 21. Oct 06, 08:09
-
- Posts: 697
- Joined: Sat, 21. Oct 06, 08:09