Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Blogs

Once upon a time, a casual tank formed a raid coalition for BC. Stuff happened.
Old

Automatic Stasiscl Log Posting

Posted 08/14/08 at 1:58 PM by Abbi
Hey, it's been a while since I posted bad code. OK! Here we go!

This is a pair of scripts which I use to automatically handle log uploads. My goal was to be able to allow people to upload logs into an FTP directory, and run a script out of cron that would periodically check that directory and do intelligent things. I'm anal, so I wanted the logs to be renamed, organized, and so forth.

It assumes four directories -- one for incoming logs, one for processed logs, one...
Abbi's Avatar
Bald Bull
Posted in Uncategorized
Comments 0 Abbi is offline
Old

Revised stasiscl Raid Listing

Posted 07/08/08 at 11:43 AM by Abbi
Updated 07/09/08 at 10:54 AM by Abbi
OK, let's do this for real.

What you're getting: PHP files that duplicate the functionality of the built-in history option of stasiscl. I did this for two reasons. First, I wanted my history pages to match my report pages in look and feel. Second, it saves a little time because you don't have to regenerate the history pages every time you add a raid.

Your server needs to run PHP for this to work.

There is a zip archive attached (sorry, UNIX people, the...
Abbi's Avatar
Bald Bull
Posted in Code
Comments 13 Abbi is offline
Old

More stasiscl Tricks (Raid Listing Page)

Posted 07/07/08 at 7:10 PM by Abbi
Updated 07/07/08 at 10:06 PM by Abbi
Enough people have complained that they don't have old WWS parses to provide the necessary .js and .css files for the stasiscl history option that I decided to write something. Have some bad PHP. Drop this sucker in your top level raid directory (call it index.php). It should sit right next to all the directories named "sws-blahblah-1234567".

Code:
<html>
<head>
<title>Raid History</title>
<link rel="stylesheet" type="text/css"
...
Abbi's Avatar
Bald Bull
Posted in Code
Comments 4 Abbi is offline
Old

stasiscl Tricks, Volume II

Posted 06/19/08 at 8:50 PM by Abbi
Sort of by request. I feel sloppy about this because it's not really an accurate model of ret pallie damage bonus; I'm just taking all the damage done by people with Sanctity Aura on and dividing it by 1.02, and taking all the damage done to mobs with Judgement of the Crusader on 'em and dividing that by 1.03, and claiming that's more or less representative of how much damage the raid would have done without the ret pallie along. Which is bogus, but possibly good enough for government work, and...
Abbi's Avatar
Bald Bull
Posted in Code
Comments 2 Abbi is offline
Old

Random stasiscl Tricks

Posted 05/27/08 at 5:34 PM by Abbi
If you are not a perl geek, turn away now.

stasiscl is the bees knees. It produces pretty solid charts of raid performance, a la WWS but not dynamic. Even cooler (to me), it is built on a perl parser which is monumentally simple to turn to your own ends.

This is some ends. Yes, my raid group is still working on Archimonde.

Code:
#!/usr/bin/perl

use lib 'lib';
use Stasis::Parser;
use Data::Dumper;

$parser = Stasis::Parser->new(version
...
Abbi's Avatar
Bald Bull
Posted in Code
Comments 2 Abbi is offline