Pink Petal Games

Game Discussion => General Discussion & Download => Topic started by: zodiac44 on November 01, 2009, 12:49:19 AM

Title: Source code and debugging
Post by: zodiac44 on November 01, 2009, 12:49:19 AM
I'd like to extend an offer to help debugging code.  It's been quite some time since I've done any programming outside visual basic macros for Excel, but once I get readjusted I might be able to help out.  An extra pair of eyes can't hurt anyway.

I don't know if anyone else is interested, but I'd like to take a crack at it if you are amenable to releasing the source code.
Title: Re: Source code and debugging
Post by: DocClox on November 01, 2009, 02:19:38 AM
I don't know if anyone else is interested, but I'd like to take a crack at it if you are amenable to releasing the source code.

There's a few of us interested :) necno wants to clean up the code before he releases it.
Title: Re: Source code and debugging
Post by: zodiac44 on November 01, 2009, 11:23:11 AM
Clean code?  I do not know of this thing of which you speak؟  >;o)
Title: Re: Source code and debugging
Post by: Solo761 on November 01, 2009, 11:45:10 AM
(http://www.imagesforme.com/thumb/thumb_c9deb9a2.jpg) (http://www.imagesforme.com/show.php/764970_wtfm.jpg)
Title: Re: Source code and debugging
Post by: DocClox on November 01, 2009, 12:49:06 PM
Clean code?  I do not know of this thing of which you speak؟  >;o)

I fear you must look to necno for enlightenment, young grasshopper :)
Title: Re: Source code and debugging
Post by: Midnight_Amratha on November 08, 2009, 08:59:44 PM
re bugs.
i ran into a DEP after i had accepted a girl from a customer and tried to let on of the old enemies go.  The help file said something about a program trying to run in an illegal manner, what's it mean? anyway windows shut the program down. oh btw i'm using a raptor drive for my system drives mounted as C: and i have a storage/game drive named E: wonder if that's got anything to do with it? seeing as my C: drive is blocked from running anything but system programs i mean.
Title: Re: Source code and debugging
Post by: zodiac44 on November 08, 2009, 09:12:58 PM
That's a known bug that's been hanging around for a while.  It's not related to your HDD configuration, and it happens to everyone who plays.  If you get a deadbeat customer and a defeated rival on the same turn, you crash.
Title: Re: Source code and debugging
Post by: delta224 on November 08, 2009, 09:36:58 PM
Thankfully as one of the coders I have fixed that bug and I do plan to release a fixed program with that fix and other fixes tomorrow.
Title: Re: Source code and debugging
Post by: zodiac44 on November 08, 2009, 09:42:08 PM
Awesome!  I recall Necno saying that one was going to be a bitch to track down.  Congrats.  >;o)
Title: Re: Source code and debugging
Post by: delta224 on November 08, 2009, 10:07:37 PM
That was not the PITA. My method of finding it was to find the code that was being called right before the crash and try to fix that code, due to the fact that code must have caused the error since it was just called.  Even now I am not really sure what the exact problem was since I just commented out the offending code and replicated the functionality with some other minor changes and the use of the standard library.
 
The crash on next day bug on the other hand is a  total PITA, and still might exist, since it is totaly random and thus near impossible form me to track down.
Title: Re: Source code and debugging
Post by: letmein on November 08, 2009, 10:48:28 PM
Someone said "release"?  That is verboten!  You mustn't raise our hopes...
Title: Re: Source code and debugging
Post by: Midnight_Amratha on November 10, 2009, 11:09:39 AM
game hangs when i send one girl to the dungeon and then yet another girl to the dungeon
Title: Re: Source code and debugging
Post by: zodiac44 on November 10, 2009, 02:25:26 PM
Midnight_Amratha, can you post your bugs over here (http://pinkpetal.org/index.php?topic=95.0) in the bug report thread?  That way we can have everything in one place.  Thanks  >;o)