Release EDDI Scripts and EDDI enabled VA Commands Thread

That would be one way to do it! lol

And you can wait no longer, as it's now available in my sig below! :D

It would have been sooner, but home-made Toffee Apple & Cinnamon Cookies happened. :p



I see the COLOUR ... ( the sig ) ..:)

With Voice attack, some of those commands which your SIG uses, has been modified by me for my VA,
is there anyway to append your VA vaps to mine instead of overwriting.

EXAMPLE

My (EDDI JUMP)) is very different from yours , so just added your inclusion "Execute command, 'Update Fines and Bounties"
to the end of my work for that Command
Set small int (condition) [jump-drive] value to 0
Set small int (condition) [supercruise] value to 1
Set small int (condition) [power-fsd] value to 1
Set small int (condition) [flight] value to 1
Set decimal [XAxis] value to the converted value of {DEC:EDDI jumped x} (round to 3 decimal places)
Set decimal [YAxis] value to the converted value of {DEC:EDDI jumped y} (round to 3 decimal places)
Set decimal [ZAxis] value to the converted value of {DEC:EDDI jumped z} (round to 3 decimal places)
Set decimal [FuelLevel] value to the converted value of {DEC:EDDI jumped fuelremaining}
Set decimal [FuelLevel] to [FuelLevel] divided by [{DEC:Ship total fuel tank capacity}] (integer division)
Set decimal [FuelLevel] to [FuelLevel] times 100
Set decimal [FuelLevel] value to the value of [FuelLevel] (round to 2 decimal places)
Set decimal [FuelUsed] value to the converted value of {DEC:EDDI jumped fuelused} (round to 2 decimal places)
Begin Decimal Compare : [FuelLevel] Is Less Than Or Equals 5
Set Text [Warning] to 'Your fuel level is under 5%. If you do not refuel soon you risk being stranded.'
Else If Decimal Compare : [FuelLevel] Is Less Than Or Equals 25
Set Text [Warning] to 'You have a quarter tank of fuel remaining. Refuel soon.'
Else If Decimal Compare : [FuelLevel] Is Less Than Or Equals 50
Set Text [Warning] to 'Your tank is half empty. Refuel soon.'
Else
Set Text [Warning] to 'Your fuel level is adequate.'
End Condition
Execute command, 'Update Fines and Bounties' (and wait until it completes)
Manually sorting Your Vap, is not an issue , but maybe over time as the profile is expanded
 
Last edited:
I see the COLOUR ... ( the sig ) ..:)

With Voice attack, some of those commands which your SIG uses, has been modified by me for my VA,
is there anyway to append your VA vaps to mine instead of overwriting.

EXAMPLE

My (EDDI JUMP)) is very different from yours , so just added your inclusion "Execute command, 'Update Fines and Bounties"
to the end of my work for that Command
Set small int (condition) [jump-drive] value to 0
Set small int (condition) [supercruise] value to 1
Set small int (condition) [power-fsd] value to 1
Set small int (condition) [flight] value to 1
Set decimal [XAxis] value to the converted value of {DEC:EDDI jumped x} (round to 3 decimal places)
Set decimal [YAxis] value to the converted value of {DEC:EDDI jumped y} (round to 3 decimal places)
Set decimal [ZAxis] value to the converted value of {DEC:EDDI jumped z} (round to 3 decimal places)
Set decimal [FuelLevel] value to the converted value of {DEC:EDDI jumped fuelremaining}
Set decimal [FuelLevel] to [FuelLevel] divided by [{DEC:Ship total fuel tank capacity}] (integer division)
Set decimal [FuelLevel] to [FuelLevel] times 100
Set decimal [FuelLevel] value to the value of [FuelLevel] (round to 2 decimal places)
Set decimal [FuelUsed] value to the converted value of {DEC:EDDI jumped fuelused} (round to 2 decimal places)
Begin Decimal Compare : [FuelLevel] Is Less Than Or Equals 5
Set Text [Warning] to 'Your fuel level is under 5%. If you do not refuel soon you risk being stranded.'
Else If Decimal Compare : [FuelLevel] Is Less Than Or Equals 25
Set Text [Warning] to 'You have a quarter tank of fuel remaining. Refuel soon.'
Else If Decimal Compare : [FuelLevel] Is Less Than Or Equals 50
Set Text [Warning] to 'Your tank is half empty. Refuel soon.'
Else
Set Text [Warning] to 'Your fuel level is adequate.'
End Condition
Execute command, 'Update Fines and Bounties' (and wait until it completes)
Manually sorting Your Vap, is not an issue , but maybe over time as the profile is expanded

Yeah, sorry about that. I suddenly realised that you may be using the default forum theme, which has a white background, rather than the Elite orange/black theme that many people have switched to. So, I changed my sig so that it can be read properly in both themes now. :)

As for the VA profile, I'm not that knowledgeable about VA unfortunately. However, I've had a look over it, and as best as I can see, there is no way to just append to a command. Of course, I may have missed where this can be done, if it is indeed possible. I'm sorry to say, that as far as I can tell, you will have to copy the parts of mine into your own as you have been doing. On the plus side, most of my event commands are simply a single line to update the database systems files, so not very difficult to do, just slightly time consuming.

