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.
 

Some examples of the upcoming sov APIs

First post
Author
CCP FoxFour
C C P
C C P Alliance
#1 - 2015-06-29 15:20:42 UTC
I am so sorry about how long this is taking. Finally have something close to final.

Anywhere there is an ID that should be a corp or alliance will be made into a proper CREST looking link for that. Same for the typeIDs and solar systems and such.

The structures resource is pretty straight forward. The campaigns not so much. There are 4 eventTypes.
EVENT_TYPE_TCU_DEFENSE = 1
EVENT_TYPE_IHUB_DEFENSE = 2
EVENT_TYPE_STATION_DEFENSE = 3
EVENT_TYPE_STATION_FREEPORT = 4

1, 2, and 3 should all result in the same kind of data. That of there being a defending alliance or corp with a score. Attackers however will not have an organization, just a score, as it’s the universe vs the defender in that situation. eventType 4 however doesn’t have a defender or attacker. Just a list of scores and who they belong to.

The structures stuff will probably be on a 15 minute cache or so and the campaigns in the 30 to 60 second range.

Sample structures: https://gist.github.com/Regner/78ad881108dcf2ea3600
Sample campaigns: https://gist.github.com/Regner/69190d239609fb8b016a

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Querns
Science and Trade Institute
Caldari State
#2 - 2015-06-29 15:34:23 UTC
Neat stuff. I'm glad to see that this is being worked on before the fact, as well!

One question: the vulnerability occupancy level -- is this an aggregate of the three factors that influence occupancy? (Strategic, military, and industrial indexes.)

This post was crafted by the wormhole expert of the Goonswarm Economic Warfare Cabal, the foremost authority on Eve: Online economics and gameplay.

CCP FoxFour
C C P
C C P Alliance
#3 - 2015-06-29 15:40:42 UTC
Querns wrote:
Neat stuff. I'm glad to see that this is being worked on before the fact, as well!

One question: the vulnerability occupancy level -- is this an aggregate of the three factors that influence occupancy? (Strategic, military, and industrial indexes.)


It also takes into account the capital bonus. I will also try to get the actual indexes for the systems out. Those will be cached for a short time as well. The vulnerability occupancy level is a little different in that it gets locked in once a day and is used for the entosising timers. So the raw development index levels could be different. Hence not as much a priority to get out.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Querns
Science and Trade Institute
Caldari State
#4 - 2015-06-29 15:41:04 UTC
Also, I had an ask: Could the capital system for any given alliance be exposed on http://public-crest.eveonline.com/alliances/ ?

This post was crafted by the wormhole expert of the Goonswarm Economic Warfare Cabal, the foremost authority on Eve: Online economics and gameplay.

CCP FoxFour
C C P
C C P Alliance
#5 - 2015-06-29 15:46:45 UTC
Querns wrote:
Also, I had an ask: Could the capital system for any given alliance be exposed on http://public-crest.eveonline.com/alliances/ ?


I will look into it. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Veldar Reku
Wu Xi Holdings
#6 - 2015-06-29 16:01:44 UTC
Are these IDs somewhere in CREST so they don't have to be hardcoded?
CCP FoxFour
C C P
C C P Alliance
#7 - 2015-06-29 16:33:16 UTC
Veldar Reku wrote:
Are these IDs somewhere in CREST so they don't have to be hardcoded?


Which IDs?

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Veldar Reku
Wu Xi Holdings
#8 - 2015-06-29 20:38:35 UTC
CCP FoxFour wrote:
Veldar Reku wrote:
Are these IDs somewhere in CREST so they don't have to be hardcoded?


Which IDs?


CCP FoxFour wrote:

The structures resource is pretty straight forward. The campaigns not so much. There are 4 eventTypes.
EVENT_TYPE_TCU_DEFENSE = 1
EVENT_TYPE_IHUB_DEFENSE = 2
EVENT_TYPE_STATION_DEFENSE = 3
EVENT_TYPE_STATION_FREEPORT = 4

CCP FoxFour
C C P
C C P Alliance
#9 - 2015-07-01 20:41:21 UTC
Veldar Reku wrote:
CCP FoxFour wrote:
Veldar Reku wrote:
Are these IDs somewhere in CREST so they don't have to be hardcoded?


Which IDs?


CCP FoxFour wrote:

The structures resource is pretty straight forward. The campaigns not so much. There are 4 eventTypes.
EVENT_TYPE_TCU_DEFENSE = 1
EVENT_TYPE_IHUB_DEFENSE = 2
EVENT_TYPE_STATION_DEFENSE = 3
EVENT_TYPE_STATION_FREEPORT = 4



They will not be sorry.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#10 - 2015-07-01 21:40:08 UTC
Hopefully if things go well these changes will be on Duality tomorrow.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#11 - 2015-07-01 22:06:35 UTC
I also added an alliances prime time hour and capital system to the alliance resource in CREST.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#12 - 2015-07-01 22:06:47 UTC
Oh and reduced the Alliance cache time by half.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Querns
Science and Trade Institute
Caldari State
#13 - 2015-07-01 22:47:51 UTC
CCP FoxFour wrote:
I also added an alliances prime time hour and capital system to the alliance resource in CREST.

Sweet! Thanks for implementing the ask. :)

This post was crafted by the wormhole expert of the Goonswarm Economic Warfare Cabal, the foremost authority on Eve: Online economics and gameplay.

Vincent Eneticum
Deep Core Mining Inc.
Caldari State
#14 - 2015-07-01 22:51:24 UTC
I hope that question is not too dumb but on what url is that data accessible?
CCP FoxFour
C C P
C C P Alliance
#15 - 2015-07-02 10:53:05 UTC
Vincent Eneticum wrote:
I hope that question is not too dumb but on what url is that data accessible?


Not

The structures information will be under /sovereignty/structures/
The campaigns data will be under /sovereignty/campaigns/
The alliance stuff is under /alliances/allianceID/

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.