PWI - Catshop Sniper

04/11/2012 13:02 amineurin#1
Hi all,
after a long time i take again a look on my catshop reader and think about to make a online website with the results.
remembering some posts from interest07 about his reader and the use of a mysql database :)

so i sit down, optimized the reading bot and code a quick website for the mysql database.
at this time, the bot reads only the catshops from archosaur on raging tide in pwi.
the reading time takes about 15-20 minutes, since the bot walk slow :D

since i not finished the auto update, i have to import the results as sql file to the online database by hand, so updates are at this time: slow
maybe 2 times a day...deppend on my free time.
later its planed that the bot auto update the online database...

so i present here a first public beta of:

PWI-Market

what you can do at this point with the online results ?
  1. browse all selled items
  2. browse all buyed items
  3. sort results by id, shopname or price
    results are: icon, itemname (right colored), shopname, amount, price and shop cordinates to copy/paste
  4. a click on itemname send you to pwdatabase for item description
  5. a click on the magnifying glass show all shops buying and selling the item
  6. search a item with its name
    you dont need the full name or case sensitive, like perfect will result in all items containing the word perfect
  7. automatic find all items selled lower then other shops buy it
  8. sort defined Buy/Sell Items with Iconbar
  9. show item info like refine, socket etc. on mouse hower

Future Plans:
  1. search all PWI servers, not only raging tide
    not planed to use other countrys like ph, ru...for ru server look here: [Only registered and activated users can see links. Click Here To Register...]
  2. user login were you can define hunted items with max. price you like to pay, if found you get a email notification
  3. auto update database every 30-60 minutes
  4. quick search for items selled lower then buyed from shops


Known Bugs:
Firefox Browser Problem
Chrome Browser Problem
search engine bug wen using this char '


Website:
project ended its public viewing stage
you can read here more and if you wish, get a lifetime premium account for 5 euro/dollar:
[Only registered and activated users can see links. Click Here To Register...]

Since some People from zhyk.ru named the Page "PWI-Market" i changed Name to it...

please report any bugs, missing item or icon and do criticism.
its a weekend project, so i maybe slower program then you wish.


Updates:
13.04.2012 - added function to show all itemīs selled lower then other shops buy it
16.04.2012 - website redesign, should work now in firefox, opera, internet explorer and chrome
22.04.2012 - new railsystem, bot runs now faster
29.04.2012 - nothing, its hot and barbeque time :D
05.05.2012 - Iconbar for sorting defined Items from Buy/Sell List
11.05.2012 - show item description if move mouse over itemname
12.05.2012 - fixed some security issues, thx to xsh
23.05.2012 - Offsets adjusted for PWI-Imperial Fury Update


Thanks to
dumbfck, Swoosh and Interest07 for help and inspiration :handsdown:
04/11/2012 13:23 dumbfck#2
Ooooh that looks pretty nice mate! Will definitely be cool when you have the auto update stuff working :D
Just a quick note though... It's a little bit broken in FireFox >.>
Some of the layout goes a bit weird and javascript doesn't work properly.
Works fine in IE though (shudder :P)
04/11/2012 13:53 Interest07#3
Looks much nicer than the one I made, good job.

Definitely needs some work to make it compatible with firefox though ;)

Would be nice if you have sockets/addons/refines for equipment though.
04/11/2012 14:24 amineurin#4
oha, i dont test it in FF *erm* :o
will do this later, im using opera all the time :)
thx for the hint !

hm adding item description sounds nice, dont know actual how this works :o
but i give it a try, later those week :)

thanks to you two :)

edit:
ff problems solved :)
04/11/2012 14:39 dumbfck#5
For the description (i.e., what you would see when you hover over an item) you ideally need to call a function first. It's in the item's vTable entry at I think 0x3C, so it would be like [[[itemBase]+0]+0x3C] (the 0 is the vTable).
I think Interest07 gave an example of this somewhere.
Once you call the function, the description can then be found as one of the fields in the item struct.

However... I think the item struct already contains additional info about refines / shards / addons etc. It's probably easier to just grab the full description though.

Edit: Here's Interest's example: [Only registered and activated users can see links. Click Here To Register...]
It was at 0x34, not 0x3C :P
04/11/2012 14:44 amineurin#6
thx dumbfck :)
i remember this thread, but i had in mind it work only if u move the mouse over the item first o.O
so im now out to work and check later this evening the description thing :)
04/11/2012 17:47 altivex#7
THX! and one question - how to choose server?
04/11/2012 17:53 Sᴡoosh#8
Quote:
Originally Posted by altivex View Post
THX! and one question - how to choose server?
Learn to read.
04/11/2012 17:54 dumbfck#9
Quote:
Originally Posted by amineurin View Post
at this time, the bot reads only the catshops from archosaur on raging tide in pwi.
^
Quote:
Originally Posted by altivex View Post
THX! and one question - how to choose server?
Edit: Ninja'd again lol
04/11/2012 18:17 altivex#10
Quote:
Originally Posted by Sᴡoosh View Post
Learn to read.
irrefragable answer , but i can`t . Can you teach me, please!
ok. I did not asked if it was a choise. In Chrome - there is only one table. Or one table for both servers ? I don`t think it sould be so. And it seems to be a problem to choose pages for buy\sell- it`s always the first.
04/11/2012 18:28 timbuktu#11
This is so cool. Looking forward to seeing it applied to all PWI servers.
04/11/2012 19:14 Sᴡoosh#12
Quote:
Originally Posted by altivex View Post
irrefragable answer , but i can`t . Can you teach me, please!
ok. I did not asked if it was a choise. In Chrome - there is only one table. Or one table for both servers ? I don`t think it sould be so. And it seems to be a problem to choose pages for buy\sell- it`s always the first.
He clearly states in OP that it's for raging tides only...
04/11/2012 19:17 amineurin#13
Quote:
Originally Posted by altivex View Post
irrefragable answer , but i can`t . Can you teach me, please!
ok. I did not asked if it was a choise. In Chrome - there is only one table. Or one table for both servers ? I don`t think it sould be so. And it seems to be a problem to choose pages for buy\sell- it`s always the first.
thanks for the bug report...so i have to download chrome browser.
but the others are right, i wrote it in this thread...1 server this time only.

to the other servers, im thinking to make this a public project.
so ppl from other servers can run the bot too, so update times will raise a lot.
have to think about this, since all info is from here...im not frighten to make the source public :D

since im now at work and later by my gf, no update till tomorrow :(
04/11/2012 20:17 boogiepanda#14
Amazing tool. Can't wait to see it being updated every 30 minutes.

I see my catshops on that list :D
04/13/2012 19:42 amineurin#15
Update:
with one click you can search automatically the database for all items shopīs sell for a lower price, then other shopīs buy it.
just press the HINT button on the menu and have fun :)