powerlogging

by Narses

Back to Mechanic's Corner.

Narses2006-09-10 10:57:26
Heya everyone,

I was wondering, is there aynone out there with Zmud who made a powerlog- calculator of sorts? that can calculate how much power was drawn by specified person and how much he or she donated?

If not, any pointers as to how to go about it would be most appriciated.

thanks in advance,

Narses.
Unknown2006-09-10 11:38:12
A former Celestian power minister had a little project on just this thing a few months ago. I don't remember who, but I remember they were talking about it on the forums. unsure.gif
Vesar2006-09-10 11:40:39
QUOTE(Wesmin @ Sep 10 2006, 07:38 AM) 329748

A former Celestian power minister had a little project on just this thing a few months ago. I don't remember who, but I remember they were talking about it on the forums. unsure.gif


I wrote the one that Celest uses before my hard drive crashed and I lost it. Soll has a copy, and Ekard, too, I believe.
Unknown2006-09-10 11:48:36
It was a girl as the topic starter, I know that much. tongue.gif Let me go searching.
Unknown2006-09-10 12:23:50
I -never- want to do a forum wide search again for all members for the word 'power' There are people talking about overpowered, underpowered, power, and people complaining about the people IN power. fear.gif

Anywho, I found the two threads I wanted to find, There's some things shown in ferlas's, which you might find interesting, but mainly it's Anisu's you'll want to look at(and she comments in ferlas's anyway) because she's got a download with a powerlogging system.

You -will- need to edit a decent amount to remove the celestian specifics and put in glomdoring specifics, but once that's done It'll save you half an hour a day or so. wink.gif

Ferlas's Thread

Anisu's Thread (with download)

Note:These are for Zmud. happy.gif
Narses2006-09-10 13:50:59
Narses is a Celestine now though so... it fits perfectly tongue.gif
Soll2006-09-10 16:45:52
Destroyed.
Unknown2006-09-10 19:46:18
QUOTE(Narses @ Sep 10 2006, 09:50 AM) 329767

Narses is a Celestine now though so... it fits perfectly tongue.gif

heh, that's right, we were talking in delport. biggrin.gif Well, glad I could help.
Acrune2006-09-10 19:55:41
Here is Anisu's powerlogging script, made so it works. If anything else doesn't seem to work right, let me know if you aren't used to playing with code, and I might see if I can't fix it.
Acrune2006-09-10 21:32:49
Oops! You're going to want to add this in there with the similar triggers:

#TRIGGER {%d/%d/%d %d:%d:%d - (%w) added (%n) power through a scholar} {
#add citposlog.%1 %2
#add citlog.%1 %2
}

Thanks to Narses for pointing out it didn't track scholar power.
Aiakon2006-11-20 22:13:40
Thank God for this thread.
Aiakon2006-11-20 22:29:39
P.S

%d/%d/%d %d:%d:%d - (%w) drained (%n) for upkeep

That trigger isn't picking up the Ur'Guard's drains, though it's getting the Geomancers and Nihilists. Someone help me? tongue.gif

Powerlog syntax reads like this:


2006/11/14 17:25:09 - Nihilists drained -? for upkeep this month
2006/11/14 17:25:09 - Geomancers drained -? for upkeep this month
2006/11/14 17:25:09 - Ur'Guard drained -? for upkeep this month
Acrune2006-11-20 23:57:28
Try replacing the (%w) with the *, I suspect the ' in Ur'guard is botching it.

Also, be sure to add a line for the nexus world power.

#TRIGGER {%d/%d/%d %d:%d:%d - (%w) added (%n) power at the Urn of Celestial Starlight} {
#add citposlog.%1 %2
#add citlog.%1 %2
}
will do it for Celest, not sure about the other orgs
Aiakon2006-11-21 09:38:49
QUOTE(Acrune @ Nov 20 2006, 11:57 PM) 355455

Try replacing the (%w) with the *, I suspect the ' in Ur'guard is botching it.

Also, be sure to add a line for the nexus world power.

#TRIGGER {%d/%d/%d %d:%d:%d - (%w) added (%n) power at the Urn of Celestial Starlight} {
#add citposlog.%1 %2
#add citlog.%1 %2
}
will do it for Celest, not sure about the other orgs


Yes. That's rather what I thought.. thank you.

And everything else on the script works well. I've added nexus world power, I've added demon empowering.
Tervic2006-11-21 10:13:57
does something shiny like this exist for MUSH?

Unknown2006-11-22 15:30:10
QUOTE(Tervic @ Nov 21 2006, 04:13 AM) 355631

does something shiny like this exist for MUSH?


Of course not, Heathen! whip.gif
Tervic2006-11-23 10:37:31
QUOTE(mitbulls @ Nov 22 2006, 07:30 AM) 356095


Of course not, Heathen! whip.gif

crying.gif