Log In
Name:
Pass:
Online Members (0)
No members are currently online.
Current Interguild Time:
Mon Feb 24 2020 3:08 am
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:
www.freewebs.com/cavehelp/cavemaker.zip

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

A couple of warnings before using the program. I am not liable for any damages. I'm not saying damages will occur -- and I certainly hope they won't -- but if they do, please don't sue. Also, I'd suggest not using it on anything that you can't get back. Always make copies of your work, at least until we can verify that there are not any bugs preventing proper load-save and causing file-corruption.

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 (543)
« Forum Index < The Hannah and the Pirate Caves Board
«Previous | 1, 2, 3, . . . 14, 15, 16, 17, 18, 19, 20, 21, 22 | Next»

Isa
[?] Karma: 0 | Quote - Link
Monday, September 24 2012, 2:43 pm EST
No. I'm an octopus.

Age: 27
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
I think that if Java really was bugged, more people than you would have noticed and it'd be patched.
FlashMarsh
[?] Karma: 0 | Quote - Link
Monday, September 24 2012, 2:46 pm EST

Age: 21
Karma: 99
Posts: 2727
Gender: Male
Location: UK
pm | email
Actually, it is. And people did notice. It has a gigantic security exploit. Though I think that it has been fixed.
Isa
[?] Karma: 0 | Quote - Link
Monday, September 24 2012, 2:48 pm EST
No. I'm an octopus.

Age: 27
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
Color me surprised. I retract my statement.
snipereborn
[?] Karma: 0 | Quote - Link
Monday, September 24 2012, 6:29 pm EST
Fact Squisher

Age: 27
Karma: 136
Posts: 1307
Gender: Male
Location: Arizona, United States
pm | email
It was. Now it is not. So downloading the latest version is fine. Sheesh, shos.


Everyone runs faster with a knife.
shos
[?] Karma: 0 | Quote - Link
Monday, September 24 2012, 7:08 pm EST
~Jack of all trades~

Age: 27
Karma: 384
Posts: 8260
Gender: Male
Location: Israel
pm | email
you sure?

cuz I've been trying to reinstall Java for days now >_>

I came to the situation where anything that needs Java I just do at work. for example, I get emailed Go problems, so I solve them while at work >____>


snipereborn
[?] Karma: 0 | Quote - Link
Monday, September 24 2012, 10:23 pm EST
Fact Squisher

Age: 27
Karma: 136
Posts: 1307
Gender: Male
Location: Arizona, United States
pm | email
Yep. Downloaded the latest yesterday to run tekkit. Works. You might want to check to be sure, but unless you're doing something super-secure with java (what is wrong with you?), it shouldn't be an issue.


Everyone runs faster with a knife.
canadianstickdeath
[?] Karma: +1 | Quote - Link
Friday, November 9 2012, 4:31 am EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
I'm experimenting with zoom... Took a couple hours but it's basically working... I just need save/load it with the rest of the options. What levels of zoom do you want? Are you OK with just some options in a drop-down menu b/c I'm too lazy to make anything else? If you'd like keyboard shortcuts, what would you like them to be/do?

Anyway the thing I'm most wondering about is, after zooming in or out, what part of the cave should be visible? If I just leave the scroll bars alone what happens is the window stays scrolled the same number of pixels, but that doesn't care at all about what you were doing when you changed the zoom. Next easiest thing to do is to keep it scrolled the same percentage, unfortunately this doesn't go by the centre of the scroll bar, so if I just use the two scaling factors on the scroll position, only the top left corner is what stays the same (though there are sometimes some oddities where it doesn't quite stay put...). I could maybe find a way to centre it, if you'd rather that, though my brain hurts trying to think about how to go about that... Somebody please tell me how, lol. I guess what Isa would want is for the viewport to be, like, centred around your current selection, lol. Maybe it's possible to work that out somehow, but... yikes.

Another thing is... at 25% zoom or something, you can make out what everything is except you can't read the ones with words written on them... If you really want like 25% zoom, uh, I'll have to make new images so that those would be readable.
Jorster
[?] Karma: 0 | Quote - Link
Friday, November 9 2012, 2:36 pm EST
mfw

Karma: 168
Posts: 2546
Gender: Male
Location: The Straight Guy's Garage
pm | email
If shortcuts,
ctrl+ for zoom in
ctrl- for zoom out


FlashMarsh
[?] Karma: 0 | Quote - Link
Friday, November 9 2012, 2:41 pm EST

Age: 21
Karma: 99
Posts: 2727
Gender: Male
Location: UK
pm | email
no, Ctrl+Mousewheel
canadianstickdeath
[?] Karma: 0 | Quote - Link
Friday, November 9 2012, 3:48 pm EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
Lol, I don't even have a zoom in and out option... Perhaps I'll have to add that, lol. IDK about Ctrl+Mousewheel, I'll look into it but... yeah the mousewheel in Java doesn't even work right to start with. To scroll horizontally with it you have to not be able to scroll vertically and then try to scroll vertical.

