Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - SolarShado

Pages: 1 2 3 [4] 5
46
General Discussion / Help! Java and JAR problem! (Solved...)
« on: June 05, 2009, 01:43:41 pm »
So I'm making a game for a friend. A fairly simple thing, and I'd like to put everything (class files and a few PNGs) in a JAR. No problem.

Except it doesn't work. The program will run just fine, but the images don't show up. A small tweak (using a URL object to load the image) and it crashes:
Code: [Select]
Uncaught error fetching image:
java.lang.NullPointerException
        at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:97)
        at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:107)
        at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240)
        at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
        at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
That error pops up whether it's JARed or not...
I'm not familiar with the URL class, but I suspect this error is because I'm not actually doing anything internet related.

So... what hoops do i have to jump through to get at my PNG? I looked around online a bit and my question doesn't seem to be answered anywhere. I suspect that I'll have to open the jar like a compressd file (yes i know, it is) and read my PNG like that. Isn't there be an easier way? One that doesn't care if the program is running as a bunch of class files in a directory or in inside a jar?

EDIT: OK, I tracked down the source of the NullPointerException... java.lang.Class's getResourse(String) method is returning a null instead of a URL...

EDIT: ACK!!!! *facepalm repeatedly* I'm an idiot... it was all caused by a FREAKING TYPO! It works fine now now... *locks the thread*

47
Life Advice / The best way to spend $25 online...
« on: May 31, 2009, 07:02:32 pm »
What is it?

I got it (a gift card) as a gift from a dear friend, so I feel obligated to spend it on me, so don't bother suggesting that I donate it to Toady. I did consider that, but like I said, I feel obligated to spend it on myself.

I'm completely new to online shopping. Where would be the best place to find stuff?

So... Ideas? Where to buy music? A cool game for >$25?

48
Forum Games and Roleplaying / 3D MSPA clone
« on: May 09, 2009, 12:14:50 am »
So, partially to aleviate my own boredom, I've decided to start a MS Paint Adventures-like story/adventure.

* Updates each week only on weekends. Sorry, but i don't have time to do stuff online during the week. I will have plenty of time to create the update during the week.

* Everything's going to be made with Blender, unless I decide otherwise.

* Post suggested actions and when i get ready to update, i'll pick an action. It'll be at my discression, but if there's an overwhelming preference for one, I'll do my best.

* Quality is by no means asured.

I think that about covers it, so here's the first pannel:

Ain't it purdy! commands can be issued to the cube or the world at large, the chance of success of any command is of course unknown till someone triesy.
If i get a few suggestions, i might be able to get an update readt tomorow

49
DF General Discussion / DwarfFortress.com?
« on: April 19, 2009, 12:47:08 am »
Yup, it's taken. Was discussed here in 2007.

But why did it die? Simple lack of interest?

50
Creative Projects / CG Art
« on: April 17, 2009, 12:59:43 pm »
So I've started tinkering with Blender and while I've still got a lot to learn, I've made these:

thinking of using this one as my new avatar


just mist and a couple of lights

Oh, and there's this that i made in GIMP a while back:


I'm using the Mist-Eyes for wallpaper (rendered bigger of course), looks cool if i may say so myself.

Thoughts about the Avi's? Tips for Blender? Requests for Your Very Own Spinning Cube Avatar?

51
General Discussion / FF 7 + DF?
« on: April 11, 2009, 03:13:26 pm »
I would've posted this in VN... But it's just an amusing story that I'd like to share and some thoughts.

I've been playing Final Fantasy 7 (for the first time!) on my computer through an emulator. Works great. Then I came to the safe where you have to carefully enter the 4 numbers within 20 seconds. Tried, tried, and tried some more. Then I noticed that the 20 second timer seemed to be going awfully fast.

After a little looking for settings in the emulator and thinking, I decided to force the emulator to lag so I could actually get into the safe. And what program do we all know of that eats processor time like crazy? Dwarf Fortress of course! So with 2 copies of DF running at the title screen in the background, I cracked the safe open. Closed the DFs, crushed the boss, and grabbed my loot.

