Showing Posts For DarkMagister.7429:

HEADS UP: rate limiting is coming

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Would it be legit if I use my own server for static API requests and only use the official API for account bounded requests? My Server would then have its own database of items for example and only updates this database like every 24h?

I really think everyone should go this way.
It requires less time, more search variety, and so on and so forth.
For my software I planned to check for the change in version name, to trigger a database rebuild, but found it is too often, so just press a button after major updates.

HEADS UP: rate limiting is coming

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

To clarify a possible point of confusion in some of the above posts, 1 item is not equal to 1 transaction. A transaction where somebody buys or sells 1 item is the same as if they bought 250 in a stack. If you’re a bulk trader, your average load (based on naive mathematics) across 1 million individual items will be about 8000 transactions.

However if you are selling a stack of 250 items, and those are bought by 250 different people – you get 250 transactions in Sell History, which you get in 1,25 requests.
So if you sell/buy lots of small items, your Buy/Sell history can become rather long.
Isn’kitten

(edited by DarkMagister.7429)

HEADS UP: rate limiting is coming

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Well, the change is reasonable (man, we could get prices every minute and that’s not a problem? I downloaded prices every 5 minutes not to be stress, and only for those craft-used items).

I was afraid cases like re-creating locally saved items and recipes information would hit the limit, but:

At this moment I have 55k items and 12k recipes in lists. 67k / 200 = 335 requests.

So yeah, the limit looks fine. But for the above-mentioned cases with lots of pages of trading history (I don’t download all my history, I download only till the transaction that is already present in my data).

Request: Add Vendor buy prices to API call

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Oh, many thanks! It was not hard to miss it, since the forum search is dead and 6 ft under.

I actually meant your Mystic Forge recipes list I’ve been taking it from the forum topic here, so haven’t seen that page with other lists on your page.

Request: Add Vendor buy prices to API call

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

And I’d be happy to find a list of all material vendors, such as Chef and the like.

Request: Add Vendor buy prices to API call

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

I’ve asked for this once, and the thing that surprises me more is that there is no user-created list of vendors, like that Mystic Forge list At least I’ve found none at that time.

Troulbe getting data to display

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

I’d say that EVE API is a very different thing, at least in those parts I worked with it
What access point do you use for testing?
My drill for initial testing was:
1. Copy the link from wiki and open in my brower
2. Generate the link I needed in the program, copy it and check in the browser that it works fine.
3. Show the downloaded JSON as text
4. Try to interpret the JSON.

This will at least allow you to see the stage you have a problem at.

Option Reset Bug

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Same problem – many settings went default today.

Wish: Better searching

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Seems like things are more evident now, but since it was asked.

Consider the following two questions and how you’d answer them from the API:

  • What can I craft from mithril ore?
  • What recipes can my Scribe (level xx) craft?

I develop my tool as an application, not a web-project, so for me running though some lists or dictionaries looks like a faster way to get things done, then requesting server for each action.

