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 - Numbers

Pages: [1]
1
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 30, 2012, 03:12:17 am »
Prelimary tests show that the 'cured' vampire goes back to his blood-sucking ways sooner or later.

I'm kind of wondering if I'm missing something
Yes. In the end of the "vampire curse" interaction (look at the raw/interaction_examples/interaction_vampire.txt) the syndrome adds DRINKING_BLOOD counter, which, I suppose, is responsible for the renewing blood-drinking habits of "not-a-vampire-anymore".

Where and how to remove that counter I have no idea of.

BTW, do reverting the vamp syndrome actually reverts stat gain bonuses and undead status (and immunity too)?

No i still had to manually remove the curse. The stat gains and undead statuses are coded under .curses.add_tags1 etc. and .curses.attr_gain

2
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 26, 2012, 03:47:00 am »
Well I gave up currently on curing the vampirism, due to lack of time.

There are probably more factors involved... I can gladly give my save for further tampering with.

3
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 25, 2012, 08:26:26 pm »
Prelimary tests show that the 'cured' vampire goes back to his blood-sucking ways sooner or later.

I'm kind of wondering if I'm missing something

4
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 25, 2012, 03:30:12 pm »
Okay with a little help from my friend I managed to get it up and running and yeah I see it now!

Unit1 is a healthy dorf, Unit2 is a vampire. Not sure what to do to remove that syndrome not to cause some major crash or corruption, since I'm fairly new to LUA poking.

[lua]# printall(unit1.unknown7.syndromes)
[lua]# printall(unit2.unknown7.syndromes)
0                        = <unit.T_unknown7.T_syndromes: 0x1b3d0d20>

5
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 25, 2012, 01:59:28 pm »
Grabbed the version from the beginning of the thread. Re-downloaded it again and tried it. Nope Unknown7 still has non-descript values

6
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 25, 2012, 09:42:03 am »
Superb. I'll try to get ahold of that version and play with it...

I think I saw the link to this earlier in this thread.

7
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 25, 2012, 02:39:17 am »
printall(unit.unknown7) shows only following fields:

unk_7c4 = <vector<void*>: 0x17037fe0>
anon_1 = <vector<void*>: 0x17037ff0>
anon_2= <vector<void*>: 0x17038000>
unk_7d4= <vector<void*>: 0x17038010>
unk_7e4= <vector<void*>: 0x17038010>

I'm using current version of DFHack (34.10 rc1) so I'm quite confused...

8
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 24, 2012, 05:09:09 pm »
Curses... apparently the tag solution was temporary as the vampire dwarf went to continue his blood sucking ways...

I'm kind of stumped what to do

9
Utilities and 3rd Party Applications / Re: DFHack 0.34.10 r1
« on: May 24, 2012, 03:29:54 pm »
Trying to write some sort of a vampirism curse cure since one of my well respected and quite skillful dwarves seem to also be a bloodsucker that is sucking the life out of my fortress.

What I've done so far was to fetch him by

unit = dfhack.gui.getSelectedUnit()

cleared lists from

unit.curse.add_tags1
unit.curse.add_tags2

as well as

unit.curse.rem_tags1
unit.curse.rem_tags2

cleared names and all and I don't know what else should I clear because curseshow still shows him as cursed.

Any idea how to heal him completely from his curse?

Pages: [1]