Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

chaoticset
  (email not shown publicly)
http://chaoticset.perlmonk.org/
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [perlmonks.org], and here [javajunkies.org] too, I ramble randomly in my philosophical blog [blogspot.com] and my other blog [blogspot.com]. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Thursday October 11, 2001
12:57 PM

Cl**ster conversion

[ #965 ]
Well, based on the notion that either

A: We'll get to use one of the Cl**ster legacy lists

or

B: We'll get to use the Cl**ster software itself

I'm going to build a little script to take a Cl**ster list, strip out the rares, strip out extraneous information, and leave a list of rare names, average prices, and slots for pricemodding as the owner sees fit.

I explained how Cl**ster lists work, and he asked me if they're ever way, way off. I told him that they were sometimes (and sometimes slightly ambiguous...if you play the game and you've heard of Arabian Nights, then you might know why Mountain occasionally sells for a big chunk of cash, but all the other land cards (Island, Forest, etc.) usually average under a dollar). He said he wanted to be able to override the base list on specific cards if possible. I said that wouldn't be a problem - just a few more lines in the scripts that convert the lists.

Essentially, this should be 'read in a line from the rares list, check for a matching line in the price list, if there is one slap it into another file with a little changing'. That is, it shouldn't be too too difficult.

Last famous words.

The CGI has become the last thing on my mind at this point; once the scripts that compile the lists are put together and operational, there shouldn't be a lot the CGI will have to do; just build a table, slap about three values into it, and voila. The hard stuff is in the compilation scripts.

I miss moxperl. Wish it was still going.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.