A simple tool for organizing turn reports

General out-of-character discussion among players of Cantr II.

Moderators: Public Relations Department, Players Department

cotton
Posts: 2
Joined: Wed May 23, 2012 9:12 am
Contact:

Re: A simple tool for organizing turn reports

Postby cotton » Thu May 24, 2012 5:48 am

Thank you. That is great. I will have a try and hope it will work well. :lol:
Navi
Posts: 87
Joined: Tue Dec 06, 2011 5:54 pm

Re: A simple tool for organizing turn reports

Postby Navi » Thu May 24, 2012 12:37 pm

Greek wrote:Few months ago I created simple tool to concatenate text messages.
Unfortunately it worked for nobody I asked but me and nobody wanted to send me any log file for tests, so I didn't publish it. It should be pasted and run in the folder with .eml files (I download them using Thunderbird). It doesn't show anything (no GUI/console), so it might look like nothing happens. Creates "logs" directory. Maybe it would work for somebody :P It's Java program so should be OS independent. My turn reports are of type "text" in Cantr settings, maybe that's why it worked for nobody else.
http://www.cantr-mmorpg.pl/progz/logcutter.jar
I'm not going to fix it and I'm glad to see better program for archiving logs. :)


I tried this last night and it seems to work fine for splitting the characters from an EML file that was sent as text. I only have one of them that way, so I assume that is why it just worked on one of them.
Navi
Posts: 87
Joined: Tue Dec 06, 2011 5:54 pm

Re: A simple tool for organizing turn reports

Postby Navi » Sun May 27, 2012 1:35 am

64bit java version

I finally got a Java version working, but only a 64bit version. I'll upload a 32bit one when I figure out how to make it.

This is tested on Windows only, as both the Mac and Linux install I have have 32bit java.

It reminded me why I don't use the language much, despite having used it a lot more than C#. It took me four times as long to get the GUI working properly in Java as it did for me to write the entire program in C#, including experimental designs, etc. Oddly, aside from the GUI code, a copy and paste of the rest of the code was about 80% functional, and only required minimal changes to get it to work. /OffTopic
User avatar
Oasis
Posts: 4566
Joined: Tue Aug 19, 2003 5:30 am
Location: Ontario, Canada

Re: A simple tool for organizing turn reports

Postby Oasis » Sun May 27, 2012 7:28 am

Navi, have you considered working for the Cantr programming department?
Navi
Posts: 87
Joined: Tue Dec 06, 2011 5:54 pm

Re: A simple tool for organizing turn reports

Postby Navi » Sun May 27, 2012 12:15 pm

Yes, but I have almost no knowledge of programming for the web. I could probably pick it up quickly though. My knowledge of PHP (which is what the game is written in, as far as I know) consists of what I remember from two short lectures in university about four years ago.
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4726
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: A simple tool for organizing turn reports

Postby Greek » Sun May 27, 2012 12:58 pm

My PHP knowledge was near zero, but I managed to learn it very quickly. You know how to create good code, so I think it's very good idea :)
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’
jarco
Posts: 115
Joined: Tue Jun 19, 2007 11:39 am

Re: A simple tool for organizing turn reports

Postby jarco » Thu May 31, 2012 7:40 pm

Navi wrote:64bit java version

I finally got a Java version working, but only a 64bit version. I'll upload a 32bit one when I figure out how to make it.

This is tested on Windows only, as both the Mac and Linux install I have have 32bit java.

It reminded me why I don't use the language much, despite having used it a lot more than C#. It took me four times as long to get the GUI working properly in Java as it did for me to write the entire program in C#, including experimental designs, etc. Oddly, aside from the GUI code, a copy and paste of the rest of the code was about 80% functional, and only required minimal changes to get it to work. /OffTopic


I will test it tommorow and inform you of the results.
User avatar
freiana
Posts: 766
Joined: Fri Dec 26, 2008 9:21 pm
Location: Delft, the Netherlands

Re: A simple tool for organizing turn reports

Postby freiana » Sat Dec 15, 2012 6:10 pm

