Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 109 110 [111] 112 113 ... 361

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

rmblr

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1650 on: December 11, 2014, 02:39:53 am »

Only reason that wasn't realtime is because I was more working on making sure things were connecting right and rendering. There's no reason why it couldn't do updates more often. The communication is pretty quick, in any case.

Regarding events, something clever could be done with them, maybe, but I think it'd be simplest just to poll for changed values of stuff.

Things like dwarf positions would change far more often than terrain data, after all.

Well I'm home from work now, so it's time to start experimenting! Great work with this Japa. Reduces a lot of the framework I was thinking I was needing to write to get the RPC connection working. :)

A request from a fellow dev and non-windows user: whatever you're creating for DFHack, if you plan to mass release it, please keep it compatible with the Mono libraries so non-windows users can use it.
Logged

Severedicks

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1651 on: December 11, 2014, 02:51:04 am »

Or better yet, stay away from C#.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1652 on: December 11, 2014, 03:27:54 am »

Rose

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1653 on: December 11, 2014, 03:35:09 am »

Only reason that wasn't realtime is because I was more working on making sure things were connecting right and rendering. There's no reason why it couldn't do updates more often. The communication is pretty quick, in any case.

Regarding events, something clever could be done with them, maybe, but I think it'd be simplest just to poll for changed values of stuff.

Things like dwarf positions would change far more often than terrain data, after all.

Well I'm home from work now, so it's time to start experimenting! Great work with this Japa. Reduces a lot of the framework I was thinking I was needing to write to get the RPC connection working. :)

A request from a fellow dev and non-windows user: whatever you're creating for DFHack, if you plan to mass release it, please keep it compatible with the Mono libraries so non-windows users can use it.

So far, we're doing it in Unity, which uses mono, and releases linux binaries, so not a problem.
Logged

Rose

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1654 on: December 11, 2014, 10:14:35 am »

Okay, added very basic unit loading to Armok Vision, and RemoteFortressReader. All it does is get a list of the coordinates of all units in play over the network.
Logged

Severedicks

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1655 on: December 11, 2014, 11:35:03 am »

why
C# is an unwieldy language for non-Windows OSes.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1656 on: December 11, 2014, 01:11:02 pm »

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1657 on: December 11, 2014, 02:47:18 pm »

Unity is actually fairly cross-platform. I believe someone on IRC compiled that visualizer on OS X a while back, and, like Japan said, Linux should be simple as well. I do agree that C# in general tends to be difficult to compile for other platforms, though.
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.

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1658 on: December 11, 2014, 06:53:17 pm »

Yeah, I haven't touched a windows machine except to strip out windows in years, but I've got some Unity compatibility stuff here on Arch as is, though I've never actually seen C# mentioned before, and my first reflex was to pronounce it "tchash" before the wiki page loaded and said it's "cee-sharp"... I think tchash is funnier so I'm keeping it.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1659 on: December 11, 2014, 11:29:04 pm »

interaction-trigger -suppressDefend doesn't seem to work.

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1660 on: December 12, 2014, 12:41:22 am »

interaction-trigger -suppressDefend doesn't seem to work.

I'm going to bed soon. Can you post an issue on the tracker if you haven't already?
Logged

madk

  • Bay Watcher
    • View Profile
    • pineapplemachine
Re: DFHack 0.40.19-r1
« Reply #1661 on: December 12, 2014, 06:48:06 am »

Where's the OSX release for 0.40.19?
« Last Edit: December 12, 2014, 07:04:32 am by madk »
Logged

Nopenope

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1662 on: December 12, 2014, 07:11:56 am »

Logged

madk

  • Bay Watcher
    • View Profile
    • pineapplemachine
Re: DFHack 0.40.19-r1
« Reply #1663 on: December 12, 2014, 08:29:02 am »

Oh. I don't feel smart. Thanks much!

Henour

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.19-r1
« Reply #1664 on: December 13, 2014, 10:48:36 am »

In lua how do I get the type of a tile?

The Documentation seem a bit sparse, I found the dfhack.maps.getTileType(coords) function which returns a number, however it seems to return the same for eg openSpace and Lava?

My end goal is check if there is a Liquid and which one at a given position. Any hints/examples are appreciated.
Logged
Pages: 1 ... 109 110 [111] 112 113 ... 361