Encrypt the aslx source

meisernator
hi,
i am ready with my first quest game. But i want to hide the final solution for the game from the player. Simply a download from the "play"-site will give the player all infos if he look into the sourceaslx. Is there a "encrypt" function in the quest editor to hide messages in the source aslx file (and hide the key)? Or is it possible to encrypt the whole file before upload to textadventures.co.uk? I ve read in the forum that the version 4 has the ability to encrypt the asl file but i cant find it in the 5.6.2 editor.
thanks

The Pixie
I think the simple answer is no. If the final solution is a password or keycode, you could encrypt that using JavaScript, perhaps.

meisernator
Is it possible to integrate a javascript function in the aslx? All i can see ist the "Run JavaScript"-script in "Output".

meisernator
I found out that in the "advanced" region is a branch for javascript. I will try it.

meisernator
Is there a way to print a message with the return of a javascript function?

My approach was:
msg(window.atob("TjUxsCA1MS4xMjMgRTAwNrAgMzkuNDU2"))
but it do not work.

To call a js-function (call function) e.g.
base64.encode("TjUxsCA1MS4xMjMgRTAwNrAgMzkuNDU2")
wich i loaded as an external javascript dont work neither.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums