Zicore's Trading Post Notifier (Open Source)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Zicore’s – Guild Wars 2 – Trading Post Notifier, notifes you via pop-up window, when the (buy/sell) price meets a defined criteria.

This could be an example criteria: Orichalcum Ore | SellPrice | HigherThan | 3s 5c

In the end of this post you’ll find the thread on reddit, my official website for this app, including some explanation what it does and how it works and other useful stuff.

Also there is a link to my github repo.

Pictures:

Current features:

  • Notifications
  • Current transactions (buying/selling/bought/sold)
  • Transaction notifications
  • Item search
  • Recipe view
  • Watchlist
  • Item-name filter
  • Multiple rules for every item
  • Prices
  • Volumes
  • Margin
  • Gem/Gold exchange calculator
  • Gem price notifications
  • Timeout notifications

New in R7:

  • Overworked UI
  • Indices calculated based on volume movements
  • Margin
  • Margin in %
  • Advanced search (with /unsecure only)
  • Search pagination
  • Export watchlist as CSV
  • Import watchlist from CSV (compatible with gw2spidy’s csv)

New in R8:

  • Overworked UI (TabControl)
  • Sortable columns in advanced search (Name,Rarity,Level,Price,Count)
  • Re-sizable/Re-orderable columns which are saved
  • Copy name

New in R9:

  • Recipes
  • Sortable list in the search, notification and watchlist view.
  • Timeout for notifications
  • Visual highlights on mouseover

New in R9-B

  • Update to be conform with the latest patch.
  • Scroll Bars for every view (Tabs are now visible all the time)

New in R10

  • Splash Screen for the enduser to decide between gw2spidy.com and the official trading post as dataprovider.
  • Notifications for transactions.
  • Fixes regarding changes of the dataformat.
  • Slightly changed the notification window.
  • Added a possibility to change the dataprovider.
  • The session key is now displayed on the settings tab.
  • Added Transaction Notification Time (minutes) to the settings tab. The timeframe within it notifies you when you have sold and bought stuff.

New in R10-B

  • Fixed the ‘Scrolling issue’
  • Items are now selectable (Visual highlighting)
  • Added possibility to toggle transaction notifications

New in R11

  • Added possibility to enter percent values for notifications.
  • Fixed endless notifications come up
  • Fixed transaction notifications not coming up.

New in R12

  • Gem to gold exchange calculator
  • Gem to gold notifications
  • Gold to gem exchange calculator
  • Gold to gem notifications

New in R13

  • Improved scrollbars with fixed columns.
  • Search filter in watchlist.
  • Small fixes.

Gem Notifier: http://upppor.it/0hYH.png

New in R14

  • Added margin notifications
  • Improved grouping of transactions. (Per item first, per day second)
  • Fixed percentage values of gem notifications

New in R15

  • Fixed untracked changes in the transaction list.
  • Fixed an exception that occours on starting this app without internet connection.
  • Fixed percentage values calculation for buy rules.

New in R16

  • Implemented the new official API.
  • Transactions and anything related to account specific data is disabled.
  • Replaced search by local search instead of directing requests to external sources.

R16 is live!

Github: https://github.com/Zicore/TradingPostNotifier/

More information and the latest release on my website: http://notifier.zicore.de/

Follow me on twitter: https://twitter.com/Zicore

Reddit: http://www.reddit.com/r/Guildwars2/comments/11swo8/zicores_guild_wars_2_trading_post_notifier/

(edited by TehGear.8702)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Cauldron.1653

Cauldron.1653

Really, no replies yet?

I must applaud you for making it open source. I love when people do that.
Like the looks of this so far…

Stuff on the TP is moving so fast sometimes it’s hard to keep track of items without interrupting actual gameplay every so often.

Thank you.

“Your subterfuge of incognizance will erode under my fulgent dupery”

(edited by Cauldron.1653)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Firegoth.6427

Firegoth.6427

Sweet, even I’ll use it for non-profit purposes!!!

Nice job man, keep it up! +1 from me

1+1 = potato

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Essence Snow.3194

Essence Snow.3194

So yeah I asked about something like this a while back and never got an answer. Is this type of thing acceptable?

Serenity now~Insanity later

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: poziix.7285

poziix.7285

Yes because he is not manipulating anything. Everything on the TP is handed by a website anyway, so he is just connecting to that to read the relevant data.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: demonwing.5843

demonwing.5843

