Go back to previous topic
Forum Name New Player Q&A
Topic subjectRole, Note, Desc formatter for Windows
Topic URLhttps://forums.carrionfields.com/dcboard.php?az=show_topic&forum=5&topic_id=2323
2323, Role, Note, Desc formatter for Windows
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
Here is a little application I whipped up in C# that you can use to format your roles, notes and descriptions. It will limit your input to 3000 characters which should guarantee that you don't lose any of your role if it gets published on the Premium Battlefield.

You can find a link to the executable here:
http://www.carrionfields.net/tools/CF_Formatter.zip

Once you have the .NET Framework installed you should just be able to click and run the executable, and it's self-explanitory.




This is written in C# and it requires Windows and the .NET Framework v3.5

You can find the .NET Framework v3.5 here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en
2640, De-Stickied!
Posted by Valguarnera on Wed 31-Dec-69 07:00 PM
I rolled up the new hosting details into a single sticky post at the top of the New Player Forum, so that new threads wouldn't get buried.

If there's any detail missing from it, please tell us and we'll incorporate as needed.

valguarnera@carrionfields.com
2642, You broked the link :(
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
http://www.carrionfields.net/tools/CF_Formatter.zip

2645, Unbroked!
Posted by Valguarnera on Wed 31-Dec-69 07:00 PM
Strangely, if I put that link in a tag, our forum software auto-mangles it.

valguarnera@carrionfields.com
2634, Mind rehosting this?~
Posted by Torak on Wed 31-Dec-69 07:00 PM
~
2635, Done and doner:
Posted by Batman on Wed 31-Dec-69 07:00 PM
All of these are the same, various hosting sites.


http://rapidshare.com/files/384014862/CF_Formatter.zip

http://www.mediafire.com/?dk5znjwj4gl


http://www.filefactory.com/file/b182eb4/n/CF_Formatter.zip


http://www.2shared.com/file/qc8yZU5S/CF_Formatter.html

http://www.megafileupload.com/en/file/226339/CF-Formatter-zip.html


http://www.megaupload.com/?d=GPEBYQZD
2636, Done & link updated in original post (n/t)
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
n/t
2574, RE: Role, Note, Desc formatter for Windows
Posted by Borkahd on Wed 31-Dec-69 07:00 PM
Having had to format my drive, I lost this nifty little prog. Any chance of getting it hosted someplace else?
2575, RE: Role, Note, Desc formatter for Windows
Posted by Mort on Wed 31-Dec-69 07:00 PM
You could use my javascript/html version posted in this very thread!
2576, RE: Role, Note, Desc formatter for Windows
Posted by Borkahd on Wed 31-Dec-69 07:00 PM
I seem to have missed that. Thanks!
2336, Please don't pincer me, Zulg
Posted by Mort on Wed 31-Dec-69 07:00 PM
I was inspired by this to toy around a bit with Javascript, and made a shameless copyversion that's self-contained in a HTML page, and runs in the browser. It has a few things to note, but they're included in the "application's" info box.

This could be easily incorporated to this web site if you wish, I grant you every right to do so and fiddle around with it.

Edited to add: since it is self-contained, you could save the file on your computer and use it from there. Also, I tested it in the Nokia S60 browser which is webkit based, and it failed spectacularly. Any input from other webkit based browser users (Safari, etc.) would be welcome since I may need this sort of stuff for "real" webpages someday.

The formatter is the attached document.

http://forums.carrionfields.com/dc/user_files/61.html
2337, FYI, seems to work fine on Google Chrome. nt
Posted by Java on Wed 31-Dec-69 07:00 PM
nt
2338, Thanks
Posted by Mort on Wed 31-Dec-69 07:00 PM
I expected that, the S60 browser has a mutant javascript implementation and is the likely cause.
2340, RE: Please don't pincer me, Zulg
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
>I was inspired by this to toy around a bit with Javascript,
>and made a shameless copyversion that's
>self-contained in a HTML page, and runs in the browser. It has
>a few things to note, but they're included in the
>"application's" info box.
>
>This could be easily incorporated to this web site if you
>wish, I grant you every right to do so and fiddle around with
>it.

It already is incorporated into the site, purely by your post. I've got no problem with it being around this way, but it suffers from the same potential problem that Dio's does. If the site/forum goes down you're still screwed, hence the standalone application :)
2341, RE: Please don't pincer me, Zulg
Posted by Mort on Wed 31-Dec-69 07:00 PM
Yeah, well... like I mentioned in the other post, since the script is embedded in the html page, this one can be saved and runs just fine without any 'net connectivity too! And it might work for anyone using OS X or Linux, however many of those users we have. ;)
2342, It works!
Posted by Tac on Wed 31-Dec-69 07:00 PM
Sort of anyway. Now if it was anchored somewhere that would be ideal.
2493, RE: Please don't pincer me, Zulg
Posted by Plushka on Wed 31-Dec-69 07:00 PM
Ubuntu 8.04 and 9.04 here. The online one doesn't format in Firefox on these OSs. It does, however, clear.
2494, RE: Please don't pincer me, Zulg
Posted by Mort on Wed 31-Dec-69 07:00 PM
Interesting. I guess I'll install a GUI on our debian vm and check it out at some point.
2495, RE: Please don't pincer me, Zulg
Posted by Mort on Wed 31-Dec-69 07:00 PM
Well, I checked it out already and since the fix was so simple (I have no idea how it worked on any browser in the first place, that typo should've prevented it), here's an updated version. Also circumvents CF's habit of rejecting lines that are exactly 79 chars long by dropping the max line length.

http://forums.carrionfields.com/dc/user_files/69.html
2609, I tried it for a description, had some problems
Posted by dude on Wed 31-Dec-69 07:00 PM
When I pasted the description several lines had the last one or two characters cut off. Good program but you might want to make it so the next line starts a few characters earlier. Still way cooler than anything I can do.
2610, RE: I tried it for a description, had some problems
Posted by Mort on Wed 31-Dec-69 07:00 PM
Did you use the latest version from this thread? I've fixed a few bugs of the sort. Try the one that wraps at 75 chars per line.
2333, Santa Zulgh, how complicated would it be?
Posted by Kadsuane on Wed 31-Dec-69 07:00 PM
To allow us to use this formater to enter rolls into cf? It would require character log in and stuff ofcourse. In game penalty can be longer diconnect between logins in forms of lag, if something like that is necessary.

I may also just be high.

2339, RE: Santa Zulgh, how complicated would it be?
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
>To allow us to use this formater to enter rolls into cf? It
>would require character log in and stuff ofcourse. In game
>penalty can be longer diconnect between logins in forms of
>lag, if something like that is necessary.
>
>I may also just be high.

I don't really get what you're asking here. You have a copy to clipboard feature, and paste that into your client and there you have a role entered in CF.

I have no way to pipe the data from this into your client (especially since I don't even know which client you are using), which is why it gets pushed to your clipboard.
2324, RE: Role, Note, Desc formatter for Windows
Posted by nebel on Wed 31-Dec-69 07:00 PM
I downloaded and used your program and got an error.

I've tried to email you at zulghinlour@carrionfields.com about it but I'm getting a "Message rejected. Not enough storage space in user's mailbox to accept message." error.

I don't know how else to bring this to your attention, since I can't email you about it.
2325, Not enough storage space in user's mailbox!?!
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
I've got 10MB free...You can always send me a forum message if that isn't working.
2326, RE: Not enough storage space in user's mailbox!?!
Posted by Mort on Wed 31-Dec-69 07:00 PM
Just for info... I gave it a go; it does start up and appears to work with just .NET framework 2.x installed, but when you click any of the formatting buttons it crashes due to missing functionality. Installing .NET 3.5 fixes it and now it looks to work just fine.
2327, RE: Framework 3.5
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
>Just for info... I gave it a go; it does start up and appears
>to work with just .NET framework 2.x installed, but when you
>click any of the formatting buttons it crashes due to missing
>functionality. Installing .NET 3.5 fixes it and now it looks
>to work just fine.

Thanks for the confirmation. I had forgotten that I had compiled it targetting the 3.5 Framework, and tried to rebuild it targetting 2.0 but there were some changes in the controls I used that it didn't "just work", so I've updated the requirements to use 3.5 :)
2328, Works groovy with 3.5. Thanks. nt
Posted by Java on Wed 31-Dec-69 07:00 PM
nt
2329, Mono?
Posted by Tac on Wed 31-Dec-69 07:00 PM
What's it support like .net 1.0? Ohh the horror of being a non-windows user. I'm sure you don't want to do it, but I've seen it elsewhere.... how hard would it be to put something in game that would wrap/chop?
2330, The problem with in-game...
Posted by Zulghinlour on Wed 31-Dec-69 07:00 PM
Is purely how many characters it can take for input (which is far less than a potential role entry). Let's say max input is 256 chars, you aren't going to get a lot of good formatting from that.

Another option is to let you put your role in, and then go back and format it, but who the hell wants to do string manipulation in C. We have enough random issues with strings (crashing) the game, adding this on top of it would only make it that much worse.
2331, Yea I was thinking the second...
Posted by Tac on Wed 31-Dec-69 07:00 PM
but then I didn't really consider straight C in my figuring.
2332, Santa Zulgh continues to rock the joint n/t
Posted by Kadsuane on Wed 31-Dec-69 07:00 PM
n/t