Showing Posts For queicherius.2563:
I’m not sure how other sites do those arguments so seamlessly, but this is my ghetto implementation :P
It’s the power of .htaccess
RewriteEngine On
- If the requested thing is not a existing directory or file
# rewrite the request to index.php, where the request can get
# parsed out of $SERVER[’REQUESTURI’]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Or, if you are on nginx, you can configure the redirect in your config.
Here is part of what I made for gw2efficiency: https://gist.github.com/queicherius/eb41a5ad53923884234c
Maybe that helps
Two little reports:
- Expertise in Axe Crafting is missing
- Expertise in Sword Crafting is currently requiring a Weighted Nightsword Blade, but it’s actually a Weighted Sword Blade
Here is my key, which is also having the “achievement completed” bug:
{
“id”: 2653,
“bits”: [
0
],
“current”: 1,
“max”: 0,
“done”: true
},
Undefeated set to “true”, but only 1 bit set (the first boss, which is correct).
Presuming that looks fine I can probably have the endpoint amended by the end of the week.
Yes, please!
Also… more stuff to add!
I’m currently trying to go through the achievement api and convert into achievement recipes… but it seems the reward for completing the achievements isn’t in that api. do I have to do that part by hand?
I think so, at least I didnt find any achievement rewards.
I am not sure if giving some recipes the negative currency ids and some the item id is a good idea. From an implementation standpoint I would vote to just use the (negative?) currency ids for all recipes that use them.
Edit: Also, something is going wrong. Did you hard-cap the ingredients to 4? Because e.g. “Expertise in Nightsword Crafting” only has the first 4 ingredients, but on your page it has all of them propperly.
(edited by queicherius.2563)
Alright, thanks for the quick response.
reverts commit that removed wiki parsing
Just noticed, that achievements are missing. More specifically, I can’t seem to find the Legendary Crafting II and III one’s. Am I looking wrong?
I added the latest stuff in the Github repo.
Here’s a question for you: How about Precursor crafting collection items? Example:
- Expertise in Staff Crafting: Weighted Staff Head, Balanced Staff Shaft, …
- Essence of Rainbows: Jar of Yellow Paint, Jar of Red Paint, …
Would you want that included or not (seems it’s collections, not recipes, but kinda similar)?
416 of 492 dyes have item ids linked that are not in the API / changed their item ids to these new ones:
65055, 65087, 64890, 65070, 64962, 65093, 64949, 64970, 64883, 65149, 65153, 64794, 65003, 65021, 65095, 65096, 65130, 64799, 65036, 64760, 64875, 64858, 64764, 64985, 64992, 64993, 64885, 64777, 65146, 65114, 65057, 64779, 64886, 65105, 64957, 64796, 65001, 65100, 64999, 64905, 64907, 65162, 65097, 64826, 64878, 64902, 65075, 65074, 64864, 65136, 65160, 64882, 65094, 64892, 65102, 65041, 64929, 65035, 65004, 65150, 64980, 65084, 64792, 64778, 64772, 64895, 64915, 64920, 65037, 65088, 65135, 64958, 64810, 65148, 64979, 65121, 65083, 64935, 65123, 64936, 64870, 65125, 65126, 64937, 64869, 64938, 65128, 64939, 64891, 64998, 64898, 64904, 65108, 65076, 64801, 65116, 64836, 64824, 64784, 65079, 65047, 64987, 64855, 65073, 64950, 64959, 64850, 65014, 64894, 65101, 64951, 65059, 65071, 65113, 64928, 65127, 64986, 65092, 64897, 64960, 64973, 64813, 65099, 64914, 65110, 65119, 65120, 65109, 64911, 65163, 64934, 65031, 64820, 64817, 65033, 65156, 64763, 65015, 65056, 64933, 64780, 64972, 64825, 65026, 64921, 65009, 65118, 64988, 65154, 64829, 65145, 65115, 64846, 64967, 64811, 65077, 65008, 65034, 64803, 64982, 64913, 64849, 64931, 64966, 65151, 65053, 65103, 64903, 64814, 64901, 65065, 64961, 64851, 64884, 65142, 64983, 64889, 64866, 64947, 64877, 64927, 65155, 64899, 65038, 64912, 65157, 64781, 64906, 65072, 65131, 64874, 65018, 64975, 65080, 65016, 64773, 64767, 64925, 65060, 65082, 64865, 64943, 64769, 65138, 65029, 64968, 64963, 64862, 65147, 64908, 65091, 65019, 65158, 64852, 65086, 64994, 64782, 65067, 64798, 64859, 64785, 64888, 65143, 64879, 65133, 65098, 65025, 65132, 64848, 64765, 64881, 65062, 64971, 64916, 64823, 64856, 64860, 65049, 65064, 64873, 65161, 64930, 65081, 65085, 64802, 64918, 65111, 64788, 65032, 65007, 64896, 65122, 65124, 65068, 64853, 64793, 64880, 64996, 64790, 65005, 64786, 65090, 64783, 64887, 65061, 64893, 65030, 65051, 65044, 65063, 65022, 64832, 64838, 64834, 64900, 64818, 65104, 65027, 64815, 64806, 65107, 64909, 64910, 64822, 64833, 65048, 64990, 64839, 65039, 64917, 65069, 64922, 64923, 65066, 64926, 65052, 65050, 65045, 65043, 65013, 64762, 64787, 64932, 64770, 64876, 65134, 64872, 64871, 64940, 64868, 64941, 64867, 64863, 64861, 64944, 64945, 64946, 64948, 64857, 64854, 64847, 64845, 64952, 64953, 64844, 64843, 64954, 64842, 64841, 64837, 64831, 64827, 64821, 64812, 64809, 64805, 64955, 64956, 64800, 64776, 64774, 64771, 65137, 64964, 65106, 64965, 64761, 65117, 64969, 64795, 64804, 64807, 64808, 65139, 64816, 64974, 64819, 64828, 64830, 64775, 65006, 64977, 64978, 65011, 64797, 65152, 65017, 65020, 65023, 65028, 65040, 65046, 65042, 65078, 65058, 64981, 65144, 64984, 65000, 65141, 64989, 65012, 64991, 64995, 65002, 64835, 65054, 65159, 64768, 65129, 64919, 65024, 64997, 65010, 64924, 65089, 65140, 65112, 64789, 64840, 64976, 64766, 64791, 64942, 65189, 65191, 65188, 65192, 65190, 65193, 65183, 65184, 65182, 65186, 65187, 65185
(On this note, is it better to report bugs here or on Github?)
Thank you so much! This is awesome.
I changed to be manual, if you tell me your github handle I can change it to you as the owner of the repo (or at least as collaborator, if you dont want the ownership).
hehe, I like it! but I believe the initial purpose was the allow anyone the ability to add to it, how well would it work if someone else adds a recipe not on my list? and how well would it work if I then added it to my list?
Yep, that would not work like that (i’d get overwritten). It’s just version tracking. If people wanted to contribute, i’d be the other workflow you described above (with basically copy/pasting the changes you make, but having to merge other people’s changes).
OHHHHH, I see what you mean, “Salvage this weapon to receive its spirit, needed to craft the next tier of this legendary precursor.” I’m not very familiar with precursor crafting, so didn’t know the chain it went through :P
so, like: output: Spirit of The Device x 1, ingredients: The Device x 1 ?
besides precursor crafting, does it happen anywhere else? is this needed in any other part of precursor crafting besides “prepreprecursor -> spirit of prepreprecursor”?
and do you actually use a basic salvage kit on that prepreprecursor?
Yep, that’s exactly what I mean. I used a mystic kit on mine, but it didnt really matter. I’d just do it as a new discipline “Salvaging” with the exact output you wrote there.
Not sure if that happens anywhere else… maybe the “Salvage”-Items, like Torn Pelt or something?
Also – sorry for being annoying – what do you think about adding “salvage” items as well?
An example would be salvaging the new precursors into their crafting items. With that it would be easy generating recipe trees for the precursor crafting
And I quickly made this repo. Basically, it auto-updates from your data to show diffs when stuff changes. Maybe this is a compromise? You could still update via your database and we would have diffs. If it’s a dumb idea I can delete it again no problem, only took a few minutes.
More things!
- Colored Spinal Blades (http://wiki.guildwars2.com/wiki/Tempered_Spinal_Blades)
- Endless Gift Dolyak Tonic
- Giant Wintersday Gift
- Mistforged Weapon Ugrades
- Superior Rune of Snowfall & Superior Sigil of Mischief
Thanks, that seems to fix everything
Aaand some more things. Something seems to be going very wrong. Most items that were buggy before (e.g. Spinal Blade pack using Chocolate Cherry Cake) now have wrong ingredients.
Items that need another look taken at (aka have < 4 ingredients atm):
Goblet of Kings
Charged Quartz Crystal
Eye of Rodgort
Ignus Fatuus
Mirage
Mjölnir
Mystic Forge Conduit
Chainsaw the Skeleton
Foostivoo the Merry
Foostivoo the Merry
Mini Armored Scarlet Briar
Mini Dolyak Calf
Mini Dolyak Calf
Mini Dolyak Calf
Mini Ghost Carlotta
Mini Holographic Colossus
Mini Princess Miya
Mini Risen Abomination
Mini Super Assassin
Plush Griffon
Princess Doll
Toy Golem
Toy Soldier
Toy Ventari
Triforge Pendant
Mighty Infusion
Precise Infusion
Malign Infusion
Resilient Infusion
Vital Infusion
Healing Infusion
Versatile Vital Infusion
Versatile Malign Infusion
Versatile Resilient Infusion
Versatile Precise Infusion
Versatile Healing Infusion
Versatile Mighty Infusion
Sclerite Karka Shell
Book of Secrets
Koss on Koss
Symon’s History of Ascalon
There with Yakkington: A Traveler’s Tale
Tome of the Rubicon
Bowyer’s Delight
Endless Quiver
Quiver of a Thousand Arrows
Quiver of Swift Flight
Sights Be True
Spinal Blade Pack
Twin Spinal Blades
Quad Spinal Blades
Advanced Spinal Blades
Tempered Spinal Blades
Tempered Spinal Blades (Infused)
Light of Dwayna (Infused)
Shadow of Grenth (Infused)
Chaos of Lyssa (Infused)
Mini Fancy Llama
Mini Elegant Llama
Mini Lavish Llama
Mysterious Seedling
Mysterious Sprout
Mysterious Vine
Cultivated Seed
Cultivated Seedling
Cultivated Sprout
Cultivated Shoot
Cultivated Vine
Pet Seed
Pet Seedling
Pet Sprout
Pet Shoot
Pet Plantling
Mawdrey
Mawdrey II
Github (or git in general) just helps with versioning, that’s how I saw that the change you made instantly.
Another bug report: Mordrem and Evergreen Sliver → Lodestone have the Madrew components in them.
Thank you, that was fast!
Also thanks again for doing this, much appreciated (esp. that you did Mawdrew was awesome).
Bugreport time (please dont hit me)!
There are quite a few items that have their item id in the “count” field, namely…
31056 > Eye of Rodgort
1x 20852 19976x 0 24295x 0 31081x 031088 > Ignus Fatuus
1x 20852 19976x 0 19721x 0 12998x 031103 > Mirage
1x 20852 19976x 0 19721x 0 13004x 031079 > Mjölnir
1x 20852 19976x 0 19639x 0 24305x 070010 > Mystic Forge Conduit
1x 35735 19976x 0 35734x 0 35729x 036323 > Chainsaw the Skeleton
1x 36317 36321x 0 36319x 0 36041x 038047 > Foostivoo the Merry
1x 38046 38048x 0 38049x 0 38301x 038047 > Foostivoo the Merry
1x 38046 38048x 0 38049x 0 38450x 042956 > Mini Armored Scarlet Briar
1x 42953 42954x 0 42955x 0 49950x 049294 > Mini Dolyak Calf
1x 49291 49293x 0 49292x 0 38448x 049294 > Mini Dolyak Calf
1x 49291 49293x 0 49292x 0 38450x 049294 > Mini Dolyak Calf
1x 49291 49293x 0 49292x 0 38449x 048741 > Mini Ghost Carlotta
1x 48754 48755x 0 48753x 0 47909x 043428 > Mini Holographic Colossus
1x 43427 43426x 0 43425x 0 43429x 046653 > Mini Princess Miya
1x 46654 46644x 0 46646x 0 46645x 047844 > Mini Risen Abomination
1x 47842 47841x 0 47843x 0 47908x 046497 > Mini Super Assassin
1x 46494 46496x 0 46495x 0 41824x 038455 > Plush Griffon
1x 38305 38300x 0 38301x 0 38302x 038451 > Princess Doll
1x 38303 38300x 0 38301x 0 38302x 038454 > Toy Golem
1x 38307 38300x 0 38301x 0 38302x 038453 > Toy Soldier
1x 38304 38300x 0 38301x 0 38302x 038452 > Toy Ventari
1x 38306 38300x 0 38301x 0 38302x 039341 > Triforge Pendant
1x 23095 19721x 0 19976x 0 24277x 037127 > Mighty Infusion
50x 20796 19976x 0 36731x 0 24295x 037128 > Precise Infusion
50x 20796 19976x 0 36731x 0 24351x 037129 > Malign Infusion
50x 20796 19976x 0 36731x 0 24283x 037133 > Resilient Infusion
50x 20796 19976x 0 37897x 0 24289x 037134 > Vital Infusion
1x 20796 19976x 0 37897x 0 24358x 037123 > Healing Infusion
50x 20796 19976x 0 37897x 0 24300x 037136 > Versatile Vital Infusion
100x 20796 19976x 0 37907x 0 24358x 037130 > Versatile Malign Infusion
100x 20796 19976x 0 37907x 0 24283x 037135 > Versatile Resilient Infusion
100x 20796 19976x 0 37907x 0 24289x 037132 > Versatile Precise Infusion
100x 20796 19976x 0 37907x 0 24351x 037125 > Versatile Healing Infusion
100x 20796 19976x 0 37907x 0 24300x 037131 > Versatile Mighty Infusion
100x 20796 19976x 0 37907x 0 24295x 042425 > Sclerite Karka Shell
1x 42426 19721x 0 37897x 0 37907x 037009 > Book of Secrets
1x 38014 20799x 0 19721x 0 24295x 037001 > Koss on Koss
1x 38014 20799x 0 19721x 0 24357x 037005 > Symon’s History of Ascalon
1x 38014 20799x 0 19721x 0 24289x 037003 > There with Yakkington: A Traveler’s Tale
1x 38014 20799x 0 19721x 0 24351x 037007 > Tome of the Rubicon
1x 38014 20799x 0 19721x 0 24358x 037006 > Bowyer’s Delight
1x 38014 20796x 0 19721x 0 24357x 037004 > Endless Quiver
1x 38014 20796x 0 19721x 0 24358x 037000 > Quiver of a Thousand Arrows
1x 38014 20796x 0 19721x 0 24351x 037008 > Quiver of Swift Flight
1x 38014 20796x 0 19721x 0 24295x 037002 > Sights Be True
1x 38014 20796x 0 19721x 0 24289x 050060 > Spinal Blade Pack
1x 50079 50025x 0 24274x 0 19683x 050061 > Twin Spinal Blades
1x 50060 50025x 0 24275x 0 19688x 050062 > Quad Spinal Blades
1x 50061 50025x 0 24276x 0 19684x 050063 > Advanced Spinal Blades
1x 50062 50025x 0 24277x 0 19685x 050064 > Tempered Spinal Blades
1x 50063 50025x 0 46746x 0 50065x 050050 > Tempered Spinal Blades (Infused)
1x 50064 37070x 0 38023x 0 19721x 066168 > Light of Dwayna (Infused)
1x 49478 37070x 0 38023x 0 19721x 066166 > Shadow of Grenth (Infused)
1x 49479 37070x 0 38023x 0 19721x 066167 > Chaos of Lyssa (Infused)
1x 66169 37070x 0 38023x 0 19721x 0
Actually the way you wrote there DOES work!
This returns all characters with all inventories (“bags”). You only have to go through the characters yourself and add the bags contents (“inventory”) together.
It’s opt in. You are not forced to share anything. If people require it (like before with “ping gear”) for their group/guild and you dont want to, there is an easy fix…
… you don’t join! There is countless groups and guilds. Choose one that fits your playstyle, and you will be happier in the long run.
Folks who think gear-checks matter can group up with other folks who agree that it matters.
Folks who don’t care about gear-checks can form their own LFGs without worrying about getting people who do care.
This is exactly what I was thinking. Maybe I should put this somewhere as a disclaimer.
That part should be in on Nov. 17th, the rest of the feature requests on Dec. 1st (though I reserve the right to slip on those dates — the backend for the achievement stuff is painfully complex).
Sweet! That’s a lot faster than I thought it would be! Thank you and the team for your hard work.
To add to some of the bugs already named (done field and current counter):
- Achievements with the Type “ItemSet” dont seem to track completion (e.g. I unlocked the luminescent achievements, but they dont even show up in the account api)
- Some achievements have weird max values (“-1”), e.g. the “slayer” achievement in pvp. Are these the one’s that are counting forever? Problem with that is that we cant show what the max ingame is (in that case 2000)
{
“id”: 239,
“current”: 9408,
“max”: -1,
“done”: false
}
Even tho you guys probably have all that stuff on your todo lists, here is a list of things I would LOVE for this endpoint:
- Getting “max” value for the unauthorized achievement endpoint as well. I didnt start kegmaster, so I dont know how many “requirements” i need
- Show the requirements, (needed achievements, items, …). Also “text” objectives like for “Powered up” (http://i.imgur.com/7SWQ7Bb.png). Without this we can’t really make use of the bits.
- Show the rewards (AP, items, titles, mastery points, …)
- Show the category of the achievement (Heart of Thorns -> Verdant Brink)
Edit: I should read more closely. Still gonna leave the list here, even tho it is in the original post.
(edited by queicherius.2563)
Bugreport time!
- Mini with id “208” has a broken name (“((46388))”)
- Item ids set that are missing in the item endpoints 49285, 67845, 70112, 74532, 71258, 70703, 74762, 70234, 71848, 74055, 73476, 76663, 74444, 70684, 70191, 70888, 73378, 73749, 71835, 76594, 76745, 74595
Thank you for all the work you put in here.
Just as a note, “Unspoken Curse” is not crafted with greatsword blades, but sword blades.
As for hotjoins, it’s probably by design. The aggregate stats come from the server responsible for matchmaking, and I’m guessing that hotjoins no longer affect player MMR (and thus aren’t included in the aggregate data). Definitely an annoyance from a data perspective, but if that assumption is correct it’ll take some extra work to pipe that data through a side channel.
Thanks for looking into it. <3
Bye = You won, one or more enemies left the team before the match ended
Forfeit = You loose, one or more of your teammates left the team before the match ended
Desertion = You left the game before the match ended.
Yeah that’s how I have it implemented as well. I just forgot that desertion was a disconnect.
Still strange for the case of the Necro game.
And on top of that, hotjoin matches dont seem to get into the API anymore. Waited quite some time, totals as well as latest matches didnt get updated.
To throw some into in here too…
The game of Novuake.2691 got marked as “Desertion”, the game of uhohhotdog.3598 (asuming it was that necro game) got marked as “Bye”. Now, according to the info here they mean the following:
“Bye” is when somebody on opposing team disconnects and you win. “Desertion” is when somebody on your team disconnects and you lose.
So. Either the API returns them flipped for some reason, or that information is wrong. I started a thread in the API forums to clear this up. I was pretty sure, that it was correct when I first implemented it (I checked stats with multiple pvp players), so it might be an API issue.
This thread on the pvp subforum got my attention. After checking the matches of these players, the game of Novuake.2691 got marked as “Desertion” (but he won), the game of uhohhotdog.3598 got marked as “Bye” (but he lost). Now, according to the info here they mean the following:
“Bye” is when somebody on opposing team disconnects and you win. “Desertion” is when somebody on your team disconnects and you lose.
So. Either the API returns them flipped for some reason, or that information is wrong. Any insights?
I have a few questions about how the pvp/stats API works. Let’s talk about these stats from one of my users (raw data here).
- Do “Solo Ranked” and “Team Ranked” get added together for the “Ranked” ladder? If yes, what are the 49 “Ranked” matches, that are additional if you add “solo” and “team” together? Based on the raw data: (282+288+2+1)-(75+74+185+190) = 49. What exactly are the definitions of these ladders?
- Assuming that “solo ranked” and “team ranked” are included in the “ranked” matches, the aggregate number does not match up with the ladders number: (567+503+6+23+17)-(282+288+2+1+213+157+6+21+16) = 130. Are these custom arenas?
- What is the “none” ladder for?
Edit: While I am at it, the timezone offeset for the played matches seems wrong. The match I played a few minutes ago is dated “2015-09-10T18:34:54.000Z”, when it should be “2015-09-10T10:34:54.000Z” or “2015-09-10T18:44:54+08:00”.
Thanks for all the new APIs, it’s a blast building stuff with it.
(edited by queicherius.2563)
Something interesting is going on with my trait ids here
My guess is that that’s a character I didnt log in yet after the change for traits?
Wooo! Finally sharing with traits! Thank you so much for this.
That is good news. Right now it’s a bit strange grabbing the propper items for skins (trying to parse names as well and what not).
I know it seems like we’ve forgotten about the APIs from time to time, but I promise we haven’t. Some of this data is just a real adventure to get into usable form that we can expose!
You are doing an pretty amazing job bringing us all the new endpoints. We – developers and players alike – appreciate it.
Oh man, I just noticed the share character function.
Gonna make all my guildies use this to share builds. We’ve been looking for this for awhile — massive thanks!
Thank you for providing all the endpoints! And as soon as the endpoint for character traits and skills is enabled, that’ll tie in there too
Please implement:
/v2/account/whohasmycopperfedsalvagomaticI’ll put a 10g bounty on this; I need it.
Luckily for you, GW2 Efficiency already has this function!
http://gw2efficiency.com/account/charactersHuh, didn’t notice the search feature. Whelp, 10g coming your way.
EDIT: hold on, the search is for characters, not items. This doesn’t help — I just need to know where the copper-fed salvage-o-matic is.
Look at the icons http://i.imgur.com/4fNW20r.png, it shows right there and otherwise with the search function.
Oh, send the gold to queicherius.2563 instead of me, he made it.
Thanks for all the mentions, it’s awesome to know that people like and use the site. Keeps the motivation going to push further!
Edit: Also getting 10g from a dev. That’s kittening awesome.
(edited by queicherius.2563)
Hey there,
after playing around with the new APIs I came up with a Armory-Style to display your characters (WIP)
Sweet, thanks for that fast response.
Some more (new) items that show up in /v2/commerce/listings but not in /v2/items
69943, 70012, 69870, 69975, 69933, 69821, 69906, 69897
The spreadsheet always assumes 25 might so a comp that doesnt recieve 25 might may show higher totals on the calc than it actually would in game.
Yes, the little number beneath it is without the missing might, I’ll emphasize that a bit. I don’t know if this number is 100% accurate, maybe there’s a better way.
Also the condi damage doesnt factor in bleed cap or burn/poison stacking
Yes, we’re working on that. May be coming soon-ish.
Also a team with no warriors or ranger still has banners, spotter etc. :P
Take a look at the spreadsheet, there are different colums for what party composition (Warrior, EA-Warrior, Ranger combination) you’re running. The calculator looks at the party composition you built and takes the values of the corresponding columns. [Except I made a mistake and it’s bugging out, but in this case, it should display nothing at all] It (currently?) doesn’t take double rangers (7% + 3.5%) or stuff like multiple warrior’s shouts (might/vuln, every warrior takes 2 banners in the spreadsheet) into consideration.