Question 1: It can be split into two different actions, first being an addition to the second:
1. Connect user input “Mithril Ore” with the item ID (if it is a user input and we don’t know the ID). I’ve added it not so long ago, so: I have two lists: one if integer – IDs, second of string (item names). The search function creates the list of indexes of items in the 2nd list, containing “Mithril Ore”, then converts it into the list of item IDs from the 1st list (item #10 corresponds to the item #10), so the list of item IDs is returned to the table, from which Mithril Ore can be selected – we get our ID.
2. Code:

Public Function GetRecipesUsingItem(i_ItemID As Integer) As List(Of cls_HolderAPI2RecipeDetails)
        Dim lst_return As New List(Of cls_HolderAPI2RecipeDetails)
        For Each item In dic_RecipesDetails
            For Each item2 In item.Value.ingredients
                If item2.item_id = i_ItemID Then
                    Dim lst_LvlUPRecipes As New List(Of cls_HolderAPI2RecipeDetails)
                    lst_LvlUPRecipes = GetRecipesUsingItem(item.Value.output_item_id)
                    If lst_LvlUPRecipes IsNot Nothing Then
                        lst_return.AddRange(lst_LvlUPRecipes)
                    End If
                        lst_return.Add(item.Value)
                End If
            Next
        Next
        If lst_return.Count = 0 Then
            Return Nothing
        Else
            Return lst_return
        End If
End Function

This recursive function returns the list of all recipes, in which the given item and its “children” are used as ingredients. Then another function converts it into the list of results item IDs, which is then converted into names at the stage of filling the result table. It can be converted directly, but the program works with IDs, not names, I only use names when it is something the user is to see.

Conversion to name is simple, item details are stored in the dictionary of item details classes, with item IDs being keys. So, for example
[pre]msgbox (GetItemForID(i_ItemID).name)

Public Function GetItemForID(i_ID As Integer) As cls_HolderAPI2ItemDetails
If dic_ItemsDetails.ContainsKey(i_ID) = True Then
Return dic_ItemsDetails.Item(i_ID)
End If
Dim cls_ZeroResult As New cls_HolderAPI2ItemDetails
cls_ZeroResult.name = “N/A”
Return cls_ZeroResult
End Function[/pre]

“What recipes can my Scribe (level xx) craft?”
I have a boolean function b_IsNeededDiscipline, that checks: is the given recipe corresponds to the given recipe search settings (discipline and level), like Scribe (level xx) . It is used on several occasions, in your task it will be cycling through all the recipes, creating the list of recipes IDs, that correspond to the given setting.

I’m sorry for much text, and possibly sorry for stupid code – I’m not a pro.

P.S. I understand that using a local database would be the right way to do it, but had my reasons to do it this way.

(edited by DarkMagister.7429)

API fair use policy

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

It was mentioned somewhere, that WvW API is requested enormous amounts or times (keeping most up to date data, I suppose), so your 125 requests are unlikely to be even seen in that river.

I make 44 requests (for 200 items each) for prices every 8 minutes + a few for transactions = some more requests for actual data when I work with my tool, not just keep it up collecting stats.

How did you get your ascended gear?

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Trinkets – Laurels and Badges
Weapon – thx to Tequatl
Armor – crafted (crafted time-gateed every day, long before I decided to go for asc set). Basic materials from TP.

Wish: Better searching

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Maybe I’ve read too much, but I meant what it:
ANet is interested in moving as much search job to our side, instead of loading its servers. Thus it is reasonable for them to leave such complex searches to our side.
(this may not be a problem on their side, but I see some requests dropped in the prime-time already)

And if you already consider recursion to be done on your side anyway, why do you need any search at the server-side? To first get recipe-list from the server, then use your recursive function (returning recipes, using this item) on the results from this list – it is counter-productive.

P.S. Trying to use recursive search on MF recipes will need additional fail-safes added.

Let's talk about permissions

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

hm, strange decision on their side, especially if all the “speciliality” is ?a=1,b=0,c=1,d=0
Yet it gives us some insight into what they don’t want to do to help developers outside of pure API providing, and the answer to that questions is “anything”. So I’d forget about any “uploading a manifest” and “register our Apps with ANet” ((

Kudzu and the new legendary longbow

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

I agree with the OP, I will never take Kudzu in hands, not unless to transform it right away. I like bows, and I like them to be bows, not toys. Unfortunately, current weapons set consists of toys, mainly. ((

P.S. Using Sunless skin for mine.

Let's talk about permissions

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

1) We register our Apps with ANet and upload an XML manifest specifying the required permissions.

We need a way to specify required permissions to allow as many end users to complete the process as possible.

That’s a nice goal with an awful implementation idea. I think that is done in a far more simple way:
1. User comes to your site. User is urged to create an API ;-key with the given link
2. The link lists needed permission (as headers, post, etc., doe not matter)
3. The link leads to the My Account page here, to the page with already set permissions, following the given list.
4. The user creates the API with the proposed permissions and goes back to your site.

And it does not involve anet ding something but initial coding, which is vital if you want to see it in this life.

I was just thinking the other day that more MMOs need to have a phone app that lets you chat with friends and guild mates

That exists and is called Team Speak.

Items - Agony Infusions and missing materials

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Will we see correct “built-in stats” anytime soon? Can you add this description to main stats for new items at least to make items look like in-game items? Or add api for “skill_id” (buil-in upgrade?)?

I think everyone will agree most of people need correct main stats only. It does not matter if they have “built-in upgrade” or any other fast-fix game feture.

I think that as soon as “content guys” are involved, it is not the right place to ask. Dear sir answering us is unlikely to have any power over that now.

And I would expect those people have a lot of more pushing tasks now, so bad new for you.

Wish: Better searching

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

I think let not try to sit on anet’s head here )) They are providing us with some nice info to use, but if all the sites or programs start requesting anet’s server for all these things – it would not be so good.

“which recipes for scribes use T1 blood?” – way I remember there is an API to return the list of recipes using the item, then you can go through that short list to check which of them is for scribe.

BUT I doubt that API provides recursive check, nor will any other API of that kind. I mean “A is used for crafting B, B is used for crafting C. You won’t get C in the response list for A”. So it is something you will still need to do on your side.

Thankz for the Lootz

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Just don’t try to sell them )) Looks like so many shinies entered the game, the price dropped from a cliff.

