Showing Posts For Yoone.9461:

Are Masteries limited to just the jungles?

in Guild Wars 2: Heart of Thorns

Posted by: Yoone.9461

Yoone.9461

I don’t think we’ll be able to fly outside the new zones, only because it would ruin the jumping puzzles experience in the low level areas.

Are we allowed to use it?

in API Development

Posted by: Yoone.9461

Yoone.9461

This Tool is just a normal Tool(like the Websites), with an invisible background.

Sorry, I didn’t see this part (I didn’t followed the link to reddit): “Provide an simple Overlay for GW2

So yes, it doesn’t communicate with the game in any way, I’ll edit my post. Sorry about that!

Are we allowed to use it?

in API Development

Posted by: Yoone.9461

Yoone.9461

If I’m right, ArenaNet’s policy is to forbid the use of any software altering the game while running, but the thread is still present on the forum. If they didn’t want this software to be used by the community, I think they would have removed the links, close the thread, or deleted it.

Edit: this software doesn’t communicate with the game, and it’s not inserted in the game graphics with an injection, it’s just an overlay, and you have to play in windowed mode to put it on top of the game.

(edited by Yoone.9461)

[How to] Get chat code with item ID

in API Development

Posted by: Yoone.9461

Yoone.9461

Thank you, I added it.

There might be a better approach to this, though :P Also what happens once IDs exceed 65535?

That’s why I said: “You also can improve the existing functions!”

I don’t really know what to do in that case.

Edit: first post updated with links to external pastes (for a more readable message).

(edited by Yoone.9461)

[How to] Get chat code with item ID

in API Development

Posted by: Yoone.9461

Yoone.9461

Hello!

I saw some messages about how to get the chat codes of the items we get from the API, so I thought a collection of snippets in multiple languages would be nice.

I’ll start with JavaScript and PHP, feel free to adapt it in other languages if you can.

As pointed out by zeeZ.5713, the following functions are designed for the item_id to be lower or equal than 65535 (or 65536, it depends on the first ID).

So if you know how, please improve the existing functions!

(edited by Yoone.9461)

[API Suggestion] Map Coordinate System

in API Development

Posted by: Yoone.9461

Yoone.9461

And as a bonus, geotag screenshots

I don’t think they will do that, but it would actually be really nice

Though once you have the coordinates, I think you can create your own screenshots by using gw2cartographers work! All their tiles are available on their github.

[API Suggestion] Items, Recipes, and Crafting

in API Development

Posted by: Yoone.9461

Yoone.9461

We can’t get every item icon from the ID, even with the Trading Post API. But we can generate every chat code with the ID.

That is correct. If it never has been sold on the TP, there is no image on there yet. As of yet there is no way to get icons for items not on the TP. I would put good money on it coming fairly soon though.

See the post: https://forum-en.gw2archive.eu/forum/community/api/Items-icons-and-in-game-code/first#post2086538

[API Suggestion] Items, Recipes, and Crafting

in API Development

Posted by: Yoone.9461

Yoone.9461

I’ve forgot the chat code - i know we can calculate them on our own, but it would be more reliable to have them from the original source

I don’t know if this really is a good idea, it would add unnecessary information to the API. Maybe releasing a function in several languages to convert the ID into the chat code would be more useful!

Items icons and in-game code

in API Development

Posted by: Yoone.9461

Yoone.9461

Maybe the icon is removed from the TP cache when there is no more item to sell?

So there is just no solution to get icons of soulbound or accountbound items.

Thanks for your answers!

Items icons and in-game code

in API Development

Posted by: Yoone.9461

Yoone.9461

I did that, but the icons only appear in the JSON is the item is currently sold by someone.

For example, this item isn’t sold by anyone, and I can’t get the icon: https://tradingpost-live.ncplatform.net/ws/search.json?ids=8587

And the item exists. It comes from the official API, and I also found it on GW2Spidy.

[API Suggestion] Items, Recipes, and Crafting

