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

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

Issues, Workarounds & Localization

 
  • Topic is locked indefinitely.
 

Eve Solar System Links in HTML

First post
Author
Aminari Talar
Science and Trade Institute
Caldari State
#1 - 2015-06-12 13:39:11 UTC
Does anyone know how to link the links in an html page in a way that will allow me to host a website, and subsequently allow visitors of that website to right click set destination as if they were getting the link in chat?


When i look at the api ref for the solar systems, is something like :234:3423:4234:234

which im assuming is some sort of api etc
CCP Avalon
C C P
C C P Alliance
#2 - 2015-06-12 19:12:37 UTC
Aminari Talar wrote:
Does anyone know how to link the links in an html page in a way that will allow me to host a website, and subsequently allow visitors of that website to right click set destination as if they were getting the link in chat?


When i look at the api ref for the solar systems, is something like :234:3423:4234:234

which im assuming is some sort of api etc


In-game browser JavaScript for setting destination:
https://wiki.eveonline.com/en/wiki/IGB_Methods#setDestination_Method

SDE contains tables for solar systems, constellations and regions, among other things. You can get the system IDs from there.
https://developers.eveonline.com/resource/static-data-export

CCP Avalon // Web Developer // Team Webster // @ccp_avalon

Twitch: CCP_Avalon

Aminari Talar
Science and Trade Institute
Caldari State
#3 - 2015-06-12 19:29:02 UTC
Thanks loads mate.
Darkblad
Doomheim
#4 - 2015-06-12 19:31:38 UTC
If you use this SQL Query on the SDE, you'll get a table with all systems and their constellation and region as URLs that you can click on from within the IGB. As there are html tags within, I had to use pastebin

Wormhole and Jove Space included.

To only select specific areas remove the comments of this snippet and add it after the FROM statement - add an AND if you choose more than one.


 /* Highsec 
WHERE "security" > 0.4499999999999999
*/
/* Lowsec
WHERE "security" BETWEEN 0 AND 0.4499999999999999
*/
/* Player Nullsec
WHERE "security" < 0
  AND regionID NOT LIKE '11%'
  AND regionID NOT IN  (10000004,10000017,10000019)
  AND factionID IS NULL
*/
/* NPC Nullsec
WHERE "security" < 0
  AND regionID not like '11%'
  AND regionID NOT IN  (10000004,10000017,10000019)
  AND factionID IS NOT NULL
*/
/* W-Space
WHERE regionID LIKE '11%'
*/
/* CCP Land
WHERE regionID IN (10000004,10000017,10000019)
*/

NPEISDRIP

Darkblad
Doomheim
#5 - 2015-06-12 19:49:08 UTC  |  Edited by: Darkblad
Or check out http://www.schildwall.info/basics/solarsystems.html (takes a moment, all systems)
and get the json file with the systems located at http://www.schildwall.info/ajax/tables-content/solarsystems.txt
That one is built using a similar query.

I added another column where you can set destination on a given solar system - once you've granted my site trust. The button for that limits that trust to the current directory.

NPEISDRIP