Still need opinions on what levels of zoom you'd like and how much you care about what part of the cave is visible after you change the zoom... If I don't get any opinions then you get the laziest possible result. :p
Thomas
[?] Karma: 0 | Quote - Link
Friday, November 9 2012, 6:48 pm EST
the clique shall prevail

Karma: 111
Posts: 2503
Gender: Female
Location: clique
pm | email
Have you ever used image editing software? CTRL and/or +/- and CTRL and mousewheel are pretty standard. Then the image is typically at 100% zoom so if you implement that in cavemaker then 100% zoom to be the exact same size as the game tiles when playing HatPC. Right now it looks like it's 300% zoom or something.
canadianstickdeath
[?] Karma: 0 | Quote - Link
Friday, November 9 2012, 7:00 pm EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
300% what are you talking about lol.

I have the row/column sizes set to 33. Actual size is 32 but for some reason I need to put 33. Maybe something to do with the grid lines. :p

Hmm... I just realized that my "50%" is actually 25% the size because I halve both the width and the height... Is that what people normally do for this sort of thing? Actually I think it probably is...
Livio
[?] Karma: 0 | Quote - Link
Saturday, November 10 2012, 12:45 am EST

Age: 27
Karma: 470
Posts: 9620
Gender: Male
Location: Arizona, USA
pm | email
No, halving both the width and height should lead to 50%, and you should end up with an image that's a quarter the size-- wait a minute... Wow, I never really noticed that, lol... In that case, just take the area, divide it by half, then find what the dimensions for that half-area should be.
canadianstickdeath
[?] Karma: +1 | Quote - Link
Saturday, November 10 2012, 5:10 am EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
I have like, one drawing program on my computer so I booted it up and hit 50% and the result was both the width and height were halved, so that's what I'm going with, lol. I added zoom in and zoom out. Zoom in I have it a ctrl equals instead of ctrl plus, just deal with it. Ctrl plus is impossible to set-up or at least it seems it (if you've got any ideas, lemme hear it...). I could maybe set it up to work with ctrl+shift+equals but why would you want to hit more keys... I'm not even gonna look into the scroll wheel b/c of how many times I've accidentally zoomed in and out b/c of that lame shortcut. I was causing some sort of memory leak with the zooming so I went through the trouble of manually flushing out unused images but uh... there were some wonky things originally because in a couple places I was apparently using references to the originals and uh... well just let me know if images start randomly disappearing lol. Levels of zoom currently are 100, 75, 50, 37.5, and 25.

The viewport after zooming currently keeps only the top left corner in view (and sometimes it wanders a bit, probably rounding errors). Isa will probably not be happy with that but fixing it... ugh. You probably want like, your current selection centred in the screen or something? Or at least you want the centre of what you're currently viewing....

I changed the images for all the images that were just text. I changed them to one letter so they would be readable when zoomed out. Admittedly it might take getting used to seeing "S" instead of "secretsecretsecretsecret". C for fake crates, W for water taps, D for doors... and a red X for shockwave error.

I also changed the way fake crates are displayed. Now they show up as what they will show up as in-game, only dimmed slightly. When highlighted, they appear as the usual fake crate image. IDK if that sounds a little awkward but I wanted to fix an issue I thought might occur if you were using a lot of fake crates... Just you might have trouble figuring out what crate you're actually faking. If you try to fake crate something that can't be faked, then I just show the usual fake crate image. I opted not to show fake starting positions and fake doors, even though those show up on the map, since that's all they actually do is show up on the map. Lastly if you put a fake crate in the top left corner it shows up as a shockwave error, since that's what it'll cause if you leave it there. There might be some poor performance when using like a full screen of fake crates on like a 1000x1000 cave or something, but if you're making a 1000x1000 cave you're already asking for trouble enough as it is.

I've switched it over into a jar file. Basically that means there will only be one file for the program hanging around (it's an archive file though so you can peak inside if you want to see all those .class files) so that's nice I guess. There's a good chance that it should be double-click runnable on most systems (no cmd window hanging around...), uh, if you can't double-click run it you might have to set up java as the default program for a jar file but, when I tried doing that I couldn't get it to work for some reason. Maybe Thomas knows something about this, lol, I should probably learn more about jar files >_>. Anyway I couldn't get it to work if the images were inside the jar... it's probably possible to get that work but whatever, this will do for now. If the file isn't double-clickable, I'll still include a batch file. That file will just run the jar but there shouldn't be any issue... probably not anyway.

Let me know if you have any qualms with anything you just read. Maybe after the weekend I'll put up an update, IDK... Maybe I should look into yes to all and no to all on the close all thing and knock that off the list of things I'll probably never add. IDK if I really want to dig around in that kind of stuff though.
Isa
[?] Karma: 0 | Quote - Link
Saturday, November 10 2012, 5:32 am EST
No. I'm an octopus.

Age: 27
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
All of this is fine and dandy, I just wonder why I'm mentioned so much recently.
canadianstickdeath
[?] Karma: 0 | Quote - Link
Sunday, November 11 2012, 1:40 pm EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
For some reason I remember you as the one who complained about the scroll bars back when they went to 0, 0 after a dimension change.... >_>.
Isa
[?] Karma: 0 | Quote - Link
Sunday, November 11 2012, 1:50 pm EST
No. I'm an octopus.

Age: 27
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
Right, that was me, but I didn't think it'd result in a callout some years later. =p
canadianstickdeath
[?] Karma: 0 | Quote - Link
Wednesday, November 14 2012, 11:26 pm EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
Changed in Update 8:

- I'm using something called a .jar file. It should hopefully be double-click runnable but, if it's not, I've changed the .bat so that should be able to run the jar file. If it doesn't double-click run, it should be possible for you to set it up so that it does, but when I tried just setting Java as the default program for a .jar, I couldn't get it to work for some reason? Anyway, now the cmd window won't be hanging around in the background. It should double-click run on other systems too, maybe? So test that out and let me know if the .jar is giving you any problems. I moved the .java file with the code into the .jar file too just so there's less files floating around.
- I added zoom. 100%, 75%, 50%, 37.5%, and 25% options. I put zoom in and zoom out options too so you can use the keyboard shortcuts for those. I caused some memory leak or something with the images so I had to add something to manually clear those out. It was a bit buggy at first, so let me know if you get any weird problems. I wish I could have handled the scroll bars a little better while zooming.
- I had to change the text-based images over to a single letter so that you could still read them while zoomed out. It might take some adjusting to get used to seeing "S" instead of "secretsecretsecretsecret". The rest of the text images are single letters now too.
- I changed the way the cavemaker displays clone objects. They now appear as what they will appear as in-game, only transparent. If you highlight them they will just show up as clone objects. Maybe that might be a little weird but at least how you can easily tell what your fake crates are doing. If you place one in the top left it'll show up as a shockwave error instead.

Download it at the usual link.

I should have added a ctrl+0 shortcut for 100% zoom, but I didn't for some reason. Oh well. :p
Thomas
[?] Karma: 0 | Quote - Link
Thursday, November 15 2012, 2:19 am EST
the clique shall prevail

Karma: 111
Posts: 2503
Gender: Female
Location: clique
pm | email
Opening the .jar file directly with Right click > Open With > Java(TM) Platform SE binary did not work for me. Instead, you have to go Right click > Open With > Choose default program > Java(TM) Platform SE binary and then make sure the "always use selected program..." checkbox is checked.

For a future update, you should show the percentage each tab is zoomed in by like what photoshop does:
canadianstickdeath
[?] Karma: 0 | Quote - Link
Thursday, November 15 2012, 7:42 pm EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
That should be simple enough to do.
atvelonis
[?] Karma: 0 | Quote - Link
Friday, November 16 2012, 7:43 am EST
Apocryphal Ruminator

Karma: 151
Posts: 1626
Gender: Male
Location: An antique land
pm | email
The cavemaker works for me but when I try to reopen a project, everything is screwed up.

Also, I can't play the actual game: when I open it all there is is a gray screen with an advertisement at the bottom.
At least it's Friday


jellsprout said:
As a kid I always thought tennisballs looked delicious and I liked biting them. I still remember the feel of the fuzz on my teeth and tongue.
Isa
[?] Karma: 0 | Quote - Link
Friday, November 16 2012, 10:02 am EST
No. I'm an octopus.

Age: 27
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
Download our Cavemaker instead of the one Neopets provides.

Open HatPC through us instead of through Neopets.
atvelonis
[?] Karma: 0 | Quote - Link
Friday, November 16 2012, 6:21 pm EST
Apocryphal Ruminator

Karma: 151
Posts: 1626
Gender: Male
Location: An antique land
pm | email
Ohhhhhh ok, thanks Isa.  However, I don't have WinRar, so... What should I do?


jellsprout said:
As a kid I always thought tennisballs looked delicious and I liked biting them. I still remember the feel of the fuzz on my teeth and tongue.
Isa
[?] Karma: 0 | Quote - Link
Friday, November 16 2012, 6:32 pm EST
No. I'm an octopus.

Age: 27
Karma: 686
Posts: 7833
Gender: Male
Location: Uppsala, Sweden - GMT +1
pm | email
Download it.

canadianstickdeath
[?] Karma: 0 | Quote - Link
Friday, November 16 2012, 6:44 pm EST

Age: 30
Karma: 350
Posts: 2987
Gender: Male
pm | email
Are you sure you need it?




Also be sure to use the "original link" until Livio says he's updated the Interguild's copy.

« Forum Index < The Hannah and the Pirate Caves Board
«Previous | 1, 2, 3, . . . 14, 15, 16, 17, 18, 19, 20, 21, 22 | Next»

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

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