Log In
Name:
Pass:
Online Members (0)
No members are currently online.
Current Interguild Time:
Thu Mar 28 2024 9:59 pm
Member Chat Box  [click here to enlarge]
Recent Posts and Comments
ShareThis
« Blogs Index < Game Guides < HATPC Guides
« canadianstickdeath's Blog

This is something I should have made a long time ago. You know, back when I still made caves and it'd actually be useful to me. Anyway, I posted the link a little below, and I'd appreciate it if you all'd download it, play around with it, and tell me what you think. I don't want you guys to mention any potential new features just yet, I just want to know if you can find any bugs, or anything that doesn't function in the way that you would perhaps expect it to.

http://www.interguild.org/hatpc/cavemaker.zip (EDIT: You cannot trust this link to be remotely up-to-date.)
original link:
https://drive.google.com/file/d/1BNp_r4-qIIZ8QuNE1wRw6Vi9HT526aDL/view

Due to a forum bug, you'll probably have to copy that and paste it into your address bar.

To run that, you'll first have to extract that all into the same folder. If you can't extract zip files, download WinRAR: http://www.win-rar.com/download.html

You'll also need to make sure you have the latest version of Java: http://www.java.com

Inside, there's a file named cavemaker.bat, which you will double-click on the run the program. A cmd window will pop up and hang around with you the whole time as you use the cavemaker. Close it, and you close the cavemaker with it, so, just ignore it for now. If it comes up and then just goes away, then you (probably) have not, either, followed these steps properly, or you do not have the latest version of java on your computer. I'm working on a way to make it stand-alone, but for now this will suffice. Also, you can make a short-cut of the .bat file (right-click create shortcut, probably) and then you can paste that into wherever you'd like to be able to open the cavemaker from. Also note that, since this was coded in java, it should be able to run on systems other than Windows. I haven't seen fungus in a while, but if you see him, direct him here so I can get that straightened out. We might have to jump through a few hoops, but it should be able to run on his mac. Update: The cavemaker program is now in a jar file. You should be able to run it by double clicking but, if not, set java as the default program from opening jar files. The .bat is still there if needed.

If you have Windows 7, check out this short topic for help: http://www.interguild.org/members/forums/topic.php?id=5124

I'm going to attempt to list some of the changes that I've made from the Neopets version. Here's what I could think of, in no particular order:

Spoiler: ''List of Changes from the Neopets Version''

So yeah, try it out, and if there's anything that gets on your nerves, let me know I'll try making changes to it. I'll work on adding new features at an unspecified point in the future. For now, I'd like to ensure that this is working properly and there's nothing about it that people just hate to death.

Spoiler: ''Changes in Update 1''


Spoiler: ''Changes in Update 2''


Spoiler: ''Changes in Update 3''


Spoiler: ''Changes in Update 4''


Spoiler: ''Changes in Update 5''


Spoiler: ''Changes in Update 6''


Spoiler: ''Changes in Update 7''


Spoiler: ''Changes in Update 8''


Spoiler: ''Changes in Update 9 (Current Version)''
[?] Karma: 0
User Comments (549)
« Forum Index < The Hannah and the Pirate Caves Board
«Previous | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, . . . 20, 21, 22 | Next»

Livio
[?] Karma: 0 | Quote - Link
Tuesday, January 13 2009, 9:43 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
my idea wasn't to make the tile list scroll to the tile. I meant that it would just add the tile to the selected square, without scrolling. I dunno, I guess it would be useful to scroll.

we should make it possible to use this cavemaker using the keyboard only. it could be really handy.
canadianstickdeath
[?] Karma: 0 | Quote - Link
Tuesday, January 13 2009, 10:51 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
OK, so, setting the tile by pressing just the letter won't work because of conflicts with other key combinations. ALT+Character might work, though. The problem is, that's a LOT of typing heading my way. Would you need me to trap both upper and lower case letters? Because that'd basically double the amount of typing required. And for shockwave error, all five numbers? And clone... *sigh*... And "else" wouldn't cut it, because there are MANY other possible key combinations other than just characters... Maybe I could support the common letters, like Alt+S, Alt+A, and Alt+C. The only ALT combination that I'm using that I know of is ALT+F4, so there shouldn't be too many conflicts with other combinations. Anyway, if you want a combination to set the current tile, alt+enter COULD work, except that combination is traditionally for full-screen. If that's OK, or if you've got a better combination, I could try it. Also, ALT+Space for clearing selections? You already have backspace and delete for that, but maybe I'll do it anyway. Sounds like a lot of work.