Regarding: Reducing Visual Combat Clutter.

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Hm, on one hand – what you say.
On the other – these HoT traps (mentioned above) and those Legendary Two-Handers, that still make it hard to see what’s going on.

API errors & bugs

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

he-he, just as I come in to report that 63366, and it is already here )) And looks like has been for some time already ((

On crafting and excessive double-clicking

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

They also said, if you are not sure, if something is allowed or not, you shouldnt use it.
This seems to be the case here.
End of story.

That is your understanding.
My understanding now is they on one hand allow macros, on the other – prohibit those details, that are part of definition what macros is. So something is wrong with our understanding.

So I’d be very happy if anyone from ANet finally emerged and, in addition to answering the development question, at least provided an example of an allowed macros.

Guilds are assets, need to be treated as such

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

The eve follows you, man.

Yet I think in this game it will be fixed, as this is a candy-land, not harsh universe.

On crafting and excessive double-clicking

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Thank you very much for providing the link!
Yet I’m now even more confused. I would’ve liked to see an example of an “allowed” macros.

They say:

Guild Wars 2 players are permitted to use macros as long as the macros are programmed with a 1 key for 1 function protocol.

and

This means that if you program a macro, it must require one keystroke per action. You may not program a single key to perform multiple functions.

But macros is by definition multiple actions (http://www.webopedia.com/TERM/M/macro.html):

A symbol, name, or key that represents a list of commands, actions, or keystrokes. Many programs allow you to create macros so that you can enter a single character or word to perform a whole series of actions.

They mention the auto-clicker (which is actually what I ask about) here:

You cannot program an “auto-clicker” macro that, for instance, opens chests while you play elsewhere.

Yet this does not say, can it be used, it this is active in the active window, instead of me clicking these chests. If they detail it as prohibited due to acting in the minimized window – does it mean what I want is allowed? Coz what I want seems to be against points mentioned above, yet not against the very idea “macros are allowed”. I’m confused.

TL:DR Points in their policy are contradicting each other and does not provide information on what is allowed.

On crafting and excessive double-clicking

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Yeah, a link to such a case is welcome. Last time I checked forum search did not work at all ))

On crafting and excessive double-clicking

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Anything that activates more than 1 action per key stroke is not allowed.

In this precise case I see it as 1 action: “buy 10 items of this”, as the game does not provide a convenient way to do it.

On crafting and excessive double-clicking

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Currently I enjoy crafting things in the game. The problem is: we are required to make a LOT of double-clicking for relatively simple things. Example with some clicks calculated:

Let’s take I want to craft 250 Omnomnombery pies. Crafting will look like:
———Omnomberry – 250
———Bag of Sugar – 250 – 1 dblclick for 10 = 25 dblclicks
———Bag of Starch – 250 – 1 dblclick for 10 = 25 dblclicks
———Lemon – 250 – 1 dblclick for 25 to buy, andother one to open = 20 dblclicks
——Bowl of Omnomberry Pie Filling – 250
———Jug of Water – 250 – 1 dblclick for 10 = 25 dblclicks
———Bag of Flour – 250 – 1 dblclick for 10 = 25 dblclicks
———Stick of Butter – 250
——Ball of Dough – 250
—Omnomberry Pie – 250

So, to craft this stack I will need to make 25+25+20+25+25= 120 doubleclicks !!! And this may not even be the worst case.
Excuse me, but I’m afraid my fingers will hurt soon And by doing some changes this number can be decreased ten times at least!

What can be done:
1. Things bought from vendors: add selection how many I want to buy, just like that how many I want to craft
2. Add “open all” to containers, instead of having to dblckick on each.

This (or other things aimed at eliminating the problem) will make the game much more comfortable for those involved in crafting.

Another option I consider is a simple program, that on pressing a keyboard shortcut will perform a given number of doubleclicks where my mouse is. But I’m afraid it can be considered a kind of “bot”, though it does not really automate gameplay.
____________________

So two questions to ANet:

1. Will any changes to eliminate excessive doublicking be considered in the foreseeable future?

2. Are we allowed to a 3rd-party tools to emulate double-clicks (and nothing more, but double-clicks ) ?

Thank you in advance.

64-bit Client Beta FAQ

in Account & Technical Support

Posted by: DarkMagister.7429

DarkMagister.7429

Those are interesting news!

And to all guys around with something not working: Do you know why it is called “Beta”? Cos it is beta then nothing.

Good step in the right direction, will check on my PC later, though my bottlecneck seems to be CPU.

Just the overwolf-plugin for teamspeak doesn’t seem to work with it for some reason.

I’d expect this is not only about overwolf, but about many (if not all) overlay plugins. There seems to be technical problems with it, don’t remember the details.

Getting all Items [Names not just IDs]

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

First, don’t forget to use API V2, or you will have to request each item separately.

Does it not have a limit of 200 ids for a single request anyway ? I mean is paging needed here at all?

I would use the following to make a local copy:
1. Download a full list of items available
2. In cycle create lists of 200 ids and request API with each such list.

Created a json file for Mystic Forge recipes

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Thank you very much.
Then it was a single case with 0 output? My bad I haven’t checked it right away.
Now I’ll have to switch from integers, hope no surprises (( (I’ve merged usual and MF recipes to one list, hence some problems)

Halloween recipes confirmed working, will notify if anything is missing.

Created a json file for Mystic Forge recipes

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Point 1: thx to all the great guys for work!
2. Seems like it does not contain Halloween recipes, is that right? Any chances to see them added soon enough?
3. I’m not sure if setting output to zero for low-chance recipes is a nice idea. Maybe multiply ingredients appropriately? (right now it is impossible to calculate statistically possible profit for such recipes)

For example it does not contain any recipes using item 36059 (Plastic Fangs): http://wiki.guildwars2.com/wiki/Plastic_Fangs

(edited by DarkMagister.7429)

Mentor-Tag abused as Comm-Tag

in Guild Wars 2: Heart of Thorns

Posted by: DarkMagister.7429

DarkMagister.7429

I wonder how many of the people who dislike the mentor tag have a commander tag and just don’t want their purchase to be devalued?

Me, for instance.
It actually enrages me to find that I’ve wasted 300g on something almost free.

mentor tag?

in Guild Wars 2: Heart of Thorns

Posted by: DarkMagister.7429

DarkMagister.7429

“but can you really use it to form squads and check supplies”
I don’t think you can, but when following commanders I have actually never used any of this features. Commander tag is seen on map and you know, that best way to grind – is to follow it. In this function the mentor tag is the same.

And not so many days passed, and I have already just seen people referring to it as “idiot hat” at Tequatl, for standing in the wrong place. 4 commanders + 2 idiot hats. When there will be 10 hats – it will be hard to navigate.

mentor tag?

in Guild Wars 2: Heart of Thorns

Posted by: DarkMagister.7429

DarkMagister.7429

It’s been just two days since the release. Believe me, you will see them enough.

Still question stands: what for did people pay gold for tags?

mentor tag?

in Guild Wars 2: Heart of Thorns

Posted by: DarkMagister.7429

DarkMagister.7429

A player had to consider paying 300g for the tag, which makes it less possible an ignorant player is carrying it, breaking the fun for the whole map. I can’t say this about the mentor tag.

I spent my 300g to have fun in the event labyrinth, not wait for hours for someone to lead.

mentor tag?

in Guild Wars 2: Heart of Thorns

Posted by: DarkMagister.7429

DarkMagister.7429

Right now it destroys the purpose of a Commander tag – the purpose of showing “the organized group is here”

Is HoT the death of solo players?

in Guild Wars 2: Heart of Thorns

Posted by: DarkMagister.7429

DarkMagister.7429

If they add something to the game, that requires cooperation – I’m totally for it!
PreHoT content is more of a single-player for many players on the same map.

mentor tag?

in Guild Wars 2: Heart of Thorns

Posted by: DarkMagister.7429

DarkMagister.7429

I wonder, what have I spent 300g for yesterday?

If ANet have added this feature, maybe commanders should’ve become cheaper?

Add: or maybe make it usable in HoT maps only?

(edited by DarkMagister.7429)

BLT Text Size went small

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

The text is still smaller, then it used to be. Thank you ANet for worrying about the eyesight of those, willing to play on the market.

HoT, new and old API

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Well, then it depends on whether these item will be somehow available to us.
If I will be able to buy a recipe on the market for a HoT item – then it is just fine.
But if there will be new recipes (unlocked with sheets or discovery) that are present for HoT, but not present for us…

So is there any clarification on how it will be?

HoT, new and old API

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Why would you distinguish between these?

I don’t plan to purchase HoT for now, I bet I’m not alone who will stay with a regular content for some time. I now make up a software, that acts much like spidy, proposing which items are profitable to craft now. I would like to prevent HoT items being taken into account, so that I see only items that I can work with.

If there is no such function planned, it looks like using an outdated lists of items and recipes will do the work.

Maybe add endpoints like “old_items” and “old_recipes” (maybe more, these just come up first) to contain just items, available for non-HoT users?

HoT, new and old API

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

I suspect, that with the HoT release, we will have a lot of new items, recipes and whatever added to API. However, I also suspect those things will not be available to those not upgrading to HoT.

Will there be anything to differentiate between “old” and “HoT” items in API answers? Or different endpoints.

Mordrem Invasion Broken [merged]

in Bugs: Game, Forum, Website

Posted by: DarkMagister.7429

DarkMagister.7429

Wasted 30 min, decided to go do other things.
Now it comes that items will be given.

Maybe it is a good idea to prolong the event for a day, to let those dissatisfied from the beginning still make their rewards?

Why doesn't weapon and armor boxes stack.

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

As I Remember.
It was a little discussed in the API-development section. For some reason those are different items, even though all the exterior are similar. I assume different mobs drop boxes with different loot %, but seems like the dev working with API had no idea himself, so the idea “to make you buy place” is also valid ))

Mordrem Invasion Feedback [merged]

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Question: will th event be pro-longed for the time wasted on no loot?

All the rest complains are the same: no loot, no time to tag a mob,

Mordrem Invasion Rewards

in Living World

Posted by: DarkMagister.7429

DarkMagister.7429

10 stacks. Nothing. Waste of time
And mordrem die too fast to target them.

Question: will the event be pro-longed for the time lost due to the lack of drop?

(edited by DarkMagister.7429)

List of items bought from Vendors

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Then it is up to some Good Soul to provide a file some definitely have

Or parsing the wiki, yeah.

Thx

Non-craftable, Non-TP Crafting Items

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

True. I just work with crafting and TP now, so come to such items from that side.

List of items bought from Vendors

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

It should be an old story, but the search is not working.

Writing an app to calculate craft prices.
Current API provides either TP prices or prices, at which vendors Buy things.
To correctly calculate prices, I need to know prices, at which items can be bought from vendors.
I’ve seen the topic about a list of karma merchants not planned to be added to API due to some problems. But what about regular vendors?

And is there anywhere such a JSON I can download, not to wait for a possible implementation to API? Such as those Mystic Forge recipe lists I saw around here. I’m sure sites like spidy have such.

Non-craftable, Non-TP Crafting Items

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

To find if the item is craftable or not, I do a check through the dictionary of recipes, if it contains the said item as an output.
If item is not present on TP but is craftable – it is soul/acc bound.
If not present on TP and not craftable (forge including) – karma item.

What I’m looking for is a list of items, sold by vendors. I can live without karma-merchants, but really need simple vendors to not take incorrect prices from TP. Any idea?

(edited by DarkMagister.7429)

SMS... Thingamjiggy...?

in Guild Wars 2 Discussion

Posted by: DarkMagister.7429

DarkMagister.7429

Backing this up. I have no interest in providing my cell phone to everyone interested in it and I also consider current security level sufficient.

By the way: I see a chance of loosing a phone much higher then the chance of loosing e-mail box.