impressive and useful. There is an issue, however, in that the number of results per page for an item search is tiny almost to the point of non-usefulness. Is there a way to display more results per page? Even relatively specific categories have way too many pages to sift through, especially since the pages are randomly ordered. It only sorts items on a per-page basis and not globally, which practically makes sorting useless.

All of the other features are great though.

(edited by demonwing.5843)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Hule.8794

Hule.8794

Ok i am loving your tool. For crafting it is the best i saw. Now i know if i want to craft myself pants, if it is better to buy something on TP or just craft it. And subparts too in one window. Dont need long searching on TP because that dont allow open more windows.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Noerknhar.3826

Noerknhar.3826

Is this tool also usable for EU (different trading post)?

Enuerus Derune – Necromancer, Sylvari
[NO] ~ Ponys Will Never Die

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Hule.8794

Hule.8794

I think yes, because i am at EU and using it. And I compared prices in TP and in this tool. They are the same. So yes, you can use it in EU.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Tyjaka.6137

Tyjaka.6137

Can I use this on a Mac?

Tjkingsly: 80 Guardian | Aco | Jade Quarry

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Hule.8794

Hule.8794

I dont think so, it needs net framerowk to run.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: iNko.5269

iNko.5269

this looks amazing :o

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Hello,

thank you all for this great feedback, i appreciate it.
If you have suggestions or bugs, please feel free to open an issue in my github repo.

Hello demonwing,

…there is an issue, however, in that the number of results per page for an item search is tiny almost to the point of non-usefulness. Is there a way to display more results per page? Even relatively specific categories have way too many pages to sift through, especially since the pages are randomly ordered. It only sorts items on a per-page basis and not globally…

This is partly true, but not for all columns. Columns sorted globally are: Name,Level,Rarity,Price (Sell), Supply (Amount).
The rest is sorted per-page.

There is one exception: The global sorting only works with the trading post dataprovider.

Nonetheless i’ll improve the search at some point, in future.

Stay tuned for upcoming releases!

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Aye.8392

Aye.8392

I haven’t gotten a chance to really play with this yet, but it looks fabulous! Thank you.

www.AlchemyIncorporated.net
Sorrows Furnace

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Tarang.7562

Tarang.7562

Well, you know what I think about it :P Awesome work man

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: lekyii.9856

lekyii.9856

This is really a great tool im using it right now and i think tha will help alot of ppl getting more gold

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: penatbater.4710

penatbater.4710

I must say, those notifications are awesome! :o

Don’t disturb me, I have a cat in me at the moment.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Sipius.1358

Sipius.1358

Wow, very nice! Thanks for all the work! Looking forward to seeing this grow.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Stiffi.7824

Stiffi.7824

Awesome! Where does it save the settings?

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Thank you!

You find the settings here: appdata/ZicoresTradingPostNotifier/Config.xml

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Field Marshal.7946

Field Marshal.7946

I asked before if the scanning gw2 memory was allowable or is this a bannable offense if you choose this option over Spidy…..

Inquiring minds want to know…Dev insight please.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Well i’ve asked arenanet, but all i got was a generic answer, which didn’t include a yes or a no.
So it’s up to you to decide

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Field Marshal.7946

Field Marshal.7946

Well i’ve asked arenanet, but all i got was a generic answer, which didn’t include a yes or a no.
So it’s up to you to decide

Well, that is unacceptable. I would prefer for ANET to reply and let us know. I would like to be immune from a future ban if at all possible and use the program.

Can we get a reply?

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Geikamir.6329

Geikamir.6329

They can’t give you a reply. If they respond to this program they would have to respond to all programs that get put out, which will eventually be a ton. And they can’t simply say yes/no. They would have to extensively test each program so that they wouldn’t approve something that later has some bannable feature uncovered. And that process would have to be repeated everytime every approved program gets updated. Because approval would lead to mass usage of the product, and a new update could create something gamebreaking, which left unchecked could result in massive bans.

Toons: Foreseer, Geikamir, Rapscallion, Specimen, Scythian, Zeau, Ärtifact, and Replica.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Field Marshal.7946

Field Marshal.7946

I am not asking for approval of a specific website, like they did for Spidy and continue to say is acceptable. What I am asking, is this program is asking to be directed to spidy or to the game ram for real time quotes of items without the lag in pricing. Is this acceptable to have the ram searched by the program, or is this going to show up as a bot/against policy.

I just want clarification. I am sure the maker of this also would like to have clarification as well, so if it does go against the code of conduct, he can get rid of this option.

