Showing Posts For Healix.5819:

Metaevent API request

in API Development

Posted by: Healix.5819

Healix.5819

They modified the site to counter what the simple page did – display multiple webpages in separate frames. Not sure why they did it, since you can still rip the data directly from them.

For now, I made a workaround that basically caches gw2stuff as it’s seen right now. Any modifications made to the data will of course break it. This webpage must be downloaded and used from your local computer through Internet Explorer, since doing so allows you to bypass the limits on web requests, allowing you to make cross site requests.

You can download it here: https://docs.google.com/file/d/0BzK8l0-EXm-ZclJ2dFBuMEVyRjQ/edit?usp=sharing

Extract it and open multi.htm in Internet Explorer. Internet Explorer should have a popup saying something about Active X controls. Click allow blocked content. This message appears because javascript is disabled by default when opening a file from your local computer.

(edited by Healix.5819)

Gem price tool (does it exist?)

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

Removing Yourself from the Leaderboards

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

The only useful thing about the achievement leaderboards is that they provide an easy way to determine when someone was last online. Other than that, they’re pointless. You know there’s something wrong with them when you see people complaining about crab toss with the excuse they’re forced to do it to stay on top.

Companies in general are taking achievements way too far, for example with the next xbox rewarding achievements for watching tv. Once they were used to identify true accomplishments for going the extra mile, but now they’re just used as tricks to provide a feeling of being rewarded to appease the masses. They’re very cheap to make after all.

Karma points for alt characters

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

No, and transmuting would only give you the look of that item, not the stats. You would have to give the alt karma jugs to get karma without playing it.

Scraping leaderboards for inactive members

in API Development

Posted by: Healix.5819

Healix.5819

