Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 223 224 [225] 226 227 ... 360

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

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3360 on: December 07, 2015, 09:21:52 pm »

Do you have any recommended resources for learning lua? I have some programming experience, mostly Javascript, with bits of other languages.

I just started writing DFHack scripts, and it seems to have worked out OK.  There's plenty of work on the issue tracker if you want to try a similar route.
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3361 on: December 07, 2015, 09:30:09 pm »

yeah, DFHack scripts is how I learned, uh, programming actually, my first one was taking a snippet of Quietust's code and replacing some enums

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3362 on: December 07, 2015, 11:16:27 pm »

I learned programming from Stonesense.
Logged

Rallor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3363 on: December 08, 2015, 05:54:34 am »

We use protobuf and basically you write stuff you need from dfhack to your program. This way you have way more control and can even program in any language you want.
Does the latest version of stonesense use protobuf? I'm trying to find a working example and can not get the addressbook one google themselves provide to work.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3364 on: December 08, 2015, 06:46:47 am »

No. Armok Vision does (with the remotefortressreader plugin), and a couple other plugins implement simpler RPC/protobuf commands, like rename.
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.

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3365 on: December 08, 2015, 07:53:38 am »

I learned programming from Stonesense.
I learned programming from a before-school TV series on BASIC.

Get off my lawn :)
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3366 on: December 08, 2015, 10:13:22 am »

Do you have any recommended resources for learning lua? I have some programming experience, mostly Javascript, with bits of other languages.

Reading other scripts is a good start to see how LUA works.

What you really need to keep as a bookmark is the Dfhack reference : https://github.com/DFHack/dfhack/blob/master/docs/Lua%20API.rst

Because you have a bundle of functions that will let you manipulate DF without writing hundreds of lines of code and a bunch of C++ type checks that are not inside the base LUA.
Logged

vjek

  • Bay Watcher
  • If it didn't work, change the world so it does.
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3367 on: December 08, 2015, 10:53:15 am »

... I learned programming from a before-school TV series on BASIC.

Get off my lawn :)
Right there with ya.  ;D  1980, woo hoo!

notfood

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3368 on: December 08, 2015, 01:45:15 pm »

prospect and showmood appear functional now.

strangemood works but it causes corruption and strange situations.
Logged

dmselena

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3369 on: December 08, 2015, 02:51:59 pm »

... I learned programming from a before-school TV series on BASIC.

Get off my lawn :)
Right there with ya.  ;D  1980, woo hoo!

Anyone else remember this? https://www.youtube.com/watch?v=1-Y8-g9ArLw

This kid demoing it made me feel really effing old.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3370 on: December 08, 2015, 04:11:35 pm »

... I learned programming from a before-school TV series on BASIC.

Get off my lawn :)
Right there with ya.  ;D  1980, woo hoo!
Started with a VIC-20, which wasn't around yet when I saw the show on TV... I wrote out programs on paper with no way to run them.  But that practice came in handy a few years later when they started putting computers on display at stores... lot's of fun programming them to give advice to customers.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3371 on: December 08, 2015, 10:58:33 pm »

I learned programming from Stonesense.
I learned programming from a before-school TV series on BASIC.

Get off my lawn :)
If we're going there, I technically learned BASIC from my c64 manual, but I wasn't counting that.
Logged

Krutzelpuntz

  • Bay Watcher
  • [CHILD:64]
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3372 on: December 09, 2015, 03:14:33 am »

The game has become near unplayable to me without DFHack, especially "anti-micromanaging" commands like workflow are dear to me.

I can't wait for the new version, and I thank everyone who contribute, for making the most awesome game so much better!  :D
Logged

Hesperid

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3373 on: December 09, 2015, 06:53:19 am »

Totally agreed, I'd like to see all the new stuff that's in, but I just can't play anymore without all the utilities that spare me from using DF menus.

Could devote my time to helping the new release get made, just not sure who organizes the effort.
Logged

Krutzelpuntz

  • Bay Watcher
  • [CHILD:64]
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3374 on: December 09, 2015, 08:05:54 am »

If you know your way around.. scripting(?), you can create your own content, and ask for a merge with the current code.
https://github.com/DFHack/dfhack
I don't

Oh, did I forget to mention how ridiculously time saving it is to have a search-bar in every menu? :(
Logged
Pages: 1 ... 223 224 [225] 226 227 ... 360