The Dink Network

WTF... engine doesn't accept new scripts

May 29th 2003, 10:29 AM
fish.gif
Binirit
Peasant She/Her
 
When I add a new script in DinkEdit, it won't play in DS. For example: a new sprite on screen with a script - when Dink talks to the sprite, it doesn't react. When I delete for example a void main(void) (attached to a screen) in DinkEdit it still runs when playing.
It seems like the engine doesn't pick up the changes I've made.

I've reinstalled DS, used a different editor, restarted the comp, but... nothing!

Any suggestions? I'm trying to finish this D-mod before the deadline, but then the engine has to do it's job as well...

BTW: when placing about 30 sprites on screen, I can't use the Esc to leave the screen. I have to use Alt-tab or the windows-key to get out of DinkEdit. When I come back, I can use the Esc again. Perhaps this has something to do with it? Weird things...
May 29th 2003, 10:37 AM
old.gif
That's not a bug, your pc is fudgeed up...

Try removing Dink Smallwood...
Then install it again...

Copy your dmod before deleting dink smallwood. Just in case!
May 29th 2003, 10:38 AM
fish.gif
Binirit
Peasant She/Her
 
Now it's even worse... it plays music and runs scripts on a screen where it isn't supposed to play and run it.
I warped to another screen, but the script (attached to screen) and the music (M) works on the screen I'm warped too, although it should only work on the screen I'm warped from.
May 29th 2003, 11:18 AM
fish.gif
Binirit
Peasant She/Her
 
I did. Made a backup, uninstalled, removed and installed again. Everything else is working fine, it's just DS.
After I reinstalled everything, DinkEdit now works fine, but now FrontEnd won't let me play the game...

I've tried another FrontEnd, but that doesn't make any difference. I've used the backup of the D-mod that I made yesterday, but that one doesn't work either, so it's not something I added since that makes it not work.
May 29th 2003, 12:08 PM
knightg.gif
WC
Peasant He/Him United States
Destroying noobs since 1999. 
Stupid Question. You are attaching like as "my_script" and not "my_script.c" correct?
May 29th 2003, 12:44 PM
fish.gif
Binirit
Peasant She/Her
 
Ehm... no. They're all .c scripts. If that's what you mean. If you had just a .txt the script just wouldn't run, but it does run, but on the wrong screen, i.e. a script is running on a screen where no script is attached to.

Now I've got it to the point that FrontEnd does run, but it asks for the CD, but it's already in the drive. I remember having read that question, but can't find it.

And btw, what do you mean with 'stupid question'? This is deadserious, man, if I can't Dink anymore, my life's worth nothing.
May 29th 2003, 01:20 PM
fish.gif
Binirit
Peasant She/Her
 
Ok, I've got everything working again, but the engine still won't accept any new .c scripts.

Any ideas? Anyone?
May 29th 2003, 01:25 PM
knightg.gif
WC
Peasant He/Him United States
Destroying noobs since 1999. 
err, no.

I was stating that you created a file called my_script.c, then, to attach it to a sprite, you would type in "my_script" leaving off the .c extention.
May 29th 2003, 02:03 PM
wizardg.gif
Paul
Peasant He/Him United States
 
Another easy mistake (though this does apply to screen scripts) is to make a sprite type zero, decorative; which won't take a script. Another possibility is that the map is somehow corrupt, try editing another d-mod (just a fresh copy of the skeleton even) and if that works, it's probably your map, but you can likely salvage it by importing all the screens to a new map.
May 29th 2003, 02:12 PM
knights.gif
gustav
Peasant He/Him
 
Why don't you complain?!?
Where did you get your copy of DInk Smallwood? Sometimes when you get stuff from somewhere elese, it has problems. It could be a computer problem. I get heaps of stuffups on my computer. **Click!** (presses the button on a counter). Hmmmm. That's 428 screw-ups since I got this dang computer.
Well I hope you can fix it.
May 29th 2003, 02:13 PM
fish.gif
Binirit
Peasant She/Her
 
Ok, I'll try that.

I've got it narrowed down to the fact that scripts work, but that the &story doesn't progress.
May 29th 2003, 02:29 PM
fish.gif
Binirit
Peasant She/Her
 
I've got the original cd-rom and never had any problems with it, nor with FrontEnd, DinkEdit. So it's not that. And it worked fine on my comp till yesterday.
May 29th 2003, 04:58 PM
fish.gif
Binirit
Peasant She/Her
 
Paul, you're The Best!

It indeed was the map. I just imported about 300 screens to a new map, checked the old screens to see all the screen scripts and added those to the new ones, played the whole D***D game again, and finally got to the point where I got stuck - at noon today... and oh my god it worked!

Never been happier! Big applaus for Paul!

And now I've got RSI - 300 maps is 4 clicks per screen... But WinDinkEdit did the job, so hurray for WC too!

May 29th 2003, 05:06 PM
knightg.gif
WC
Peasant He/Him United States
Destroying noobs since 1999. 
Can you send me the ruined map? I would like to make a function to correct the mistake.
May 30th 2003, 03:45 AM
fish.gif
Binirit
Peasant She/Her
 
Sure, I'll send it. Any idea how the map got corrupt?