Assuming you have basic programming knowledge, everything you need to know can be found in this project (c#):

https://code.google.com/p/gw2-lastonline-leaderboards/

Dyes for back pieces

in Suggestions

Posted by: Healix.5819

Healix.5819

They probably weren’t designed to be dyed so they would either have to implement selective dyeing, change all old ones, or not at all. By not allowing them to be dyed, they can do things like sell pink and blue quaggans. Other items have custom dye jobs, so it wouldn’t be possible to have them fully dyeable since they break the 3 dye limit.

I’d like to dye the flower though.

Gem price tool (does it exist?)

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

If you’re not able to constantly check the price, what would a beep do if you weren’t there to hear it? If you could keep a webpage open that basically showed a graph of the price, wouldn’t that do?

More updates than MMOs with Subs?

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

Some sub-based MMOs don’t even get content updates. The dying ones for example have remained mostly untouched for years. Even the major ones can see nothing new for months. Blizzard for example was told to release more content quicker by the higher ups to compete with free games.

[API Bug] Event names are inconsistent

in API Development

Posted by: Healix.5819

Healix.5819

It’s like that in-game. Just strip off the last character if it’s a period.

Request for example code for "beginners"?

in API Development

Posted by: Healix.5819

Healix.5819

Why reinvent the wheel if you can get one for free

Because it’s fun and since I specifically tailored my wheel, it has a perfect fit. There’s no point in having snow tires if it’ll never snow.

(smaller, faster and more efficient)

For a beginner, don’t just use wrappers, learn from them. Don’t skip the basics, which will include reinventing the wheel. For example, if I ask a javascript developer how to get a JSON response and their only answer is getJSON(), they’ve failed.

Is the API really this limited?

in API Development

Posted by: Healix.5819

Healix.5819

The API is not for creating standard UI addons, it’s for making apps. An app for example would use items.json to create something like an item database, at which point you could then search for the item you wanted. Using items.json, this is done by grabbing all the items, then looking up their details to create a database. Adding in recipe information, you could create a crafting “addon” to help players level crafting the most efficient/cheapest way.

Allowing player’s to create addons for the UI, like usual MMOs, is not something ArenaNet has plans for. Addons can make a big difference when you’re aiming to be an e-sport after all. Furthermore, since they never added addon support to GW1, chances are they’ll stick to their no addons stance. If the majority wants it though (as in constant spam of requests by thousands of different players), they’ll probably cave.

Right now, the API is in its early phase. In the future, there will be more options, so doing something like retrieving what items you have equipped along with your character’s information may be possible.

For any core UI modifications (multiple chat windows), you’ll need to make a suggestion.

[API Bug] Item Flag (Closed)

in API Development

Posted by: Healix.5819

Healix.5819

The items that are masterwork+ and have the flag seem to be items added late into development/post release. In development they probably just assumed that all items that were masterwork+ were soulbound on use by default, so they had no need to specify it.

To fix it, they would probably have to update all the items to include the flag, which should be simple enough. Alternatively you could just make the same assumption they did.

[API Suggestion] Event API Changes

in API Development

Posted by: Healix.5819

Healix.5819

It’s too bad they don’t support something like event_ids=1,2,3 like the TP does.

I went with the many small requests approach on a variable delay to track 34 events on 51 servers. Currently, I’m doing this at around 1300 requests per minute at a rate of 9 KB/s including headers. If I don’t factor in the headers, it drops to 3 KB/s.

For comparison, requesting the entire server at once would be 230 KB/s, assuming a 45 KB zipped response per server on average, and all servers at once would be 100 KB/s, assuming a 1 MB zipped response on average.

A lot of events missing in event_names.json

in API Development

Posted by: Healix.5819

Healix.5819

You can never be sure if an event was actually deleted or not. The safest way would be to do something like tagging each event with a last seen date, recording what build the game is currently at, then after X amount of days, if the build is still the same, then chances are what the list now shows is all the events. It could still be possible though that some super rare event only gets completed once a month.

But actually though, events don’t get deleted, because nothing gets deleted anymore. They’re just flagged to never activate and unlinked.

As for the event with no name,

OK, I talked to the designer in charge of that map, and she told me that it’s just a bug. It’s supposed to have text but doesn’t. I filed a bug for it to get text at some point in the future. It’ll probably take a while for it to be fixed since the text has to be written and go through localization and testing.

In case you were curious, the event is related to the Font of Rhand boss.

Thanks for the report!

[API Suggestion] Node Locations

in API Development

Posted by: Healix.5819

Healix.5819

And the raw data from events isn’t useless to anyone besides devs?

I said the raw data (x,y,z coordinates) by itself would be useless to almost everyone. Specifically, only those that understand how the coordinates work in GW2 would be able to actually show you where on the map that point was and even then, they would have to have to know a starting point to work with. The only people that legitimately has that information is ArenaNet. They don’t give this data for events, and since unlike nodes they always occur in the same place, API users don’t have to figure it out.

The example I gave is the location of an actual orichalcum node. Without any other information, you won’t be able to point it out on the map.

So first, they would have to give you this information, which would be rather difficult to do since it would change based on what picture of the map you’re looking at and it’s not something they explain with words. Because of that, they would have to supply a picture to work with because you need to know the boundaries of the map. For example, I could tell you the coordinate 0,0,0 occurs at the direct center of the map, but without knowing the exact boundaries, you’re going to have to guess where the center is on the picture.

Considering this, I doubt they’ll ever supply coordinates since they would also need to offer all that information and for every single map.

Can we use 'PayPal' for buying gems?

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

PayPal has always been an option under buying gems.

Attachments:

[API Suggestion] Node Locations

in API Development

Posted by: Healix.5819

Healix.5819

If such an API existed, the raw data would most likely be useless to almost everyone. The response would also be rather large, where querying an entire server would be about equal to pulling all items from the TP.

Here’s an example node:

node
{
    map_id: 30,
    node_id: 19701,
    coords: { 19834.5, 10915.2, -901.512 },
}

This is an orichalcum node just south of the vendor near Jormag in Frostgorge. Without knowing how to map the coordinates however, the data is useless to you. To make it useful, they would first have to tell you how to map the coordinates along with providing additional data on that.

Since the original extended experience, the pre-API project, was live maps, node data just might be an API option in the future. That said, I doubt they will since there are a lot of negatives to it, but the same can be said for events. It would certainly reduce the amount of work I still have to do though.

[API Bug]Items still missing from the API

in API Development

Posted by: Healix.5819

Healix.5819

Compared to the TP, it’s 325 total missing, down from 813.

Attachments:

Realtime Dragon/Event Status Script

in API Development

Posted by: Healix.5819

Healix.5819

The example fiddle in OP does not work in IE (at least 9, likely 8 as well).

That’s because support wasn’t fully added until IE10. http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx

Screenshots destination folder

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

Assuming, Windows Vista or higher:

Open your screenshot folder, it’s located in “Documents/Guild Wars 2/Screens/”. Cut and paste (move) the “Screens” folder to a new location of your choosing. The original Screens folder in the Guild Wars 2 folder should be gone after doing this.

Copy down the path of both folder locations, you’ll need this later. Example:

Old: C:\Users\You\Documents\Guild Wars 2\Screens
New: C:\Guild Wars 2\Screens

Open the command prompt as an administrator. Type cmd in the start menu search, right click cmd.exe and select run as administrator.

In the command prompt, type the following command, substituting your folder locations (right click the command window to paste):

mklink /J “C:\Users\You\Documents\Guild Wars 2\Screens” “C:\Guild Wars 2\Screens”

Question on Using the Events API

in API Development

Posted by: Healix.5819

Healix.5819

If you’re going to use the full lists, be sure to use gzip compression (“Accept-Encoding: gzip” in the request header). Depending on how/what you’re using to request the data, you may already be doing this. It’ll reduce that 150 KB response down to about 40 KB.

When doing small requests however, disable compression. It’ll only bloat the response by a few bytes + the extra headers.

(edited by Healix.5819)

The most kitten up targeting system EVER.

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

Occasionally when I quickly switch targets and cast something, the last target will still be the focus target for that one attack. To be clear, I’m talking about auto attacking a mob (A), then pressing tab (or click) followed by something like pressing 2 (which interrupts auto attack), then 3 (which is queued after 2), where 2 will hit mob A and 3 will hit mob B, even though mob B was the selected target when originally pressing 2. Could be a bug, maybe a feature (ie, to catch accidental miss-targets) or perhaps there’s a small lag behind the interface when switching targets.

Question on Using the Events API

in API Development

Posted by: Healix.5819

Healix.5819

Unfortunately, they don’t support something like event_ids=1,2,3. Instead, you’ll have to query each event individually. Depending on how many events you’re tracking and how often, individual queries will most likely be more efficient. Unfortunately though, since the responses are quite small, the http headers end up being just as big as the response data, meaning if they did support something like multiple ids, you could cut the data usage in half.

If you’re trying to request as little data as possible, the most efficient method would be to make your own API that collects data, which you then request from. By doing this, you can turn 100 or so calls at a cost of ~15KB down to 1 call at a cost of a few hundred bytes.

[event_names.json] Missing Event Name

in API Development

Posted by: Healix.5819

Healix.5819

OK, I talked to the designer in charge of that map, and she told me that it’s just a bug. It’s supposed to have text but doesn’t. I filed a bug for it to get text at some point in the future. It’ll probably take a while for it to be fixed since the text has to be written and go through localization and testing.

In case you were curious, the event is related to the Font of Rhand boss.

Thanks for the report!

[API Suggestion] Items, Recipes, and Crafting

in API Development

Posted by: Healix.5819

Healix.5819

When caching many small files, you can save a little bit of disk space by creating one large file. Files are allocated a specific amount of disk space, which for mostly everyone is going to be in intervals of 4KB. If you have a 1 byte file for example, it’s going to use up 4 KB.

For ~4700 3-8KB files, you could save anywhere from 5-10 MB of space, assuming 64×64 icons.

In my case, I’m caching 24,853 raw responses that are just a few 100 bytes in length each. In total, it’s only 11 MB, but since they’re all separate files, it’s actually 97 MB. In database form, it’s 4 MB.

Scope of IDs: definition or instance?

in API Development

Posted by: Healix.5819

Healix.5819

The event’s ID is part of the event’s definition. It will never change.

After a server reset, the event data is cleared and specific events will appear to be missing until the event has occurred at least once on the server. For example, if you request a list of event as the server resets, the returned data will be {"events":[]}, which would lead you to believe that no events exist.

Champion guaranteed drops

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

Because sure, you would only get 1-5 t6 mats but a zerg as a whole would get 50-250. Multiply that by all the champions getting killed and suddenly there’s thousands being generated every minute.

Open world drops won’t be good at an individual level until there’s an anti-zerg mechanic.

GW2.NET a .NET wrapper around the GW2 API

in API Development

Posted by: Healix.5819

Healix.5819

Cool, so am I. I had to implement my own JSONConverter to deserialize the flags JSON array to a flags enum. It works but I am not too happy with the way I did it so I am looking for a more elegant solution.

I’m assuming something like?

[Flags]
enum ItemFlags 
{ 
    None = 0, 
    AccountBound = 1 << 0, 
    HideSuffix = 1 << 1, 
    NoMysticForge = 1 << 2, 
    NoSalvage = 1 << 3, 
    NoSell = 1 << 4, 
    NotUpgradeable = 1 << 5, 
    NoUnderwater = 1 << 6, 
    SoulBindOnAcquire = 1 << 7, 
    SoulBindOnUse = 1 << 8,
    Unique = 1 << 9
};

And then however you read the original flags,

ItemFlags flags = ItemFlags.None;
foreach (string flag in item.flags)
    flags |= (ItemFlags)Enum.Parse(typeof(ItemFlags), flag, true); //try/catch this for unknown types

It’s a pretty simple way to get an enum representation of their string array.

Embrace duels on FB without ingame support?

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

Do you plan on opening your own arena? Think about it for a moment.

If he was the one asking people to duel him, yes?

Open world dueling was a feature they wanted to add, but I don’t think they ever will if people are willing to pay to duel.

8s each for karka shells

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

healing/toughness/condition damage and has the same skin as regular rares, assuming of course nothing changes and the vendor sells settler’s armor.

The price will probably continue to rise until the vendor comes out or the speculator’s decide the word’s out and begin to sell.

[API Request] Results as map (id -> details)

in API Development

Posted by: Healix.5819

Healix.5819

You can store the data however you’d like when you originally read through the raw data. In this scenario, it doesn’t really matter what format it comes in since it’s basically the difference between {a:1,b:2} and {b:2,a:1}. In your case, you’d simply want to read each record into a map, rather than an array.

That said, most people are just going to use a simple solution to transform the data into an object and then go through it. In this case, then yes, you’re going through everything multiple times.

Missing event data

in API Development

Posted by: Healix.5819

Healix.5819

I can’t believe that a main event like the Temple of Balthazar is inactive for almost 24 hours without anyone attempting / starting it so the reset of the server state seems to be irrelevant in this case.

Last reset was like 11 hours prior to the original post. On a server that doesn’t have a lot of people in Orr, Balthazar can easily stay inactive since they’re going to get stuck at the escort. Factor in that people are busy with the new content and it’s easily plausible that that there’s not enough people out there.

Besides,

After a new patch, the events list has to re-populate. At the moment there’s a bug where the initial state of an event is not correctly recorded until the event has been initiated on that world at least once. For now, treat missing events as ‘inactive’.

Missing event data

in API Development

Posted by: Healix.5819

Healix.5819

Every time the server resets, the event data resets to null, meaning it won’t be in the list. Until that event occurs on the server, it will continue to be that way.

And yes, that also means it’s not safe to rely on the API to get a list of all events, because the list may not always be complete.

(edited by Healix.5819)

Any Information on the special armor?

in Last Stand at Southsun

Posted by: Healix.5819

Healix.5819

Assuming it’s Settler’s armor, they use the same skin as rare armor.

Small UI Size = Really Bad BLTC Readability

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

To fix it, they would have to unscale the trading post window, making it the only unscaled UI element. It would be a very low priority issue and they probably decided that modifying how the entire interface is scaled just for one window was not a good enough reason (I’m assuming they’re just using a global scale), so the fix would be about as important as implementing DX11.

The text looks the way it does, because the trading post basically renders a bitmap and then the UI resizes it based on your scaling.

Infinite Gathering Tools Trickery

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

Their original plan included the ability to increase the level cap. With that in mind, in 5 years, would you expect to craft level 100+ armor with orichalcum?

They were marketed as unlimited use orichalcum level tools. That will never change, so the only false advertising would be to upgrade them past that of the regular tools.

Their tooltips, which are the same as orichalcum level tools, simply mean that they can gather all known materials. If something is ever added, the tooltip will simply be updated, much like how real life products have to be updated when new info is discovered, though they usually list everything in the fine print already.

There’s many different ways they could extend the gathering system. They could simply add everything below orichalcum, but if the level cap does increase, expect new nodes to be added after orichalcum, since they are bound by level. Alternatively, they could just keep following the ascended route by greatly increasing the material cost while requiring some new rare material. Eventually however, they would either have to drop old materials, at which point gathering would be at the end of its life, or continue to bloat the material cost to a point where a few thousand ore were required per item.

New gathering tool types could also be added, but it depends on how and if they implement the system. For example, fishing was hinted at during the beta, which could bring a new fishing pole gathering tool, unless they implement it as a type of mini-game. If they follow this route, they might not add a new mining pick, but you’ll still have new tools to buy as time progresses.

The likely route is to simply add new tiers of nodes and new tools to complement new or existing crafts. Since they came out with a full set of unlimited tools so quickly, I’d even expect to see an expansion announcement within the year and probably a tri-pack in a few months.

Canach's Lair - Not all of us play guardian!

in Last Stand at Southsun

Posted by: Healix.5819

Healix.5819

Dodge the leap, no knockdown.

Being invulnerable to anything but mines is just stupid – is Canach Achilles or something?

If he took 1% normal damage, a bunch of people would start complaining that he takes too long to kill. Likewise, the chat messages are there for the same reason.

Get rid of fog and make icons stand out

in Last Stand at Southsun

Posted by: Healix.5819

Healix.5819

The whole detector/icon part is simply a game of memory. They never change, so once you get used to it, you should be able to detonate your favorite bombs without having to look.

How to fetch item-images?

in API Development

Posted by: Healix.5819

Healix.5819

1. You can pull data from the trading post and create a cache of all the image links. Only items that are eligible to be put on the TP are available though.

2. Grab all the trading post data from gw2spidy which also includes the gw2db id. For all missing items, use the gw2db id to look them up at gw2db. From there, either use their icon or take the icon’s id and rip it directly from gw2.dat.

In both scenarios, you would want to create a cache, mapping item id’s to images.

https://forum-en.gw2archive.eu/forum/community/api/Items-icons-and-in-game-code

(edited by Healix.5819)

Consortium Sickle - bugged, right?

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

Using this sickle, you attempt to gather plants the destructive way. You slam that thing into the ground and just try to rip the entire plant up. You’ll probably get stuck on roots though, so it may take a few tries.

More Armors please!!

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

Adding armor sets takes a lot more effort than adding weapons since each armor set has to be customized for each race and gender, plus there’s 6 pieces per set. This is why it’s always weapons, they’re simply cheaper to produce.

They’ll probably only add new armor sets with a major update.

Events missing

in API Development

Posted by: Healix.5819

Healix.5819

If the data is purely stored in memory, it could be possible that it’s simply not available until it occurs at least once. For example, the first time a player enters a map or an event starts.

Metaevent API request

in API Development

Posted by: Healix.5819

Healix.5819

Here’s a quick one I just made.

Download the txt file or copy the raw paste data from http://pastebin.com/EQ3vx3Ri and save it as a file with a “.htm” extension. Open it in a web browser to view it. If using IE, you’ll need to click through the “allow blocked content” popup, which disables javascript from running when viewing local files.

Or, demo it http://jsfiddle.net/TfVAa/1/embedded/result/.

Attachments:

The unlimited sickle is disappointing

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

It’s used like a pick… because your character doesn’t care about gently gathering the plant anymore. It’s not like the sickle can break.

It sounds like a pick because you’re thrusting it into the ground, hitting rocks along the way. You thrust that thing so hard you hit tap an underground stream. Hoe those plants.

I assume they’ll change the animation eventually. It could even be an error, but it has been in the files for a while now, so they probably know exactly what it does. It was probably simply a quick copy and paste job, which comes to the question, why rush_ it? They’re either testing feedback to see what they can get away with or they were ordered to release what they had.

The lack of an animation won’t really stop people from buying it. Most people who buy it will probably do so without reading these threads.

(edited by Healix.5819)

Skills not working when used, not lag

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

For longer cooldown skills (more than a few seconds), when the server lags, it’s possible that the server never tells you that your skill went on cooldown. As a result, after the first time you successfully use the skill, it will appear off cooldown for a few minutes. Further attempts to use the skill will result in nothing happening.

Lets lock heavy class.

in Suggestions

Posted by: Healix.5819

Healix.5819

They could just add specialty mobs to dungeons, designed to be a counter to specific combinations. For example, add heavily armored mobs, giving an incentive to stack conditions, or a mob that has its stats based off of the party, such as basing its health and armor off of everyone.

The unlimited sickle is disappointing

in Guild Wars 2 Discussion

Posted by: Healix.5819

Healix.5819

It is a pick… it’s even making the noise and as far as I can tell from the video, it’s animation is longer than the cast time or it’s cast time is longer than a normal sickle – matching that of a pick (3 hits).

Harassment in Crab Toss game

in Last Stand at Southsun

Posted by: Healix.5819

Healix.5819

Depending on what they said, the verbal harassment could be reported, but their actions are not. The game is based around griefing.

Just leave an enter a new game. It’s faster.

No Matter What I Do I Cannot Access AH

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

I assume that when you said you cleared your cache, you mean the gw2cache folder where awesomium is located and you did this while the game was not running.

Open Internet Explorer and go to https://tradingpost-live.ncplatform.net/. Can you see Invalid Authorization? Is the certificate valid with 0 errors?

No proxies, recently changed security settings, antivirus or firewall changes?

Possible fixes:
Delete gw2cache folder.
Clear dns (command prompt): ipconfig /flushdns
Reset tcp/ip (command prompt): netsh winsock reset
Run the game in administrator mode.
Update root certificates.
Disable anti-virus/firewall/web security (programs that block web sites). For example, McAfee (I think it was) can disable the TP by just having it installed.

If you want to get more advanced, you can download Fiddler to act as a proxy so that you can determine what the trading post is accessing or trying to access and what it’s receiving and go from there.

Missing items

in API Development

Posted by: Healix.5819

Healix.5819

There’s 813 items that can be found on the TP that don’t exist through the API. Most are items added after the release of the game, but there’s also vendor items and recipes/crafted items.

Sample:
5020: Chainmail Chausses
8905: Small Bag of Goods
9641: Recipe: Tray of Lemon Poppy Seed Muffins
9959: Recipe: Corrupted Harbinger
12271: Bottle of Soy Sauce
13007: Major Rune of Holding
19791: Spool of Silk Thread
36056: The Mad Moon
36336: Scythe Staff Skin
37206: Mini Karka
38507: Permanent Hair Stylist Contract
41714: Sentinel’s Axe of Smoldering
41749: Deep Glacial Sky Dye
42402: Mini Molten Firestorm

http://pastebin.com/tTn5qwpa