I don't know if anyone is still using this but I could use some help. Somehow I keep getting errors if I try to open some of the files I saved. Right now I have managed to save 100 days of turn reports. If I try to add anything to that it gives an error, if I try to save as a new file it gives an error. Am I making some obvious mistake?
Last edited by freiana on Sat Dec 15, 2012 10:09 pm, edited 1 time in total.
Don't remember where I was - I realized life was a game - The more seriously I took things - The harder the rules became
User avatar
Bmot
Game Mechanics Chair / HR/PD Member
Posts: 2631
Joined: Sat Jun 30, 2012 3:59 pm
Location: The Hague - Netherlands

Re: A simple tool for organizing turn reports

Postby Bmot » Sat Dec 15, 2012 9:58 pm

Got this same problem, though I didn't research it as good as Freiana :wink:

The error is the following (in Dutch):

Er is een onverwerkte uitzondering opgetreden in de toepassing. Als u op Doorgaan klikt, wordt deze fout genegeerd en gaat de toepassing verder. Als u op Afsluiten klikt, wordt de toepassing onmiddelijk afgesloten.

Er is al een item met dezelfde sleutel toegevoegd.


Freely translated to English:

An unprocessed exemption happened in the application. If you click on 'continue', this error is ignored, and the application continues. If you click on 'close', the application is closed immediately.

An item with this key is already added.


When I click 'next' then, the program stays opened, but the document with the reports doesn't open. When I try to open it again, I get the same error.
Richard Dawkins wrote:We privileged few, who won the lottery of birth against all odds, how dare we whine at our inevitable return to that prior state from which the vast majority have never stirred?
User avatar
freiana
Posts: 766
Joined: Fri Dec 26, 2008 9:21 pm
Location: Delft, the Netherlands

Re: A simple tool for organizing turn reports

Postby freiana » Sat Dec 15, 2012 10:09 pm

The correct English version of the error:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Length cannot be less than zero.
Parameter name: length.
Last edited by freiana on Sat Dec 15, 2012 10:19 pm, edited 1 time in total.
Don't remember where I was - I realized life was a game - The more seriously I took things - The harder the rules became
Andu
Posts: 685
Joined: Wed Aug 06, 2008 5:29 pm
Location: Finland

Re: A simple tool for organizing turn reports

Postby Andu » Sun Dec 16, 2012 12:04 am

Holy smokes of hell, I'll try this later!
"An those with little fuel, could tie a pack of bears in front of their limousine, with whip and crossbow in hands to keep them in line."
Navi
Posts: 87
Joined: Tue Dec 06, 2011 5:54 pm

Re: A simple tool for organizing turn reports

Postby Navi » Sun Dec 16, 2012 2:51 am

Cantr Turn Report Tool v1.1

I think the problem is fixed in this version. Let me know if you continue to have any trouble with it (or find any new problems).

From my own turn reports, one of the radio messages caused some formatting problems in the save. I've changed the save format slightly to hopefully have less trouble in the future.
User avatar
freiana
Posts: 766
Joined: Fri Dec 26, 2008 9:21 pm
Location: Delft, the Netherlands

Re: A simple tool for organizing turn reports

Postby freiana » Sun Dec 16, 2012 9:08 am

:shock: I works! :shock: YEAAAYY :mrgreen: :mrgreen: :mrgreen:
Thank you a lot, Navi! This is awesome!
Don't remember where I was - I realized life was a game - The more seriously I took things - The harder the rules became
Navi
Posts: 87
Joined: Tue Dec 06, 2011 5:54 pm

Re: A simple tool for organizing turn reports

Postby Navi » Sun Dec 16, 2012 5:51 pm

freiana wrote::shock: I works! :shock: YEAAAYY :mrgreen: :mrgreen: :mrgreen:
Thank you a lot, Navi! This is awesome!


:) Great! I'm glad that worked. Finding the problem otherwise would have been difficult.
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: A simple tool for organizing turn reports

Postby Doug R. » Mon Dec 17, 2012 12:35 pm

I had forgotten about this. Thanks for the bump. I compiled the turn reports for my second oldest character, and the document is 3211 pages long!
Hamsters is nice. ~Kaylee, Firefly

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest