Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 116 117 [118] 119 120 ... 360

Author Topic: DFHack 0.43.03-r1  (Read 1122453 times)

AoshimaMichio

  • Bay Watcher
  • Space Accountant
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1755 on: December 28, 2014, 06:53:31 am »

Does anyone know if there exists a GUI for "createitem" command? The command itself is not very easy or forgiving for people like me who have not dabbled with raws, so helpful filterable/searchable GUI would be very much appreciated.
gui/hack-wish
Thank you.
Logged
I told you to test with colors! But nooo, you just had to go clone mega-Satan or whatever.
Old sigs.
Games.

Naryar

  • Bay Watcher
  • [SPHERE:VERMIN][LIKES_FIGHTING]
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1756 on: December 29, 2014, 05:30:56 pm »

How do you update dfhack to 40.23 on Windows ?

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1757 on: December 29, 2014, 06:29:36 pm »

You can't, unless you compile it yourself. Not all offsets have been located for Windows yet, and you'd need a build of DFHack for at least 0.40.20 to be able to simply copy over symbols.xml.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Iced_Eagle

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1758 on: December 30, 2014, 12:13:39 am »

Okay, added very basic unit loading to Armok Vision, and RemoteFortressReader. All it does is get a list of the coordinates of all units in play over the network.

Just saw this post and pulled down your changes. Cheers!

I finally got some time to start working on this during vacation. The first thing I noticed was that the MapInfo x/y coord's seem low. Maybe it's an issue with my understanding of how the DF map is structured though.

I did a default embark (4x4 I believe?), but the cord's came back with map size of 12 for both X and Y. The Z size is correct however (204). I placed a breakpoint on the DFHack side and that is what it's getting back from MapInfo object, so I'll dig deeper tomorrow. I would have expected to get something in the range of about 150-200 units.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1759 on: December 30, 2014, 12:30:17 am »

Probably map blocks instead of map tiles.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1760 on: December 30, 2014, 01:53:51 am »

Yeah, the map is divided into blocks of 16x16 tiles.
Logged

Badger Storm

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1761 on: December 30, 2014, 04:15:40 pm »

Any news on when the next DFHack will be coming out?
Logged

Nopenope

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1762 on: December 30, 2014, 05:37:13 pm »

You can already build it yourself with the latest df-structures. What OS are you using?
Logged

Iced_Eagle

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1763 on: December 30, 2014, 09:02:42 pm »

Yeah, the map is divided into blocks of 16x16 tiles.

Got it! That makes sense. Numbers seem perfectly reasonable then.
Logged

Badger Storm

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1764 on: December 31, 2014, 12:21:35 pm »

I'm using OS X.  Not really familiar with df-structures.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1765 on: December 31, 2014, 12:44:21 pm »

In that case, all you need to do before building normally is update df-structures:
Code: [Select]
cd library/xml
git fetch origin
git checkout origin/master
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Badger Storm

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1766 on: December 31, 2014, 05:28:00 pm »

https://github.com/DFHack/df-structures/blob/master/osx/df.globals.xml

When I looked up DF-structures in finder, I found a link to this.  I'm guessing that "bumping" DFHack means making it compatible with the newest version?  If this is the case, is this a simple copy-paste job, or something a bit more involved?

Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1767 on: December 31, 2014, 06:06:39 pm »

"Bumping" in that case means "running the automatic update scripts". If you look at the changes made to symbols.xml in that commit, you'll see that 2,732 lines were added (which Github refuses to display). About 20-30 globals need to be located semi-automatically from within DF/DFHack, and this has been done for Linux and OS X in 0.40.23.
To answer your question - if you're using OS X or Linux, you would still need a copy of DFHack from at least 0.40.20 (of which there are none) in order to make it work with 0.40.23 by copying over symbols.xml, due to structure changes made in 0.40.20.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Badger Storm

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1768 on: December 31, 2014, 07:01:07 pm »

Yeah, I'm still using 40.19.  I'm actually okay with that, seeing as I've been doing mad modding recently and it would be a pain to copy everything over.  I'll just be on the lookout for the newest version of DFHack, I suppose! 

Logged

bobohead1988

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1769 on: January 01, 2015, 06:41:32 am »

hey guys, I'm having a problem with dfhack at the moment

my game keeps on crashing whenever DF with DFHack loads a save
It happens when I was saving but somehow the game crashed, now whenever i load, this issue happens

If I were to run it vanilla, theres no issue with DF, only happens when DFHack is loaded
I was using pyLNP bundle as well to start it up, no additional addons was added apart from therapist

I tried setting the print mode to various settings but no avail,

DF Error log shows this at the last few lines
*** Error(s) finalizing the translation DWARF
Unrecognized word token: YOR
*** Error(s) finalizing the translation ELF
Unrecognized word token: YOR
*** Error(s) finalizing the translation GOBLIN
Unrecognized word token: YOR
*** Error(s) finalizing the translation HUMAN
Unrecognized word token: YOR
*** Error(s) finalizing the entity MOUNTAIN

While DFHack Log shows
UNKNOWN CLASS 'dfhack_lua_viewscreen@DFHack': vtable = 0x50d7c884

If anyone's interested, the save file is below
http://dffd.wimbli.com/file.php?id=10363

EDIT : welp i renamed the plugin folder and dfhack loads the savegame without issue,

manipulator
search
automaterial
dwarf monitor
mousequery
automelt
autotrade
buildingplan
resume
trackstop
zone
stocks
autochop
stockflow

among those, which one would be the ones messing up the raws? since I can see the DF error came from some raws being edited into YOR
And what would be the command to disable it?


« Last Edit: January 01, 2015, 07:08:32 am by bobohead1988 »
Logged
Pages: 1 ... 116 117 [118] 119 120 ... 360