The Daily Click ::. Forums ::. Klik Coding Help ::. Really weird Directory Packer issue.
 

Post Reply  Post Oekaki 
 

Posted By Message

The_Antisony

At least I'm not Circy

Registered
  01/07/2002
Points
  1341

VIP MemberStarSnow
2nd February, 2012 at 17:44:43 -

I've been using directory packer to group together four .zip files so a user can't edit the files before running my app. For some reason, the directory packer works and creates the file, but refuses to unpack it. I've had my app hang four or five different times now, but that's aside from the point. Just to make sure no file corruption going on, I repacked everything and used directory packer again.

Now, when I get to the screen that's supposed to unpack the directory, there are two events.
Directory Packer: Unpacking Finished -> Jump to frame 3.
Directory Packer: Unpacking Failed -> Set String to "Unpacking failed".

The screen starts and the file exists in the correct directory, but now instead of hanging, it almost instantly jumps to frame 6. Frame 6; not frame 3... and there's no mention of a failed unpacking, even though it's completely clear the object actually did fail to unpack.

So, I tried to delete and re-create the event that jumps to frame 3. It still jumps to frame 6 instead. I figured perhaps the extension was throwing a fit because the directory I wanted to unpack to didn't exist, so I created it. Still no go.

What the crap? I am so confused right now. I've had plenty of forehead-slap moments in the past couple of months, but I have looked and looked through my event scripting and there's absolutely no mention of frame 6. Anybody know what's happening? If not, can anybody shoot me an alternative?

 
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?

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48488

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
2nd February, 2012 at 23:22:58 -

Can you send it to a completely different frame (ie, Frame 100), then place an event in that frame that sends you back to Frame 3 immediately, as a workaround?

 
n/a

The_Antisony

At least I'm not Circy

Registered
  01/07/2002
Points
  1341

VIP MemberStarSnow
3rd February, 2012 at 06:48:44 -

Yeah, I was considering that. SortaCore threw me a utility that works the same way with a few command line arguments. I was just wondering if it was a known issue with the extension. I checked a few bug logs and didn't find anything that related. I removed the events and the directory packer object and my app jumped me to frame six correctly. I assume the extension is to blame.

I thought perhaps directory packer didn't like packing archives, so I tried it again with a different directory source and it worked. Packed and unpacked... then jumped to frame six (not frame three. Awesome). I tried it with three zip files and three rar files, and it still worked with the exception of the frame jump. I switched back to my original source, and it packed them but wouldn't unpack them. I think I pretty much killed the troubleshooting, but to no avail. The extension is just buggy; that's as much as I can only assume.

Thanks for your help though, Circy. How goes the forum consolidation? Good idea, by the way. It likely won't boost forum activity, but there's no sense in keeping around empty forums that never get posts (*cough* V.I.P. *cough*).

 
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