I hope you have fun with what I have done though! :D

-=] Darkcyde [=-
 
I've noticed that if I do a Wake Scan , and find something I can't say TARGET to Voice attack and have it respond to the next wake , if EDDI is telling me about the last Wake Scan I just found

( also posted in the other thread as not sure where the issue is)
 
Quick question if I may. I've been messing about in Power Play a little and was wanting EDDI to count the merits for killing enemy ships etc.

I've got a script to add 30 merits per "murder" of certain ships in the ((EDDI incurred bounty)) script but in Anarchy (& lawless?) systems this won't be triggered. Is there a way to get EDDI to have a trigger for every ship destroyed so I can check it for my merits?. ATM I have a VA command that I do manual (i.e. I just say Merit Kill) if I'm in a anarchy system
 
I've noticed that if I do a Wake Scan , and find something I can't say TARGET to Voice attack and have it respond to the next wake , if EDDI is telling me about the last Wake Scan I just found

( also posted in the other thread as not sure where the issue is)

Hi sutex,

I'm not quite sure what you are asking. Could you describe it in a little more detail please?

-=] Darkcyde [=-
 
Quick question if I may. I've been messing about in Power Play a little and was wanting EDDI to count the merits for killing enemy ships etc.

I've got a script to add 30 merits per "murder" of certain ships in the ((EDDI incurred bounty)) script but in Anarchy (& lawless?) systems this won't be triggered. Is there a way to get EDDI to have a trigger for every ship destroyed so I can check it for my merits?. ATM I have a VA command that I do manual (i.e. I just say Merit Kill) if I'm in a anarchy system

Hi BumbleB,

As far as I can tell there is no way to determine if you kill a ship in a lawless/anarchy system. There is the event 'Killed' but this appears to only record kills of other players, not NPCs. Without testing, the only thing I can think of that *may* work, is to scan a ship before killing it. Would this then give you a bounty that will trigger the 'Bounty Awarded' event, so you could record off that? Just an idea, not sure if it will work tho, sorry. :/

Regards,

-=] Darkcyde [=-
 
Hi BumbleB,

As far as I can tell there is no way to determine if you kill a ship in a lawless/anarchy system. There is the event 'Killed' but this appears to only record kills of other players, not NPCs. Without testing, the only thing I can think of that *may* work, is to scan a ship before killing it. Would this then give you a bounty that will trigger the 'Bounty Awarded' event, so you could record off that? Just an idea, not sure if it will work tho, sorry. :/

Regards,

-=] Darkcyde [=-

Yeah I've tried 'Killed' and confirm is player kills only. I use it to keep a log of my PvP kills as it goes ;)

Yeah I could scan them for bounties but for the moment I just have to remember to voice the kill when in those kinds of systems.

Currently expanded my bounty incurred for when I kill enemy ships in their controlled systems as well as certain ship name types.

I wonder if there is actually an event in the Journal that eddi if updated for the lawless/anarchy system
 
Hello guys,

What will be a good script to the " System state changed " in relation with EDDP monitor ?
Is this ok ? :

{_ Context }
{SetState('eddi_context_last_subject', 'system')}
{SetState('eddi_context_last_action', 'change_state')}
{SetState('eddi_context_system', event.system)}
{SetState('eddi_context_system_system', event.system)}

{_ Set up our system name}
{if event.system = homesystem.name:
{set system to OneOf('{P(event.system)}',
'your home system')}
|elif event.system = system.name:
{set system to OneOf('{P{event.system)}',
'this system')}
|else:
{set system to OneOf('system {P(event.system)}'
'{P(event.system)}'))}
}

Thanks for your answers.
 
Hello guys,

What will be a good script to the " System state changed " in relation with EDDP monitor ?
Is this ok ? :

{_ Context }
{SetState('eddi_context_last_subject', 'system')}
{SetState('eddi_context_last_action', 'change_state')}
{SetState('eddi_context_system', event.system)}
{SetState('eddi_context_system_system', event.system)}

{_ Set up our system name}
{if event.system = homesystem.name:
{set system to OneOf('{P(event.system)}',
'your home system')}
|elif event.system = system.name:
{set system to OneOf('{P{event.system)}',
'this system')}
|else:
{set system to OneOf('system {P(event.system)}'
'{P(event.system)}'))}
}

Thanks for your answers.

This looks like the 1st half of the default script. Without the 2nd half, you won't hear any vocal response when a state change occurs.
Do you think something is wrong with the default script? What are you trying to accomplish?
 
@ Tkael,
I'd like to monitor the change around my home system.
I had no copy correctly the default script.
Thanks to your answer.
 
@ Tkael,
I'd like to monitor the change around my home system.
I had no copy correctly the default script.
Thanks to your answer.

You can restore your default script by clicking the button shown by this image: http://imgur.com/a/whEQ9
Once you've done that, go to the EDDP monitor and type in the name of your home system and select the state '(anything)' to monitor any and all state changes in that system.
You should now be good to go.
 
Last edited:
@ Tkael,
I have done the change in script and in EDDP Monitor.
I am not sure there is communication with EDDN as I have no message.
 
