Plugin encryption (create .plugin file)

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
CommanderABab
AB
Reactions:
Posts: 9132
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: [Beta]Plugin encryption

#21

Post by CommanderABab »

It only encrypts folders in the root plugin directory.
Image

User avatar
Lobby
Developer
Reactions:
Posts: 3632
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Re: [Beta]Plugin encryption

#22

Post by Lobby »

Please send me your files als well as your plugin file so I can test it myself.
=^._.^= ∫

User avatar
Lobby
Developer
Reactions:
Posts: 3632
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Re: [Beta]Plugin encryption

#23

Post by Lobby »

Please try to match the case (of letters) of image names in your plugins. Otherwise they might not be found...
Will be fixed.
=^._.^= ∫

User avatar
Lobby
Developer
Reactions:
Posts: 3632
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Re: [Beta]Plugin encryption

#24

Post by Lobby »

From ZipInputStream.available() Java Documentation:
Returns 0 after EOF has reached for the current entry data, otherwise always return 1.
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
So this method should return a value >0 if there're data available to be read. Unfortunately it looks as if some implementations don't follow this documentation and return always 0. That's why it couldn't extract plugin files properly on some devices.

The fix is to ignore available() and just try to read the data :teach
=^._.^= ∫

SenyaBell
Bell
Reactions:
Posts: 865
Joined: Fri Oct 02, 2020 11:18
Location: Saratov
Plugins: Show
Version: Beta
Contact:

Platform

Re: Plugin encryption (create .plugin file)

#25

Post by SenyaBell »

Screenshot_20171005-014903.png
Screenshot_20171005-014903.png (63.11 KiB) Viewed 187 times
export:{dir:"text"}

User avatar
Kiki012
Inhabitant of a Megacity
Reactions:
Posts: 162
Joined: Mon Jan 06, 2020 9:57
Location: Indonesia
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Plugin encryption (create .plugin file)

#26

Post by Kiki012 »

Lobby wrote:
Thu Oct 05, 2017 1:55
Screenshot_20171005-014645.pngScreenshot_20171005-014903.pngScreenshot_20171005-014917.png

:teach
Thanks
Image
🅿🆁🅴🆂🅸🅳🅴🅽🆃 🅾🅵 🅽🅴🆆 🅶🅻🅴🅽🅸🅰 🆂🆂🆁

>
Contact
=======
Kontak
<

:)
click this
:)


Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”