PDA

View Full Version : openEncryptedFile Crashes....


Gibbz
03-28-2006, 10:15 AM
ok im looking at using
openEncryptedFile

eg

test = openEncryptedFile "locked.dat" 65

now this works fine, unless I encrypt the script this is contained within. Then it crashes fiving the following error....

--syntax error: at bad , <expected factor>
-- in line: create dialog myrollout "rollout" width:110 height :768(theres a square here)

Any ideas?

Gibbz
03-28-2006, 10:29 AM
hrmm ok this works fine when not in a on
myRollout open do ()

but if its within that it dies.....

scorpion007
03-29-2006, 06:15 AM
Aha! I have the exact same problem. You can check my earlier thread: http://forums.cgsociety.org/showthread.php?t=330852

Looks like a maxscript bug to me.

Gibbz
03-29-2006, 12:04 PM
i found a work around for it, a hack as you could say ;P

basically use a timmer loop and put it in there :) set it to only check the first time...

CGTalk Moderation
03-29-2006, 12:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.