A “I wouldn’t do that” by John or some other DEV would clear this up pretty fast.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Well the app doesn’t read the ram to get the quotes. I get the data from the official trading post, since it’s an embeded website in the original game client.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Field Marshal.7946

Field Marshal.7946

Your right, my mistake. It says that it reads the games session key and game memory. Is this allowable?

Attachments:

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Svarty.8019

Svarty.8019

Your right, my mistake. It says that it reads the games session key and game memory. Is this allowable?

I think not, that’s why it’s better to go with the spidey version.

Nobody at Anet loves WvW like Grouch loved PvP. That’s what we need, a WvW Grouch, but taller.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Crushnaut.8307

Crushnaut.8307

Cool App! I’ll check it out.

Egg Baron ~ A daily Guild Wars 2 blog.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: lekyii.9856

lekyii.9856

Lol im using the Trading post data hope its ok.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Anet could easily ban me to set a statement, but what do you think would happen, except that they upset the community?

This is no botting and as long as you use these kind of tools passively, i don’t see any problems right now.

I also made it open source, so everyone can see, that this app isn’t harmful.

I’m sure anet is working on a decent API, so we don’t have to discuss about this anymore soon.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Syeria.4812

Syeria.4812

Your right, my mistake. It says that it reads the games session key and game memory. Is this allowable?

The official policy (as far as I’ve seen it written) is a question of whether a program “injects code” into the GW2 application. For example, a program like Fraps is fine as it’s recording an output and not modifying the game in any way. I’m not going to go through the documentation and code on this to determine how it works so hopefully Teh Gear can explain a bit better for laymen what exactly the program does.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

It does a wildcard memory scan to find the session key. That’s basically the ‘evil’ part.
However, i would recommend you, to read the documentation or atleast the splash screen.

Quote from my repo:

  • The official Trading Post as Dataprovider
    The official Trading Post runs as a website in the Guild Wars 2 client. By knowing that, it’s quite easy to replicate the requests and get the data. To request data, a session key is required, which is requested by the Guild Wars 2 client. This application scans the memory of Guild Wars 2 to obtain this session key and caches it. It will use the gathered session key, as long as it’s valid. So in best case the memory of GW2 is read only once a few days. This dataprovider unlocks all features of this application.

Source of the key reader: https://github.com/Zicore/TradingPostNotifier/blob/master/SessionKeyReader/KeyHelper.cs

(edited by TehGear.8702)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: LHound.8964

LHound.8964

—————— ~~ ~~ —-————-
Charr’s need more Love. All is Vain
—————— ~~ ~~ —-————-

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: lekyii.9856

lekyii.9856

Well il use it, i dont see any problem with this

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Edit: This is an answer to a deleted post.

Sure you read no memory there, but you login with username and password instead, where only a limited session key is saved to a cookie. (No listings, no gem prices and other limitations)
I don’t want anyone to enter his credentials, so this no option for me.

Also the search.json often yields cached/wrong values.

I spent plenty of time to setup all the requests properly. That also means i know how it all works.

(edited by TehGear.8702)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: hellokittyonline.7532

hellokittyonline.7532

can not do advanced search help?

the program doesn’t have an advanced option, unlike what i see in the screenshot

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Svarty.8019

Svarty.8019

How would I make it notify me of goods that have a regular trading range that would give a profit? (i.e. 1c or more)?

I forgot to congratulate Zicore on a great piece of work.

Nobody at Anet loves WvW like Grouch loved PvP. That’s what we need, a WvW Grouch, but taller.

(edited by Svarty.8019)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Hello,

can not do advanced search help?

the program doesn’t have an advanced option, unlike what i see in the screenshot

Advanced search currently only works with the trading post dataprovider.

How would I make it notify me of goods that have a regular trading range that would give a profit? (i.e. 1c or more)?

Notifications on margins are not implemented yet, but thanks for mention it

Edit: Implemented margin notifications in R14.

(edited by TehGear.8702)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Ari Kagura.9182

Ari Kagura.9182

It’s a pretty nifty application. However, one of the issues I have is that the way how the notification popups are handled.

First of all, I play with a dual monitor setup. GW2 will display on the primary monitor on “Windowed Fullscreen” mode (so I can mouse over to the other screen without having to alt-tab out). However, the notifications from Zicore’s have a tendency to popup on my primary monitor, even though I have the application viewed and loaded on the secondary monitor. Often times, these notifications steal focus from GW2 and interrupts my gameplay. I tried to move the popup window to the other monitor but it doesn’t remember the window position, only the size if it has been resized.

