Prowler Productions
  Dink Smallwood Forum
  "Yo! Sprite has bad pic" debug messages.

Post New Topic  
profile | register | faq

Author Topic:   "Yo! Sprite has bad pic" debug messages.
Tristan Badger posted 04-04- 12:02 AM CT (US)   Click Here to See the Profile for Tristan Badger   Click Here to Email Tristan Badger  
Hi again,

Another question. I've got a screen where Dink is talking to a couple of pigs. The debug.txt has a lot of messages like "Yo! This sprite has a bad pic Screen X Sequence 41 Frame 1". The pig looks fine, and in dinkedit there appears nothing wrong with Frame 1 of Sequence 41. I get lots of these messages, but the DMOD seems to work fine nonetheless.

Being a professional programmer and all, I wanted to figure it out. What could be the problem?

And might I add - redink1 and Wyndo, I admire your patience...

Wyndo posted 04-04- 10:04 AM CT (US)     Click Here to See the Profile for Wyndo  Click Here to Email Wyndo     
I've forgotten nearly everything about DinkC so I'm really not much help.

Did you re-use some existing code? I don't remember any message like that. Maybe there isn't really a probablem but there is some debug code left in one of the scripts you're using, by seth?

Tristan Badger posted 04-05- 06:00 AM CT (US)     Click Here to See the Profile for Tristan Badger  Click Here to Email Tristan Badger     
Thanks, Wyndo.

I'm only using the main.c and start*.c files of Seth's so maybe it's a sequence thing.

I got fed up with the pigs, and decided instead of creating them in the script, to create them in the editor. This stopped the messages, so I have no idea what the trouble was.

I get this message on the next screen though:

Dink:MainSpriteDraw(): Could not draw sprite 5, pic 600.
Dink:Box_crap: 262 104 334 104, Box_real: 0 63 72 63
Dink:DDERR_INVALIDRECT
Dink:

Seth's debug messages are somewhat esoteric, so perhaps someone understands them, but not me!

Thanks for the tip on the previous problem (62Meg map.dat). I'll try copying to a new map file, screen by screen. Was the compilation suggestion anywhere near the mark - I figured that only applied to scripts?

George posted 04-10- 10:34 PM CT (US)     Click Here to See the Profile for George  Click Here to Email George     
I have the same problem! IT's really annoying... often when I create sprites I have to move them before they appear, and hearts and gold don't appear for me! Plus it makes my debug.txt over a MB!

Post New Topic  Post Reply
Hop to:


Contact Us | Prowler Productions

Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.