Single clicking could be tricky. I'm not 100% sure how I'd implement everything. What it'd change to is just, you click on the grid and it sets one tile in that square. That has it's limitations, though. For one, there's not a tile for clearing selections, so I'd have to add that to the table... And large squares of tiles wouldn't be possible, so you'd probably need a key combination to switch between the modes. I'm thinking it might just be a better idea to go with just that ALT+Character thing from earlier.

I've implemented a lot of the options menu:
- You can now choose whether or not to allow yourself to set multiple copies of gems, hearts, starting positions, doors, and water levels. Multiple Gems and Hearts are allowed by default, and, also unlike in the original cavemaker, having multiple water levels is disabled by default. Multiple doors does have it's purposes (I used it in Cherries Rock!, if you look closely), but it's disabled by default. Starting positions were included just because everything else needed to be.
- You can now choose to add a border around your cave when viewing the text. This and all other text-formatting options are not saved into the text file. To upload them, you'll have to view it through the cavemaker. Enabled by default.
- You can now choose to append additional text to the bottom of caves that would be too small to upload normally. I might not have the minimum set right just yet (I have to look it up in the manual, lol -- Acce, are you SURE you got the minimum and maximum right?), but it seems to be working. Enabled by default.
- You can now choose to append Doors and/or Starting Positions to the bottom of caves that do not contain them in order to get past the uploader. Enabled by default. This and other options do not save and will need to be reset upon each load of the cavemaker. I will likely change this in the future.
- I haven't coded it yet, but I'm gonna (at least temporarily) make it so that the loader ignores lines that aren't the same length as the first. If you save after loading a cave like this, those lines will be lost. The view-text can correct this using the aforementioned options, but, since these options only affect the viewing of the text and not saving, it feels like a hole... Does this bother you as much as it does me?

I haven't fixed the level properties dialog yet, and there's a lot of other stuff I'd like to do, but I feel like I've made enough changes to warrant another update. Expect that tomorrow,... probably.  
Livio
[?] Karma: 0 | Quote - Link
Tuesday, January 13 2009, 11:10 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
yeah, I'm sure I got that equation right. I originally had another one, but when I went to test it, it failed miserably. and that's b/c I thought the max was really 8000, and that it counted the title and other stuff. man TNT is messed up....

