Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 341 342 [343] 344 345 ... 360

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

Heretic

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5130 on: January 18, 2017, 06:14:07 am »

I'm really sorry if it's incorrect place, but... can ve use such utilities as IDA or other disassemblers find some places in binary there it was "for" in source code? 
Hehe
Spoiler (click to show/hide)
As for me I has no ideas, why we can n't - we knw version of Toady's compiler and so on, so we can somehow find "for"s in style of needed compiler and with some macro switch it into for parallel there it needed?
As for me, i will try as for learning more about disasm, so my variant will probably meaningless and useless... But if some master will do something like this  :o
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5131 on: January 18, 2017, 07:00:42 am »

No.
Logged

moisesjns

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5132 on: January 18, 2017, 08:54:26 am »

That appears to have been removed in 0.40.
O ok. I was not aware. thank you.
Logged

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5133 on: January 18, 2017, 01:27:05 pm »

I can't get the 'teleport' script to work - linux 64bit, dfhack 43.05 alpha 4.  Terminal output:

Code: [Select]
[DFHack]# teleport -showunitid
460
[DFHack]# teleport -showpos
x                      = 72
y                      = 74
z                      = 79
[DFHack]# teleport -unit 460 -x 72 -y 74 -z 79
Cannot write field coord.y: integer expected.
stack traceback:
[C]: in ?
[C]: in ?
[C]: in field 'getTileBlock'
/path/to/df_linux/hack/scripts/teleport.lua:16: in global 'teleport'
/path/to/df_linux/hack/scripts/teleport.lua:54: in local 'script_code'
./hack/lua/dfhack.lua:562: in function 'dfhack.run_script_with_env'
(...tail calls...)

The destination is definitely a valid tile.

Does the script need tweaking for 64 bit?
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5134 on: January 18, 2017, 01:55:17 pm »

It's definitely not a 64-bit issue. It could be an issue with Lua 5.3, but I thought that script was working. I'll take a look when I get a chance, but you should probably report it on GitHub so it doesn't get lost here.
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.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5135 on: January 18, 2017, 03:40:45 pm »

Yeah, I thought I had fixed that with a bunch of other scripts that were having similar issues.

nefariousD

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5136 on: January 19, 2017, 08:57:22 am »

Does anyone happen to have a precompiled copy of the 43.05 alpha4 they can put up for download somewhere?
Logged

ancient_vampire

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5137 on: January 19, 2017, 09:17:16 am »

Does anyone happen to have a precompiled copy of the 43.05 alpha4 they can put up for download somewhere?

http://www.bay12forums.com/smf/index.php?topic=139553.msg7309791#msg7309791
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5138 on: January 19, 2017, 09:37:09 am »

Any builds we make are always put on the GitHub releases page.
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.

Ygvir

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5139 on: January 19, 2017, 01:14:17 pm »

I've got a weird crash related to manipulator. If I go into manipulator and then choose 'e' to edit profession if I press SHIFT-B (to get a capital B) it crashes completely out of Dwarf Fortress. I don't know where to check logs to see if it is telling me something about what is going on. I suspect something with hot-key bindings but that is just a guess. I suspect that this also crashes with other keys; I've had other crashes but been unable to reproduce them. I'm on Win64 43.05-alpha4. Let me know if there is anything I can test.

I am able to make the change I want using the 'y' customize in native DF even with DFHack so there is a simple (though slightly annoying) workaround.
« Last Edit: January 19, 2017, 01:15:54 pm by Ygvir »
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5140 on: January 19, 2017, 02:06:08 pm »

Sounds pretty similar to this:

I don't see any messages in logs, but I have an occasional crash when setting custom profession names in manipulator.

Using 0.43.05-alpha4 + TWBT.

I mentioned a few things on that page that you could try to gather more information, but I have no clue why it's crashing.
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.

Ygvir

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5141 on: January 19, 2017, 03:53:54 pm »

@lethosor - yes, I'm pretty sure my crash is the same issue as @necrosis is experiencing.

Here are the results of my performing all of the testing I could find from your requests. Most of my experience mirrors @necrosis' results.

I am also on Win10 and I do have TWBT installed in my dfhack installation but I currently have it disabled (I think). Would you like me to test in a clean dfhack installation, e.g. without TWBT installed?

Here is the error message that I get as soon as I press 'e' from manipulator.
Spoiler (click to show/hide)

When I disable these two keybindings in dfhack.init (both from dfhack-example.init) 'p' and 'B' crash stops occuring
Spoiler (click to show/hide)

lua ~unit in manipulator with unit selected shows
Spoiler (click to show/hide)

Typing 'keybinding' in dfhack at the 'e' screen of manipulator causes a crash even if I have the problematic keybindings commented out. In manipulator before attempting to edit the unit I get.
Spoiler (click to show/hide)

Here is the output of lua ~scr in manipulator
Spoiler (click to show/hide)

In the 'e' menu of manipluator
Spoiler (click to show/hide)

and editing the profession
Spoiler (click to show/hide)

I'm sorry if this is overly verbose... I'm not sure I've added anything that @necrosis didn't already respond with. If there is any additional testing you'd like me to try I'd be happy to. It isn't a big deal for me to just disable those keybindings for now but I'd be happy to help with fixing this.

If I find any other keybindings that are crashing that screen I'll post them here. Thanks!

ps: while testing I also had this error show up but I don't know where it came from and it is likely unrelated.
Spoiler (click to show/hide)
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5142 on: January 19, 2017, 03:57:42 pm »

Yeah, that all looks related. Just to confirm, when "keybinding" crashes, it doesn't print anything, right?
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.

Ygvir

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5143 on: January 19, 2017, 04:01:56 pm »

I don't see anything when 'keybinding' crashes. Is there a log somewhere that I can check? Sorry, I don't know dfhack very well.
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.43.03-r1
« Reply #5144 on: January 19, 2017, 04:10:10 pm »

Uh, stderr.log, dfhack.history, errorlog.txt, stdout.log I think will have all the outputs.
Logged
Pages: 1 ... 341 342 [343] 344 345 ... 360