preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: May 02, 2024, 11:42:24 am
 Dwarf Fortress File Depot » Utilities » Dwarf Script 0.13
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: Dwarf Script 0.13
Last Updated: Aug 15, 2010, 11:23:03 pm
First Created: Aug 01, 2010, 02:28:01 pm
File version: 0.13
For DF version: Multiple
Downloads: 474 (511) Size: 268.1 KB
Views: 1,752 (1,892) Type: ZIP
Home:  Forum Thread
Rating (0 votes): Unrated
Description
This is a small utility, currently only for windows allowing scripted modification of df's memory

This is for the windows version.
For the linux version go here.
New in 0.13
- capped views with scrollable output
- commenting is possible in two variants like in C/C++/Java:
/* blah */
// blah
- stack data is now completely separate from type info, allowing faster execution without passing around type info at all.
- stack is restored if execution fails (solved a bunch of problems i didn't want to deal with, implementing the above)
- ascii 0-32 show as "?" inside strings in stack.
- \123 inside string constants converts to ascii char 123
- bitwise not
- the ability to set or unset flags (untested)
- loop mismatch error is more informative
- rearranged views
- used commands are now shown for easy copy/paste until history scrolling works.
- added intellisense coloring
- added command history scrolling

bug fixes:
- view disruption is fixed through capping and scrollable output
- fixed disruptions caused by ascii chars 0-31 in strings on the stack
- $ now displays in execution view
- code now fetched rather than recompiled at every function call, and various sleeping bugs that this triggered
- enter no longer executes when there are parse errors
- fixed a bunch of memory leaks
- multiline text outputs is now clean
- functions should now list correctly
- linux: fixed read4 bug when highest bit set, due to pread having a stupid 2G limit so switched to pread64

New in 0.12

fixed:
using escape characters no longer leave the escape character used
errors during execution are now no longer overwritten
made possible negative numbers
"set" now works again
new feature:
getfirstnames gets the dwarf first names rather than nicknames
New in 0.11:
- Fixed bug occurring accessing names from a higher scope in a loop due to name stack popping incorrectly
- added bitwise operators, modulo, independent stack pop and character value extraction from strings
- included current main.ds which has functions for writing labours, attributes, traits and skills (as well reading the latter)

Read the Forum Thread thread for more information.
Raw Data: JSON / Text
Checksum / Hash
SHA-256: 8c23841d0d7134227e4a4037f990ad123c7c6aaa370ac4fc774b0cb1e0769644
IP: logged
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Website by Brett Flannigan. The core site script is PHCDownload (© 2005-2024).
Hosted by Linode.