These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
Previous page12
 

A simple listof API improvements/fixes

First post
Author
Captain Thunk
Explode. Now. Please.
Alliance. Now. Please.
#21 - 2014-02-05 13:32:59 UTC  |  Edited by: Captain Thunk
Bug: /char/ContactList.xml.aspx

The XML definition lists: contactID,contactName,inWatchlist,standing,contactTypeID

However only 4 of the 5 are ever listed: contactID,contactName,standing,contactTypeID

inWatchlist is missing. I presume this bug was accidentally introduced when contactTypeID was added
Captain Thunk
Explode. Now. Please.
Alliance. Now. Please.
#22 - 2014-02-11 12:13:11 UTC
Wars.

I was recently asked to produce a page to list current and pending wars for a certain warmongering alliance, knowing that wars with registered with notifications, I didn't forsee much of a problem.

However, it is impossible to generate a truly accurate page listing active wars from notifications alone. It's also a little tricky anyway what with notifications being limited to the last 3 days. This requires 'spoofing' a notification for longstanding wars.

The mechanism that corps leaving an alliance generates a notification that doesn't indicate the war is already in progress - it leaves you to work it out for yourself, this is despite it having a flag called hostileState. It's a lot of extra work our side to produce something that's accurate and I'm not convinced it'll ever be 100%

As the client can happily generate a list of Current Wars, Pending Wars and Past Wars I propose a new public API sheet /corp/w4rzYOLO.xml.asp?corporationID= which lists at least the Current Wars and Pending Wars.

This allows us to easily set standings on our alts so we can gank those 3 week old newbies

This allows easy access for alliances to whether they're at war or not, so we can warn our JF pilots who, only living once, tend to undock and carry on without a care in the world.
Previous page12