in API Development

Posted by: Yoone.9461

Yoone.9461

Items: add link to icon, like the current Trading Post API, but working without any GW2 account, and for every item.

Items icons and in-game code

in API Development

Posted by: Yoone.9461

Yoone.9461

Sorry for the double post, I just had a question about how to get every item icon in the game.

I made a script that asks for a GW2 account when it starts, and then uses it to log in the Trading Post and retrieve the icons (using item IDs from the API).

The problem is that when an item is not sold by anyone, the icon URL isn’t given in the parameters… But I noticed the URLs are respecting a pattern:

The only parameter that changes in the URL is 4f7e4ac9. The rest is the same for every item icon.

So my question is: is this related to the ID? This item ID is 100, but I don’t know if there is an algorithm that converts 100 into 4f7e4ac9.

Here are a few more examples:

  • 27321 => d3bca40c
  • 30689 => 6e8fedc6
  • 9288 => ab2fbe7e

Thank you in advance for your answers/hints!

(edited by Yoone.9461)

API Lib for node.js

in API Development

Posted by: Yoone.9461

Yoone.9461

Thank you for your work, I may use it in the future.

Hardware Dragon TImer

in API Development

Posted by: Yoone.9461

Yoone.9461

You’ve just made my day, you’re a genius

Feel free to release every doc you can do/write on your work, I think it will be much appreciated by the community.

(edited by Yoone.9461)

Live Score Update Image Generator

in API Development

Posted by: Yoone.9461

Yoone.9461

I created a signature generator when they released the leaderboards :
http://ladder.gw2.fr/

I’m thinking about updating the WvW sigs with the new API in order to get current score, etc.

(edited by Yoone.9461)

Items icons and in-game code

in API Development

Posted by: Yoone.9461

Yoone.9461

Thank you! This is just even better

owner_guild question

in API Development

Posted by: Yoone.9461

Yoone.9461

Cliff says new things will be implemented if the WvW API isn’t harmful for the gameplay:

https://forum-en.gw2archive.eu/forum/community/api/WvW-API-and-how-it-may-affect-WvW-balance

You’re right that even the information we’re exposing now via the API could cause WvW balance to change. We’re watching to see whether the overall impact on the game is positive or negative. If it’s positive, then we’d definitely consider exposing more information via the APIs.

Items icons and in-game code

in API Development

Posted by: Yoone.9461

Yoone.9461

I was thinking about crawling an already existent database, but I haven’t thought about the gw2spidy API, thank you for your help!

Suggestion for world_names.json

in API Development

Posted by: Yoone.9461

Yoone.9461

A little official documentation on the server IDs wouldn’t hurt if you are right gnakitten584!

Nameless Event?

in API Development

Posted by: Yoone.9461

Yoone.9461

Oh indeed, sorry I didn’t check that. It seems to be the only event with no name.

I assume it’s a bug that needs to be reported!

Items / Recipes

in API Development

Posted by: Yoone.9461

Yoone.9461

To do such a thing, you would have to save all the data fetched via the API in a DBMS with links between the tables “items” and “recipes” for example.

The data provided by this API is coming directly from the game, but I don’t think they would add additional computing like this on their servers.

Nameless Event?

in API Development

Posted by: Yoone.9461

Yoone.9461

You should be able to match your event id with the name from there:

https://api.guildwars2.com/v1/event_names.json

(edited by Yoone.9461)

Items icons and in-game code

in API Development

Posted by: Yoone.9461

Yoone.9461

Hello Cliff,

Would it be possible for you to release an icon package for all the items the API refers to? It would really help for the creation of an item database.
I know this is complicated, because you would have to release all icons from the game, or release a new package for every update. But if there is a way, please do it!

And I don’t think you would do that, but maybe if you could also add the code to link items in-game, it would be more than much appreciated.

Thanks a lot for the API, I have been waiting a long time for it since I heard about it. And good luck improving and updating it!

(edited by Yoone.9461)