gosenbach wrote:I see a bit of TW2002 in your screenshots Love it.
Thanks gosenbach! I looked up TW2002 and downloaded it. I need to play it some time, minus the lack of GUI, it looks really cool!
kartoFlane wrote:public ArrayList<WeaponItem> weaponToString(ShipState state, HashMap<String, Integer> map) {
....ArrayList<WeaponItem> al = new ArrayList<WeaponItem>();
....map = new HashMap<String, Integer>();
.......
Well, yeah, you were essentially overwriting the argument with a new HashMap each time you called the function.
That makes sense... Hah. It was driving me Crazy!
kartoFlane wrote:Regarding the previous post, well, that's some Overdrive-sized ideas right there. You'll essentially be creating a whole meta-mod/extension for FTL, instead of a simple utility. I think you should read about the dreaded Scope Creep
Best of luck, though.
Thanks. When I first played FTL and realized I couldn't mod, I decided to get a notepad out and spent a couple days writing down all of my ideas without thinking of cost/ possibility, just sort of dreaming. Then I started looking at what could actually be possible and basically found your and Vhati's programs. Since Vhati was editing saves, I realized I could do a bunch of my ideas through save editing. Because his program was open source, I decided to learn Java.
Since the beginning I've had no idea how far I would make it. That's why I decided to release it in stages (each new tab being a new release). School starts for me the 22ndish, so I'm sure I won't finish before then, and then who knows if I'll have time / how much to work on this. So Scope Creep has been a real monster I've been living with, though I never knew his name / knew he existed. I have a (semi) defined scope, but it's admittedly beyond me. I just want to see how far I can get before he eats me.
kartoFlane wrote:The hangar is pretty buggy though. Everything looked fine on the first launch, I've sent all stuff on my ship to the hangar. Now I open the hangar again, and most of the Swing UI elements are not even showing up.
Drat. It launched and relaunched for me, but I haven't done much extensive testing yet. Right now I'm trying to get comboboxes to say "Hull Missile x2" or whatever the item count is, and it works on startup, but trading weapons is getting really complicated...
EDIT: I've used it to offload half the cargo of one of my ships, saved, and when I closed and reopened the program everything worked correctly. Did the swing elements go whack after closing and reopening or after changing tabs?