Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ VBScript.Encode does not work

VBScript.Encode does not work

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Tue 17 Feb 2004 12:16 AM (UTC)

Amended on Tue 17 Feb 2004 12:22 AM (UTC) by Poromenos

Message
I don't know if i did something wrong, but i encrypted my script and set the language to vbscript.encode and i got an error which mainly said that MC doesn't understand what the script is... Could anyone help with that?
By the way, the script is:
(Removed because it scrolls a lot and you probably wouldn't use it anyway)

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #1 on Tue 17 Feb 2004 12:18 AM (UTC)
Message
I am a horrible, horrible person... Sorry about the scrolling :(

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #2 on Tue 17 Feb 2004 12:21 AM (UTC)
Message
By the way, windows script encoder:
http://download.microsoft.com/download/0/0/7/0073477f-bbf9-4510-86f9-ba51282531e3/sce10en.exe

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,169 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 17 Feb 2004 06:22 AM (UTC)
Message
I downloaded the scrcode or srccode or whatever it is called, and encoded the script alright, but when I put it into a plugin it simply didn't seem to decode it, it just objected to the encoded text.

Is that what happened to you?

BTW - have you tried using Greek letters in Unicode? Does it work?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #4 on Tue 17 Feb 2004 10:55 AM (UTC)

Amended on Tue 17 Feb 2004 10:13 PM (UTC) by Nick Gammon

Message
Yes, that's what mine did too... Is MC trying to parse anything?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,169 posts)  Bio   Forum Administrator
Date Reply #5 on Tue 17 Feb 2004 10:15 PM (UTC)
Message
I moved your Unicode response to the Unicode thread.

No, MUSHclient is just using the Vbscript.Encode engine, as you requested. The error seems to be from the script engine. Perhaps it doesn't work inside scripts, only web pages.

Anyway, I did what you wanted, it isn't my fault that Microsoft's script engine isn't working. ;)

In any case I still think that the idea won't really work. Whilst searching for the encoder I came across dozens of sites that offered small programs that would decode encoded scripts. So, if you wrote a script, and tried to charge money for it, and someone didn't want to pay, they would find the decoder, so I don't think you are much better off.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #6 on Wed 18 Feb 2004 11:14 PM (UTC)
Message
True, Microsoft states that the encoder will only prevent casual viewing of scripts... It's really handy if you want to distribute a script to other people but you don't want them to copy the source code or see how it works... I'll test it some more and see what's going on...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,860 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.