Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • SOUPSOUP: just get a vpn
      August 13, 2018, 06:44:28 PM
    • jme: _^_ will answer all of your javascript questions
      August 12, 2018, 07:11:00 PM
    • doomsale: and where is boxman?
      August 10, 2018, 03:16:59 AM
    • doomsale: Where can i play the Moparscape MMORPG with the Metallica instrumentals?
      August 10, 2018, 03:16:47 AM
    • doomsale: no longer clicking on doors and dummies at east bank
      August 10, 2018, 03:16:07 AM
    • doomsale: were all grown up now huh?
      August 10, 2018, 03:15:58 AM
    • _^_: hey everyone look at my graphs [link]
      August 06, 2018, 01:52:16 PM
    • braedyn: Someone pl0x help me out with PI Lottery!!
      August 03, 2018, 02:12:25 AM
    • Travas: p3n1s
      July 26, 2018, 09:46:33 PM
    • Krackkid: You up :eggplant:
      July 23, 2018, 06:18:17 PM
    • DeathsChaos9: no
      July 23, 2018, 03:53:31 PM
    • Emulous: Come check out Emulous: [link]
      July 22, 2018, 03:37:19 PM
    • Emulous:[link]
      July 22, 2018, 03:37:00 PM
    • Travas: ur mom
      July 21, 2018, 06:04:50 PM
    • YNRDAB: Watcha big ballers up too?
      July 20, 2018, 11:01:06 AM
    • dark250: i need help for coding client
      July 19, 2018, 08:27:37 AM
    • Travas: yes
      July 14, 2018, 02:19:44 PM
    • drubrkletern: lmao racist and sexist much?
      July 14, 2018, 01:11:52 PM
    • Cole1497: yeah i got you lil boat give me a second
      July 13, 2018, 03:19:35 AM
    • B0ATY.: yo can anyone unban my ip, i got banned for saying i hope someone gets aids :p
      July 12, 2018, 09:16:00 PM

    Author Topic: PietyPk/Project-Role [PI] No Antileech - Fully Working - Customs  (Read 24998 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinehaviland4

    • Member
    • ****
    • Posts: 366
    • Thanks: +0/-0
      • View Profile
      • Rune-X-Scape3
    Pietypk/Project-Rolex

     ;D:|:confused::o:P:rolleyes::cool:


    Fully Working
    Customs
    No Anti-Leech
    So Much More hope you enjoy

    PietyPk Main Server is ran by myself non leech!





    Download: %20Package.rar

    Code: [Select]
    Type:Winrar

    Content:Package Folder

    Client Webclient,Cache perfect for you!







    Sorry i didn't add loads of information and photos!

    Any Problems contact me via skype:haviland41

    Support me via paypal for PietyPk/Project-Rolex v2 Would be amazing!


    So many more features within this release!

    Extra features:

    Custom Icons ingame
    Custom Rooms and Zones
    Npc Kill Shop
    Pk Point Shop
    Amazing Donator zone with loads of shops!
    So many commands with npc drop commands example ::npcdrops
    Custom weens - scrafs - rainbow phats - wings and much more!

    Features:

    Custom Items and Monsters
    All levels go to 125
    So Many Commands!
    Perfect No lagg or disconneting
    Nex
    god wars
    all skills working 100%
    add working lottery
    all ladders working 100%
    donator area
    donator only items
    add loads of good customs
    admin zone
    dupes fixed
    quests
    better Banner
    dual arena 100%
    better member system
    training zone.



    Code: [Select]
    i have updated the cache and changed the r icon to a quest blue tab!
    the up to date cache is inside the package folder but not added to the automatic cache download.

    Please Replace the content below in your cachedownloader.java

    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.FileWriter;
    import java.io.BufferedWriter;
    import java.io.BufferedOutputStream;
    import java.io.BufferedInputStream;
    import java.io.FileOutputStream;
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.net.URLConnection;
    import java.net.URL;
    import java.util.zip.ZipFile;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    import java.util.Enumeration;

    import sign.signlink;

    public class CacheDownloader {

    private client client;

    private final int BUFFER = 1024;

    private final int VERSION = 5; // Version of cache
    //private String cacheLink = "change these with the cache you gotta upload to dropbox public tho"; // Link to cache
    private String cacheLink = "change these with the cache you gotta upload to dropbox public tho"; // Link to cache

    private String fileToExtract = getCacheDir() + getArchivedName();

    public CacheDownloader(client client) {
    this.client = client;
    }

    private void drawLoadingText(String text) {
    client.drawLoadingText(35, text);
    //System.out.println(text);
    }


    private void drawLoadingText(int amount, String text) {
    client.drawLoadingText(amount, text);
    //System.out.println(text);
    }

    private String getCacheDir() {
    return signlink.findcachedir();
    }

    private String getCacheLink() {
    return cacheLink;
    }

    private int getCacheVersion() {
    return VERSION;
    }

    public CacheDownloader downloadCache() {
    try {
    File location = new File(getCacheDir());
    File version = new File(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat");

    if(!location.exists()) {
    //drawLoadingText("Loading new Updates....");
    downloadFile(getCacheLink(), getArchivedName());

    unZip();
    //System.out.println("UNZIP");

    BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat"));
    versionFile.close();
    deleteZIP(getArchivedName());
    } else {
    if(!version.exists()) {
    //drawLoadingText("~ First Time Installation, Only Once! ~");
    downloadFile(getCacheLink(), getArchivedName());

    unZip();
    //System.out.println("UNZIP");

    BufferedWriter versionFile = new BufferedWriter(new FileWriter(getCacheDir() + "/cacheVersion" + getCacheVersion() + ".dat"));
    versionFile.close();
    deleteZIP(getArchivedName());

    } else {
    return null;
    }
    }
    } catch(Exception e) {

    }
    return null;
    }

    private void downloadFile(String adress, String localFileName) {
    OutputStream out = null;
    URLConnection conn;
    InputStream in = null;

    try {

    URL url = new URL(adress);
    out = new BufferedOutputStream(
    new FileOutputStream(getCacheDir() + "/" +localFileName));

    conn = url.openConnection();
    in = conn.getInputStream();

    byte[] data = new byte[BUFFER];

    int numRead;
    long numWritten = 0;
    int length = conn.getContentLength();


    while((numRead = in.read(data)) != -1) {
    out.write(data, 0, numRead);
    numWritten += numRead;

                int percentage = (int)(((double)numWritten / (double)length) * 100D);
    drawLoadingText(percentage, "Downloading Cache " + percentage + "%...");

    }

    System.out.println(localFileName + "\t" + numWritten);
    drawLoadingText("Unpacking..");

    } catch (Exception exception) {
    exception.printStackTrace();
    } finally {
    try {
    if (in != null) {
    in.close();
    }
    if (out != null) {
    out.close();
    }
    } catch (IOException ioe) {
    }
    }

    }

    private String getArchivedName() {
    int lastSlashIndex = getCacheLink().lastIndexOf('/');
    if (lastSlashIndex >= 0
    && lastSlashIndex < getCacheLink().length() -1) {
    return getCacheLink().substring(lastSlashIndex + 1);
    } else {
    //System.err.println("error retreiving archivaed name.");
    }
    return "";
    }




    private void unZip() {

    try {
        InputStream in =
    new BufferedInputStream(new FileInputStream(fileToExtract));
    ZipInputStream zin = new ZipInputStream(in);
    ZipEntry e;

    while((e=zin.getNextEntry()) != null) {

                   if(e.isDirectory()) {
    (new File(getCacheDir() + e.getName())).mkdir();
                   } else {

    if (e.getName().equals(fileToExtract)) {
    unzip(zin, fileToExtract);
    break;
    }
           unzip(zin, getCacheDir() + e.getName());
    }
    //System.out.println("unzipping2 " + e.getName());
    }
    zin.close();

    } catch(Exception e) {
    e.printStackTrace();
    }
    }

    private void deleteZIP(String fileName){
        // A File object to represent the filename
        File f = new File(getCacheDir() + fileName);

        // Make sure the file or directory exists and isn't write protected
        if (!f.exists())
          throw new IllegalArgumentException(
              "Delete: no such file or directory: " + fileName);

        if (!f.canWrite())
          throw new IllegalArgumentException("Delete: write protected: "
              + fileName);

        // If it is a directory, make sure it is empty
        if (f.isDirectory()) {
          String[] files = f.list();
          if (files.length > 0)
            throw new IllegalArgumentException(
                "Delete: directory not empty: " + fileName);
        }

        // Attempt to delete it
        boolean success = f.delete();

        if (!success)
          throw new IllegalArgumentException("Delete: deletion failed");

    }

    private void unzip(ZipInputStream zin, String s)
    throws IOException {

    FileOutputStream out = new FileOutputStream(s);
    //System.out.println("unzipping " + s);
    byte [] b = new byte[BUFFER];
    int len = 0;

    while ((len = zin.read(b)) != -1) {
    out.write(b,0,len);
    }
    out.close();
    }
    }

    Feedback would be amazing! on my release of the first start of the PietyPk/Project-Rolex

    Edit:The Main Project-Rolex & PietyPk have permission!  :cool:

    Asking for a forums staff member to approve this download!

    Download Package: %20Package.rar



    « Last Edit: March 24, 2014, 04:18:27 AM by haviland4 »
    Runescape Gambling

    OfflineJoeBenton2014

    • Member
    • **
    • Posts: 85
    • Thanks: +0/-0
      • View Profile
    Deathly PvPz 4.1 Leech.

    Them customs are horrid..

    OT: Nice, I guess  :|
    Quote
    Originally Posted by Jack Daniels  View Post
    Why wouldn't it work for PI? Do PI programmers use a different kind of Java or something?

    www.runepwn.net
    Runescape Gambling

    Offlinehaviland4

    • Member
    • ****
    • Posts: 366
    • Thanks: +0/-0
      • View Profile
      • Rune-X-Scape3
    Deathly PvPz 4.1 Leech.

    Them customs are horrid..

    OT: Nice, I guess  :|

    Thanks mate
    yeah i did give most of my credits to deathlypvpz
    Runescape Gambling

    OfflineJoeBenton2014

    • Member
    • **
    • Posts: 85
    • Thanks: +0/-0
      • View Profile

    Credits:

    Me:10%
    Deathlypvpz 80%
    PietyPk 10%

    Okay so I know you own PietyPk, so why have you put credits to them and you?  :confused:
    Quote
    Originally Posted by Jack Daniels  View Post
    Why wouldn't it work for PI? Do PI programmers use a different kind of Java or something?

    www.runepwn.net

    OfflineTinyScape

    • Dr House is a fool
    • Member
    • ****
    • Posts: 3,680
    • Thanks: +0/-0
      • View Profile
    You should remove the percentages from the credits as the rules state not to use them.
    Coming Soon

    OfflineRUNE-PK

    • Member
    • ****
    • Posts: 524
    • Thanks: +0/-0
      • View Profile
    You should remove the percentages from the credits as the rules state not to use them.

    Unless you have the exact percentages.
    TINYSCAPE IS A BADASS
    ------------------------------------------|

    (click to show/hide)
            
    ------------------------------------------|

    OfflineTinyScape

    • Dr House is a fool
    • Member
    • ****
    • Posts: 3,680
    • Thanks: +0/-0
      • View Profile
    Those percentages are not accurate and should not be used.


    Joe,
    There's no need to repeat what he has already said.
    « Last Edit: March 18, 2014, 04:29:46 AM by TinyScape »
    Coming Soon

    Offlineboltano

    • Member
    • **
    • Posts: 59
    • Thanks: +0/-0
      • View Profile
    This is Karmascape Source I am the main owner of Karmascape PLEASE TAKE DOWN THIS THREAD NOW! read the cache text file I will take illegal Action. You have no right TAKE DOWN THIS THREAD

    Offlinenaseem142

    • Member
    • ****
    • Posts: 1,029
    • Thanks: +0/-0
      • View Profile
    This is Karmascape Source I am the main owner of Karmascape PLEASE TAKE DOWN THIS THREAD NOW! read the cache text file I will take illegal Action. You have no right TAKE DOWN THIS THREAD

    You can't do anything about it , It's not even yours in the first place.. It's jagex's and once it's released anybody can take it ;)

    Offlinehaviland4

    • Member
    • ****
    • Posts: 366
    • Thanks: +0/-0
      • View Profile
      • Rune-X-Scape3
    You should remove the percentages from the credits as the rules state not to use them.

    i have removed the percentages from the credits for you.  ;)
    « Last Edit: March 18, 2014, 07:09:10 AM by haviland4 »

    Offlineboltano

    • Member
    • **
    • Posts: 59
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #10 on: March 18, 2014, 07:33:49 AM »
    take this thread downi dident give you premission to release this.

    OfflineJoeBenton2014

    • Member
    • **
    • Posts: 85
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #11 on: March 18, 2014, 08:40:40 AM »
    take this thread downi dident give you premission to release this.

    I know haviland4, This is not yours. Just because you leeched DeathlyPvPz doesnt mean its yours.

    Mod, Do not take this down.
    Quote
    Originally Posted by Jack Daniels  View Post
    Why wouldn't it work for PI? Do PI programmers use a different kind of Java or something?

    www.runepwn.net

    Offlineboltano

    • Member
    • **
    • Posts: 59
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #12 on: March 18, 2014, 09:44:52 AM »
    Dude wtf. I don't use deathlypvpz that's haviland lol that's my source fudge you

    Take this down or I'll take it down myself don't try me..

    Offlinenaseem142

    • Member
    • ****
    • Posts: 1,029
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #13 on: March 18, 2014, 09:46:08 AM »
    Dude wtf. I don't use deathlypvpz that's haviland lol that's my source fudge you

    Take this down or I'll take it down myself don't try me..

    What are you trying to do?

    Offlinef3rsport

    • Member
    • **
    • Posts: 54
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #14 on: March 18, 2014, 10:44:20 AM »
    dude, you make me cry... How the people can use this shitty base?

    Offlinehaviland4

    • Member
    • ****
    • Posts: 366
    • Thanks: +0/-0
      • View Profile
      • Rune-X-Scape3
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #15 on: March 18, 2014, 12:16:10 PM »
    Dude wtf. I don't use deathlypvpz that's haviland lol that's my source fudge you

    Take this down or I'll take it down myself don't try me..

    im sorry but i wont take this down you have no permission for this to be removed.  :palm:
    contact me via skype:haviland41


    Offline1heart2body

    • Member
    • **
    • Posts: 37
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #16 on: March 20, 2014, 06:31:34 AM »
    This is Karmascape Source I am the main owner of Karmascape PLEASE TAKE DOWN THIS THREAD NOW! read the cache text file I will take illegal Action. You have no right TAKE DOWN THIS THREAD
    if ur main owner of karmascape i have ur V3.. want me to release now?

    Offlinelare69

    • Member
    • ****
    • *
    • Posts: 5,322
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #17 on: March 20, 2014, 12:26:46 PM »
    This is Karmascape Source I am the main owner of Karmascape PLEASE TAKE DOWN THIS THREAD NOW! read the cache text file I will take illegal Action. You have no right TAKE DOWN THIS THREAD
    you're an idiot, I'm 99.9% sure you didn't license the code so he can do whatever he wants
    hi. check out luna:)

    OfflineAshi

    • Member
    • ****
    • Posts: 3,584
    • Thanks: +0/-0
      • View Profile
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #18 on: March 20, 2014, 12:30:41 PM »
    This is Karmascape Source I am the main owner of Karmascape PLEASE TAKE DOWN THIS THREAD NOW! read the cache text file I will take illegal Action. You have no right TAKE DOWN THIS THREAD
    Illegal action yeah?

    OT: I'm liking the Pokemon!

    Offlinehaviland4

    • Member
    • ****
    • Posts: 366
    • Thanks: +0/-0
      • View Profile
      • Rune-X-Scape3
    Re: PietyPk/Project-Rolex [PI] No Antileech - Fully Working - Customs
    « Reply #19 on: March 20, 2014, 04:23:22 PM »
    This is Karmascape Source I am the main owner of Karmascape PLEASE TAKE DOWN THIS THREAD NOW! read the cache text file I will take illegal Action. You have no right TAKE DOWN THIS THREAD
    Illegal action yeah?

    OT: I'm liking the Pokemon!

    Cheers mate sorry about the llegal action notepad thats nothing to do with me i totally forgot to remove it.
    hope you enjoy the server its a fun project  :)

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal