Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • Striker Fox2: download it
      Today at 03:26:06 AM
    • Zezuma09: how do i get this game started ?
      October 22, 2017, 03:24:27 AM
    • Striker Fox2: Much more on General Board
      October 21, 2017, 04:30:25 AM
    • Striker Fox2: New price guide link [link]
      October 21, 2017, 04:30:18 AM
    • Striker Fox2: New discord link [link]
      October 21, 2017, 04:30:03 AM
    • Saltyspade10: If you are new and reading this, stick around becaus it's a great server and community! Hope to see you in-game :)
      October 21, 2017, 02:44:16 AM
    • damian6: hello i wanne buy this server can u add me
      October 20, 2017, 03:54:38 PM
    • Wilkooo: lol jks
      October 20, 2017, 02:39:53 PM
    • Wilkooo: ilyall
      October 20, 2017, 02:39:48 PM
    • tm4dz: why cant i see any download links??
      October 20, 2017, 10:46:55 AM
    • stCky: u dont need to its fudgeing sick
      October 19, 2017, 08:13:13 PM
    • odin stormborn: how do i change my username
      October 19, 2017, 12:16:51 PM
    • qazplm102938: everyone play manicps its best server out there loads to do its badboyyyy - manicps manicps shout out kiteshield
      October 19, 2017, 10:28:21 AM
    • qazplm102938: everyone play manicps its best server out there loads to do its badboyyyy - manicps manicps
      October 19, 2017, 10:11:08 AM
    • Travas: wtf
      October 19, 2017, 07:37:52 AM
    • stCky: Adaro, you are a threat to the communities image, yes
      October 18, 2017, 02:53:43 PM
    • Krackkid: Hello everyone it is I, Krackkid.
      October 18, 2017, 07:21:56 AM
    • soma_: Does anyone have an updated link to a blank Source / Client? 317/508
      October 18, 2017, 04:57:44 AM
    • michaeltrailer: olm t pst
      October 18, 2017, 04:52:48 AM
    • Adaro: Strange that staff think I'm a threat when I'm not threatening anyone
      October 18, 2017, 03:07:16 AM

    Author Topic: 857  (Read 1821 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineSir James1996

    • Member
    • **
    • Posts: 89
    • Thanks: +0/-0
      • View Profile
    857
    « on: October 25, 2015, 02:27:59 PM »
    Ive mad some mistake at first now they should all be fixed, for example I fudgeed up the maps now its fixed

    Untouched Client: https://mega.nz/#!7slVnAKI!EvkX6tv5oNdv24PmZhcA2RoGxm7vVN6AMV0sGdn5S_c
    Cache: https://mega.nz/#!Og80VYKa!FcAloxwRsCMybJrOHr5kojcnwx5ZTeq_FlVwXCo9qCw


    Refractored 0.1[/URL]

    Virtue Skeleton[/URL]

    Cache Dir: desktop/data

    The Skeleton only has ondemand complete you will have to do the login yourself because i just took a few seconds to do this and wont update it.
    I shouldn't have even done this because ive released some before for 833 and 857 and all you need to do is change the information in the conatnts class and this will be the last time i can the information for you guys but it was requested so here.

    How do I update/ what do i change?
    When there is do update in to ondemand protocol witch there usually isnt you change
    Ondemand Keys
    Js5 RSA
    Login RSA
    Login Token
    Revision number
    Ondemand token in the constants class

    Theres no errors with it so you shouldnt have any problems from my end, try updating your java see if that work.

    If you have any questions feel free to shoot me a pm
    Information is in the Renamed Client

    Code: [Select]
    Oct 25, 2015 2:42:28 PM org.virtue.openrs.Cache <init>
    INFO: Loaded 49 Cache Indicies
    Oct 25, 2015 2:42:34 PM org.virtue.network.Network bindNetwork
    INFO: Bound Launcher to the network
    Oct 25, 2015 2:42:34 PM org.virtue.network.event.GameEventRepository load
    INFO: Registered 2 game read events.
    Oct 25, 2015 2:42:34 PM org.virtue.network.event.GameEventRepository load
    INFO: Registered 8 game write events.
    Oct 25, 2015 2:42:34 PM org.virtue.Launcher main
    INFO: Launcher Loaded in 6 seconds.
    Oct 25, 2015 2:42:34 PM org.virtue.Launcher main
    INFO: Launcher is currently running on Windows 8 on a(n) x86 architecture.
    Oct 25, 2015 2:42:42 PM org.virtue.network.NetworkHandler channelRegistered
    INFO: Channel is now registered from /127.0.0.1:64134

    Code: [Select]
    FRIEND_CHAT_MESSAGE = new IncomingPacket(32, -1);
    SEND_VARBIT_LARGE = new IncomingPacket(44, 6);
    NPC_ON_ICOMPONENT_PACKET = new IncomingPacket(65, 4);
    STATIC_REGION = new IncomingPacket(103, -2);
    SEND_CS2SCRIPT = new IncomingPacket(110, -2);
    KEEP_ALIVE = new IncomingPacket(113, 0);
    VARC_SMALL = new IncomingPacket(128, 3);
    VARCACHE_RESET = new IncomingPacket(137, 0);
    LOGOUT_PACKET = new IncomingPacket(139, 0);
    WINDOW_PANE = new IncomingPacket(153, 19);
    SEND_LARGE_VARP = new IncomingPacket(166, 6);
    VARC_LARGE = new IncomingPacket(170, 6);
    NPC_UPDATE = new IncomingPacket(171, -2);
    PLAYER_UPDATE = new IncomingPacket(174, -2);
    VARBIT_SMALL = new IncomingPacket(179, 3);
    SEND_SMALL_VARP = new IncomingPacket(182, 3);
    DYNAMIC_REGION = new IncomingPacket(188, -2);

    Generate your own keys Private goes server side, public client side in client File is called RSAkeys
    Code: [Select]
    /**
     * Copyright (c) 2015 Virtue 3
     *
     * Permission is hereby granted, free of charge, to any person obtaining a copy
     * of this software and associated documentation files (the "Software"), to deal
     * in the Software without restriction, including without limitation the rights
     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
     * copies of the Software, and to permit persons to whom the Software is
     * furnished to do so, subject to the following conditions:
     *
     * The above copyright notice and this permission notice shall be included in all
     * copies or substantial portions of the Software.
     *
     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
     * SOFTWARE.
     */
    package org.virtue3.utilities;

    import java.io.BufferedWriter;
    import java.io.FileWriter;
    import java.math.BigInteger;
    import java.security.KeyFactory;
    import java.security.KeyPair;
    import java.security.KeyPairGenerator;
    import java.security.NoSuchAlgorithmException;
    import java.security.spec.InvalidKeySpecException;
    import java.security.spec.RSAPrivateKeySpec;
    import java.security.spec.RSAPublicKeySpec;

    /**
     * @author Im Frizzy <skype:kfriz1998>
     * @since Jul 19, 2014
     */
    public class RSAKeyGenerator {

    /**
    * The location of the file which will contain the private key.
    */
    private static String privateFile = "./RSAPrivateKeys.txt";

    /**
    * The location of the file which will contain the public key.
    */
    private static String publicFile = "./RSAPublicKeys.txt";

    public static void main(String[] args) {
    try {
    KeyFactory ondemand_factory = KeyFactory.getInstance("RSA");
    KeyPairGenerator ondemand_keygen = KeyPairGenerator.getInstance("RSA");
    ondemand_keygen.initialize(1024);
    KeyPair ondemand_keypair = ondemand_keygen.genKeyPair();

    KeyFactory login_factory = KeyFactory.getInstance("RSA");
    KeyPairGenerator login_keygen = KeyPairGenerator.getInstance("RSA");
    login_keygen.initialize(1024);
    KeyPair login_keypair = login_keygen.genKeyPair();

    RSAPrivateKeySpec ondemand_privateSpec = ondemand_factory.getKeySpec(ondemand_keypair.getPrivate(), RSAPrivateKeySpec.class);

    RSAPublicKeySpec ondemand_publicSpec = ondemand_factory.getKeySpec(ondemand_keypair.getPublic(), RSAPublicKeySpec.class);

    RSAPrivateKeySpec login_privateSpec = login_factory.getKeySpec(login_keypair.getPrivate(), RSAPrivateKeySpec.class);

    RSAPublicKeySpec login_publicSpec = login_factory.getKeySpec(login_keypair.getPublic(), RSAPublicKeySpec.class);

    writeKey(privateFile, ondemand_privateSpec.getModulus(), ondemand_privateSpec.getPrivateExponent(), login_privateSpec.getModulus(), login_privateSpec.getPrivateExponent());

    writeKey(publicFile, ondemand_publicSpec.getModulus(), ondemand_publicSpec.getPublicExponent(), login_publicSpec.getModulus(), login_publicSpec.getPublicExponent());

    } catch (InvalidKeySpecException | NoSuchAlgorithmException e) {
    e.printStackTrace();
    }
    }

    /**
    * Writes the key (public/private) to the specified file.
    *
    * @param file
    *            The file.
    * @param modulus
    *            The modulus of the key.
    * @param exponent
    *            The exponent of the key.
    */
    public static void writeKey(String file, BigInteger ondemand_modulus, BigInteger ondemand_exponent, BigInteger login_modulus, BigInteger login_exponent) {
    try {
    BufferedWriter writer = new BufferedWriter(new FileWriter(file));
    writer.write("public static final BigInteger ONDEMAND_MODULUS = new BigInteger(\"" + ondemand_modulus.toString() + "\");");
    writer.newLine();
    writer.newLine();
    writer.write("public static final BigInteger ONDEMAND_EXPONENT = new BigInteger(\"" + ondemand_exponent.toString() + "\");");
    writer.newLine();
    writer.newLine();
    writer.write("public static final BigInteger LOGIN_MODULUS = new BigInteger(\"" + login_modulus.toString() + "\");");
    writer.newLine();
    writer.newLine();
    writer.write("public static final BigInteger LOGIN_EXPONENT = new BigInteger(\"" + login_exponent.toString() + "\");");
    writer.newLine();
    writer.close();
    } catch (Exception e) {
    e.printStackTrace();
    }
    }

    }


    « Last Edit: October 25, 2015, 02:50:19 PM by Sir James1996 »


     

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