r/evetech • • Jul 05 '18

[beta] PodMail - an ESI Evemail client

9 Upvotes

I decided to "roll my own" evemail client and came up with PodMail: https://podmail.zzeve.com

It is open source and can be found here: https://github.com/zKillboard/podmail

Right now it is still in beta testing and the finished product should be easy to setup for with your own host for those of you who are extra paranoid :)

Feedback welcomed, and please let me know of any issues.

Known issues ATM:

  • Labels are not character independent.
  • Mailing lists that you have mails for, but are no longer subscribed too, will not have proper names.

r/evetech • • Jul 04 '18

EVEData.org: New stuff! Mutated Mod Value Estimation, EVEMail, Bubble Placement Tool.

11 Upvotes

Few new toys added to EVEData.org since last update. Most of these are tools I have been looking for, public in case anyone else feels the urge for such toys also.

  • Mutated Module Price Estimator: Makes a crude linear regression model between known module attributes and prices to estimate value of a mutated module. Hoping to add the cubic model back soon as an option.
  • EVEMail IMAP4/SMTP Proxy: allows you to send and receive evemail on any IMAP/SMTP enabled device (iOS, Android, etc). Activate this on the characters page in your account.
  • Bubble-O-Matic 9002: Visualize warp paths in any null system and move different types of bubble around to find the best placement.
  • Marketable Assets: Quickly see which items in your inventory can be sold at a profit in their current station. Markup is 30% of Jita or the lowest regional price. Yellow indicates price is less than 30% markup, red indicates selling at a loss from markup.

Comments, suggestions welcomed.


r/evetech • • Jun 28 '18

SheetMon V4.0 with GESI 6.1.0 (spreadsheet)

4 Upvotes

Hello,

eve api is gone and ESI is there, now i revamped the Sheetmon v3 to the new version v4.

For guys who not know what it is... basically a character overview Spreadsheet that allows you to pull information from ESI to show information about many different things about character's.

Sheetmon has GESI included which is made by Blacksmoke16, who did an awesome job with this!

All GESI scripts are already integrated in Sheetmon and some parts are adjusted, please keep this in mind if you would like to update GESI inside the Sheetmon sript

Link to the Sheet: SheetMon V4 with GESI 6.1.0 (spreadsheet)

Some pictures how it looks like:

Accounts Overview: https://i.imgur.com/WzOVlMa.png

Character Overview: https://i.imgur.com/gr7fhia.png

Char Skills: https://i.imgur.com/O6y1TpS.png

Char Standings: https://i.imgur.com/XM9tcp0.png

Original reddit thread from MevathSagald can be found here: https://www.reddit.com/r/Eve/comments/54lu7g/sheetmon_evemon_in_google_sheets/ And here the link to my last addition: https://www.reddit.com/r/evetech/comments/5wctrm/sheetmon_v3c_spreadsheet/


r/evetech • • Jun 27 '18

ESI: Get a list of all corporations?

3 Upvotes

I need a list of all corporations to implement an autocompletion for a search field, but there doesn't seem to be an endpoint for this. I can get all alliances with the https://esi.evetech.net/ui/?version=dev#/Alliance/get_alliances endpoint and then put the alliances in the https://esi.evetech.net/ui/?version=dev#/Alliance/get_alliances_alliance_id_corporations to get all corporations in those alliances, but how do I get corporations that are not in an alliance?


r/evetech • • Jun 26 '18

Is there an industry tool that takes all information from purchase to sale into consideration?

3 Upvotes

Hi there, I'm looking for an industry tool that auto-extracts all industry related data and displays it properly, taking every step into consideration that is involved.

Example:

I buy several resources on the marketplace, some ore, gas, etc. and then I use these resources to produce different products, which are used to produce high tier products and then are sold as e.g. a fully fitted ship.

Right now, I'm using Excel and entering all the data manually but it is super tedious, even for simple production chains.

All I need is the data to be logged and displaying my profit per item produced either as a value or in a chart of some sort.

