Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 54 55 [56] 57 58 ... 244

Author Topic: DFHack 50.14-r1.1  (Read 893932 times)

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #825 on: January 25, 2018, 09:44:56 am »

Btw, I'm just using viewscreen_image_creatorst to make it load all art_image_chunks.
Japa: if you can get this to work, I'd prefer it to having a function pointer in symbols.xml.

So I saw someone had a similar problem to me, but they never pasted the output. I am unable to get DFHack to load any plugins upon start, I am unzipping Vanilla DF to a folder, extracting DFHack right on top (and get the dialog box asking if I want to overwrite SDL.dll so I know the files should be dropping where they should be), but I'm getting error messages upon start. I've tried both r3, then r1 and am getting the same problem with both; stderr.txt output is as follows:
Spoiler (click to show/hide)
For some reason it can't read any files, except dfhack.init-example somehow. Did you install DFHack as a different user?
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.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #826 on: January 25, 2018, 09:55:31 am »

Code: [Select]
df::art_image * (__thiscall *getImage)(df::world*,df::art_image_ref *, int *) = (df::art_image * (__thiscall*)(df::world*, df::art_image_ref *, int *))df::global::getArtImage;works. Not sure if the first argument needs to be world though.

Calling it with an art image ref that is full of - 1 vars allocates a new empty art image at the end of the list and returns a pointer to the new image.
« Last Edit: January 25, 2018, 10:08:33 am by Japa »
Logged

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #827 on: January 25, 2018, 02:44:35 pm »

For some reason it can't read any files, except dfhack.init-example somehow. Did you install DFHack as a different user?
DF version is df_43_05_win32
DFHack version I've tried is dfhack-0.43.05-r3.1-Windows-32 and then dfhack-0.43.05-r1-Windows-32

This is on a windows XP machine if that matters.

There may be a problem with how dfhack is looking for file on XP actually :
I gave a try to current dfhack on a 32bits PC that has XP and exact same problem : dfhack does not find any plugin despite they're all there.
Last time i used dfhack on that same system XP 32bits machine, it was dfhack 42.06 alpha-2 a couple of years ago, and it worked without a problem.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #828 on: January 25, 2018, 02:50:34 pm »

There may be a problem with how dfhack is looking for file on XP actually :
I doubt that - the last time the plugin-loading code changed significantly was before DFHack 0.40.24-r4.
Quote
I gave a try to current dfhack on a 32bits PC that has XP and exact same problem : dfhack does not find any plugin despite they're all there.
Last time i used dfhack on that same system XP 32bits machine, it was dfhack 42.06 alpha-2 a couple of years ago, and it worked without a problem.
Ok, what if you try the older one?
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.

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #829 on: January 25, 2018, 03:20:06 pm »

Nope I must say the alpha is very very stable. It rarely crashed for me and when it crashed it was always when I tried to build something like farm plots or walls and this I had also with 0.42.
it ran stable enough for 5 hours without any problems and 2 years into the game for me.
keep up the good work, mates!
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

martinuzz

  • Bay Watcher
  • High dwarf
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #830 on: January 25, 2018, 03:51:58 pm »

44.05-alpha1 been running my fort stable and with no crashes for 25 years now
Logged
Friendly and polite reminder for optimists: Hope is a finite resource

We can ­disagree and still love each other, ­unless your disagreement is rooted in my oppression and denial of my humanity and right to exist - James Baldwin

http://www.bay12forums.com/smf/index.php?topic=73719.msg1830479#msg1830479

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #831 on: January 25, 2018, 06:40:53 pm »

Quote
I gave a try to current dfhack on a 32bits PC that has XP and exact same problem : dfhack does not find any plugin despite they're all there.
Last time i used dfhack on that same system XP 32bits machine, it was dfhack 42.06 alpha-2 a couple of years ago, and it worked without a problem.
Ok, what if you try the older one?

I'm not sure what you mean by the older one, but i just re-downloaded that old DF 42.06 and  old dfhack 42.06 alpha-2 (https://github.com/DFHack/dfhack/releases/tag/0.42.06-alpha2) , then after trying it looks like it works as it did last i played that DF version.
Spoiler (click to show/hide)

While DF 44.05 + dfhack 44.05 alpha1
Spoiler (click to show/hide)
interestingly on the first line "could not load dfhack-config\script-paths.txt" there's actually no script-paths.txt in the dfhack-config\ folder , the script-paths.txt is in dfhack-config\default\
But copying that file into dfhack-config\ does not change anything out of removing the "could not load dfhack-config\script-paths.txt" message as expected, it still can't find any of the plugin that are still in their correct locations.
« Last Edit: January 25, 2018, 06:42:32 pm by Robsoie »
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #832 on: January 25, 2018, 07:16:43 pm »

That was what I was looking for. It looks like it matches the behavior described here. DFHack is supposed to copy files from dfhack-config/default/ to dfhack-config/, so somehow it wasn't able to do that.

Again, did you install DFHack as a different user?

Can you upload your stderr.log file (in the DF folder)?
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.

iceball3

  • Bay Watcher
  • Miaou~
    • View Profile
    • My DA
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #833 on: January 25, 2018, 09:12:32 pm »

Question: Is the a DFHack script or view that offers a breakdown of everything affecting a dwarf's stress level notating the point value of each thought's effect on the current level, or is that not tracked after the thought is issued?
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #834 on: January 25, 2018, 09:30:13 pm »

I think it's tracked to an extent, and would be possible to display with DFHack, but I don't believe there's a tool like the one you described.
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.

iceball3

  • Bay Watcher
  • Miaou~
    • View Profile
    • My DA
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #835 on: January 25, 2018, 09:44:34 pm »

I think it's tracked to an extent, and would be possible to display with DFHack, but I don't believe there's a tool like the one you described.
Understood, thanks for the info.
Logged

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #836 on: January 26, 2018, 07:02:04 am »

That was what I was looking for. It looks like it matches the behavior described here. DFHack is supposed to copy files from dfhack-config/default/ to dfhack-config/, so somehow it wasn't able to do that.

Again, did you install DFHack as a different user?

Can you upload your stderr.log file (in the DF folder)?

It's the same user as for the 42.06 that has the dfhack that has no problem, both the DF 44.05 and 42.06 are located in C:\  directly ( i mean C:\df_42_06_win\ and C:\df_44_05_win32\ ) in case it's important.

Here's the content of stderr.log
Spoiler (click to show/hide)

And if it can help for a comparison, here's the stderr.log of the 42.06 that works
Spoiler (click to show/hide)
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #837 on: January 26, 2018, 11:04:47 am »

Weird, it managed to open symbols.xml. What about the file "hack/scripts/gui/no-dfhack-init.lua" - does it exist, can you open it, does it have contents, etc?
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.

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #838 on: January 26, 2018, 01:43:38 pm »

Yes, there's a no-dfhack-init.lua  in my
C:\df_44_05_win32\hack\scripts\gui\
folder

the content of it
Spoiler (click to show/hide)
Logged

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.05-alpha1 (dev)
« Reply #839 on: January 26, 2018, 01:49:50 pm »

Does anyone have much experience with dissecting the reports from DF? I am trying to get the units involved in combat reports, for instance we have a combat dodge report "Dwarf 3 attacks Dwarf 4 but she jumps away!". Now I know I can use the report.id and look through all the active units to find which unit has that report.id in their reports field, but what I can't do is figure out which is which. The only thing I could think of would be to compare the names and match them that way, but that would mean I would have hard code each string option.
Logged
Pages: 1 ... 54 55 [56] 57 58 ... 244