Commit Graph

82 Commits (7c9002c4ea9321d89067d261225ff98ab6200db7)

Author SHA1 Message Date
lethosor 7eb442e98c Feed D_ORDERS instead of relying on sidebar mode enum 2016-01-04 20:09:05 -05:00
lethosor 9ae55177ef Stop feed_menu_choice exit sequence from triggering after restarting scan 2016-01-04 20:05:45 -05:00
lethosor aa435a14d7 find-offsets: Look up colors from colors.txt if possible 2016-01-04 19:55:12 -05:00
lethosor bdd4b11e2d Add an option to scan for all "standing_orders_*" globals 2016-01-04 19:30:10 -05:00
lethosor 2079093d5a Fix new addresses in export-dt-ini 2015-12-28 23:19:02 -05:00
lethosor 51164d5547 Add standing orders scans to find-offsets 2015-12-28 21:35:47 -05:00
lethosor 0a4287afba gps scan: fall back to data section 2015-12-28 17:28:50 -05:00
lethosor 7431329e2d New script: devel/save-version.lua 2015-12-28 17:01:47 -05:00
lethosor 9dbb5b92f9 Fix some issues in devel/export-dt-ini.lua 2015-12-28 15:55:09 -05:00
lethosor 39086acf64 Merge export-dt-ini changes from splintermind/Dwarf-Therapist 2015-12-28 15:46:42 -05:00
lethosor d087f4f741 Expose process MD5/PE to Lua (useful in export-dt-ini) 2015-12-27 14:59:18 -05:00
lethosor 7fe71c94f6 A few devel/unit-path fixes
* Handle unrecognized unit_path_type values
* Handle getSelectedUnit()
* Only zoom to path.dest if it's valid
2015-12-25 10:05:13 -05:00
lethosor 97a39e0c53 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-12-19 17:09:47 -05:00
lethosor eb1ae54d63 Add ui_lever_target_type scan to find-offsets 2015-12-19 17:09:29 -05:00
Alexander Gavrilov 5eccb1ed1c Fix find-offsets for cur_year_tick on windows.
The old reference moved far away, so switch to a new one.
2015-12-19 23:03:40 +03:00
lethosor d276d4d46b Add devel/clear-script-env 2015-11-07 17:36:42 -05:00
PeridexisErrant 193e71793a Fix compile, intro, scripts
- script-syntax.py now exits with 1 instead of silently catching the
error if lua or ruby are missing
- index paths are absolute (from the repo root)
- less strong suggestion for third-party packs
- re-added lua-example and test-perlin doc
- corrected and clarified Compile some more
2015-11-06 16:58:58 +11:00
PeridexisErrant 5018af9a9e Document devel scripts 2015-11-06 10:15:18 +11:00
PeridexisErrant 58e6ef6524 De-alias migrants-now 2015-11-06 10:15:18 +11:00
PeridexisErrant 69090e114c Explain script type at top of listing
Using an `about.txt` file in each directory.  This is nice because it
keeps the purpose notes in the actual script directories.
2015-10-24 17:41:21 +11:00
lethosor 83e175f52b Fix syntax error in devel/light.lua 2015-02-23 18:57:50 -05:00
lethosor 10cfef0553 Fix whitespace issues 2015-02-14 22:53:06 -05:00
Lethosor 5a404333ca Update devel/export-dt-ini for 0.40.21+
https://github.com/splintermind/Dwarf-Therapist/commit/356ae80
2014-12-26 12:39:05 -05:00
Josh 5d1efa82f1 update DT scripts 2014-12-03 23:34:22 +01:00
expwnent 838bbd97f6 New devel scripts for testing interaction-trigger. 2014-11-09 18:37:11 -05:00
Lethosor ae001c60ad Update export-dt-ini.lua
From https://github.com/splintermind/Dwarf-Therapist/blob/DF2014/export-dt-ini.lua
2014-11-07 16:40:53 -05:00
Alexander Gavrilov 04ec2c9932 Update version to v0.40.14 and hack things so they compile.
Also make the find-offsets script less likely to crash if the
unit structure is misaligned and add more integrity checks.
2014-10-26 16:40:39 +03:00
Alexander Gavrilov 002bd5240b Bump version to v0.40.07 and update find-offsets to new pressure plate UI. 2014-08-11 14:14:42 +04:00
lethosor 14208577dd Display all found offsets on completion 2014-08-03 22:02:15 -04:00
Quietust 1450298484 assumed_identity -> identity 2014-07-29 16:30:22 -05:00
Alexander Gavrilov 4902c577b3 Fix some crashes when running without globals and update structures. 2014-07-24 23:10:37 +04:00
Quietust 34ce7f61de Update find-offsets, find gview properly even if INTRO is enabled 2014-07-22 16:38:18 -05:00
Quietust 9435d8f4d9 Fix crashes caused by missing globals 2014-07-21 19:14:43 -05:00
expwnent a8f810cc3b Lots of tweaks. 2014-07-09 06:21:52 -04:00
expwnent f12aa3665b Removed the temporary lua events because EventManager does them better. 2014-06-28 02:46:08 -04:00
expwnent 0f5bbd5631 Reorganized scripts folder. Deleted digmat.rb because it's redundant with digSmart and it has a higher FPS impact. 2014-06-27 03:46:22 -04:00
Alexander Gavrilov ae8d630cfa Merge remote-tracking branch 'warmist/dev-rendermax' into develop 2014-05-11 15:44:29 +04:00
Alexander Gavrilov 6bef167f83 Add a couple of useful scripts and fix two missing NULL checks.
- A script to unstick jobs trying to build walls from the same tile.
- A devel script for viewing the path a unit is currently following.
2014-04-21 09:24:05 +04:00
Warmist 4ce951f5b9 light.lua: more help, changed screen exit key to '`'. Made it recalculate only when needed. 2014-03-07 19:58:29 +02:00
Warmist 1ce43c6cc4 Light now fallsoff according to tile contents (water for now only) 2014-03-07 19:58:29 +02:00
Warmist 446b4b9d50 New line algo for lights 2014-03-07 19:58:28 +02:00
Warmist 6e57c6446d Added light script. Can be ran with "static" to recalculate only on '~' press. 2014-03-07 19:58:26 +02:00
jj 6af362db39 add scripts/devel/spawn-unit-helper.rb 2014-01-04 01:55:48 +01:00
Alexander Gavrilov 3cfbb13afd Support arbitrary expressions in perlin noise rendering script. 2013-10-10 12:15:50 +04:00
Alexander Gavrilov ccc1d936df Add a Perlin noise test script. 2013-10-02 20:00:03 +04:00
Alexander Gavrilov e15f5c451f Fix search for cur_season_tick and cur_season in devel/find-offsets.
It seems the one-off error is a problem with the original
save I used, and not the result of some general behavior.
2013-06-20 18:18:02 +04:00
Alexander Gavrilov 21dc3afede Find cur_year_tick_advmode in devel/find-offsets.lua 2013-06-20 17:20:04 +04:00
Tareq A Khandaker 89d91eddb6 Add & correct offsets for splintermind-attributes 2013-05-11 13:08:01 -04:00
Alexander Gavrilov cafa966be4 Subtract the ASLR rebase delta in the export-dt-ini script. 2013-05-09 18:58:52 +04:00
Tareq A Khandaker 29c77ff85a Add entries to match splintermind-attributes DT
The added address/offset entries correspond to those found in the
splintermind-attributes branch of Dwarf Therapist for Dwarf Fortress v0.34.11
SDL (windows).

These entries can be found the following location:

https://code.google.com/r/splintermind-attributes/source/detail?spec=svneeeac8544d94c133ef2eb7c9a4ef8f2865906b19&r=614f1a76b56a081048626e3acaa5c87bcd313fef

under etc/memory_layouts/windows/v0.34.11_graphics.ini
2013-05-08 15:39:32 -04:00