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: JDwarf  (Read 18944 times)

Shawarma

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #30 on: June 09, 2012, 03:56:28 pm »

I am having issues using this program, and I usually do not have issues like this so I am very confused.

When I access JDwarf from it's jar file my DFHack responds "In RPC server: I/O error in receive header." Lua file is in the script folder. Anywhere special the .jar file is supposed to be? I didn't think it mattered since nothing is listed in the installation directions.

I am running the large Masterwork mod as well. That could conflict, maybe, but it is a higher priority mod for me so this outcome would be most undesirable.
Logged

Nega

  • Bay Watcher
  • Professional Lizard Wizard
    • View Profile
Re: JDwarf
« Reply #31 on: June 09, 2012, 04:11:56 pm »

does this work in adventure mode?
Logged

avtolik

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #32 on: June 10, 2012, 02:20:12 am »

@splinteredmind

Hm. Are you sure DFHack is working properly? You see the console and can run commands? You can try to disable the firewall for a try. The method of communication between JDwarf and DFHack involves opening sockets...

@Shawarma

Sorry haven't tested with mods. I'm pretty sure it won't work, especially if the mod has different skills than vanilla DF.

@Nega

Probably no. I don't play adventure mode.
What can be the use there, setting the skill on you character? If DFHack supports this kind of thing in adv mode I could add it too.


In other news I'm currently fixing a bug (CTD) that occurs in large fortresses (big number of dwarves).
« Last Edit: June 10, 2012, 02:22:45 am by avtolik »
Logged

Aerval

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #33 on: June 10, 2012, 07:20:35 am »

One thing I would like to see in a program like this would be the ablilty to enable/disable all hauling jobs for one dwarf with a single click. Its is annoying that you have to make seven or so clicks to achieve this in programs like TheRapist
Logged

splinteredmind

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #34 on: June 10, 2012, 11:07:22 am »

Avtolik,

As far as I can tell DFhack is working properly, I can reveal / unreveal no problem.
I've tried with and without windows firewall enabled, no dice.

Splinter
Logged

avtolik

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #35 on: June 10, 2012, 02:06:02 pm »

Avtolik,

As far as I can tell DFhack is working properly, I can reveal / unreveal no problem.
I've tried with and without windows firewall enabled, no dice.

Splinter

Hard to tell what is the problem. Can you run the program from the cmd prompt from the directory where you put the jar file. Like this:
java -jar JDwarf-0.0.7.jar

Probably there will be some long errors printed in the console, can you paste them.

Logged

splinteredmind

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #36 on: June 10, 2012, 02:18:58 pm »

Here ya go :

C:\df>java -jar JDwarf-0.0.7.jar
java.net.SocketException: Software caused connection abort: recv failed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at avtolik.net.JDwarf.DFHClient.openConnection(DFHClient.java:63)
        at avtolik.net.JDwarf.MainWindow.initialize(MainWindow.java:116)
        at avtolik.net.JDwarf.MainWindow.<init>(MainWindow.java:109)
        at avtolik.net.JDwarf.MainWindow$1.run(MainWindow.java:95)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Logged

splinteredmind

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #37 on: June 10, 2012, 04:24:16 pm »

Got it.. My old KillerNIC drivers were interfering with the comms between DFhack and JDwarf. Uninstalled the drivers and it works a charm.
Thanks matey.

 - Splinter
Logged

Tierre

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #38 on: June 13, 2012, 09:14:08 am »

Is it possible to make 'scolding' script check your dwarfes and stop their breaks without your interference? I mean automate it?
Logged

avtolik

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #39 on: June 14, 2012, 06:45:27 am »

Is it possible to make 'scolding' script check your dwarfes and stop their breaks without your interference? I mean automate it?

I haven't thought of this. For sure is doable, only needs little research and coding. Maybe I should create list with feature requests...
Logged

avtolik

  • Bay Watcher
    • View Profile
Re: JDwarf
« Reply #40 on: June 14, 2012, 06:51:18 am »

New version up.

Version 0.0.8:
- fixed nasty CTD bug when the fortress gets large.
- You can see which labors are enabled/disabled.
- Now you can enable and disable labors. But only the ones tied with a skill. This works with double-right-click on a table cell.

So, creeping on DwarfTherapist turf. :)
No worries though, I can never make this so polished and shiny like DT. It's just a convenience for me, and was easy enough.
« Last Edit: June 14, 2012, 07:08:37 am by avtolik »
Logged

caddybear

  • Bay Watcher
  • Elf Supporter
    • View Profile
Re: JDwarf
« Reply #41 on: June 14, 2012, 07:43:47 am »

Good work!
Logged
And then did ARMOK say, the east is the holiest of directions, and thou shouldst not stand there lest thou be strucketh down by my holiest of beards. And then did the dorfs did say, we shall build from the west, for more do we fear the beard of ARMOK than the strike of the elephant.

dagger

  • Bay Watcher
  • Sniffin' glue
    • View Profile
Re: JDwarf
« Reply #42 on: June 18, 2012, 09:37:32 am »

I can run the program and change skills but it does not actually seem to do anything in game? Any ideas?
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: JDwarf
« Reply #43 on: June 18, 2012, 10:52:29 am »

I can run the program and change skills but it does not actually seem to do anything in game? Any ideas?
Stupid question, but did you remember to press the "commit" button?
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

dagger

  • Bay Watcher
  • Sniffin' glue
    • View Profile
Re: JDwarf
« Reply #44 on: June 18, 2012, 11:34:09 am »

At work at the moment but I will try as soon as I get home this afternoon. Thanks!!
Logged
Pages: 1 2 [3] 4 5