Release EDDI - Windows app for immersion and more

Status
Thread Closed: Not open for further replies.
Hi, this is a great tool! Can I install ED ToolBox or it will conflict? It looks like there some similar functionalities.

I use both together. EDDI with VA for spoken events and dialog, and ED Toolbox running in a side panel for visual use relative to reference interest such as the system detail or galaxy map, along with easy links to other browser based services such as EDDB or TradeNet. Note, though that I only have EDDI set for updating info in EDDN when I enter system or station. Verified by checking ROSS to see what is reported by my cmdr name.
 
Last edited:
I think I've found a bug in the Commodity Sale Check routine. Below is the code.

Code:
{for cargo in ship.cargo:
   {if cargo.missionid:
    |else: 
    {set marketcommodity to market(cargo.commodity)}
    {if marketcommodity.selllprice > cargo.price:
        You can sell your {cargo.commodity.name} here for a profit of {marketcommodity.sellprice - cargo.price}credits per tonne.
    }
   }
}

I have 11 tons of Gallium. I purchased it for 5088 credits. The selling price for Gallium is 4397 credits. When I run the script, I get
"You can sell your Gallium here for 689 credits per ton."

This is definitely not right. Not even reversed. 689 credits per ton? Something is screwy. But the salient point is the conditional 'if marketcommodity.selllprice > cargo.price' is returning true when it should be returning false. ">" means the value on the left is greater than the value on the right, correct? But the value on the left, Marketcommodity.sellprice. Is not greater It's less.
 
I think I've found a bug in the Commodity Sale Check routine. Below is the code.

Code:
{for cargo in ship.cargo:
   {if cargo.missionid:
    |else: 
    {set marketcommodity to market(cargo.commodity)}
    {if marketcommodity.selllprice > cargo.price:
        You can sell your {cargo.commodity.name} here for a profit of {marketcommodity.sellprice - cargo.price}credits per tonne.
    }
   }
}

I have 11 tons of Gallium. I purchased it for 5088 credits. The selling price for Gallium is 4397 credits. When I run the script, I get
"You can sell your Gallium here for 689 credits per ton."

This is definitely not right. Not even reversed. 689 credits per ton? Something is screwy. But the salient point is the conditional 'if marketcommodity.selllprice > cargo.price' is returning true when it should be returning false. ">" means the value on the left is greater than the value on the right, correct? But the value on the left, Marketcommodity.sellprice. Is not greater It's less.

If your code snippet is a paste from your script, please note that 'marketcommodity.selllprice' in line 5 has three 'l's, instead of two.
 
I use both together. EDDI with VA for spoken events and dialog, and ED Toolbox running in a side panel for visual use relative to reference interest such as the system detail or galaxy map, along with easy links to other browser based services such as EDDB or TradeNet. Note, though that I only have EDDI set for updating info in EDDN when I enter system or station. Verified by checking ROSS to see what is reported by my cmdr name.

Good idea, I'll do this as well. I am interested in the Galnet reading feature as well. This game is crazy - I am struggling to balance actual playing with spending time on setting up mods and plugins :)
 
If your code snippet is a paste from your script, please note that 'marketcommodity.selllprice' in line 5 has three 'l's, instead of two.

Arrrrrrggggghhhhh!!!! Thanks so much. That's the reason. I was afraid I wasn't seeing something. I write code as a hobby and I know that most errors are caused by the programmer. I looked and looked and looked at that snippet and didn't see it. Well, it's not the first time and most likely won't be the last.

Thanks again. I really appreciate it.
 
Ahh, the classic PEBKAC error, the bane of programmers everywhere. We've all had that error!! :D

Yeah. Then there's the ID Ten T error (ID10T) :D We actually had a joke about that when I was on the Dell portables warranty tech support line. "Yeah, she has an ID Ten T error in her PEBKAC.DLL file." ROFLMAO
 
Hi all.

I have yet to install 2.1 as previous version was fitting the bill just fine. However.....I have started getting VA crash whenever the EDDI landed event is triggered. Is this a known bug, and if so would upgrading to latest version of Eddi rectify?
 
ok i can answer my own question now. NO. Next question: is it possible to force trigger an event that happened in the past without breaking my computer, frontier's servers, the internet and/or the space-time continuum?[wacky]
 
ok i can answer my own question now. NO. Next question: is it possible to force trigger an event that happened in the past without breaking my computer, frontier's servers, the internet and/or the space-time continuum?[wacky]

Not as such, because event data is ephemeral. That said, others have worked around this by using state information to keep track of certain data, and as omega9380 says many of the scripts can be triggered any time (e.g. information on the current system). So it depends on what information you're after.
 
Is it possible to make my custom TTS lines in VA use the same voice processing as EDDI? I want all the responses to use the same voice.
 
This is possible if the planet is in EDDB. You'd have to look at system.bodies to find a matching planet, then read the gravity from there.

great! Could you please give an example of how to do this for a programming noob? I know it is {system.bodies[x].gravity} but how to i get x?

edit: i'm on to something

{set x to find([system.bodies], event.body)}
Gravity is {Humanise(system.bodies[x].gravity)} gee.
but {find([system.bodies], event.body)} gives me -1
 
Last edited:
Status
Thread Closed: Not open for further replies.
Back
Top Bottom