1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

[Developer Blog] In-game Browser - new functions

Discussion in 'EVE News' started by EVE News, Apr 12, 2011.

  1. EVE News

    EVE News RSS Feed
    RSS Feed

    Joined:
    Apr 12, 2011
    Messages:
    768
    Likes Received:
    0
    Hi there! Nice meeting many of you at this year's Fanfest Dev Track sessions.

    As some of you have already found out, there are several additions coming to the EVE in-game browser (IGB). These additions are already out on the Singularity test server, so you can check them out and, most importantly, share your feedback and ideas for improvement. Bear in mind though that our rule of thumb for IGB functionality is not to provide functions that cannot be performed manually in the game client itself. This goes both for parameters to functions and for batch oriented functions.

    Here's a quick summary of upcoming changes.

    Request Headers (new):

    • EVE_SOLARSYSTEMID

    • EVE_WARFACTIONID

    • EVE_SHIPID

    • EVE_SHIPNAME

    • EVE_SHIPTYPEID

    • EVE_SHIPTYPENAME

    • EVE_REGIONNAME

    • EVE_REGIONID

    • EVE_CONSTELLATIONNAME

    • EVE_CONSTELLATIONID

    • EVE_SOLARSYSTEMNAME

    • EVE_CORPNAME

    • EVE_CORPID

    • EVE_STATIONNAME

    • EVE_STATIONID

    • EVE_ALLIANCENAME

    • EVE_ALLIANCEID

    • EVE_CORPROLE

    • EVE_TRUSTED

    • EVE_SERVERIP

    • EVE_CHARNAME

    • EVE_CHARID

    Here is a sample on how this data looks:

    eve_charid 90000013 eve_charname 66 Shikkoken eve_constellationid 20000206 eve_constellationname Karnola eve_corpid 98000002 eve_corpname corpname eve_corprole 9223372036854775807 eve_regionid 10000016 eve_regionname Lonetrek eve_serverip serverip eve_shipid 1000000002299 eve_shipname Sniper Paladin eve_shiptypeid 28659 eve_shiptypename Paladin eve_solarsystemid 30001407 eve_solarsystemname Todaki eve_trusted Yes

    Viewable through any http header viewer (remember to trust viewer page)



    Javascript functions (new):

    • createContract

    • sellItem

    • buyType

    • findInContracts

    • addToMarketQuickBar

    • showContents

    • addContact

    • addCorpContact

    • removeContact

    • removeCorpContact

    • block

    • addBounty

    • inviteToFleet

    • startConversation

    • showContracts

    • showOnMap

    • editMember

    • awardDecoration

    • sendMail

    • bookmark

    • showSovereignty

    • clearAutopilot

    • openEveMail

    • showInfo

    • showRouteTo

    • showMap

    • showPreview

    • showFitting

    • showContract

    • showMarketDetails

    • requestTrust

    • setDestination

    • addWaypoint

    • joinChannel

    • joinMailingList

    All of these functions are in the CCPEVE library, which is automatically included in the IGB, example:



    .... onclick="CCPEVE.showInfo(10858)"

    This link will open the info dialog for item type 10858 (Large Shield Booster II)

    Here is a link to a very simple (and somewhat spell-checked) html page demoing all JavaScript functions. (You'll need to open this page in the Singularity test client, and add the URL to the trusted site list (options > trusted sites)).

    cdn1.eveonline.com/evesoftware/web_igb/igbtest.html

    Coming up:

    At fanfest we received great feedback, including adding the "nearest celestial to the http headers," and new JavaScript functions such as "give money." We are currently evaluating these requests but would love getting more.

    CCP Atlas, CCP PrismX, and CCP Stillmann are working on IGB and API-related dev blogs, so stay tuned.

    Please keep those comments flowing, we very much appreciate them and discuss them internally although we might not respond on them individually.

    Cheers.





    [​IMG]





    More...