The Dink Network

Reply to Re: Dink Smallwood HD V1.97 Beta test

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 2nd 2022, 08:05 PM
seth.gif
Seth
Peasant He/Him Japan
 
Ah, yeah, that happened to me actually, finally figured out I was supposed to die...

Ok, added. It works a lot like the "screenlock" command. (well, as in, you turn it on and off, not that it's locked to a particular screen. If you turn it on and don't turn it off, it will not allow state saves forever)

I tested it by override keys 1 and 2:

key-49.c:

void main(void)
{
show_quick_message("Save states disable for this section!");
set_disable_savestates(1);
}

key-50.c:

void main(void)
{
show_quick_message("Save states enabled again!");
set_disable_savestates(0);
}

You can pass -1 to not change it to just have it return the current value btw.

Note: I'm still allowing autosaves and "save on quit" to function, which operate separately than save states. (don't want anyone to lose their progress because suddenly save on quit doesn't work) It's not useful for save-scumming so should be the best of both worlds. The "save state disabled" state is remembered after continuing the game from a savestate in those cases. (confusing but I think it all makes sense)

If someone tries to save/load while it's disabled it will give a clear message that the dmod disabled it for this area.

Beta file updated: Build 9.

Here's what changed (ignore the android parts, won't matter here):

* NEW DINKC COMMAND: set_disable_savestates(1) to disabled. 0 to enable, -1 to return the current status. Note: Autosaves will continue to
function normally, and the current savestate status will be respected in autosaves as well
* NEW DINKC COMMAND: show_quick_message("Hello! `4This is red``. `2Green``."); shows a quick message over the dink screen, useful for showing quick messages, I used it
for testing stuff. Works with color codes.
* get_version() now returns 111. (dinkC version incremented by one due to added new scripting commands).
Reminder: you can use get_client_version if you want 197, the client exe version.
* If dinkc debug mode is on, now logs extra info about "external" calls being done
* Reworked dinkc to use much less stack memory, fixes issue on Android with nested "external" calls
* (Android) Can now use Xbox, PS4/PS5 controllers via bluetooth on Android, if they are paired, they just work. (note: turn down
the touch countrols GUI visible slider down in the settings if you don't like that cluttering the screen)