Jump to content

Enyby

Administrators
  • Content Count

    7,306
  • Donations

    $0.00 
  • Joined

  • Last visited

  • Days Won

    649

Posts posted by Enyby


  1. 23 minutes ago, provsnoobgaming said:

    on another phone

    Not in count.

    You must find old version which work here or this is your firmware issue.


  2. Parallel Space Pro + 32-Bit Support + 64-Bit Support


    Requires Android: Android 4.0.3-4 / Ice Cream Sandwich MR1 or later.

    There is support for x86.

    Video:

     

    Before installing the optimized version, uninstall the version from Google Play.
    Differences of the optimized version: no error 105.

     

    About second apk (32-Bit Support):

    Quote

    Parallel Space Pro 32-Bit Support
    This app helps to make legacy 32-bit Unity games to work well in Parallel Space Pro
    • Improved the stability of Parallel Space Pro
    • Fixed the compatibility issue between Parallel Space Pro and 32-bit devices that run Android Q

    Note: The app is an add-on for Parallel Space Pro. Please install Parallel Space Pro on your phone first.

     

    About third apk (64-Bit Support):

    You do not need to install it if you do not intend to crack 64-bit games.

    Quote

    Parallel Space Pro 64-Bit Support
    This app helps improve the performance of Parallel Space Pro and solve a following issue:
    • Improved the stability of Parallel Space Pro
    • Fixed the compatibility issue between Parallel Space Pro and 64-bit devices that run Android 6.0 or 6.0.1 (e.g. fixed the issue that screen possibly turns black while opening 2nd apps in Parallel Space Pro)

    Note: The app is an add-on for Parallel Space Pro. Please install Parallel Space Pro on your phone first.

     


     


  3. Avoid use global variables

    Global variables is slow.

    Also if you put

    local gg = gg

    At top of your script it can speed up it. Just one line.

    Now see tests:

    local n = 1000000
    
    local t = os.clock()
    for i = 1, n do
    	gg.isVisible()
    end
    t = os.clock() - t
    print('use global gg: '..t..' seconds')
    
    local gg = gg
    local t = os.clock()
    for i = 1, n do
    	gg.isVisible()
    end
    t = os.clock() - t
    print('use local gg: '..t..' seconds')
    
    a, b, c = 1, 2, 3
    local t = os.clock()
    for i = 1, n do
    	c = a + b
    end
    t = os.clock() - t
    print('use global vars: '..t..' seconds')
    
    local a, b, c = 1, 2, 3
    local t = os.clock()
    for i = 1, n do
    	c = a + b
    end
    t = os.clock() - t
    print('use local vars: '..t..' seconds')

    Results:

    use global gg: 2.138 seconds
    use local gg: 1.6 seconds
    use global vars: 2.068 seconds
    use local vars: 0.727 seconds

    It is not big difference, because I run it on powerful emulator. On real device it can be more slow.

    You can see disassembled code - for global vars need more Lua instructions, so it more slow in any case.

    Upvalue too slow, Because of that better define local copy of var in places where you need optimization. For example huge math.


  4. On 6/18/2019 at 9:03 PM, BadCase said:

    i have a interesting experiment that we can do, you can write and encode a script in a fashion that makes it impossible for a user to steal it and post it here and we can see how long it takes for users to post an unencrypted version of the script, it should be pretty simple for you to write one that cant have the code stolen... 

    You asked me how to protect scripts from decompiling. You needed an example.
    To protect against decompilation, I added assembler / disassembler scripts.
    Now you can disassemble the script, change the assembler listing, and then assemble it.
    So you can get a binary script that no decompiler can decompile.
    I have no specific example yet, maybe I will provide it later.


  5. 1. No. But you can add special item with this meaning. If user check it - act like he check all items. name this options as "check all" or similar.

    2. I do not understand what you talking about.

    You can use any data from previous prompt. For build another prompt, Or for search. As text or as number. All up to you.

×
×
  • Create New...