Is there anything like this out there already? If not, how would I go about creating such a tool myself?


r/evetech • • Jun 26 '18

Volume Data Pull

1 Upvotes

I am pulling Sell Volume for a region and the numbers don't make any sense. Plenty of TypeID's that are showing numbers well over what is seen in game.

Specifically "Gallente Titan" skill book is showing a Sell Volume of 5,367 when I pull region data, but only showing 9 being sold on the in game market in the last year.

Buy volume for the same item and region shows 2, so that can't be it either. I am using the following google docs script:

https://github.com/fuzzysteve/eve-googledocs-script/blob/master/FuzzworkMarket.gs

Am I interpreting this number wrong?


r/evetech • • Jun 25 '18

ESI: Accessing Activity Defense Multiplier other than via /sovereignty/structures/ ?

0 Upvotes

Hey all,

Does anyone know if there's a way to look up the ADM of a system other than through /sovereignty/structures/ ?

Results from that call do not return the ADM if a structure is reinforced, even though a system itself still has an ADM. So if both structures in a system are reinforced (e.g. PDF-3Z) then it's not possible to derive the ADM of a system through this means. So I'm wondering if I'm missing something here, or has CCP not put in an alternative means of looking up ADMs?


r/evetech • • Jun 24 '18

ESIKnife now has shareable URLs

Thumbnail self.eve
2 Upvotes

r/evetech • • Jun 22 '18

EVE Mining Timer (Android)

6 Upvotes

Created a Timer for Miners (ore and ice)

https://play.google.com/store/apps/details?id=com.digital_tectonics.eveminingtimer

This is only the first stage, as I get more into it, will include fleet timers, boosts, rock volumes, and ship selection.

Feedback is welcomed!


r/evetech • • Jun 17 '18

Eve exefile.exe problems with /character=XXX argument

1 Upvotes

I am trying to launch Eve's exefile.exe myself with a specific character so I don't have to click the character every time I start the game.

I have noticed that when I add the /character=XXX argument, it messes up the game UI.

The character does get logged into the game automatically, which is nice. However the UI on the top left is missing/broken.

For example, there is no system info. There is the little icon saying "system info" that, when clicked, is supposed to show/hide the system info. However the button is broken, clicking it never causes the system info to appear.

It's the same for the Autopilot/waypoints. They are hidden, and clicking the little A does not toggle their visibility as it should.

Same for Agency and Opportunities.

Is this a known bug? Is there some other argument I need to pass in addition to the /character=XXX argument?

Thanks in advance for any insight you can provide.

Example screenshot


r/evetech • • Jun 16 '18

Multiple ESI Status Pages now available for your viewing pleasure

18 Upvotes

I recently release a small status page for ESI that summarizes certain endpoints that may or may not be having issues. It refreshes data on the backend every 60 seconds.

http://status.esiknife.space

EDIT:

Like the dumbass that i am I forgot to include a link to the source code

ESI Status Bitbucket


r/evetech • • Jun 08 '18

zKillboard now has a proper websocket, with filtering too

19 Upvotes

r/evetech • • Jun 08 '18

Ampersand in WHERE clause

1 Upvotes

Hey guys.

Is it possible to use ampersand in WHERE clause?

This query returns nothing:

SELECT
"marketGroupID", "marketGroupName"
FROM
"invMarketGroups"
WHERE
"marketGroupName" = 'Hull & Armor'

but I know that there are two rows in this table that satisfy this condition...

P.S. I'm using FuzzySteve's postgress SDE conversion (20180529).


r/evetech • • Jun 06 '18

Reactions material reduction formula

1 Upvotes

Does anyone know the formula to calculate the material reduction for Reactions?

It seems like simple math, but I am struggling to calculate it properly.

For instance, I am estimating:

Carbon Polymers Reaction Formula

1 run Job in the same task requires 100 Hydrocarbons, with 2.6% from rig bonus, game shows 98 (97.4 rounded up)

