The Daily Click ::. Forums ::. Klik Coding Help ::. So I wrote an article that solves most problems
 

Post Reply  Post Oekaki 
 

Posted By Message

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
29th September, 2008 at 03:41:46 -

http://www.create-games.com/article.asp?id=1937

hope you all like big walls of text with no formating. This is some very very useful stuff, though

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
29th September, 2008 at 04:35:34 -

So I looked at your article and it looked interesting! So it's kind of long so Ill take a better look at it tommorow! So goodnight!

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
29th September, 2008 at 05:24:29 -

Great work .

The sorta thing everyone needs to know!

 
Image
http://bfollington.tumblr.com

alastair john jack

BANNED

Registered
  01/10/2004
Points
  294

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!VIP MemberMushroomI am an April Fool
29th September, 2008 at 05:36:58 -

Yeah that was useful!

 
lol

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
29th September, 2008 at 11:09:31 -

I've had none of them problems but nobody knows a fix for the replacement graphics bug it hit Bonesaw and sometimes it creeps in on my game. I've diagnosed the hell out of it but I just can't put my finger on what triggers it - or how to fix it

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

alastair john jack

BANNED

Registered
  01/10/2004
Points
  294

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!VIP MemberMushroomI am an April Fool
29th September, 2008 at 12:14:13 -

I had a graphics bug with Ainevoltas2 where sprites replace each at random.

 
lol

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
29th September, 2008 at 12:43:17 -

Lol yes, I remember that happening to me.

 
You can log off any time you like, but you can't ever leave.

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
29th September, 2008 at 13:16:11 -

It's not just sprites for me. Background objects in the layers above the player get replaced too.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

-Nick-

Possibly Insane

Registered
  24/11/2002
Points
  2468

VIP Member
29th September, 2008 at 14:10:02 -

Are we talking about when an object suddenly gets the graphic of another object?

I occaisionally (very rarely... like i've seen it twice) get that in my game, where a piece of track in Project: Roller Coaster flickers onto a button graphic, then straight back to being track again, it only lasts one frame.

Image Edited by the Author.

 
Project: Roller Coaster is on it's way!
http://www.projectrollercoaster.co.uk/
http://www.craftsncreatures.com

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
29th September, 2008 at 14:11:09 -


Originally Posted by alspal
I had a graphics bug with Ainevoltas2 where sprites replace each at random.



I remember that!

Torches sometimes became Richter, and the rats turned into another enemy. I hate when stuff is supposed to work but for some weird bug in the system it doesn't.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
29th September, 2008 at 14:24:45 -

I think that bug is to do with installing the HWA Beta somehow... I was building Ainevoltas 2 at the time and it only happened after I had HWA.

It was mighty weird to see the frogs turn into water tiles!

 
Image
http://bfollington.tumblr.com

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
29th September, 2008 at 16:29:41 -

Well I hope the full HWA fixes it!

I'm doing a big drive format in a couple of hours and I won't install the HWA beta and see how it goes. It's the only bug I get in my game!

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
29th September, 2008 at 20:00:09 -

That bug is a memory out of bounds error. You have too much data of some kind in an array in the MMF architecture, and when it attempts to address a new item, it shunts the data into the next memory location, which is typically graphical, leading to graphics glitches that seem incredibly random; graphics replace each other, get pasted into multiple directions, etc. I had this happen with gridquest, and I traced down what was causing it in TGF:

When you exceed a certain amount of events in a specific COLUMN of the event editor, and perhaps only in specific objects, like the sound object, adding a new event will corrupt your program. The pointer to the sound file will transfer itself into a random memory location, and your game gets corrupted and dies. I found this limit to be 256 events, iirc; adding a 257th sound file would destroy the program. My workaround solution was to instead have it so that all "play sound" events put a flag on an object, and that flag would trigger the sound event later on. So all of the sounds used in multiple places now only needed a single event.

Thats just one example of how it could write to a bad memory location. Having too many active objects, or too large an area, or god knows what, could all exceed MMF's limits. HWA could be buggy and write to places it shouldn't. Etc.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
29th September, 2008 at 21:24:48 -

It does seem to happen in specific frames, but they all have the same objects and coding as each other. The only difference is how the levels are laid out and the size of the frame. I've been meaning to alter the frames that have this bug. See if it achieves anything.

Achievement Unlocked - Fixed MMF bug?

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com
   

Post Reply



 



Advertisement

Worth A Click