Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4] 5

Author Topic: DwarfFamily  (Read 39269 times)

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #45 on: July 15, 2014, 07:57:50 am »

Hey Sallen having trouble to compile your newest version.

your using some extra librarys?
_xmlFileFilterImpl cannot be resolved to a type
debugwindow line 79
and control line 249
The method sort(Comparator<? super String>) in the type ArrayList<String> is not applicable for the arguments (Comparator<Comparable<? super Comparable<? super T>>>)
he cant do the sort
Logged

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #46 on: July 15, 2014, 08:18:58 am »

Ok removed the FileFilter for now, everythings working now. GED export is still dwarfs only and after changing the race you have to close the details window to select another race else it wont update for the new race.

New download in start Post.
Logged

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #47 on: July 15, 2014, 11:26:13 am »

Crap, I forgot to stage the file for the filter, and that's why it wouldn't find it. It's not there! :D
GED export is untouched. But the details window should close and reopen automatically when selecting a new race. Mmmh. I only tested on OSX. I'll debug now that I'm at my Windows box.

EDIT: I see what you mean. Will try to fix.

EDIT 2: Done. Pull request issued. Sorry for pushing out crappy code.
« Last Edit: July 15, 2014, 11:51:49 am by Sallen »
Logged

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #48 on: July 15, 2014, 12:09:30 pm »

Np atleast your working on it, since im still busy :-/ Will see if i can make the GED export available for all the races later this month.

Fixed version 0.3.1 is now available on the usual site in the first post.
Logged

Nagidal

  • Bay Watcher
    • View Profile
    • My gaming channel
Re: DwarfFamily
« Reply #49 on: July 15, 2014, 02:54:35 pm »

PTW. Interesting ideas in here.
Logged
I stream most of my DF sessions: gaming.youtube/nagidal146, they are archived on my youtube channel. (Dwarf Fortress Tutorials)

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #50 on: July 16, 2014, 12:11:08 pm »

I've done some stuff, but I feel the drawing of the tree is going to take a lot of work. I got the dwarves' names being drawn, but before I continue I think I'm going to refactor the code a bit (read: start over). That way I hope I'll get to wrap my head around the evil logic of recursive tree building.

I've had way to much tea already and need a shower...
If anyone reads this that is interested in helping out with this, by all means PM me or come see me: http://github.com/tjohnman/DwarfFamily. Warning: if you're an accomplished Java programmer this code will probably make you cry.

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #51 on: July 16, 2014, 12:35:44 pm »

It's been growing a bit out of control I support his opinion yea xD
Logged

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #52 on: July 17, 2014, 09:11:41 am »

I'll see if I can rewrite some (most?) code this weekend before moving forward from a cleaner state.

Icefire2314

  • Bay Watcher
  • Programmer and Space Enthusiast
    • View Profile
Re: DwarfFamily
« Reply #53 on: July 18, 2014, 02:03:03 pm »

Is it possible to make an in-program menu showing the family tree? Or do you export then do it?
Logged
"ERUTH PULL THE DAMN LEVER THE ZOMBIES ARE ABOUT TO GET INSIDE!"
"zzz"
BAY 12 MINI CITY: http://bay-12.myminicity.com/

Sallen

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #54 on: July 19, 2014, 02:10:19 pm »

Is it possible to make an in-program menu showing the family tree? Or do you export then do it?

The program currently lets you navigate the family tree in a non-visual way by clicking hyperlinked names of children and spouses. I'm working on a visual mode that draws the actual tree of a selected dwarf and lets you pan around looking at their relatives. It's not available in the last version yet though.

Currently the only way to look at family visually is to use the experimental GEDCOM export function.

Dutchling

  • Bay Watcher
  • Ridin' with Biden
    • View Profile
Re: DwarfFamily
« Reply #55 on: July 30, 2014, 09:38:07 am »

I assume this isn't updated for the new DF version?

Cause if it is, I have an error for you:
Spoiler (click to show/hide)
Logged

Morphyum

  • Bay Watcher
    • View Profile
Re: DwarfFamily
« Reply #56 on: July 30, 2014, 09:59:55 am »

Is the list in out application showing correctly? The GED export is experimental and might be outdated by now.
Logged

Dutchling

  • Bay Watcher
  • Ridin' with Biden
    • View Profile
Re: DwarfFamily
« Reply #57 on: July 30, 2014, 10:02:12 am »

You mean the Dwarf list? That seemed fine.

At least, it was a long list of Dwarf names :P
Logged

NothingClever

  • Escaped Lunatic
    • View Profile
Re: DwarfFamily
« Reply #58 on: December 31, 2014, 07:21:39 pm »

For future reference the 0 HEAD error from GenealogJ can be fixed by opening the dwarf.ged file in a text editor and adding 0 HEAD as the first line. I also had to add the line 0 TRLR as the last line. After that GenealogJ opens the file just fine.

It chokes on the DF date system but if you do a quick find and replace and replace the DF months with the first three letters of the appropriate real month everything works great, even the timeline.
Logged

Itnetlolor

  • Bay Watcher
    • View Profile
    • Steam ID
Re: DwarfFamily
« Reply #59 on: January 01, 2015, 03:32:31 am »

This might actually get interesting. Good for LP's and megaproject logging in-character and such. Adds more depth to story, if anyone's willing to go that far with the storytelling.
Pages: 1 2 3 [4] 5