Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

Should this be made into one of the new DFHack plugins? (This is not binding)

Yes, I want to be able to use it with the DFHack console
- 288 (45.6%)
No, I like the stand alone QT version
- 140 (22.2%)
Both
- 204 (32.3%)

Total Members Voted: 631


Pages: 1 ... 91 92 [93] 94 95 ... 106

Author Topic: Runesmith - A DC like tool  (Read 376752 times)

mithosaurion

  • Bay Watcher
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1380 on: May 13, 2012, 05:35:38 pm »

as i recall, last he posted sizeak was working on his dissertation, so he's probably been quite busy. education is serious business after all

also, this discussion may help you with adding plugins to dfusion: http://www.bay12forums.com/smf/index.php?topic=91166.msg3211738#msg3211738

I tried following the advice on that page, but the tool does not show up in the list...  :(
Logged

the_game_hunt

  • Bay Watcher
  • [NO_MERCY]
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1381 on: May 13, 2012, 05:46:55 pm »

as i recall, last he posted sizeak was working on his dissertation, so he's probably been quite busy. education is serious business after all

also, this discussion may help you with adding plugins to dfusion: http://www.bay12forums.com/smf/index.php?topic=91166.msg3211738#msg3211738

I tried following the advice on that page, but the tool does not show up in the list...  :(
Same to me
Logged
Quote
The spinning (silk shoe) strikes the Baron in the left upper arm, bruising the skin!
The Baron has been shot and killed.

WARNING! I'm not responsible for damaging/destroying your post!
Re: Runesmith - A DC like tool
« Reply #1382 on: May 14, 2012, 04:46:36 am »

Is there a script I can use to kill a whole group of something?
Logged

Splint

  • Bay Watcher
  • War is a valid form of diplomacy.
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1383 on: May 14, 2012, 04:49:45 am »

I believe this tool has an on-map genocide button.

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1384 on: May 14, 2012, 07:30:37 am »

Quote
can anyone tell me how to make this mod compatible with the latest version of df?

with sufficient experience in lua, you can probably write dfusion plugins that replace the majority of runesmith's functionality in the meantime. i lack the experience though and I'm prioritizing other langs right now (MATLAB/haskell). it's doable, at least
<.< >.> I don't condone the

Code: [Select]
function tools.buffreading(unit)
if unit==nil then
unit=getAdv()
end
print("which skill 0-?")
B=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=93
unit.status.souls[0].skills[0+B].rating=r
end

well okay, but how do I use this code?  What do I do with it to get it to function in Dfusion?  Just entering the code into the .lua file seems to be unlikely to work, so what are the specifics?
Oops I forgot the
Code: [Select]
tools.menu:add("Buffreading",tools.buffreading) line which which allows you to use the function.
Logged
I thought I would I had never hear my daughter's escapades from some boy...
DAMN YOU RUMRUSHER!!!!!!!!
"body swapping and YOU!"
Adventure in baby making!Adv Homes

mithosaurion

  • Bay Watcher
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1385 on: May 14, 2012, 05:58:47 pm »

Quote
can anyone tell me how to make this mod compatible with the latest version of df?

with sufficient experience in lua, you can probably write dfusion plugins that replace the majority of runesmith's functionality in the meantime. i lack the experience though and I'm prioritizing other langs right now (MATLAB/haskell). it's doable, at least
<.< >.> I don't condone the

Code: [Select]
function tools.buffreading(unit)
if unit==nil then
unit=getAdv()
end
print("which skill 0-?")
B=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=93
unit.status.souls[0].skills[0+B].rating=r
end

well okay, but how do I use this code?  What do I do with it to get it to function in Dfusion?  Just entering the code into the .lua file seems to be unlikely to work, so what are the specifics?
Oops I forgot the
Code: [Select]
tools.menu:add("Buffreading",tools.buffreading) line which which allows you to use the function.

All i get is this in response to attempting to use it in fortress and adventure mode is this

dfusion/common.lua:262: attempt to call field '?' (a nil value) stack traceback:
     dfusion/init.lua:7: in function '?'
     dfusion/common.lua:262: in function 'display'
     dfusion/tools.plugin.lua:7: in main chunk
     [C]: in function 'xpcall'
     dfusion/init.lua:12: in function 'dofile'
     dfusion/init.lua:45: in function 'mainmenu'
     dfusion/init.lua:99: in main chunk

though on the upside, it is appearing in the tools list as option 7. 
« Last Edit: May 17, 2012, 04:15:25 pm by mithosaurion »
Logged
Re: Runesmith - A DC like tool
« Reply #1386 on: May 14, 2012, 10:14:36 pm »

I believe this tool has an on-map genocide button.

It does not work with the latest version(s), though.
Logged

mithosaurion

  • Bay Watcher
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1387 on: May 19, 2012, 07:38:30 am »

not much activity in this thread...
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1388 on: May 19, 2012, 09:25:20 am »

Quote
can anyone tell me how to make this mod compatible with the latest version of df?

with sufficient experience in lua, you can probably write dfusion plugins that replace the majority of runesmith's functionality in the meantime. i lack the experience though and I'm prioritizing other langs right now (MATLAB/haskell). it's doable, at least
<.< >.> I don't condone the

Code: [Select]
function tools.buffreading(unit)
if unit==nil then
unit=getAdv()
end
print("which skill 0-?")
B=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=93
unit.status.souls[0].skills[0+B].rating=r
end

well okay, but how do I use this code?  What do I do with it to get it to function in Dfusion?  Just entering the code into the .lua file seems to be unlikely to work, so what are the specifics?
Oops I forgot the
Code: [Select]
tools.menu:add("Buffreading",tools.buffreading) line which which allows you to use the function.

All i get is this in response to attempting to use it in fortress and adventure mode is this

dfusion/common.lua:262: attempt to call field '?' (a nil value) stack traceback:
     dfusion/init.lua:7: in function '?'
     dfusion/common.lua:262: in function 'display'
     dfusion/tools.plugin.lua:7: in main chunk
     [C]: in function 'xpcall'
     dfusion/init.lua:12: in function 'dofile'
     dfusion/init.lua:45: in function 'mainmenu'
     dfusion/init.lua:99: in main chunk

though on the upside, it is appearing in the tools list as option 7.
oh snap I realize it had getadv still in the code.

Code: [Select]
function tools.buffreading(unit)
if unit==nil then
unit=unit=getCreatureAtPointer()  --place the x pointer on top of the creature you want to change. best use is the look pointer and not 'v'
end
print("which skill 0-?")
B=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=93
unit.status.souls[0].skills[0+B].rating=r
end
here
Logged
I thought I would I had never hear my daughter's escapades from some boy...
DAMN YOU RUMRUSHER!!!!!!!!
"body swapping and YOU!"
Adventure in baby making!Adv Homes

Nopkar

  • Bay Watcher
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1389 on: May 21, 2012, 05:10:27 am »

keeping tabs on this...I love my runesmith so very very much...i miss it also so very very much :'(
Logged

-Jobs are to be assigned to Dwarves in alphabetical order, regardless of skill or specialization.

slaytanic

  • Bay Watcher
    • View Profile
    • my DFFD pack
Re: Runesmith - A DC like tool
« Reply #1390 on: May 21, 2012, 05:22:13 am »

yeah Runesmith was the shizzle fuh rizzle. Maybe someone who knows what they're doing can pick it up and run with it.....
Logged
So let me get this straight....We are talking monkeys living on a dirt ball that circles a fireball ? WTF ?

malvado

  • Bay Watcher
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1391 on: May 21, 2012, 06:04:34 am »

Well, hard to say what's going to happen with Runesmith since the author seems to have dissapeared lately.
Only thing I know is that he was quite busy at university but that was some time ago.

It's a pitty he didnt have time to open source it.
Logged

mithosaurion

  • Bay Watcher
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1392 on: May 24, 2012, 11:20:30 am »

Quote
can anyone tell me how to make this mod compatible with the latest version of df?

with sufficient experience in lua, you can probably write dfusion plugins that replace the majority of runesmith's functionality in the meantime. i lack the experience though and I'm prioritizing other langs right now (MATLAB/haskell). it's doable, at least
<.< >.> I don't condone the

Code: [Select]
function tools.buffreading(unit)
if unit==nil then
unit=getAdv()
end
print("which skill 0-?")
B=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=93
unit.status.souls[0].skills[0+B].rating=r
end

well okay, but how do I use this code?  What do I do with it to get it to function in Dfusion?  Just entering the code into the .lua file seems to be unlikely to work, so what are the specifics?
Oops I forgot the
Code: [Select]
tools.menu:add("Buffreading",tools.buffreading) line which which allows you to use the function.

All i get is this in response to attempting to use it in fortress and adventure mode is this

dfusion/common.lua:262: attempt to call field '?' (a nil value) stack traceback:
     dfusion/init.lua:7: in function '?'
     dfusion/common.lua:262: in function 'display'
     dfusion/tools.plugin.lua:7: in main chunk
     [C]: in function 'xpcall'
     dfusion/init.lua:12: in function 'dofile'
     dfusion/init.lua:45: in function 'mainmenu'
     dfusion/init.lua:99: in main chunk

though on the upside, it is appearing in the tools list as option 7.
oh snap I realize it had getadv still in the code.

Code: [Select]
function tools.buffreading(unit)
if unit==nil then
unit=unit=getCreatureAtPointer()  --place the x pointer on top of the creature you want to change. best use is the look pointer and not 'v'
end
print("which skill 0-?")
B=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=93
unit.status.souls[0].skills[0+B].rating=r
end
here

I get this message
« Last Edit: May 24, 2012, 11:30:18 am by mithosaurion »
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1393 on: May 24, 2012, 02:14:06 pm »

Code: [Select]
function tools.buffanything(unit)
if unit==nil then
unit=getCreatureAtPointer()
end
print("which skill slot 0-?")
B=getline()
print("which skill 0-?")
C=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=C
unit.status.souls[0].skills[0+B].rating=r
end

 tools.menu:add("Buffanything",tools.buffanything)

this should do it. sorry. if it helps I'll get warmist to insert it in the next update for Dfhack.
Logged
I thought I would I had never hear my daughter's escapades from some boy...
DAMN YOU RUMRUSHER!!!!!!!!
"body swapping and YOU!"
Adventure in baby making!Adv Homes

mithosaurion

  • Bay Watcher
    • View Profile
Re: Runesmith - A DC like tool
« Reply #1394 on: May 24, 2012, 09:42:10 pm »

Code: [Select]
function tools.buffanything(unit)
if unit==nil then
unit=getCreatureAtPointer()
end
print("which skill slot 0-?")
B=getline()
print("which skill 0-?")
C=getline()
print("How much?")
r=getline()
unit.status.souls[0].skills[0+B].id=C
unit.status.souls[0].skills[0+B].rating=r
end

 tools.menu:add("Buffanything",tools.buffanything)

this should do it. sorry. if it helps I'll get warmist to insert it in the next update for Dfhack.

now i get this message... sorry for being such a pest...  :-[
Logged
Pages: 1 ... 91 92 [93] 94 95 ... 106