[SCRIPT] Anarkis Defense System - v2.65.1 - [2010-08-13]

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

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

ogamerdg
Posts: 404
Joined: Sat, 19. Sep 09, 01:05
x3tc

Post by ogamerdg »

I do but I'm not sure which ones use it cause their are a few I'm using the following:

X3TC Cheat Package
Global Friend Foe Upgrade
Khaak Invasions
NPC Bailing Addon
Race Invasions
Reduced Enemy Missiles
Ring of Fire
AI Ship kills payout Bountyboost
Missile Safety
Anarkis Defense System
Custom Wing Manager
Wing Attack Commands "Attack Fighters" and "Attack Capships
Hotkey Manager
Launch Fighter Drone Hotkey
Display Ranks
Universe Explorers
Ship Hijacker
Player Workshops
The Traveling Mechanic
X3-Unleashed
Add Orbital Weapons Platforms to Argon Prime Shipyard

So how do I fix it?
You can't have SLAUGHTER without LAUGHTER!!!
HotSake
Posts: 472
Joined: Sun, 3. Jan 10, 22:15
x3tc

Post by HotSake »

Well, I don't even use ADS, but it certainly seems to color ship names if the screenshots in the first post are any guess. Anyway, there's a simple code change to strip out colors from text, created by h2o.Ava. The bug will be fixed in the TC 3.1 patch, but until then, you can have a crack at patching ADS with this code change: http://forum.egosoft.com/viewtopic.php?p=3482282

Or you can beg someone else to do it for you. Or just wait for the game patch.
ogamerdg
Posts: 404
Joined: Sat, 19. Sep 09, 01:05
x3tc

Post by ogamerdg »

ok well when is the 3.1 patch being released cause i have no experience with scripting? And if i reinstall ADS could that do it?
You can't have SLAUGHTER without LAUGHTER!!!
HotSake
Posts: 472
Joined: Sun, 3. Jan 10, 22:15
x3tc

Post by HotSake »

ogamerdg wrote:ok well when is the 3.1 patch being released cause i have no experience with scripting? And if i reinstall ADS could that do it?
I haven't looked at the ADS code, but probably not. I suspect it's not stripping the color codes out of names in messages, so reinstalling won't change anything.
ninja_zombie_jesus
Posts: 11
Joined: Thu, 21. Jul 11, 08:35
x4

Post by ninja_zombie_jesus »

Copy pasted from the thread I started here:

http://forum.egosoft.com/viewtopic.php? ... 05#3642705
I figured this would be a common issue, as the AI is notorioius for its douchebaggery, but couldn't manage to find the relevant info through a search or extra search. Meh, maybe my internet skillz need polishing.

Anyway, first a bit of info.

x3tc with bonus pack installed.

MARS, CODEA, and ADS installed.

So here's the problem. When I'm flying my Griffon and I send my fighters, then try to get them to dock I run into problems that seem like they must be related to collision detection issues but I'm not so sure.

Basically they all line up to dock, but instead of actually docking they just keep flying through then circle back around. Rinse and repeat until they all explode, as sometimes on these flybys they run into my ship and bounce around until they're spacedust. I've used ADS to launch them and ADS to get them to dock. I've used standard vanilla menu to launch and to dock, all with the same result.

OOS there are no issues.

I'm also wondering if it could be a conflict with scripts and the game or something similar. It almost seems like they have a set of conflicting orders stuck in a loop. Has anyone encountered this?

Weirdest part about it is when I first got my Griffon and purchased my ships, they all docked fine without issues while I was the pilot. It just started happening at a random point that I can't quite remember.

Thanks for the help!

-n
It was recommended to me on the thread that I post the issue here.

-n
User avatar
Drewgamer
Posts: 536
Joined: Fri, 27. Aug 10, 08:39
x4

Post by Drewgamer »

Not sure what the issue is, or how to fix it, but you might want to check out this mod. It's not really a fix, but it's a nice work-around.
Check out my mod Crystal Rarities
garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 »

has antone else been having problems with the defense grid, my assigned ships are leaving my sectors and jumping into random enemy sector and i have no clue why...
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit
Scoob
Posts: 11180
Joined: Thu, 27. Feb 03, 22:28
x4

Post by Scoob »

Hi,

Hoping for some help from those who have more experience with this script...

I'm using ADS on an Ozias in the XRM mod. This TL can dock 12 TS/TP class ships so I thought I'd dump all my loot in it and use ADS sellers.

I had a load of Microchips on board so set one of my docked (and added to the hanger) TS ships to sell it. I issue the command, all Microchips are loaded (large cargo bay on TS) and off it goes to sell the first 20 to a near by Trading station. TS returns, refuels, then just sits there.

It appears that if I issue any buy or sell command it only executes once, even if there are still products to sell or I've not yet reached my quota on a buy order. Any ideas or is this just how it is?

I'd hoped I could automate the selling of various low-volume wares I'd gotten a large stock of...

