Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 113 114 [115] 116 117 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1453450 times)

Argelle

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1710 on: June 05, 2012, 10:32:22 am »

Is installing DFHAck 0.34.10 r1 on top of DF 34.11 working?
I'm a week old noob at DF, and only using DFHack for stonesense.
Seems I got an error message on start and stderr.log says :

Quote
FirstCall()
Initized HOOKS!
Identifying DF version.
Loading hack\symbols.xml ... OK
Dummy symbol table entry: timed_events
Loaded 6 DF symbol tables.
« Last Edit: June 05, 2012, 10:34:29 am by Argelle »
Logged
Killing dwarves is so much fun. Heck, even the dwarves agree, else they wouldn't kill themselves so often.

46852

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1711 on: June 05, 2012, 10:55:09 am »

Is installing DFHAck 0.34.10 r1 on top of DF 34.11 working?
I'm a week old noob at DF, and only using DFHack for stonesense.
Seems I got an error message on start and stderr.log says :

Quote
FirstCall()
Initized HOOKS!
Identifying DF version.
Loading hack\symbols.xml ... OK
Dummy symbol table entry: timed_events
Loaded 6 DF symbol tables.

You can at least make DFHack start by replacing the following in "...\df_34_11_win\hack\symbols.xml":

Quote
<symbol-table name='v0.34.10 SDL' os-type='windows'>
        <binary-timestamp value='0x4fba073a'/>

to

Quote
<symbol-table name='v0.34.11 SDL' os-type='windows'>
        <binary-timestamp value='0x4fcc9488'/>


But as I said, that just allows it to start properly, other things may not function. At least prospect-command doesn't work, it doesn't find the map even if DF is running.
« Last Edit: June 05, 2012, 10:58:35 am by 46852 »
Logged

Argelle

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1712 on: June 05, 2012, 10:58:56 am »

But as I said, that just allows it to start properly, other things may not function. At least prospect-command doesn't work, it doesn't find the map even if DF is running.

Thanks!
What would be enough for me, as I only use it for stonesense :)
Logged
Killing dwarves is so much fun. Heck, even the dwarves agree, else they wouldn't kill themselves so often.

46852

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1713 on: June 05, 2012, 11:00:39 am »

But as I said, that just allows it to start properly, other things may not function. At least prospect-command doesn't work, it doesn't find the map even if DF is running.

Thanks!
What would be enough for me, as I only use it for stonesense :)

I wouldn't bet on StoneSense working either, but give it a try :)
Logged

Argelle

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1714 on: June 05, 2012, 11:25:38 am »

You're - sadly -  right :(
It went up to opening stonesense welcome screen, but never goes further (loading the game running into a 3D view).
Logged
Killing dwarves is so much fun. Heck, even the dwarves agree, else they wouldn't kill themselves so often.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1715 on: June 05, 2012, 11:33:03 am »

Is installing DFHAck 0.34.10 r1 on top of DF 34.11 working?
I'm a week old noob at DF, and only using DFHack for stonesense.
Seems I got an error message on start and stderr.log says :

Quote
FirstCall()
Initized HOOKS!
Identifying DF version.
Loading hack\symbols.xml ... OK
Dummy symbol table entry: timed_events
Loaded 6 DF symbol tables.

You can at least make DFHack start by replacing the following in "...\df_34_11_win\hack\symbols.xml":

Quote
<symbol-table name='v0.34.10 SDL' os-type='windows'>
        <binary-timestamp value='0x4fba073a'/>

to

Quote
<symbol-table name='v0.34.11 SDL' os-type='windows'>
        <binary-timestamp value='0x4fcc9488'/>


But as I said, that just allows it to start properly, other things may not function. At least prospect-command doesn't work, it doesn't find the map even if DF is running.

Doing this has a very high chance of destroying your everything, and a zero chance of making anything work at all.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.10 r1
« Reply #1716 on: June 05, 2012, 11:34:38 am »

You can at least make DFHack start by replacing the following in "...\df_34_11_win\hack\symbols.xml":

Quote
<symbol-table name='v0.34.10 SDL' os-type='windows'>
        <binary-timestamp value='0x4fba073a'/>

to

Quote
<symbol-table name='v0.34.11 SDL' os-type='windows'>
        <binary-timestamp value='0x4fcc9488'/>


But as I said, that just allows it to start properly, other things may not function. At least prospect-command doesn't work, it doesn't find the map even if DF is running.

This is the WRONG thing to do, and it is absolutely TERRIBLE advice! Editing the XML file in that manner will make DFHack try to use the v0.34.10 offsets with v0.34.11, which, in this case, will simply cause Dwarf Fortress to crash whenever you try to do anything with DFHack.

If the current version is not defined in symbols.xml, DFHack pops up a warning message and exits - this is expected behavior, and it's there to prevent it from screwing up your game.
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.

slink

  • Bay Watcher
  • Crazy Cat Dwarf
    • View Profile
    • Slink's Burrow Online
Re: DFHack 0.34.10 r1
« Reply #1717 on: June 05, 2012, 11:36:20 am »

