Cantr Item List Formatter
Moderators: Public Relations Department, Players Department
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
Cantr Item List Formatter
Sometimes a character needs to make a list of items, such as a manifest of goods, or a list of items for trade to be given to potential trading partners. When there are a lot of items, the standard method is to copy and paste from the objects page - however a lot of returns, spaces and other whitespace characters get copied along with the item list, often requiring additional formatting by hand or by find and replace in notepad.
So to speed up the process of formatting a list of items, I wrote up a few scripts to format and sort lists of objects and merge redundant stacks of items (for example, of you were making a list of all resources in a town, you would need to copy and paste from multiple buildings, and there might be duplicate resource names).
I though this might be useful to other players of Cantr, so I added a GUI to it and embedded it in a web page as a Shockwave object. (If you don't have the Adobe Shockwave Player you can download it here). Anyway, I haven't tested it a lot so there might be one or two bugs with the interface - if you find any, please PM me.
http://joo.freehostia.com/cantr/itemlist/
So to speed up the process of formatting a list of items, I wrote up a few scripts to format and sort lists of objects and merge redundant stacks of items (for example, of you were making a list of all resources in a town, you would need to copy and paste from multiple buildings, and there might be duplicate resource names).
I though this might be useful to other players of Cantr, so I added a GUI to it and embedded it in a web page as a Shockwave object. (If you don't have the Adobe Shockwave Player you can download it here). Anyway, I haven't tested it a lot so there might be one or two bugs with the interface - if you find any, please PM me.
http://joo.freehostia.com/cantr/itemlist/
- DylPickle
- Posts: 1228
- Joined: Sun Aug 15, 2004 6:01 pm
- Location: Canada
- BarbaricAvatar
- Posts: 3489
- Joined: Wed Mar 09, 2005 5:01 pm
- CantrFreak
- Posts: 1243
- Joined: Sun Nov 19, 2006 5:57 pm
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
- Doug R.
- Posts: 14857
- Joined: Wed Mar 23, 2005 6:56 pm
- Contact:
- SekoETC
- Posts: 15526
- Joined: Wed May 05, 2004 11:07 am
- Location: Finland
- Contact:
Otherwise a great thing except when I paste the copied list to Notepad, the line endings are displayed as a box instead of an actual line ending. Could you include some Notepad-compatible line endings option? It seems to work okay in WordPad and if I copy from WordPad to Notepad then that fixes the boxes, but I wouldn't like having to do that every time.
Not-so-sad panda
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
- *Wiro
- Posts: 5855
- Joined: Mon Sep 29, 2008 1:24 pm
- *Wiro
- Posts: 5855
- Joined: Mon Sep 29, 2008 1:24 pm
- El_Skwidd
- Posts: 628
- Joined: Mon Jun 28, 2004 10:07 pm
- Location: Pittsburgh, PA
- joo
- Posts: 5021
- Joined: Fri Jun 17, 2005 2:26 pm
- Location: London, UK
- BlueNine
- Posts: 332
- Joined: Fri Oct 21, 2005 4:52 pm
- Location: Essex, England
This is the exact thing I was thinking I should learn some programming to be able to make (was going for a java app)...thanks for doing it for me!, but also curse you for enabling me to go on without learning it!
Lying in the depths of your imagination, worlds above and worlds below, you can tell a man from what he has to say
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 1 guest


