Showing Posts For 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!
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)
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)
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!
- JavaScript (by OriginalLuCHEF from reddit)
- PHP
- Python (by zeeZ.5713)
(edited by 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.
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
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!
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!
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.
Items: add link to icon, like the current Trading Post API, but working without any GW2 account, and for every item.
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:
- Example: https://dfach8bufmqqv.cloudfront.net/gw2/img/content/4f7e4ac9.png
- Equivalent: https://tradingpost-live.ncplatform.net/gw2/img/content/4f7e4ac9.png
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)
Thank you for your work, I may use it in the future.
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)
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)
Thank you! This is just even better
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.
I was thinking about crawling an already existent database, but I haven’t thought about the gw2spidy API, thank you for your help!
A little official documentation on the server IDs wouldn’t hurt if you are right gnakitten584!
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!
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.
You should be able to match your event id with the name from there:
(edited by 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)