The DFHack binary-timestamp seems to be the same as the checksum in DT.  That's a start.
Logged
There is only one cat, and all cats are that cat.
Almost losing is sometimes fun.

ag

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1718 on: June 05, 2012, 11:38:45 am »

Just everybody quit doing pointless things, grab this file, erase all os-type='darwin' symbol tables at the end, and be happy:

https://raw.github.com/angavrilov/df-structures/master/symbols.xml
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1719 on: June 05, 2012, 11:39:31 am »

Not really a start at all. All that does it lets DFhack know that this is, indeed, some version of DF.

It doesn't actually tell it where anything is that it needs, which will result in it poking around the wrong places and breaking things.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.10 r1
« Reply #1720 on: June 05, 2012, 11:44:54 am »

Not really a start at all. All that does it lets DFhack know that this is, indeed, some version of DF.

It doesn't actually tell it where anything is that it needs, which will result in it poking around the wrong places and breaking things.
No, it's even worse - it tells DFHack that things are located at addresses where they aren't, which is what will cause it to break things.

Just adding "<symbol-table name='v0.34.11 SDL' os-type='windows'> <binary-timestamp value='0x4fcc9488'/> </symbol-table>" would have accomplished this "fix" much more cleanly - it'd make it stop complaining about unknown versions, and the absence of any defined addresses would have just caused all plugins to fail to do anything (or crash as a result of trying to access null pointers).
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.

slink

  • Bay Watcher
  • Crazy Cat Dwarf
    • View Profile
    • Slink's Burrow Online
Re: DFHack 0.34.10 r1
« Reply #1721 on: June 05, 2012, 01:36:08 pm »

Not really a start at all. All that does it lets DFhack know that this is, indeed, some version of DF.

It doesn't actually tell it where anything is that it needs, which will result in it poking around the wrong places and breaking things.
No, it's even worse - it tells DFHack that things are located at addresses where they aren't, which is what will cause it to break things.

Just adding "<symbol-table name='v0.34.11 SDL' os-type='windows'> <binary-timestamp value='0x4fcc9488'/> </symbol-table>" would have accomplished this "fix" much more cleanly - it'd make it stop complaining about unknown versions, and the absence of any defined addresses would have just caused all plugins to fail to do anything (or crash as a result of trying to access null pointers).
Well excuse me for contributing information, starting at the beginning.  Jerks.

Edit: If you really want to demonstrate how superior you are, post a working copy.  I've posted a working ini for one version of DT.  I didn't go around saying anyone else was doing worse than nothing for trying to work it out for themselves.
« Last Edit: June 05, 2012, 01:41:53 pm by slink »
Logged
There is only one cat, and all cats are that cat.
Almost losing is sometimes fun.

ab9rf

  • Bay Watcher
    • View Profile
    • ab9rf@github
Re: DFHack 0.34.10 r1
« Reply #1722 on: June 05, 2012, 02:10:12 pm »

Well excuse me for contributing information, starting at the beginning.  Jerks.

Edit: If you really want to demonstrate how superior you are, post a working copy.  I've posted a working ini for one version of DT.  I didn't go around saying anyone else was doing worse than nothing for trying to work it out for themselves.
The people you just called jerks are the people who are working right now on producing a working product.  And what they had to say is accurate: your suggestion will not yield a working DFHack, it'll just make it not crash immediately.  You're free, of course, to make DFHack useless for people, but don't act like that by offering instructions to make it useless, you're providing some sort of useful service.

DFHack needs a lot more information discovered from each version of DF than DwarfTherapist does, so it takes longer.  And DFHack is less tolerant of incorrect offset information than DT is.  So you'll pardon us for taking a bit longer to do the job right.

In any case, an updated symbols.xml has been available for at least the past seven hours now.  All courtesy of the very people you are being so jackassed towards.
Logged

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1723 on: June 05, 2012, 02:47:55 pm »

Is Dfusion working? Seriously, I honestly don't care what jackassery you people have been spouting, but I just want to know.

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: DFHack 0.34.10 r1
« Reply #1724 on: June 05, 2012, 02:53:35 pm »

Quietust and Japa are right.  bypassing safeties is not making DFhack Work.  Thats like going up to a circuit breaker and disabling the tripping mechanism so that your power works.

I'm not a coder, but even I know that using those methods to get DFhack 'working' will do nothing in the best case, outright crash DF in the second best case, or corrupt data and by extension saves in the worst case.  Telling DFhack to use the previous version of DF's offsets is completely un-advisable and borderline stupid. 

Some versions are similar enough for the only difference in versions is a checksum.  If this was one of those versions DFHack would already be updated.  Don't post a modification that will break stuff, and call the people actually trying to update it jerks.

EDIT: Hmm, seems Slink is not actually the one posting the bypasses.  Sorry for the confusion, but the folks who this is aimed at know who they are.
« Last Edit: June 05, 2012, 02:56:55 pm by Greiger »
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!
Pages: 1 ... 113 114 [115] 116 117 ... 373