Reply to Re: Dink Smallwood HD for Windows beta available to try
If you don't have an account, just leave the password field blank.
Sparrowhawk - hmm, I still can't recreate the problem using MS Notepad. Maybe I am doing something subtly different? I tried mixing it up with spaces and tabs as well.
Can you try what I'm doing and see if it does cause the problem? Here is how I tested it on my end:
1. Opened s1-sack.c with MS notepad
2. replaced the script with this:
3. Start a new game of dink, "talk" to the pig feed.
Dink says 1, 3 (don't hit the feed again until its done)
Then hit again:
Dink says 2, 3
Do you get different results using this method?
Note: Quicksave/load stores the scripts in memory, so if you change the script, quit and restart dink, it still won't be updated in memory. So you'd need to leave and return to the room to get it to "take", or load a real saved game.
Can you try what I'm doing and see if it does cause the problem? Here is how I tested it on my end:
1. Opened s1-sack.c with MS notepad
2. replaced the script with this:
//sack of grain void main( void ) { sp_touch_damage(¤t_sprite, -1); int &temp = 1; } void hit(void) { Say("I hate you, sack of feed!", 1); } //temp is set to 1 in main void talk (void) { if (&temp == 1) say_stop("1", 1); if (&temp == 2) { say_stop("2", 1); } say_stop("3", 1); &temp = 2; }
3. Start a new game of dink, "talk" to the pig feed.
Dink says 1, 3 (don't hit the feed again until its done)
Then hit again:
Dink says 2, 3
Do you get different results using this method?
Note: Quicksave/load stores the scripts in memory, so if you change the script, quit and restart dink, it still won't be updated in memory. So you'd need to leave and return to the room to get it to "take", or load a real saved game.