Shame SK seems to have moved on, quite an under rated script this.

Cheers,

Scoob.
valerria
Posts: 30
Joined: Sun, 18. Sep 11, 02:07
x4

Post by valerria »

Does anyone know how to actually get marines to train ADS stations? Doesn't seem to be anyway to move them into the station.
Encaintya
Posts: 5
Joined: Sun, 23. May 10, 06:59

Carrier Detection

Post by Encaintya »

Has anyone had any issues with ADS failing to detect a carrier in the Manager menu?

I have a Galleon, and I can get to the ADS commands through the General section in its command interface, but it's not showing up in the carrier management console.
flight104
Posts: 18
Joined: Fri, 15. Oct 04, 07:01
x3tc

Post by flight104 »

@Encaintya, I had that same problem on a ship that did not have carrier command software.

I do have a problem with my 2 odin's. I keep having to reinstall shields on my fighters and somehow the shields keep getting stripped from them. I'm not sure what is going on here.
Encaintya
Posts: 5
Joined: Sun, 23. May 10, 06:59

Post by Encaintya »

It seems to miss carriers that come with the Carrier Command Software pre-installed. I bought a TL and equipped it with CCS and it showed up fine.
User avatar
Lugburz
Posts: 7
Joined: Tue, 11. May 10, 13:08
x4

Post by Lugburz »

I also noticed the issue about ships with Carrier Command Software as a Built-in component. The ship is not shown in the ADS menu and hotkeys are not working either.

Here comes the solution after looking at the script files, you need to replace 2 commands from 2 files :

anarkis.acc.is.compatible ( this one called for hotkeys and probably other things :) )

Code: Select all

skip if $select->get true amount of ware {Carrier Command Software} in cargo bay
  return [FALSE]
replaced by

Code: Select all

skip if $select->get amount of ware {Carrier Command Software} in cargo bay
  return [FALSE]
anarkis.acc.get.acc.carriers ( called for the ADS menu )

Code: Select all

  if not $select->get true amount of ware {Carrier Command Software} in cargo bay
    remove element from array $array at index $cnt
    continue
  end
replaced by

Code: Select all

  if not $select->get amount of ware {Carrier Command Software} in cargo bay
    remove element from array $array at index $cnt
    continue
  end
so, simply remove the word "true" from original commands.

for a little explanation if you are interested :
get true amout of ware is only checking in manually installed components and wares in cargo bay.
get amount of ware is checking at both installed and built-in components.

I also took a look about the sell ware command, it appears that it is only written to find a station (best sell), selling the maximum amount of ware the station can buy then the ship returns home and that's all ( need something like a loop that doesn't stop until the amount of selected wares are sold :) )
Kucikac
Posts: 18
Joined: Thu, 23. Mar 06, 07:46
x4

x3tc bonus package + ads installed

Post by Kucikac »

Okay guys, i know that it is some time anyone posted here.. but there still might be ppl with same problem as i had.

i made normal install with patches to 3.1 and then istaled bonus package 4...
I installed ADS manually one from this site... it was working for some time but with laggs like lost e-cells from hangar after ADS called ships in to defend, then send defense or attack wing did worked at all....

what i did was to uninstall crappy bonus package and lived happy ever since...
Khaak_Slayer
Posts: 403
Joined: Sun, 18. Apr 04, 17:04
x4

Post by Khaak_Slayer »

For some reason whenever I have this installed, my game just locks up a couple of seconds after load. It's the same spot it always locks up in if there's something amiss with my current mod arrangement. I have quite a number of mods so there's no way to be sure if there's a conflict with a specific one, but I was wondering if anyone had a vague idea of what might cause a crash with it active.
Rawr.
User avatar
jocan2003
Posts: 629
Joined: Tue, 6. Mar 07, 17:48
x4

Post by jocan2003 »

well if you do have a lot of script install each time you start or load a game the game attempt to load everything at start its normal for lock up for a few second, if you get random lockup after a while there is something hitting, but at astart its normal, once each time i was loading i had to wait a good minute for the game to unlock then i was fine for the rest of playtrought.
Khaak_Slayer
Posts: 403
Joined: Sun, 18. Apr 04, 17:04
x4

Post by Khaak_Slayer »

Ah yeah it always pauses for at least a few seconds at the same spot after load, but I mean it locks up indefinitely.
Rawr.
User avatar
jocan2003
Posts: 629
Joined: Tue, 6. Mar 07, 17:48
x4

Post by jocan2003 »

Oh if its non-stop then there is an issue i tought a lock up for a few second, but indefinitly one of th script is broken maybe a missing file?
garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 »

does anyone else have a problem where the sector defense on a station doesn't fully work, one example would be the don't change into the combat names like on carriers...
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit
Khaak_Slayer
Posts: 403
Joined: Sun, 18. Apr 04, 17:04
x4

Post by Khaak_Slayer »

My god I need this so badly :< whyyy won't you work!
Rawr.

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