(edited by smiley.1438)
Are the supply camp, tower, keep, and castle icons available anywhere?
This is what i asked for! (the “old” objectives)
@Chris: Thanks for that! Could you please also provide us icons for the “old” objectives in the same resolution? I believe most of us still use those in poor quality and in the old colors.
@Drakma: just wait for the maps api to be updated
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 255
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/7.5
Access-Control-Allow-Origin: *
Date: Fri, 13 Sep 2013 19:14:20 GMT
Apparently yes.
Please bring mystic forge recipes to the recipes API! Please! It gets annoying :o
See:
https://forum-en.gw2archive.eu/forum/support/forum/The-kitten-filter-not-affecting-signature
https://forum-en.gw2archive.eu/forum/support/forum/another-kitten
https://forum-en.gw2archive.eu/forum/support/forum/Question-about-profanity-filter
https://forum-en.gw2archive.eu/forum/support/forum/Female-body-part-not-a-kitten
https://forum-en.gw2archive.eu/forum/support/forum/Thakittens-Forum-bug
https://forum-en.gw2archive.eu/forum/support/forum/Auto-uncorrecting-to-Kittens
https://forum-en.gw2archive.eu/forum/support/forum/Kittkittkittkittkittkittkittkittkitt
need more?
What’s the deal? Arenanet wants us to be kitten to each other ;D
I know of these other items (currently ~5303). Another guess was that vendor_value is used as minimum price in the AH, but this doesn’t make any sense in combination with the “AccountBound” flag either.
I stumbled across this combination here:
https://api.guildwars2.com/v1/item_details.json?item_id=46507
Just to be clear: does the “NoSell” flag always mean that you can’t sell this item to a merchant and no value is shown in the items tooltip? Or are there any special cases where vendor_value is required? Wouldn’t it be better to just unset vendor_value if “NoSell” is set?
Items are added as soon they are discovered and like other APIs, items.json is updated in realtime, so you may want to check this frequently. However, renaming of items (especially translations) or other changes to them only happen during patches. A list of changed items during an update has been requested more than once, hope this is going to happen soon
Each entry in my case contains the item ID, name, type, rarity and level.
In the UI the user selects a type filter and level/rarity if they desire, then the app queries the database for all matching, puts their names into a dynamic list and holds on to only the item_id.
What about storing the JSON in your database too, so you don’t need to request the api to get the data (and keep in mind that you need to request the api 4 times for an item if you need all languages…)
have a look at this:
http://gw2wbot.darthmaim.de/itemlist.php
http://gw2wbot.darthmaim.de/smiley/gw2itemsearch.html
(edited by smiley.1438)
Cliff answered this more than once before and stated that there’s no specific limit but it would be good when we’d cache the results when possible.
See: https://forum-en.gw2archive.eu/forum/community/api/How-often-is-the-event-data-updated/first#post2063497
and
https://forum-en.gw2archive.eu/forum/community/api/names-json-static/first#post2064473
(edited by smiley.1438)
Well, it isn’t perfect yet because i have to find out some classes of the message boxes but it should be better that way.
Hmm, this doesn’t look right at all.
I could recommend you my CSS-hack for the forums, which (hopefully) fixes some issues:
https://forum-en.gw2archive.eu/forum/game/gw2/CSS-Hack-Fluid-forum-layout/2308172
One more wrong named item which has also no name in spanish:
https://api.guildwars2.com/v1/item_details.json?item_id=39925
https://api.guildwars2.com/v1/item_details.json?item_id=39925&lang=es
If this is the same Cliff who used to program the API stuff, a fix won’t happen too soon because: https://forum-en.gw2archive.eu/forum/community/api/New-API-developer/2713725
I belive Dr Ishmael means this one: https://forum-en.gw2archive.eu/forum/community/api/Bug-in-Items-api
(gotta love that error 500…)
I’ve always been a huge fan of how Guild Wars 2 Guru did it – a proper search, together with a built-in automated search when you start new threads, to alert you if similar topics exists.
GW2Guru actually uses one of the best solutions for forums/community pages around, which is IP.board - something like this would be the only solution to make this pile of … over here usable. But it seems not trivial to switch the forums software…
(btw. not only the search function is broken, but also the paginations, redirects etc.)
(edited by smiley.1438)
There’s no way to get the guild emblems yet but to extract them from the gw2.dat. Dr Ishmael did that before, have a look at this post: https://forum-en.gw2archive.eu/forum/community/api/API-Suggestion-Guilds/2151144
We also don’t know exactly how to postprocess the images so that we can build 1:1 guild emblems, see the latest not-so-bad result i got over here: https://forum-en.gw2archive.eu/forum/community/api/API-Suggestion-Guilds/2155863
For some code have a look at this: https://github.com/codemasher/gw2api-tools/blob/master/examples/gw2emblems.php
The manual override is a checkbox between several others – just check it and press reply.
You mean something like this: https://forum-en.gw2archive.eu/forum/community/api/API-Suggestion-World-vs-World/first#post2455807 ?
Hello Stefan and goodbye Cliff, thanks for all your support!
Whats the point of this thread in the API forum?
Broken pagination is broken.
https://forum-en.gw2archive.eu/forum/support/forum/Thread-loaded-as-Empty/first#post2149426
Hey Smiley, Wanted to let you know I tested this earlier today, and I could see myself on the location receiver.
Good job with it all!If I understood it correctly, everyone in the guild will need this app, (or mumble?) and use same “key”, to be able to show up the locations on the receiver?
Keep up the good work!
Thanks for the heads-up!
You’re right, everyone you’d like to see on the map would need the app and the shared key. Mumble won’t work unless someone would write a plugin for it which sends the position data to a specified server.
First of all, you should post this in the appropirate subforum which this isn’t. Second, i don’t know of a bug in that JP which prevents getting the achievement, nor do the wikis: http://wiki.guildwars2.com/wiki/Scavenger's_Chasm
The chests must be opened in order (2 → 4 → 6). The last chest will open after inserting only five orbs, but you need to insert one more to unlock the achievement.
(edited by smiley.1438)
You won’t see anyone else if you’re the only one with that key.
The channel key is a secret phrase which is shared between the members of a group to identify their members. You’ll need to enter this key also on the website which shows the map in order to see that group.
The receiver over http://gw2.chillerlan.net/examples/gw2location-receiver.php works flawless (plus it seems you have never connected to this one), so if you’re using the script on your own server with code changed etc. i’ll need to see your code to tell if somethings wrong with it.
Feel free to make a suggestion thread for files you want to see in that API. The initial set is just a relatively random set that I picked as a proof of concept.
I’ve already created one ^.^
https://forum-en.gw2archive.eu/forum/community/api/API-Suggestion-Render-Service/first#post2621437
Already mentioned over here: https://forum-en.gw2archive.eu/forum/community/api/API-errors-bugs/2596480
The 500 error which is thrown on any API error is somewhat misleading anyway. No matter if it’s a user error like wrong or missing params (could possibly end up in a 416), items not found (maybe a 416 as well, a 404 would be inappropirate) or “real” server errors (which are actually 500). So you’ll need to parse the “text” property of the error object any time if you want to know whats going on.
(edited by smiley.1438)
I wonder if you could add one (or more) 256×256 error-tiles for use with the map tile service to files.json. You know, Golems and Quaggans are appreciated all the time
There’s no vista icon in files.json. Maybe that one rogue map_waypoint_hover assassinated it and took its place.
E: Also no skill challenges.
Indeed! Should we call Mulder and Scully? (sorry watched too much X-Files yesterday XD)
Funny, now it’s gone O.o
€: no, it isn’t – the JSONView plugin in chrome just drops it.
view-source:https://api.guildwars2.com/v1/build.json
{"map_complete": {
"file_id": 528724,
"signature": "5A4E663071250EC72668C09E3C082E595A380BF7"
}, "map_dungeon": {
"file_id": 102478,
"signature": "943538394A94A491C8632FBEF6203C2013443555"
}, "map_heart_empty": {
"file_id": 102440,
"signature": "09ACBA53B7412CC3C76E7FEF39929843C20CB0E4"
}, "map_heart_full": {
"file_id": 102439,
"signature": "B3DEEC72BBEF0C6FC6FEF835A0E275FCB1151BB7"
}, "map_node_harvesting": {
"file_id": 157332,
"signature": "995534EBE5D26804AE605E205E50539821C0CBCB"
}, "map_node_logging": {
"file_id": 157333,
"signature": "FC01BB452D5327A0E5B2E4A3F5EFDF03F8264A7B"
}, "map_node_mining": {
"file_id": 157334,
"signature": "A89EB66C39C7C006A4A6CBEDA28061F16847E9BC"
}, "map_poi": {
"file_id": 97461,
"signature": "25B230711176AB5728E86F5FC5F0BFAE48B32F6E"
}, "map_special_event": {
"file_id": 502087,
"signature": "1273C427032320DDDB63062C140E72DCB0D9B411"
}, "map_story": {
"file_id": 102369,
"signature": "540BA9BB6662A5154BD13306A1AEAD6219F95361"
}, "map_waypoint": {
"file_id": 157353,
"signature": "32633AF8ADEA696A1EF56D3AE32D617B10D3AC57"
}, "map_waypoint_contested": {
"file_id": 102349,
"signature": "5EF051273B40CFAC4AEA6C1F1D0DA612C1B0776C"
}, "map_waypoint_hover": {
"file_id": 157354,
"signature": "95CE3F6B0502232AD90034E4B7CE6E5B0FD3CC5F"
}, "map_waypoint_hover": {
"file_id": 157354,
"signature": "95CE3F6B0502232AD90034E4B7CE6E5B0FD3CC5F"
}}
(edited by smiley.1438)
As you can see, i already use a prepared statement which is already pretty safe to store the data, but i’m umm… aware of unaware users ^.^ The most harmful characters are already blacklisted in the preg_match(), so this should be fine. Good point though on strlen(), i changed it to mb_strlen() instead.
I just found that “map_waypoint_hover” is declarated twice in https://api.guildwars2.com/v1/files.json
I have to ask about this, since the “Changes….” thread where updates were announced to has been locked, suggesting that’s been deprecated even for announcements.
The changes thread has always been locked for normal users, but i hope too that it will be maintained in future.
Sorry, i should have asked more clear: how would i validate a GW2 character name. See, when the mumble link data is used on web services like the one, Heimdall and me provide, it’s possible that also hackers try to break stuff e.g. with REST clients etc.. So it’s essential to validate any incoming data and/or sanitize it – thats what i already do. The only thing i’m unsure about is the character name. Check out my updated location receiver script to see what i’m doing:
https://github.com/codemasher/gw2api-tools/blob/master/examples/gw2location-receiver.php
(edited by smiley.1438)
Cliff, could please you provide us with some information about the character sets which are allowed (or better: forbidden, since the PCRE will match only ASCII chars) in character names so that we could e.g. run a regexp on them in order to store them in a DB or use them in scripts/apps/websites in a XSS/hack safe manner?
We know:
- names are max 19 chars long
* the most harmful chars (to HTML, also partly SQL) won’t ever appear, which are: & < > " ’ /
* possibly and hopefully all other non-letter chars are forbidden too, such as backticks `, the hash sign # etc.
(dang, lists on this forum are so annoying >.<)
(edited by smiley.1438)
It changed yesterday, see https://forum-en.gw2archive.eu/forum/community/api/GW2-s-Mumble-Link-context-data-format/first#post2568371
(btw. i’m happy to see that the changes reflect 1:1 what Heimdall and me kinda proposed with our Location Tracker – thanks for that one! )
Hey, i’ve just created a clean repo of my WikiMaps project in the hope that the community will help to create cool maps for all purposes: https://github.com/codemasher/Guild-Wars-2-WikiMaps
Feel free to fork and send pull requests!
(i’m yet pretty unsure which license to choose – in doubt just refer to the WTFPL)
All the API wiki articles will be in a specific namespace that can only be edited by particular groups of wiki editors.
Do you plan such a namespace also for the “other” wikis, namely german, french and spanish? If yes, count me in for german.
(edited by smiley.1438)
That’s very useful, thanks! Although it would be even better if there was some unique per account information so one could identify when a player switches the character. So either an account name, or some internal ID, or even a hash of anything account identifying would be very good.
I had this idea also in conjunction with our location tool but since unique IDs to identify user data are always problematic (ask Google…) i guess we need to rely on user input.
(edited by smiley.1438)
Hmmm, i somehow get the feeling that this is a local problem – i just tried it with said browsers (also in Opera 12.x and Opera Next) and it looks like intended in all of them. I have Adblock Plus in Chrome, Firefox and Opera 12 installed, ScriptSafe in Chrome, no special rules or DNS changes at all.
You can be proud RoF about your exploit in durios just a few minutes ago. No walls or door open and still suddenly 3 or 4 people are inside. Then a mesmer ports the rest of you guys in. I made a lot of screenshots with your names on them and reported it. Let Anet decide if there was a mesmer in there before or not. It didn’t look like that to me since you also had 2 rams at the door working. If it wasn’t an exploit I apologize but still they should look into stuff like that
Speaking of hacks, you Dzagonur guys should be quiet. We both know there are a lot of hiding places and we both also know that noone bothers to check for mesmers when running a karma train.
I’m still waiting on some improvements on several API responses so that we can finally have fast and reliable wikimaps such as:
- retrieve floordata by map_id (or even better: by map name)
- sector boundaries as polylines in the floordata
- descriptions for several poi types like skill points and vistas
- correct event_type in the event_details.json
- better structure of several json responses (e.g. this, this, this, this and this)
- some more information on how to display guild emblems, since my final approach had ok results, but was far from perfect
…and many more which were already asked by others in the respective suggestion threads…
(edited by smiley.1438)
I’ve asked that already 2 weeks ago and got no answer to that specific question <.<
Well, not really an outage, but is it just me or aren’t the tiles updated with the new map yet?
My guess is that temporary maps won’t make it onto the tileserver…
Unfortunately, we were not yet able to test it with that large numbers of players, but from what i can tell, it’ll be like this:
- The receiver/server should not get in trouble as long as you don’t host it on your private pc (my webspace is hosted in a datacenter with at least a 1Gbit connection)
- The data being sent to a client to draw the players on the map will of course increase with every marker to be drawn. It’s ~260 uncompressed bytes per player in my example, which can be shrinked down to ~190 when you use single letters as JSON identifiers and store world/map names in a JSON and assign them on the client side – so a client would receive ~20kB of data for 100 players. It would be an idea to dynamically increase the map update interval with increasing player numbers if you get in trouble there.
- From my experience, Google Maps as well as leaflet will slow down at > 250 markers or so shown on the map (depends on client hardware). If you plan to show also the POIs from map_floor.json, you should not draw them but leave it up to the client to show/hide them. (check this demo for performance)
- Last but not least, a marker clusterer would be an idea so that you’ll show only a limited number of markers at once.
(edited by smiley.1438)