
I'm sure ADS will be ready when you are so no rush.
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
*sigh* I know I know. I am aware of most of the bugs you mention. I began destroying them a while ago, but then some other project seemed much more interresting to me - and I got tired with ADS. Not because it does not interest me but because it's so damn complicated and has quite a number of scripts.Binesi wrote:Such a waste to add all these new fixes and features but then don't upload a working version. Your last version has left over testing code for Khaak invasions and multiple little bugs. Defending wing leaders continually dock and undock. There is often spam about wings being destroyed that don't even exist. Sending a dock all command to defending fighters causes a hard lockup. Did you ever get this stable enough for play?
Edit: Also I found anarkis.acc.cmd.attack.return is being called by anarkis.acc.task.autocarrier but the file is missing from the download.
Right you are, I changed the way the dock all hotkey works. As well as the fight scripts. I did not have a look at your version, but I don't think they will get along with each other....I might be wrong, though, as said, I did not test yours yet.anachron13 wrote:I'm a little bit late to the party, but for anyone still wondering, ANCC Scramble is not compatible with this version of ADS.
I'm working on a new version of my script but i'm not sure i will be able to ensure compatibility as the dock all hotkey as quite radically changed and making sure it work with both version of ADS could be quite complicated.
Edit : I may have found a solution.
Hm, it should be working...at least it does on my pc. Could there be some incompatibility with one of these scripts: Original ADS, your ADS, Extended Communication System, PG3 and Yaki Armada 2? All sripts from Serial Kicked use to a certain extent the same files. So there could be an issue.anachron13 wrote:@Nicoman35 : I can't get the send defensive wing command to work in your version of ADS. The ships just stay docked even if the target is attacked or far away from the carrier. The Dock All hotkey doesn't seems to stop whatever they are currently running neither.
OK, I'll have a look how this could be fixed for games already running. Good you pointed that out.anachron13 wrote:I have found a problem which could be related. You have used a new version number (107) which is inferior to the version number of the original ADS scripts (265). So the new hotkeys are not registered and i guess that some things could be missing from the default configuration array.
Code: Select all
$PageID = 8510
load text: id=$PageID
set script command upgrade: command=[ANARKIS_DOCKALL] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_DOCKALL], class=[M1], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[M7], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[TL], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[TM], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
global script map: set: key=[ANARKIS_DOCKALL], class=[M2], race=[Player], script='anarkis.acc.cmd.dock.all.pl', prio=0
set script command upgrade: command=[ANARKIS_BUYWARES] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_BUYWARES], class=[M1], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[M7], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[TL], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[TM], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
global script map: set: key=[ANARKIS_BUYWARES], class=[M2], race=[Player], script='anarkis.acc.cmd.buywares.pl', prio=0
set script command upgrade: command=[ANARKIS_SELLWARES] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_SELLWARES], class=[M1], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[M7], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[TL], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[TM], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
global script map: set: key=[ANARKIS_SELLWARES], class=[M2], race=[Player], script='anarkis.acc.cmd.sellwares.pl', prio=0
set script command upgrade: command=[ANARKIS_STATIONDEFENSE] upgrade=[TRUE]
global script map: set: key=[ANARKIS_STATIONDEFENSE], class=[Dock], race=[Player], script='anarkis.acc.cmd.call.autostation', prio=0
set script command upgrade: command=[ANARKIS_SETUPSTATION] upgrade=[TRUE]
global script map: set: key=[ANARKIS_SETUPSTATION], class=[Dock], race=[Player], script='anarkis.acc.setup', prio=0
set script command upgrade: command=[ANARKIS_AUTOCARRIER] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[M1], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[M7], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[TL], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[TM], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
global script map: set: key=[ANARKIS_AUTOCARRIER], class=[M2], race=[Player], script='anarkis.acc.cmd.call.autocarrier', prio=0
set script command upgrade: command=[ANARKIS_SETTACTICS] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_SETTACTICS], class=[M1], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[M7], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[TL], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[TM], race=[Player], script='anarkis.acc.setup', prio=0
global script map: set: key=[ANARKIS_SETTACTICS], class=[M2], race=[Player], script='anarkis.acc.setup', prio=0
set script command upgrade: command=[ANARKIS_ATTACKWING] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_ATTACKWING], class=[M1], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[M7], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[TL], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[TM], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
global script map: set: key=[ANARKIS_ATTACKWING], class=[M2], race=[Player], script='anarkis.ads.wing.attack.pl', prio=0
set script command upgrade: command=[ANARKIS_DEFENSIVEWING] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[M1], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[M7], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[TL], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[TM], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
global script map: set: key=[ANARKIS_DEFENSIVEWING], class=[M2], race=[Player], script='anarkis.ads.wing.defense.pl', prio=0
set script command upgrade: command=[ANARKIS_CLEANSECTOR] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[M1], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[M7], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[TL], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[TM], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
global script map: set: key=[ANARKIS_CLEANSECTOR], class=[M2], race=[Player], script='anarkis.acc.wing.clearsector.pl', prio=0
set script command upgrade: command=[ANARKIS_DEFENDCARRIER] upgrade={Carrier Command Software}
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[M1], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[M7], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[TL], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[TM], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
global script map: set: key=[ANARKIS_DEFENDCARRIER], class=[M2], race=[Player], script='anarkis.acc.wing.defendcarrier.pl', prio=0
$ver = read text: page=$PageID id=101
$ver = string $ver to integer
$c.ver = get global variable: name='anarkis.rwe.ads.plugin'
$old.ads.ver = get global variable: name='anarkis.acc.plugin'
set global variable: name='anarkis.ads.manager.open' value=null
* New install, add hotkeys
if $c.ver == null AND $old.ads.ver == null
= [THIS]-> call script 'anarkis.acc.hotkey.install' : page.id=$PageID
$gl.setup = [THIS]-> call script 'anarkis.ads.setup.init' : page.id=$PageID
$msg = sprintf: pageid=$PageID textid=103, $ver, null, null, null, null
send incoming message $msg to player: display it=[TRUE]
START [THIS]-> call script 'anarkis.acc.ecs.register' :
= null-> call script 'anarkis.lib.get.wingnames' :
* Upgrade Needed
else if $ver > $c.ver OR $old.ads.ver
set global variable: name='anarkis.acc.plugin' value=null
$update = [TRUE]
= [THIS]-> call script 'anarkis.acc.hotkey.uninstall' :
= [THIS]-> call script 'anarkis.acc.ecs.remove' :
$gl.setup = [THIS]-> call script 'anarkis.ads.setup.init' : page.id=$PageID
= [THIS]-> call script 'anarkis.acc.upgrade.disable' :
= [THIS]-> call script 'anarkis.acc.upgrade.enable' :
= [THIS]-> call script 'anarkis.acc.ecs.register' :
= [THIS]-> call script 'anarkis.acc.hotkey.install' : page.id=$PageID
$msg = sprintf: pageid=$PageID textid=104, $ver, null, null, null, null
null-> send incoming message: text=$msg temporary=[FALSE]
end
set global variable: name='anarkis.rwe.ads.plugin' value=$ver
return null
The tactical settings sould be found when you open the setup menu, hangars, setup docked ships. It is not related to any hotkey. You do not see that secton at all??anachron13 wrote:Edit : modifying the ver number does trigger the setup correctly but it doen't refresh the hotkey or the default settings. I haven't found the 'tactical settings' in the ADS menu, so i guess it return null when the defense script ask for the needed values.
YEAHanachron13 wrote:My bad, i wasn't looking at the right place for the new menu part. Everything was indeed present but set to null before you new install script.
It is working fine with your updated setup script, and it actually work perfectly with the defend command from ANCC Scramble now which is nice