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.
 

NotificationTexts API

Author
Spymaster Alpha
EveTech Enterprises
#1 - 2011-11-08 04:40:43 UTC
Just looked at this api call for the first time, and It looks like it has some kind of unreadable format for the text (e.g. "isHouseWarmingGift: 1
shipTypeID: 601
"
for a new Ibis).

Anyone know of any standalone tools for deciphering these texts?
Tonto Auri
Vhero' Multipurpose Corp
#2 - 2011-11-08 20:53:51 UTC
Static Data Dump.

Two most common elements in the universe are hydrogen and stupidity. -- Harlan Ellison

Trenker
#3 - 2011-11-08 21:23:30 UTC
No tools I know of

Tonto Auri wrote:
Static Data Dump.

Nope, nothing there either.

My guess is, that this is the format CCP stores to make the notifications translateable.
The number of possible notifications is limited, so building a list should not be so difficult. The only obstacle is, finding out all notification letters.

How about a page on the eve-id wiki, were they are listed.
Ydnari
Estrale Frontiers
#4 - 2011-11-08 21:40:33 UTC
Spymaster Alpha wrote:
Just looked at this api call for the first time, and It looks like it has some kind of unreadable format for the text (e.g. "isHouseWarmingGift: 1
shipTypeID: 601
"
for a new Ibis).

Anyone know of any standalone tools for deciphering these texts?


Many of them have data in that form, it's encoded as YAML.

The structure and meaning of depends on the notification type, from the Notifications API. http://wiki.eve-id.net/APIv2_Char_Notifications_XML

I've not seen a comprehensive list of the data field for every notification type or the text templates they get substituted into to make the real notification mails ingame.

In the case above, you got an Ibis (with a gratiuity of 1 piece of tritanium!) - looking up the type ID from the data dump:

mysql> select typeName from invTypes where typeID = 601\G
*************************** 1. row ***************************
typeName: Ibis
1 row in set (0.00 sec)

--

Tonto Auri
Vhero' Multipurpose Corp
#5 - 2011-11-08 22:37:51 UTC  |  Edited by: Tonto Auri
Trenker wrote:
Tonto Auri wrote:
Static Data Dump.

Nope, nothing there either.


Oh, come on... :/

    SELECT typeName
    FROM invtypes
    WHERE typeId =601;


Result?

    typeName

    Ibis

Two most common elements in the universe are hydrogen and stupidity. -- Harlan Ellison

Trenker
#6 - 2011-11-08 22:47:27 UTC  |  Edited by: Trenker
Tonto Auri wrote:
Oh, come on... :/


Sorry to sadden you P

I was talking about the the texts the API offers. How to translate them into human language. I guess this doesn't need an AI researcher, just a list of possible formats, sample texts for mission offer expires, alliance war declared, the above gift coupon and so on.

Maybe someone can share a few snippets. My own API call is empty ATM. (Need play more often)

Edit: Now I read Ydnari. That's the list I'd like to have.
Ydnari
Estrale Frontiers
#7 - 2011-11-08 22:58:25 UTC
http://wiki.eve-id.net/APIv2_Char_NotificationTexts_XML#Output_Details only one type documented here - that would be a good place to add more, if someone starts collecting them.

--

Spymaster Alpha
EveTech Enterprises
#8 - 2011-11-09 00:33:47 UTC
Or... we could ask a dev. Prism X and I are buddies ever since I crashed the API server that one time, should see if he's around ;)