preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Nov 22, 2024, 08:11:54 am
 Dwarf Fortress File Depot » Utilities » Dwarf Script [Linux Version] v0.13
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: Dwarf Script [Linux Version] v0.13
Last Updated: Aug 15, 2010, 11:24:37 pm
First Created: Aug 05, 2010, 01:38:59 pm
File version: 0.13
For DF version: Multiple
Downloads: 88 (93) Size: 59.9 KB
Views: 840 (865) Type: BZ2
Home:  Forum Thread
Rating (0 votes): Unrated
Description
This is a small utility, for windows and linux but not wine yet allowing scripted modification of df's memory

This is for the linux version.
For the windows 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
linux "reads" reads now full string, not just first character + garbage
linux "readstl" fixed
made possible negative numbers
"set" now works again
new feature:
getfirstnames gets the dwarf first names rather than nicknames
New in 0.11b:
- bug fix on swapping floating points
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: 88a54dd825d1a8505622c70b51d0c911ee385aa6b6add970b613fa366837f549
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.