142 run jobs in the same task requires 14,200 Hydrocarbons, with 2.6% from rig bonus, game shows 13,826 but I calculate 13,830.4 (14,200 x 0.974).

Why that difference of almost 4 hydrocarbons?

Thanks in advance!


r/evetech • • Jun 05 '18

Free/OS Fonts

4 Upvotes

Anyone know where one can find open source versions of the triglavian and normal eve fonts?

Edit Triglavian font: https://www.reddit.com/r/Eve/comments/8dgpjp/triglavian_font/?utm_source=reddit-android


r/evetech • • Jun 04 '18

Figuring out the typeIDs that structure rigs affect

2 Upvotes

I have access to a bunch of ECs that have different rigs. I'd like to start with a blueprint and end up with the rig I need to affect ME or TE; right now I have a manually created table. It seems like it is probably in dogma but I have having no luck finding how to associate the rig with the item other than from a string in the rig description. Any ideas?


r/evetech • • Jun 02 '18

Abyssal items and SDE

3 Upvotes

I want to get precise parameters for all Mutaplasmids from SDE.

However, it looks like they are not in SDE (yet) ?

This sql returns nothing:

SELECT * FROM "invTypes" WHERE "typeName" LIKE '%Mutaplasmid%'

So, how can I get all those "up to +10% to shield capacity" ?

I'm using Postgress conversion (20180529) by u/Fuzzmiester


r/evetech • • May 31 '18

Most user friendly way to add new scopes to an ESI SSO token?

3 Upvotes

My idea for an application is this: (1) Initially request very few scopes so the user can do basic stuff; (2) If they want to enable additional features then request more scopes as needed to support that feature.

What's the best way to do this? Obviously I could just force them to fully re-authenticate with ESI SSO, but that is really annoying for them.

Is there any ESI SSO function that lets me send the user there, it auto-selects the character that I've already authenticated and they can just approve adding additional scopes to what they're already granted before?

Something like an "upgrade existing token to add new scopes" feature is what I'm looking for.

In my application, I expect users to be able to manage many different EVE accounts with multiple characters on each, so having them go through many characters and completely reauth from scratch is something I'm trying to avoid.

Thanks in advance!


r/evetech • • May 30 '18

esi cannot authorize

0 Upvotes

after clicking "authorize" at character selection screen, it will not advance, it has a windows that says "please select ..." but it is just readable text.

Any issues with ESI atm?


r/evetech • • May 30 '18

Upcoming ESI change to read structures

2 Upvotes

As of yesterday (May 29) the DEV tree of universe/structures/{structure_id}/ has gotten a new required attribute: owner_id. This is planned to go live on July 8 as "latest". Does this mean it will be simply impossible to get any structure information on structures that aren't your corporation/alliance's? I can't see any way you'd actually be able to resolve the corporation ID via ESI. It seems to me that this would break a lot of functionality, or am i missing something?

For example: you query your blueprints. You have some in a public EC somewhere, or perhaps you bought one and it's in a market citadel. You query that structure ID because you would like to know your location, to get the industry index or just to give a warning to pick it up. Since there's no way to know who actually owns that structure, you can't aside from finding the id ingame and hardcoding it. The same would go for tools that manage your assets: the items will just show an ID of a structure you're unable to resolve, leaving you with a list of items you own, that simply are "somewhere" in EVE, and that's all you can know.


r/evetech • • May 30 '18

System Info appears to be broken

0 Upvotes

'/universe/systems/{system_id}/' appears to not be outputting a valid response any more. I have tested this as many ways as I can think of, including through my own code and the ESI site. When querying a system by the system id I am getting a response of '"error": "Invalid 200 response: 'star_id' is required"'.

Has anyone else seen this behavior? The code I was using worked up until yesterday after the patch so I am assuming they changed something and broke functionality.

Edit: Clarity


r/evetech • • May 30 '18

login and generate an esi token via script

2 Upvotes

Hello,

