PDA

View Full Version : Auction Notifier Tool (Text Message)


salimoneus
09-24-2014, 09:47 PM
This is a little tool I created to notify me via text message if an item I am looking to buy shows up in an auction. Basically you just enter in your search items, configure the text/email, and let it do it's thing.

This comes in handy when I'm working in the garage or around the house, or doing something out in the yard, or even working in a different window or virtual desktop at the office (purely hypothetical ofc), but I'm available to come back to the computer in the event someone posts the item for sale.

Here you can see it's configured to look for fungi tunics and insignia protectors, and in case I am also posting WTB periodicaly, I added "You auction," in the exclude box to ignore those log statements. You could also optionally add "WTB" in the exclude box to filter out those as well as others' WTB posts matching the items:

http://imagizer.imageshack.us/v2/280x200q90/661/3CLtfN.png



Here is what the text/email Config tab looks like:

http://imagizer.imageshack.us/v2/280x200q90/904/LM9D7S.png


Note that the "Enabled" checkbox must be checked in order for texts to get sent out. This can be unchecked for testing to make sure your search filters are setup correctly, or just to temporarily disable it. Even if transmissions are disabled, they will still be logged to the Sent tab so you can see exactly how your filters are working.

To have the program stop processing after the first text goes out, make sure the "Stop after first match" checkbox is checked.

I would recommend creating a new Gmail account just for use with this tool, but it doesn't really matter what account it gets sent from it just needs a valid account on an SMTP server in order to send the text emails out. The reason I would use a new account is because most servers limit the number of emails that can be sent in a time period, so the account might get blocked if it gets too spammy. I have not tested all providers, only Verizon, but I used fairly standard email -> text mappings available for all providers so they should work.



When a text gets transmitted it gets added to the Sent tab:

http://imagizer.imageshack.us/v2/280x200q90/538/h2T8KV.png



If there are errors at any point, the application stops processing and indicates an error status and adds an entry into the Sent tab:

http://imagizer.imageshack.us/v2/280x200q90/743/LG3p5t.png


Please note that this tool can result in a shit-ton of texts getting sent if the search terms are too broad or general. I also have not added logic to filter out repeated auctions by the same sellers, that may be added in the future. Ideally you would get to the computer and disable the notifications once the first one was sent so that's probably not really an issue.

Another way which I imagine this tool being useful, would be if you had EQ running in a remote desktop or on a virtual desktop (or both) at work, and were trying to sell a few items. You can quickly post your WTS messages, switch to another window or desktop, and wait for a text to show up from a potential buyer. You can configure it as follows to get notified anytime someone sends you a tell, although this may not be ideal if you are receiving friend tells on that particular mule. I use a completely anon mule to do this:

http://imagizer.imageshack.us/v2/280x200q90/743/CEov2u.png



I'm sure there are other clever ways that this can be used, and it's not specific to auctions or even Everquest in general, it can be configured to watch any live logfile you have access to on a running system.

The application does save your preferences, so in between each run it will remember everything, EXCEPT for your email password. It never saves or stores or uses your password in any way aside from the actual sending of the text email message.

This tool does require EQ to be running, and a mule parked in EC so it can process the live auction data being logged. It does not try to impersonate an EQ client, nor does it log into the P99 servers.

This tool requires that logging be enabled, so make sure Log=TRUE in your eqclient.ini file.

