Forums › English Language Forums › General › General Discussion

Search

Donation Reader

4 replies [Last post]
Sun, 09/07/2014 - 10:35
Tempas's picture
Tempas

Hiya all, I'm the guy who made the lamp farming thread(and never got back to it :| ). Anyways, I was writing a bit of software for my guild(halcyons) as we were building boss statues(highest donor of mats/crowns got a prize). The software is basically just to save me the time and effort of going through the logs and noting down every donation a member made on an excel sheet.

Anywho, to make the software generate a list of donors and amount they donated all you need to do is drag and drop the guild log file into the program and press 'generate list'. The program will also automatically generate a file in the current directly called "output" which is in the text format. I'd have this file encrypted but that's a bit tedious(also it contains nothing that fascinating, just data from the guild log with some tags and what not). Once you have this file you can begin using the 'Use Old Data' function which essentially uses the output file and combines it with the new input file(it stops combining them if it reaches a date which is the same as the first date on the previous file). You can also override existing data with a checkbox provided(by default, Use old data overrides existing data cause new data combines with existing hence you need to override the old data).

Summary of the above
1)Drag & drop log file into program(press generate). Generates a save file.
2)You can use the old data mode now to mash together log files.
3)You can override existing data

Known Exceptions/bugs
1)If you don't input a file into the program it crashes as internally it throws a System.ArgumentNullException. Not going to bother writing a catch handler for that since there should be a file.

As for applications for this well, you can essentially use it to see who's donating the most to the guild and give out prizes for such behaviour. You can also see if people are paying guild fees if there is any without tedious work.

If anyone would like to request for me to write a variation of this program(extra functionality and what not; like generating a list of people donating/taking from the storage) message/mail me in game.

Here's the application

Please do give feedback and/or report other errors if there is any.

Sun, 09/07/2014 - 11:16
#1
Krakob's picture
Krakob

Will attempt making an open source Python tool similar to this, but with extended functionality and none of those resource intensive "graphical" user interfaces e_e

Sun, 09/07/2014 - 11:32
#2
Bopp's picture
Bopp
two other possibilities

More tools are good for the community. Thanks. But let me just point out two similar programs made by other players:

http://forums.spiralknights.com/en/node/71766

The former is a web app, which seems a little tricky to install. The latter is a Python program, so it's very easy, but it doesn't seem to remove redundancies when combining multiple weeks' records.

Sun, 09/07/2014 - 11:46
#3
Krakob's picture
Krakob
@Bopp

I don't recall the latter, but it's nice to see that it had already been made. As for the former, I was very much aware of it but we (Halcyons) don't have a server at hand and are, as far as I know, unable to use the former. Either way, good thing that you keep on spreading this stuff! Would be nice if there was a place where all SK related applications, scripts, etc. were stored/linked. I shouldn't get ahead of myself, though. I'm not very good at finishing these sorts of projects so I'll just not try to do anything about that for now.

Sun, 09/07/2014 - 12:27
#4
Tempas's picture
Tempas
Well it'd be nice to have a

Well it'd be nice to have a pinned thread with these SK related resources. Wasn't aware of either of the applications but sometimes it's nice to have a graphical interface so yay for my program. Anywho, anybody had the chance to test this yet ? I've only had the chance to test it with my own guilds records so there may be some bugs and what not.

Powered by Drupal, an open source content management system