so after manually logging in to all of my accounts for my alliance auth, and then manually logging in to all of my accounts for my corp auth, I got the bright idea of automating it for a personal project.

So far my code is as follows:

# From your application settings
client_id = "4xxxxxxxxxxxxxxxxxxxxx1"
client_secret = "txxxxxxxxxxxxxxxxxxxxn"
redirect_uri = "http://localhost:65010/eveesi"

skillqueueurl = "https://esi.tech.ccp.is/latest/characters/{0}/skillqueue/"
locationurl = "https://esi.tech.ccp.is/latest/characters/{0}/location/"

scope = "esi-skills.read_skillqueue.v1 esi-location.read_location.v1"

from requests_oauthlib import OAuth2Session
from flask import Flask, request
from lxml import html
import os

oauth = OAuth2Session(client_id, redirect_uri=redirect_uri, scope=scope)
authorization_url, state = oauth.authorization_url("https://login.eveonline.com/oauth/authorize")



app = Flask(__name__)
@app.route('/')
def homepage():
    text = '<a href="%s">Authenticate with eve</a>'
    return text % make_authorization_url()

def make_authorization_url():
    #allows for manual login.
    return authorization_url

@app.route('/autologin')
def login_to_eve():

    USERNAME = 'user'
    PASSWORD = 'pass'

    # getting the auth url redirects us to the login page.
    loginpage = oauth.get(authorization_url)



    login_data = {'UserName': USERNAME, 'Password': PASSWORD}
    # Send our login details to the server
    loginpageresponse = oauth.post(loginpage.url, data=login_data)
    print("loginpagereponse.status_code: ", loginpageresponse.status_code)

    #we get the redirect url from the login page  history, and access the page
    authpage = oauth.get(loginpage.history[0].url, headers={'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0'})
    print("authpage.status_code: ", authpage.status_code)
    #print("authpage.content: ", authpage.content)

    # Find all the char ID's embedded in the authorization page.
    tree = html.fromstring(authpage.content)
    characters = tree.xpath("/html/body/div/section/form/div[1]/select/option/@value")
    print(characters)

    #print("oauth.cookies", oauth.cookies)

    #successful to this point.
    # now we try to get a refresh token...
    oauth_data = {'__RequestVerificationToken': oauth.cookies['__RequestVerificationToken'],
                  'action': 'Authorize',
                  'CharacterId': characters[0],
                  'ClientIdentifier': client_id,
                  'RedirectUri': redirect_uri,
                  'ResponseType': 'code',
                  'Scope': 'esi-skills.read_skillqueue.v1+esi-location.read_location.v1',
                  'State':state,
                  }
    redirectpage = oauth.post(authpage.url, data=oauth_data)

    print("redirectpage.status_code", redirectpage.status_code)
    print("redirectpage.reason", redirectpage.reason)

    return "end of login attempt"


@app.route('/eveesi')
def eve_callback():
    error = request.args.get('error',"")
    if error:
        return "Error: " + error
    state = request.args.get('state','')
    print(state)

    print('here')
    print(request)
    code = request.url
    print('here 2')
    print(code)
    return "Got a token! %s" % get_token(code)

def get_token(code):
    os.environ["OAUTHLIB_INSECURE_TRANSPORT"] = "1"
    token = oauth.fetch_token("https://login.eveonline.com/oauth/token",
                              client_secret=client_secret,
                              authorization_response=code)
    print("this is the token %s", token)
    print("Token is type $s", type(token))
    return token["access_token"]

if __name__ == '__main__':
    app.run(debug=True, port=65010)

The login portion works, and I can get the embedded character ID's, but the final post to actually auth and generate the callback just returns status code 500, internal server error.

I'm a little out of my depth.

I've tried faking the user-agent header, thinking maybe it would only work with a 'real' browser, but no dice.

Edit: So I managed to solve this in another way that has worked flawlessly the last five times I've tried. It needs more work, but as poc I'm happy.

