CLICK THE TITLE OF THE VIDEO TO FIND THE DOWNLOAD LINK !

Create mlbb script patcher


Code for mlbb patcher by Roderick v. Almaras

    1. Copyrighted © since march,30,2020
    2. Create variable string name it-
    3. output
    4. filename
    5. src
    6. path

  1. Add more blocks

  1. extract-string-src-output the add
  2. addsourcedirectory put this code inside

  3. UnZip unZip = new UnZip();
  4. unZip.unZipIt(_src, _output);



  1. library-string-add

  2. addsourcedirectory out this inside

  3. }
  4. public class UnZip {
  5. List<String> fileList;
  6. public void unZipIt(String zipFile, String outputFolder){
  7. byte[] buffer = new byte[1024];
  8. try{
  9. java.util.zip.ZipInputStream zis = new java.util.zip.ZipInputStream(new java.io.FileInputStream(zipFile));
  10. java.util.zip.ZipEntry ze = zis.getNextEntry();
  11. while(ze!=null){
  12. String fileName = ze.getName();
  13. java.io.File newFile = new java.io.File(outputFolder + java.io.File.separator + fileName);
  14. new java.io.File(newFile.getParent()).mkdirs();
  15. java.io.FileOutputStream fos = new java.io.FileOutputStream(newFile);
  16. int len;
  17. while ((len = zis.read(buffer)) > 0) {
  18. fos.write(buffer, 0, len);
  19. }
  20. fos.close();
  21. ze = zis.getNextEntry();
  22. }
  23. zis.closeEntry();
  24. zis.close();
  25. }catch(java.io.IOException ex){
  26. ex.printStackTrace();
  27. }
  28. }


For inject button blocks



  1. /storage/emulated/0/Android/data/com.mobile.legends/files/dragon2017/assets/ui/android/
  2. rodtechph.zip
  3. storage/emulated/0/Download/rodtech ph.zip
  4. /storage/emulated/0/Android/data/com.mobile.legends/files/dragon2017/assets/ui/android/rodtech ph.zip
For oncreate blocks

  1. /storage/emulated/0/Android/data/com.mobile.legends/files/dragon2017/assets/ui/android

For download button
App ng ml buksan sa button blocks on click
  1. Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.mobile.legends");
  2. if (launchIntent != null) {
  3. startActivity(launchIntent);
  4. }

Comments

Popular posts from this blog