User talk:PointyBot/Archive1

There are a few things I need to fix on this bot before I'd be comfortable running it unattended:


 * Item names need to be cleaned up in the charts and image file names. That's fairly straightforward, but it's also a little bit fiddly.


 * The bot needs to knows how to upload images so it can happily run in the background. I had to upload the sample images so it's not really practical to keep them up to date at the moment.


 * Configuration files. The list of items to synchronise is currently hard-coded into the bot. I need to move this out into a configuration file so it can be changed without needing to change the code.


 * Error handling. This is my first bot so I've got no idea about the kind of weird issues that might pop up. I'll need to run it for a bit to make sure it doesn't fall over when strange things happen on the Internet.


 * Where to actually put the images? On the item page? On the GE Page?

If you have any thoughts about this let me know, either here or on my own talk page.

Pointy 00:36, 22 December 2007 (UTC)

It looks pretty cool, but is there a way to keep the graph from spazing out if someone vandalizes it? 01:02, 22 December 2007 (UTC)


 * At present, no. And I don't really know how to tackle that one either. I suppose I could add a list of article revisions to ignore, but that's going to need maintaining. Pointy 01:50, 22 December 2007 (UTC)

A way to avoid vandalism to the price charts could be to ignore changes greater than 5% daily to the prices, since that's the maximum allowed by the system. There would have to be a way to override this, in case Jagex manually adjusts prices, but that should be enough to stop most of the vandalism that could happen. Skill 02:19, 22 December 2007 (UTC)
 * I've added an  option for each item for now so individual prices can be removed from the chart. I'll also add the 5% thing at some point, and probably add an  section to allow that to be overridden.
 * I've fixed the  and  things now, and by default it will ignore prices that change by more than 5% per day. The bot's user page gives more details on this. Pointy 21:34, 22 December 2007 (UTC)

Special:Whatlinkshere/Template:ExchangeItem wouldn't work as a list of Exchange: pages now, since it's populated by the normal pages that use template:GEPrice. You could use the special:allpages/Exchange: instead. Skill 02:50, 23 December 2007 (UTC)
 * I've updated the bot now so it scrapes the whatlinkshere and then filtered the list to only use pages that start with "Exchange:". That was a lot easier to do that than use allpages since allpages only shows 200 articles per page and the bot would have to scrape multiple pages to get the list. Pointy 15:18, 23 December 2007 (UTC)