Did the migration of EDDN server make the EDDP responder not work anymore?

In the GitHun, about EDDP Monitor, it is write :
The EDDP monitor uses information sent to EDDN on which to base its messages. These messages come from players visiting the relevant systems, so there are no guarantees as to when or if specific system changes are provided.

So, perhaps that the link is broken between EDDP and EDDN?


<EDIT>
The flow of news restart, i put back my list of watches... I like it
 
Last edited:
Hi BumbleB,

As far as I can tell there is no way to determine if you kill a ship in a lawless/anarchy system. There is the event 'Killed' but this appears to only record kills of other players, not NPCs. Without testing, the only thing I can think of that *may* work, is to scan a ship before killing it. Would this then give you a bounty that will trigger the 'Bounty Awarded' event, so you could record off that? Just an idea, not sure if it will work tho, sorry. :/

Regards,

-=] Darkcyde [=-

Hey there Darkcyde,

I had a little issue with your personality the other day.

After I had added the latest 2 CG's to the mission log it sometimes responded with an error I couldn't quiet understand a few times when jumping into another system where I'm guessing it checks to see if there are any missions in the current system. From wha I can rememeber it sounded like something had broken in Voice Attack and was throwing up errors. I haven't had time to really test to see if this happens again but it completely trashed my Voice Attack profiles and was reset to nothing. Lucky your scripts makes a back up file which I managed to retrieve and get everything back to how it was.

I know its not much to go on but i haven't had a chance to play again to see if this happens again or someway to catch the error so I can tell you in better detail.

Has anyone had this issue with Darkcyde 2.3.0 v3.4 ?
 
Hey there Darkcyde,

I had a little issue with your personality the other day.

After I had added the latest 2 CG's to the mission log it sometimes responded with an error I couldn't quiet understand a few times when jumping into another system where I'm guessing it checks to see if there are any missions in the current system. From wha I can rememeber it sounded like something had broken in Voice Attack and was throwing up errors. I haven't had time to really test to see if this happens again but it completely trashed my Voice Attack profiles and was reset to nothing. Lucky your scripts makes a back up file which I managed to retrieve and get everything back to how it was.

I know its not much to go on but i haven't had a chance to play again to see if this happens again or someway to catch the error so I can tell you in better detail.

Has anyone had this issue with Darkcyde 2.3.0 v3.4 ?

Can't say I've experienced anything like that, not that I can remember anyway. If you get it again, turn on 'Write text copies of speech...' in the Speech Responder tab and do a few jumps to record the speech. Then copy/paste from the file back here for me to have a look at, and I'll see if I can track down the problem.
 
Can't say I've experienced anything like that, not that I can remember anyway. If you get it again, turn on 'Write text copies of speech...' in the Speech Responder tab and do a few jumps to record the speech. Then copy/paste from the file back here for me to have a look at, and I'll see if I can track down the problem.

Caught it, just after I jumped into a system
There is a problem with the script: Exception of type System.OutOfMemoryException was thrown.
 
Caught it, just after I jumped into a system

Right, I found the problem.

Looking at what you were getting made me think it was an EDDI problem rather than the script, which got me thinking. I accepted a Community Goal as my only mission and tried the Missions_CheckGalaxy and Missions_CheckNearMost scripts as they run after a jump completes. CheckGalaxy worked as expected, but CheckNearMost caused EDDI to freeze up and eventually crash.

While I didn't get the same report you did, I strongly suspect it's the same thing causing it. It's a simple typo where I have put a line in the wrong place. Find the following in Missions_CheckNearMost:-

Code:
   {while cur < state.eddi_context_missions_accepted:

      {if mission_system_array[cur] != "" && mission_system_array[cur] != null:

         {if find(mission_system_array[cur], "::") > -1:

            {set dest_array to split(mission_system_array[cur], "::")}
            {set multi to 1}

            {for destination in dest_array:
               {nearcalc(destination)}
            }
         |else:
            {nearcalc(mission_system_array[cur])}
         }
         {set cur to cur + 1}
      }
   }

At the bottom of that, move the {set cur to cur + 1} down one line, out of the IF statement and into the last part of the WHILE loop, so it looks like this instead:-

Code:
            {nearcalc(mission_system_array[cur])}
         }
      }
      {set cur to cur + 1}
   }

Because the Community Goal has no Destination System, it's blank. And because it's blank, the loop was never increasing the CUR variable, so it was looping to infinity and crashing out.

Though I'm not quite sure what's different between my system and yours for you to get a reported error and I don't.

Try this fix and tell me how it goes.

Looking at this problem, made me look at CheckGalaxy and I found a slight (but not critical) error in that too, so thanks for pointing me in this direction! :D

-=] Darkcyde [=-
 
Little issue...

Hey Darkcyde, great work first off!

I just have something strange happening and not sure what's causing it. When I finish a jump or come out of supercruise at a station, the event causes weird beeping and screeching before I understand spoken parts of the script.

Any idea what's causing it or heard of this before?

I searched around but haven't had any luck finding someone else with this issue.

Thanks!
 
Back
Top Bottom