The Daily Click ::. Forums ::. Klik Coding Help ::. When an Active Object doesn't fully delete
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
15th August, 2014 at 15/08/2014 12:57:16 -

I have some objects that stay in my object library for that frame after deleting them. Selecting the Active from the library shows no properties, unlike everything else in the list.

This is probably because there are some events somewhere that they are tied to, although when you delete an Active Object, I thought it was supposed to tell you it would also delete any events associated with it..? (It usually does this)

Edit: Just deleted all my events and they refuse to leave. Turns out there are a lot of these objects. I also tried deleting all my Layers, but even with no events at all, it tells me I can't delete a layer with Events tied to it, or some similar message like that. Is my project really messed up?

Edited by -Liam-

 
Image

Tell 'em Babs is 'ere...

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49566

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
15th August, 2014 at 15/08/2014 19:28:14 -

Yeah this is the age old "bad object" bug.

Just copy all of the objects in your frame to a new frame then copy the code.
The bad objects should disappear. Then delete the old frame. Done!

 
n/a

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
15th August, 2014 at 15/08/2014 23:26:25 -

Thanks UrbanMonk - This could be a bit difficult as it's over numerous layer and frames, I don't suppose it's a bad idea to leave them as it is?

 
Image

Tell 'em Babs is 'ere...

Pan-tosser



Registered
  24/10/2008
Points
  520

Has Donated, Thank You!
16th August, 2014 at 16/08/2014 17:09:25 -

i feel for you. but i agree best thing to do is rebuilt it in a new frame.

One time i had it straighten it's self out. but after that happen the program ran differently than it did before. Under some testing to find out why. i learned all the functions to that count the number of objects weren't counting correctly.

So even though it looked fixed it wasn't. Now when i program i never copy and paste lines of code. or use replace with another object. I use to recommend replace with another object to fix bad object. but you have to really make sure you fixed it for real.

 
https://www.facebook.com/nathon.brown.7

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6946

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
16th August, 2014 at 16/08/2014 17:13:22 -

This bug made me abandon a couple of games I hope you will get it fixed!

 
www.hayovanreek.nl

Jenswa

Possibly Insane

Registered
  26/08/2002
Points
  2722
17th August, 2014 at 17/08/2014 14:31:04 -

Wasn't there some kind of save-trick for this problem?

Like tossing everything out that you don't need and save in a new file instead of overwriting the current one???

 
Image jenswa.neocities.org

Hagar

Administrator
Old klik fart

Registered
  20/02/2002
Points
  1692

You've Been Circy'd!Teddy Bear
29th August, 2014 at 29/08/2014 11:02:31 -

Ah man, I feel for you. I thought this nonsense had gone along with TGF1.

 
n/a

nim



Registered
  17/05/2002
Points
  7233
29th August, 2014 at 29/08/2014 12:44:09 -

Any update on this, Liam? Hope you got it sorted out!

 
//

The_Antisony

At least I'm not Circy

Registered
  01/07/2002
Points
  1341

VIP MemberStarSnow
30th August, 2014 at 30/08/2014 17:46:38 -

Aside from the Bad Object bug, this can also happen if you delete an object associated with a "create object" or "shoot an object" event. The library will retain the object even if it's deleted from the frame editor. Create object events can be easy to miss as they don't appear in the same column as object-filtered results. If you find any, delete them and save again. The active should disappear from the library at that point.

 
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?
   

Post Reply



 



Advertisement

Worth A Click