Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mattias

Pages: [1]
1
DF Modding / Re: Dwarf Therapist (LATEST 0.6.12 2/28/12 see first post)
« on: February 29, 2012, 05:05:05 am »
@Mattias,

change complete=true to complete=false and try to run it that way. Also, make sure you're running 0.34.04 and not 0.34.03 from this morning. And you're running DT 0.6.12, not one of the modified source trees but DE's version.

Can you make the log directory and get me the run.log from it failing?

I'll try that in around 30 minutes. I'm running dwarftherapist-hg version. Will also try latest stable if complete=false does not work. Will modify this post with results after.

EDIT:
Ok so.. I tried with complete=false but that didn't change much. And I am running .04 (actually had the same problem in .03 before .04 was released).
Here is the run.log with complete=false turned on (which is pretty much identical to complete=true):
http://pastebin.com/7zxipDU0
I'm not sure what I'm doing wrong, is my huge 24gb mem confusing DT? :P

EDIT2: apparently I failed to copy it somehow and the creature_vector was wrong, to let everyone know, that memory layout file does work ^.^

2
DF Modding / Re: Dwarf Therapist (LATEST 0.6.12 2/28/12 see first post)
« on: February 29, 2012, 03:52:17 am »
O hai, new DF version out - v0.34.04 due to a crash on save issue.

Here's your fresh 0.6.12 dt ini file (for Linux):

Code: [Select]
[info]
checksum=0x6c11a27c
version_name=v0.34.04
complete=true

[addresses]
translation_vector=0x095cdbfc
language_vector=0x095cdbe4
creature_vector=0x0958c8ac
dwarf_race_index=0x09574240
squad_vector=0x095ca7b4

[offsets]
word_table=0x001C

[word_offsets]
base=0x0000
noun_singular=0x0004
noun_plural=0x0008
adjective=0x000C
verb=0x0014
present_simple_verb=0x0018
past_simple_verb=0x001C
past_participle_verb=0x0020
present_participle_verb=0x0024

[dwarf_offsets]
first_name=0x0000
nick_name=0x0004
last_name=0x0008
custom_profession=0x003c
profession=0x0040
race=0x0044
flags1=0x008C
flags2=0x0090
sex=0x00A6
id=0x00A8
recheck_equipment=0x0148
current_job=0x0274
turn_count=0x052b
states=0x0
souls=0x05e8
labors=0x0604
happiness=0x0694
squad_ref_id=0x06f8

[soul_details]
skills=0x01D4
traits=0x01EC

[job_details]
id=0x0008
on_break_flag=0x0011
sub_job_id=0x0040

[squad_offsets]
id=0x0000
name=0x000C
members=0x0044

[valid_flags_1]
size=1
1\name=Not from around these parts
1\value=0x80000000

[valid_flags_2]
size=1
1\name=Dead. Deceased. An Undwarf!
1\value=0x02000000

[invalid_flags_1]
size=7
1\name=a zombie
1\value=0x00001000
2\name=a skeleton
2\value=0x00002000
3\name=a merchant or diplomat
3\value=0x00000040
4\name=outpost liason
4\value=0x00000800
5\name=an invader or hostile
5\value=0x00020000
6\name=an invader or hostile
6\value=0x00080000
7\name=an invader or hostile
7\value=0x000C0000

[invalid_flags_2]
size=2
1\name="dead, Jim."
1\value=0x00000080
2\name=from the Underworld. SPOOKY!
2\value=0x00040000

Hope this helps ^^

I tried scanning the memory myself and I get the same values as you except I get zeroed out translation_vector and creature_vector... somehow it can't find them. And then I tried yours but it won't work somehow, it errors out with that it finds nothing, no dwarves or creatures.
Had it work fine in .02 somehow.

3
For those on linux, I've fixed the spelling error in the soundSense.sh file and somehow, the entire file seems to have some hidden characters that caused it to not execute. I rewrote it and saved it as a new file, the spelling error was /urs/bin/aoss which should be /usr/bin/aoss
Here is the code:
Code: [Select]
#!/bin/sh

dir=${0%/*}
if [ -d "$dir" ]; then
cd "$dir"
fi

CLASSPATH="soundSense.jar:lib/MP3SPI/mp3spi1.9.4.jar:lib/MP3SPI/jl1.0.jar:lib/OGGSPI/jogg-0.0.7.jar:lib/OGGSPI/jorbis-0.0.15.jar:lib/OGGSPI/vorbisspil.0.3.jar:lib/tritonus_share.jar:lib/autoUpdater.jar:lib/commons-codec-1.4/commons-codec-1.4.jar"

if [ -e /usr/bin/aoss/ ]; then
aoss java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
else
java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
fi

Make sure you delete the old soundSense.sh, create a new file with the same name and paste in the code there. And then you:
Code: [Select]
chmod +x soundSense.sh then execute it;
Code: [Select]
./soundSense.sh

Pages: [1]