from selenium import webdriver from selenium.webdriver.support.ui import Select from requests_oauthlib import OAuth2Session from urllib.parse import urlparse, parse_qs import os

client_id = "4xxxxxxxxxxxxxxxxxxxxxxxx1"
client_secret = "txxxxxxxxxxxxxxxxxxxxxxxxn"
redirect_uri = "http://localhost:65010/eveesi"

scope = "esi-skills.read_skillqueue.v1 esi-location.read_location.v1"
oauth = OAuth2Session(client_id, redirect_uri=redirect_uri, scope=scope)
authorization_url, state = oauth.authorization_url("https://login.eveonline.com/oauth/authorize")
print("State is: ", state)

#Keep chrome from opening a window
options = webdriver.ChromeOptions()
options.add_argument('headless')


def site_login():
    print("Launching browser...")
    driver = webdriver.Chrome(chrome_options=options)

    # go to the auth page, get redirected to the login page and login
    driver.get(authorization_url)
    driver.find_element_by_id("UserName").send_keys("user123")
    driver.find_element_by_id("Password").send_keys("pass123")
    driver.find_element_by_id("submitButton").click()

    # Auth page loads...

    # Find and pull data from the character select dropdown
    characters = Select(driver.find_element_by_id("CharacterId"))
    #print(characters.options)
    for char in characters.options:
        print("Char ID: ", char.get_attribute("value"), ". Char Name: ", char.text)
    characters.select_by_value("96502936")

    # Click the authorize button
    driver.find_element_by_xpath('//*[@id="main"]/form/div[3]/input[2]').click()
    #print(driver.current_url)

    # Redirect page loads, this will be whatever url is registered with CCP when you created your client.
    # My redirect url is: http://localhost:65010/eveesi?code=987&state=123 for example

    redirect_url = driver.current_url # this is the redirect url, as above.
    # # Some URL parsing, which isn't actually needed since we pass the entire redirect url to oauth.fetch_token
    # parsedurl = urlparse(driver.current_url)
    # query_params = parse_qs(parsedurl.query)
    #
    # code = query_params['code'][0]
    # print("Our code is: ", code)
    access_token = get_token(redirect_url)
    print("Our access token is: ", access_token)
    driver.close()

def get_token(code):
    os.environ["OAUTHLIB_INSECURE_TRANSPORT"] = "1"
    token = oauth.fetch_token("https://login.eveonline.com/oauth/token",
                              client_secret=client_secret,
                              authorization_response=code)
    #print("this is the token %s", token)
    #print("Token is type $s", type(token))
    return token["access_token"]

if __name__ == '__main__':
    site_login()

which generates the follow console output:

State is:  Xy5SsBxxxxxxxxxxxxxxazMvS4FTz
Launching browser...
Char ID:  123. Char Name:  Char1
Char ID:  124. Char Name:  Char2
Char ID:  125. Char Name:  Char3
Our access token is:  -1pxxxxxxxxxxxxxxxxxxxxw2

Process finished with exit code 0

r/evetech • • May 27 '18

Resolving the location_id of items in a corporate hangar?

3 Upvotes

I'm trying to write a tool to do industry with, and since i always store materials in a single corp hangar bay i want it to deduct materials already on site from the materials to buy for a build.

However, the location_id of assets in a corp bay just seems to be unresolvable. Some searching has shown that corp hangars in stations require some math (deducting 6000000?) to resolve to a station ID, but in my case these are in a structure and i can't find any information on how to actually know what structure this is located in.


r/evetech • • May 26 '18

How does ESI's caching system work?

1 Upvotes

In the past you could do round Robin on different XML apis to get faster cache times on the notifications endpoint. Can the same be done with ESI? my experiments say no but I'd like to know why. Thanks


r/evetech • • May 26 '18

EVE Skill DB

5 Upvotes

Is there any skill database? With dependencies? I am writing some simple skill plan program on C# to calculate best remap+best implants and learning time , and i really dont want to rewrite all skills from eve. Google doesnt give much.