I currently use Windows 8 64-bit if that means anything.

“I control my fate!” — Claire Farron
I am Fleeting Flash, in-game dungeon cosplayer of Reddit Refugees [RR] .

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Thank you, i’ll fix it with R15.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Healix.5819

Healix.5819

A simpler method to obtain the session key is by reading the cookie file.

const string KEY = "tradingpost-live.ncplatform.net";

StreamReader stream = new StreamReader(File.Open(Directory.GetParent(Process.GetProcessesByName("awesomium_process")[0].MainModule.FileName).FullName + @"\data\Cookies", FileMode.Open, FileAccess.Read, FileShare.ReadWrite));
string cookies = stream.ReadToEnd();
stream.Close();

string sessionId = cookies.Substring(cookies.IndexOf(KEY) + KEY.Length + 1, 36);

You can further remove the process lookup by already knowing where the location of the folder is, but it really only matters if you want to do the lookup while the game is not running.

string path = null;
DateTime lastAccess = DateTime.MinValue;

foreach (string dir in Directory.GetDirectories(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"\Temp\", "gw2cache*"))
{
DateTime d = Directory.GetLastAccessTime(dir);
if (d > lastAccess)
{
path = dir;
lastAccess = d;
}
}

path += @"\data\Cookies";

It’s still technically a violation though, since reading the storage related to the game is against the rules.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: DarkSpirit.7046

DarkSpirit.7046

Your right, my mistake. It says that it reads the games session key and game memory. Is this allowable?

I think not, that’s why it’s better to go with the spidey version.

I have admitted numerous times here that I have used the trading post version which scans for the session key, and if I am not banned then you would know that it is allowed, otherwise it is not.

The gw2spidy website has their own tool to scan process memory for the session key too anyway and my virus scanner scans my GW2 client process memory every so often, so I don’t see why it wouldn’t be allowed.

(edited by DarkSpirit.7046)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: TehGear.8702

TehGear.8702

Thank you Healix for the other option to get the session key. However i don’t think it makes a big difference.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Humposaurus.5764

Humposaurus.5764

Can we get an official dev respond on these type of ‘programs’, because if they are legal Ima design my own.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: DarkSpirit.7046

DarkSpirit.7046

Can we get an official dev respond on these type of ‘programs’, because if they are legal Ima design my own.

I would be surprised if they would give a definite answer on a per-app basis as that would set an expected precedence from them, so use at your own risk. The activity of approving/disapproving an app is a costly process which companies like Apple and Microsoft charges $99/year/dev for. Furthermore, their employees may run the risk of diluting the power of their EULA/ToS if they make a public declaration about this.

As far as I am concerned, I will draw the line with: as long as you don’t modify the process memory, that should be fine. Many apps like virus scanners, malware scanners, etc. already scans the GW2 process memory, so this is no different.

(edited by DarkSpirit.7046)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Hanabira.5068

Hanabira.5068

Anyone else having trouble with transaction and notification counts? it says im trying to buy over 350,000 of a single item, which is way way way off. Not to mention the notifications are saying im buying items in stacks of over 700.

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: DarkSpirit.7046

DarkSpirit.7046

By the way, Zicore, I don’t think you should have released this to the community. The community doesn’t appreciate this and you will get backlash after all your hard work. You could have used it to just benefit yourself instead of people who don’t appreciate your work even though it is free. I have created a similar app in C# (but using .NET Framework 4.5 instead for async functionality) before I found out about yours but I didn’t want to release it because of this reason.

Here is the entire thread where I was trying to defend your app until it had to be closed:

https://forum-en.gw2archive.eu/forum/game/bltc/New-apps-being-created-if-this-is-legal-im-out/first

I suggest you stop adding more powerful features to your app before you get cursed and spit on for all your hard work.

(edited by DarkSpirit.7046)

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Firegoth.6427

Firegoth.6427

Please! by all means do not stop developing it!!

I just love this neat program and could care less if its approved or not!!!
Pretty powerful stuff there! will look forward to further development!

1+1 = potato

Zicore's Trading Post Notifier (Open Source)

in Black Lion Trading Co

Posted by: Essence Snow.3194

Essence Snow.3194

I’m sure the devs (or at least someone over there) have seen this as it’s been on the top of the blc forum for a while. It would be nice to get their stance on it.

I recall the snowflake thread (the initial one) was closed leading me to think that this might be alright, but ofc that’s just a feeling.

Serenity now~Insanity later