PDA

View Full Version : Playershops Replacement



crb
10-07-2009, 10:36 AM
When playershops stopped updating lots of people said they'd work on making a replacement. So far, nothing.

I do not have the time, or desire, to build the information gathering portion of the script. I can however do the frontend and information processing portion.

It occured to me that perhaps some people might not be able to make the leap from scripting to data i/o necessary to do the information gathering portion of the script.

Let me make it easier.

Just log your game sessions. Then (assuming with Lich), build a script that echoes to the game data, so that it is in the log file.

You are in a playershop room.
Assign a numeric ID to the room (take it from Xygon's site if you wish, this'll have to be hardcoded in your script).
Pick a shop in the room.
Store the shop description as a variable.
Enter the shop
Store the room name and exits and containers as variables.
Pick a container.
Pick the first item in that container.
Echo to the screen "roomid|shopdescription|shoproom(main, west, east, north, etc)|containername|itemname"
echo "TAKEITEM"
enter "take item" command
echo "INSPECTITEM"
enter "inspect item" command
echo "READITEM"
if scroll enter "read item" command
echo to the screen "EOFEOF"

Loop through all the items, all rooms in the shop, all shops in a town, all towns.

Save log file, send log file to me. I can easily write regular expressions to prune that log file to more useful data, create a database out of it, and create a frontend.

If you can write a LICH hunting script, you can write this. Then you can run it yourself or we'd just need a volunteer for each town to run it.

Deathravin
10-07-2009, 10:42 AM
I haven't been on in a few weeks, but last I checked Tillmen was working on something.

And when Tillmen works on something, it tends to get done.

Swami71
10-07-2009, 10:50 AM
I was talking to him. He said he'd help but I think it kind of fizzeled out. Not sure if he ever started.

Morrff
10-18-2009, 12:22 AM
No word on anything to effectively replace playershops.com yet, ehh?

phantasm
10-18-2009, 02:42 AM
When Tillmen works on something, it gets done.