📧 Message Board Archive

What's with a bug...
hey, what's with a bug that in it the hardne.....

Or i'll give an example: You have made a cave, no visible faults in it(It's script), it works perfectly for awhile, but then suddenly without a warning you can't enter it. Dink just pushes it and doesn't crawl in. REAL annoying at least because in my dmod you need to walk through the cave i was talking about. So what's wrong?
Re: What's with a bug...




: Or i'll give an example: You have made a cave, no visible faults in it(It's script), it works perfectly for awhile, but then suddenly without a warning you can't enter it. Dink just pushes it and doesn't crawl in. REAL annoying at least because in my dmod you need to walk through the cave i was talking about. So what's wrong?



Umm.. this script you're talking about, is it the script for the cave's mouth (the warp) or what?

If for the warp, you should do the warping part in DinkEdit, and if the cave shouldn't be entered before some point of the story, disable it in the script.



Can't think of anything causing that though. :)
Re: What's with a bug...
: If for the warp, you should do the warping part in DinkEdit, and if the cave shouldn't be entered before some point of the story, disable it in the script.



Maybe scratcher whats to do the thing where Dink ducks down and cralls thought the hole, that needs a script.



: Can't think of anything causing that though. :)



What I'd do first is put something like this:



void main ( void )

{

 say("I'm alive!", 1);

 //wheverver else...



that way you know if the script is being run at all. If it is, that move the say command to other parts of the script the void touch ( void ) and see of those parts are working.
Fixed
: : If for the warp, you should do the warping part in DinkEdit, and if the cave shouldn't be entered before some point of the story, disable it in the script.



: Maybe scratcher whats to do the thing where Dink ducks down and cralls thought the hole, that needs a script.



: : Can't think of anything causing that though. :)



: What I'd do first is put something like this:



: void main ( void )



: {



:  say("I'm alive!", 1);



:  //wheverver else...



: that way you know if the script is being run at all. If it is, that move the say command to other parts of the script the void touch ( void ) and see of those parts are working.





Yes, i wanted the Dink's crawl in- graphic to be added, cave is not a doorway, Dink sure can't just walk in!! (Wonder why not, but.. ;) )



I got this fixed, it was my very-stupid own hand-made fault, while editing the script i had done an incident that the if (&life < 1) return; had somehow changed into if(&life < 100)return; and i sure didn't have such a vitality!!

   I fixed it and now the cave works perfectly! Thanks for replying!!



~Scratcher