about the shortcut keys, isn't there some way for you to make sure that no other key is being pressed? I'd hate to compare this to photoshop again, but, lol, it knows the difference between regular S (to activate the clone stamp tool) and Ctrl+S (to save). lol just forget about it and use Alt if you can't get it to work.
canadianstickdeath
[?] Karma: 0 | Quote - Link
Tuesday, January 13 2009, 11:21 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
The problem is, if you use, say, CTRL+Z to undo, and then you release CTRL before you release Z (maybe, 50% of the time) then the Z gets set. It's because I'm using keyReleased instead of keyPressed (because it's ALWAYS key released -- check backspace in the original cavemaker), and I'm not changing it for anybody.

How's insert for setting the selected tile? Does that work for you? This stuff won't be in the update I'm putting up tomorrow.
Livio
[?] Karma: 0 | Quote - Link
Tuesday, January 13 2009, 11:26 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
Insert? you mean the key? *looks at the Insert key* and what's it supposed to do? lol or do you mean like Ins+X for terrain? maybe... and why is it set for released? I don't get what you said about it being "ALWAYS key released"
canadianstickdeath
[?] Karma: 0 | Quote - Link
Tuesday, January 13 2009, 11:30 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
No, like, you press (just) insert to set the tile that's selected in the tile-select menu... Alt+Letter would set the tile of that text. You'll have to memorize which is which in order to do it, though, because I'm not putting a bunch of text everywhere that tells you what to press for those things.

Insert usually toggles on and off typing over the top of the current text rather than typing into the middle of the text.
Livio
[?] Karma: 0 | Quote - Link
Tuesday, January 13 2009, 11:42 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
no, I know what it generally does, I just had no idea what you meant. but Insert replacing Enter? that actually sounds good and logical. forget what I've been saying...
jellsprout
[?] Karma: 0 | Quote - Link
Wednesday, January 14 2009, 12:36 pm EST
Lord of Sprout Tower

Karma: -2147482799
Posts: 6445
Gender: Male
pm | email
What was it again? I think 256 minimum and 9000 maximum. Title and terrain types are not included, but at the end of each line an additional two characters are taken up. Might have been one, but I think it was two.


Spoiler:
Isa
[?] Karma: 0 | Quote - Link
Wednesday, January 14 2009, 12:47 pm EST
No. I'm an octopus.

Age: 31
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
8000, correct otherwise.
jellsprout
[?] Karma: 0 | Quote - Link
Wednesday, January 14 2009, 1:00 pm EST
Lord of Sprout Tower

Karma: -2147482799
Posts: 6445
Gender: Male
pm | email
I just tried it out, and I can indeed confirm that there is a minimum of 256, a maximum of 8000, the title, background, terrain and water types are not included and that each time you start a new line (the top line not included) it will cost an extra two characters.


Spoiler:
canadianstickdeath
[?] Karma: 0 | Quote - Link
Wednesday, January 14 2009, 1:19 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
Ok. I just set the minimum (to get by without needing to add text) to to 300 just in case. It's not like it's gonna cause any problems, and it's better to be safe than sorry.

New Changes:
- Black background behind some tiles has been removed. You can now tell the platforms apart! Well, unless they're in the black grid, in which case, you'll have to highlight to see.
- The previous function of enter has been moved to insert (or shift insert, if you prefer -- I notices multiple selections required shift, and I didn't want to have to remove my hand from shift first).
- Forgot/didn't know to remove JTable's default function for SHIFT+ENTER. Also, I removed shift insert because I got an error once when I pressed it.

Upload coming later today, I hope.
canadianstickdeath
[?] Karma: 0 | Quote - Link
Wednesday, January 14 2009, 2:50 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
New version is up. Check the first post for the link and the changes since the last version.
canadianstickdeath
[?] Karma: 0 | Quote - Link
Thursday, January 15 2009, 3:02 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
- You can now press alt+character to set any tile except for empty tiles. Alt+Space conflicts with a combination used by all windows. It's not too bad, 'cause you can already use backspace or delete, and other of those are easier than alt+space. I also had to take away mnemonics for the menus, since, say, Alt+W would bring up the window menu instead of setting a spike.
Livio
[?] Karma: 0 | Quote - Link
Friday, January 16 2009, 9:36 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
  
'jellsprout' said:
I just tried it out, and I can indeed confirm that there is a minimum of 256, a maximum of 8000, the title, background, terrain and water types are not included and that each time you start a new line (the top line not included) it will cost an extra two characters.
but according to my research, there are different character counts. remember my crazy manual equations? 0.o I hope I didn't make a horrible mistake.
Livio
[?] Karma: 0 | Quote - Link
Friday, January 16 2009, 11:22 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
I downloaded the latest version and I can't do the alt characters thing--
oh wait, it's not part of the latest version

but the bg looks great.

ok I don't see much of a difference. oh look, options. do they get saved to your computer somehow so that you won't have to change them for every cave. that would be cool. and "Add Text to View Map >"? that doesn't make much sense to me.
Isa
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 7:05 am EST
No. I'm an octopus.

Age: 31
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
I think 'Add Text...' is if you want something else than c for the fake tiles.

The options doesn't get saved to the cave

Neat otherwise.
canadianstickdeath
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 4:21 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
The difference are listed on the front page. A lot of the changes were minor bug fixes. The main differences are those options that you can now set. The options don't save, though. I plan on making it so that, next time you load the cavemaker, the options will be set the same as they were the last time you opened it, but I do not plan on making it save along with the cave. That might be possible, but it'd require you to, as a best-case scenario, remove some lines of text from the cave when attempting to upload larger caves using the text file (that is, I add some lines to the bottom that are a different length from the first). I'd rather not do that, honestly.

IF YOU DON'T READ ANYTHING ELSE IN THIS POST, AT LEAST READ THIS PARAGRAPH. I'd like you guys now to list all the things you'd like to see changed or added, remembering that in the next version, alt+character works, a "Save All" feature should exist already, and (hopefully) options will save for the next time you open the cavemaker. Another thing I'll mention is that my power adapter for my laptop is teh deadx0rs, so I probably won't be making any new changes until I get it fixed. I've got about 10 minutes of power left on my computer, if I REALLY need to get something off of it, but for now, I'm saving my minutes until they're needed. That'll give you plenty of time to tell me what you'd like to see added, though. I'll edit the requests into the front post. If there's anything you've suggested already, please post it again so that I remember.

I don't have the cavemaker on hand right now, so I don't really remember what I called everything, lol. I think "Add Text to View Map" is a list of options for things that you can have added to the text of the cave when you click "View Map as Text". These things aren't saved into the cave's .txt file, so to get upload any cave that makes use of them, you'll have to load it into the cavemaker first. Those option are to add a terrain border around the outside, to add garbage to the bottom in order to get a small cave to upload, and to add a D and/or # to the bottom if you didn't include a door and/or starting position. If anybody has a more intuitive name for any for anything that I've written into any of them menus, please let me know.

Acce, could you double-check for me real quick that your equations are actually correct? I'd like to get the number correct inside my cavemaker, and I'm not sure whose to go with. Check that the maximum and minimum are correct, that the new lines add as much as you say they do, and that the length of your choices of both the title and the water type (dark vs clear or murky) do not affect whether or not your cave uploads.
Livio
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 4:31 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
I know the title and stats don't affect your character count. but I'll double check the equation again. it's hard to test it unless you have dimensions that fit into it evenly. and I think I also included the characters that new lines add. I'll check again...
canadianstickdeath
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 4:34 pm EST

Age: 35
Karma: 350
Posts: 2990
Gender: Male
pm | email
You don't need exact dimensions. Add text to the last line until you get it perfect.
Livio
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 4:40 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
well, I just did it with exact dimensions it it doesn't look like it works.
hold on, I'll fix it... it might take a while, though
Livio
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 4:52 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
ok, I got 7912 instead of 7914 as the max. and that's not counting the title or the level info. or any ladders that might get in the way.
Livio
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 8:22 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
csd, could you please add the horizontal wheel scroll thing? and I still want to press Enter in the level props window.

I also like how the grid lines are much thinner than before, and how you got rid of the ugly blue background on some of the tiles. but I'm still getting bugs that won't let me Undo or Redo all the time. I'm gonna try downloading the latest Java and see if that does anything...
Livio
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 8:47 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
I downloaded Java again, and it works again. but when you open CaveMaker, there's a default "new level" window, and if you open a level, instead of making a new one, then you should make it automatically close that "new level".

and when you open multiple windows, you should try to prevent them from stacking directly on top of each other. Like if I have one window open, and then open another (and they're both minimized to the default size), then it'll completely cover the other one and you could forget about the other window completely. Maybe it should have some spacing or something...
Livio
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 8:59 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
Error while trying to undo adding a second starting point so that the old one will get replaced.
Code:
H:\Livio\caves\cavemaker>java Cavemaker
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
 52
        at Cavemaker$Cave.undoChange(Cavemaker.java:2135)
        at Cavemaker$Cave.access$1600(Cavemaker.java:1109)
        at Cavemaker.actionPerformed(Cavemaker.java:748)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(Unknow
n Source)
        at javax.swing.SwingUtilities.notifyAction(Unknown Source)
        at javax.swing.JComponent.processKeyBinding(Unknown Source)
        at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Sour
ce)
        at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Sour
ce)
        at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Sour
ce)
        at javax.swing.JMenuBar.processKeyBinding(Unknown Source)
        at javax.swing.KeyboardManager.fireBinding(Unknown Source)
        at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Sou
rce)
        at javax.swing.JComponent.processKeyBindings(Unknown Source)
        at javax.swing.JComponent.processKeyEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
ce)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
ce)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


EDIT: actually, undo isn't working at all for me anymore... I just can't undo anymore...
Livio
[?] Karma: 0 | Quote - Link
Saturday, January 17 2009, 11:13 pm EST

Age: 31
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
you said the "view map as text" is just hidden when not displayed? Well, what about a shortcut that'll just copy the text into the clipboard without having to open it?

« Forum Index < The Hannah and the Pirate Caves Board
«Previous | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, . . . 20, 21, 22 | Next»

In order to post in the forums, you must be logged into your account.
Click here to login.

© 2024 The Interguild | About & Links | Contact: livio@interguild.org
All games copyrighted to their respective owners.