The Daily Click ::. Forums ::. Klik Coding Help ::. My events... vanished?
 

Post Reply  Post Oekaki 
 

Posted By Message

Fifth

Quadruped

Registered
  07/05/2003
Points
  5818

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
12th August, 2008 at 23:10:31 -

Well, this was certainly a frightening happening.
A few days ago I was working on my game, adding a new enemy, when I noticed that the enemy's attack (which I was reusing from a previous enemy) was no longer working properly. I looked into the code to find that most of the event associated with the object have completely disappeared, specifically all the events in the group labeled "Attacks/Effects". I checked against a recent backup and re-found my code, finding that one of the missing events still existed as a shell, but only because of a condition that referenced a different object entirely. It was just like what would happen to the events if you straight-up deleted the object: all traces of it had vanished... but only from that particular group.

Anyway, I successfully found and fixed the code from the backup, only to find today a few more objects that weren't behaving as they should. All of them have disappeared in a similar manner, all the events disappearing from the same group (with two exceptions.) I can only assume that these objects' code all disappeared at the same time (I looked back in the "wary" file I had saved during the first scare to find these new objects messed up there as well), but there's really no indication of when all this happened or why... I've had problems before, with groups or objects going bad, but I've always been able to tell when it happened... but events discretely vanishing? That scares me. What if it's a more important chunk of code next time? Or what if I can't fix it...? What if this starts happening all the time? I'd never know!

Has this kind of thing ever happened to anybody else? Does anybody know what could cause such a thing? Would it possibly have anything to do with overloading a frame with objects and events? I do all my coding in a single frame, so I hope I'm not coming up to any sort of a limit... I'm not done yet!

Any insight would be helpful... this is the first time I've heard of such a problem!

 
Go Moon!

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
12th August, 2008 at 23:18:29 -

Are you doing any copying of events? That messes things up for some people I've heard... MMF2?

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Fifth

Quadruped

Registered
  07/05/2003
Points
  5818

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
12th August, 2008 at 23:35:53 -

MMF2, yes.

And the only trouble I've ever had with copying events is in the event list... so tempting a time-saver, up until your objects start disappearing.

But I've since stopped doing that. I still copy-paste plain-ol' events, but I've been doing that for as long as I've been Clicking, and with no consequence...

 
Go Moon!

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
12th August, 2008 at 23:42:31 -

Yeah me too, don't remember who but someone said they had problems when doing it.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
12th August, 2008 at 23:46:39 -

Well, I was going to say I was having trouble with this in my compo entry, but I use TGF. So I doubt the solution would help.

 

  		
  		
   

Post Reply



 



Advertisement

Worth A Click