This tool also requires Microsoft .NET Framework 4 (http://www.microsoft.com/en-us/download/details.aspx?id=17851) so if you do not have that please install using the link provided.

I am providing the complete C# source code, built with VS2010, as well as a zip file containing a Win32 executable. On Windows7 it will save your settings to an XML file in the c:\users\myusername\AppData\roaming\LogNotifier folder, and the location will vary on other versions of Windows. It is open source code with no viruses or ads, nothing but the code.

Latest release on GitHub: https://github.com/salimoneus/LogNotifier/releases/latest

I hope someone finds this tool useful. Feel free to post feedback and/or any issues you may have.

Oleris
09-24-2014, 10:38 PM
this is pretty cool for rare items.

Byrjun
09-24-2014, 10:45 PM
Gonna use this for some obscure items that rarely come up for auction, thanks.

salimoneus
09-24-2014, 10:54 PM
Yea I see it being a bit more useful for something that may not come up all too often. And say it does come up but the seller is price gouging, or you can't agree on a price, you can just add their name to the exclusions list and it will immediately stop sending alerts for their postings.

Texting can definitely be super useful, but I dislike spam as much as the next guy.

Callon
09-24-2014, 11:14 PM
Very cool, A++

scythic
09-25-2014, 01:44 AM
I use this for swords of skyfire. $3,023.12 phone bill. (No unlimited texting)

salimoneus
09-25-2014, 02:04 AM
I use this for swords of skyfire. $3,023.12 phone bill. (No unlimited texting)

Yes, we already know why the short bus was invented.

scythic
09-25-2014, 02:05 AM
Adults don't ride short buses, genius.

Potus
09-25-2014, 03:27 AM
This is a great program and all, but have you thought about a catchier name, say Jack Wilson's Auction Tracker?

salimoneus
09-25-2014, 04:10 AM
This is a great program and all, but have you thought about a catchier name, say Jack Wilson's Auction Tracker?

Hah, I saw that and was very tempted...

sivax
09-25-2014, 09:32 PM
Thanks for releasing this, gonna try it out. I love tools like this.

WebeWizard
09-25-2014, 10:02 PM
Great idea!

Ravager
09-26-2014, 10:27 AM
Yea I see it being a bit more useful for something that may not come up all too often.

Like a dragon?

Thatt
09-26-2014, 12:11 PM
This is quite cool. I added similar functionality to my spawn timer. (http://www.project1999.com/forums/showthread.php?t=166354) Mine plays a wav file rather than sending a text. I might not have bothered with that feature if I'd seen this sooner.

salimoneus
09-26-2014, 03:44 PM
Like a dragon?

Yea those don't show up too often, but when they do, it's good to get the first bid in ;)

salimoneus
09-26-2014, 04:50 PM
This is quite cool. I added similar functionality to my spawn timer. (http://www.project1999.com/forums/showthread.php?t=166354) Mine plays a wav file rather than sending a text. I might not have bothered with that feature if I'd seen this sooner.

Interesting timer, will check it out, thanks.

Clark
09-26-2014, 09:48 PM
This is a great program and all, but have you thought about a catchier name, say Jack Wilson's Auction Tracker?

lol

salimoneus
09-28-2014, 06:54 PM
In the interest of cutting down on potential spam, I've added an option to stop processing after the first successful match. This option will be enabled by default:

https://imagizer.imageshack.us/v2/376x303q90/540/7YXeP3.png


Updated source code and zipped executable are available using the same links in the first post, or from the links in my sig.

salimoneus
10-04-2014, 04:49 PM
Made a few additional updates, including adding the count to the window title so if it's minimized you can tell at a glance how many matches so far, and also expanded the file filters in the open file dialog.

salimoneus
10-22-2014, 03:07 AM
Few additional updates:

-Sent tab renamed to Processed
-Added Sent column to Processed list indicating whether match was sent via text
-Added Clear button to the Processed tab so previous matches can be cleared out


http://i61.tinypic.com/316m7a1.jpg


See bottom of first post in this thread for download link.


Just a quick side note: I've been using this in "quiet" mode a bit recently, with Enabled unchecked so it does not sent a text but will add any matches to the list, and it's worked out pretty well in allowing me to catch items on my watch list when I am able to pay closer attention to the screen. I may also add an option to play a sound when a match is found as an alternative to sending a text.

salimoneus
12-16-2014, 11:41 PM
Couple more minor enhancements:

-Autoscroll processed list to end on match
-Flash taskbar button when match is found

See first post in thread for download info.

salimoneus
01-02-2015, 12:13 AM
-Added the option to play a sound on a match.


http://oi57.tinypic.com/fkblhs.jpg


The latest release package (https://github.com/salimoneus/LogNotifier/releases/latest) contains a small alert.wav sound file. This file can be replaced with any wav file of your choosing, just be sure it has the same file name (alert.wav) and is in the same folder as the executable program.

salimoneus
03-10-2015, 08:43 PM
Had a couple requests to add email support, so here it is. Everything else is configured and works the same, the only change is at the bottom of the config tab which now uses a radio button toggle for text/email. Also changed some text to make the labels more appropriate to the new functionality:


http://i58.tinypic.com/2hdb8sk.jpg

kingsBlend
05-27-2015, 08:21 PM
Thank you for this! Another great tool by salimoneus.

salimoneus
08-01-2015, 01:16 AM
Thank you for this! Another great tool by salimoneus.

Glad it's working well for you!

salimoneus
08-28-2015, 01:24 PM
Have a few requested updates that I've been wanting to implement, should be able to get around to them shortly. The primary one being to expand the "stop after first match" option, there will be several new options available there to allow more results to get through but still be able to cut down on the spam significantly.

Please feel free to post here or PM with any feedback or suggestions, it is always appreciated.