Sure, it was a little cheaty, but I swear that timer was running faster than it should.

For the fellow FF7 players:
I'm still on disk one, just got the little bronco (or whatever it's called, the plane-turned-boat) and am looking for the keystone. I know where it is, just haven't gone there yet.

For any emulator geeks:
I'm using ePSXe and an Logitec-brand Xbox360 controler with "Chill-Stream".

And if you haven't played FF7, you should. I haven't played too many RPGs and this is the first FF game that i've played, but it's a lot of fun. And the summons look awesome despite the low (by today's standards) polygon count.

Hmm... this might should be in Other Games...

53
I have noticed that it is rarely used. Half the time someone posts a download link, it's on some other site. so, as a
COMMUNITY SERVICE ANNOUNCEMENT
I hereby post a link to it: http://dffd.wimbli.com/index.php

And the following message: It's there for a reason, use it people! I don't wanna have to wait 10 seconds before i can start downloading (unless it's an actual bandwidth/connection problem)!

Yes, i know some (perhaps alot) of us know about it and use it, but apparently a lot don't. It's been around since before i started playing, so it's not new.

I also propose a link to it be put in the community games and stories board, either in the top block text or (IMO the better choice) as a stickie.

54
DF General Discussion / A DF essay
« on: February 23, 2009, 05:49:00 pm »
So, for school i had to write an essay, and i wrote it about DF. I actually got my mom interested in DF by reading it (the graphics destroyed her interest  :().

Anyone interested in reading it? I was thinking about expanding it and giving it to toady to use as a detailed description, if he's interested.


55
DF Gameplay Questions / 2 questions
« on: February 14, 2009, 04:15:31 pm »
rather experienced player, but i wouldn't claim to have done everything either. Two small questions:
  • How can i find rock crystals? IIRC, the wiki says they're available just about everywhere, but i've never seen any. i usually settle near magma tho.
  • What exactly does toggling an animal as "Available" in the z menu do? I'm playing a hermit chalange and would like for my animals to follow him around. The trained war dogs do, but I'd like the rest of the animals to as well.

56
DF General Discussion / Map Compressor - minor bug/annoyance
« on: February 13, 2009, 10:13:31 pm »
The Map Compressor doesn't correctly recognise tiles when i use my square font. Is this a known issue? Should i post a map that shows the bug?

EDIT: If this is the wrong place to mention it, could someone direct me to the correct place?

57
DF General Discussion / How many copies of DF do you have?
« on: January 09, 2009, 10:26:23 pm »
I personally have 5. One vanilla for my games, another vanilla for succession games, and 3 different modded copies.

58
DF Dwarf Mode Discussion / Lifevis? What? Where? Why?
« on: January 03, 2009, 02:14:17 am »
Subject says it all. I've seen it mentioned, but what is it? It seems to be a replacement/update for 3Dwarf, but it's not on the almighty wiki. So where can it be found? And why was it made? What's wrong with 3Dwarf?

EDIT:oops, this should be in General Discussion...

EDIT2: My questions have been mostly answered:
What? A real-time replacement for 3Dwarf, that can display objects in adition to terrain.
Where?  http://dwarvis.googlecode.com
Why? Because it's AWESOME.

59
DF Modding / A quick question re: entity tokens
« on: January 01, 2009, 04:31:14 pm »
So i'm playing LegoLord's lego mod and can't find any fire swords, so i looked in the entity file and here's a snippet of what i found:
Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_SWORD_FIRE]
[WEAPON:ITEM_WEAPON_SPEAR]
Oh, and i am playing as the right civ and looking in the right shop, because there are other modded-in weapons from that civ.

My question is: what does the ITEM_WEAPON token mean? I can't find it on the wiki.

I'm not much of a modder, so the simpler the explaination the better.

60
DF General Discussion / A quick question regarding 40d>fuzz<
« on: December 31, 2008, 01:35:34 am »
Have there been any gameplay changes since 40d? or is it just graphics engine updates in d1-5?

Pages: 1 2 3 [4] 5