Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • `Discardedx2`: ?
      September 21, 2018, 12:24:09 PM
    • Pookey71: ARE YOU HERE TO RECEIVE MY LIMP PENIS!?
      September 20, 2018, 11:55:24 PM
    • Pookey71: THIS IS DEMOCRACY MANIFESTO
      September 20, 2018, 11:55:07 PM
    • Vasi28: Гранд
      September 03, 2018, 07:06:22 PM
    • Rash: test
      August 30, 2018, 09:09:18 PM
    • Guruu:[link]
      August 30, 2018, 12:04:45 AM
    • Guruu: am i allowed to post links shoutbox?
      August 30, 2018, 12:03:46 AM
    • drubrkletern:[link] feedback wanted
      August 28, 2018, 03:55:17 PM
    • bugz000: Anyone got a link for the old ass silab client and cache.zip? from mopar 3.2 era :) 317
      August 25, 2018, 12:48:15 AM
    • cholland2015: Does anyone know where I can download the old moparscape client/server?
      August 24, 2018, 02:30:51 PM
    • hexedss1: Anyone would like to help on client side got a variable declartion Error
      August 15, 2018, 09:06:30 PM
    • 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

    Author Topic: Re-Enable xp drops - Still need this!  (Read 1748 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops
    « Reply #20 on: May 12, 2015, 12:01:39 AM »
    Code: [Select]
    if (counterOn)
    Look for counterOn.. See if there's anywhere that sets the variable to "true".
    If not. That will be your problem

    Well i think that's it!, i don't see anything that has counteron that involved true just all these codes
    Code: [Select]
    private boolean counterOn;

    if (counterOn)
    drawCounterOnScreen();
    private void drawCounterOnScreen() {
                    int x = 520;
                    int y = 47;
                    counter[2].drawSprite(x-100, y+8);

    [private void drawXPCounter() {
    int x =  1;
    int y = 47;
    int x1 = super.mouseX;
    int y1 = super.mouseY;
    counter[(counterOn || (x1 >= 520 && x1 <= 554 && y1 >= 47 && y1 <= 81) ? 1 : 0)].drawSprite(x, y);
    }
    if (l == 474) {
    counterOn = !counterOn;/code]
    Runescape Gambling

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #21 on: May 12, 2015, 02:00:34 PM »
    You don't see any code that sets to to "true" because of how the person wrote the code.

    Code: Java
    1.                         counterOn =!counterOn;
    Right here is what I'm talking about.
    This code basically says: set counterOn to the opposite of it's current value.
    So if it's true, then it gets set false. If it's false, then it gets set true.


    Another question. Where is the array "counter" loading it's sprites from? If at all.
    Runescape Gambling

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #22 on: May 12, 2015, 02:38:02 PM »
    You don't see any code that sets to to "true" because of how the person wrote the code.

    Code: Java
    1.                         counterOn =!counterOn;
    Right here is what I'm talking about.
    This code basically says: set counterOn to the opposite of it's current value.
    So if it's true, then it gets set false. If it's false, then it gets set true.


    Another question. Where is the array "counter" loading it's sprites from? If at all.

    How do i set it to false or true if there is none
    Code: [Select]
    if (l == 474) {
    counterOn = !counterOn;
    }
    if (l == 475) {
    xpCounter = 0;
    }

    Theres nothing that says true; or false; and for the other array thing ur talking about idk or have a clue on what or where it is
    Runescape Gambling

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #23 on: May 12, 2015, 02:41:34 PM »
    You are seriously just ignoring my words now dude.

    You don't see any code that sets to to "true" because of how the person wrote the code.

    Code: Java
    1.                         counterOn =!counterOn;
    Right here is what I'm talking about.
    This code basically says: set counterOn to the opposite of it's current value.
    So if it's true, then it gets set false. If it's false, then it gets set true.


    Another question. Where is the array "counter" loading it's sprites from? If at all.

    The array I'm talking about is in your code you've provided. If you'd take half a second to look at it you would see it.

          counter[(counterOn || (x1 >= 520 && x1 <= 554 && y1 >= 47 && y1 <= 81) ? 1 : 0)].drawSprite(x, y);
    ^See the red text.
    That's the "array thing" I'm talking about.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #24 on: May 12, 2015, 02:52:42 PM »
    You are seriously just ignoring my words now dude.

    You don't see any code that sets to to "true" because of how the person wrote the code.

    Code: Java
    1.                         counterOn =!counterOn;
    Right here is what I'm talking about.
    This code basically says: set counterOn to the opposite of it's current value.
    So if it's true, then it gets set false. If it's false, then it gets set true.


    Another question. Where is the array "counter" loading it's sprites from? If at all.

    The array I'm talking about is in your code you've provided. If you'd take half a second to look at it you would see it.

          counter[(counterOn || (x1 >= 520 && x1 <= 554 && y1 >= 47 && y1 <= 81) ? 1 : 0)].drawSprite(x, y);
    ^See the red text.
    That's the "array thing" I'm talking about.

    No, i understood what you were talking about the counter and counteron just didnt know how i can set these to true or false, do i need to make a code for it or what?

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #25 on: May 12, 2015, 03:17:45 PM »
    Set it to true by finding where the boolean is declared and then add "= true" to it. (Assuming it doesn't have a value there already..)

    Again, I would like to see where the sprites for the counter array are loaded.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #26 on: May 12, 2015, 03:35:37 PM »
    Set it to true by finding where the boolean is declared and then add "= true" to it. (Assuming it doesn't have a value there already..)

    Again, I would like to see where the sprites for the counter array are loaded.

    Okay so i got the xp counter to appear, well kinda... take a look. and i think this is where your talking about the sprites for the counter array.

    Code: [Select]
    private void drawCounterOnScreen() {
                    int x = 520;
                    int y = 47;
                    counter[2].drawSprite(x-100, y+8);
                    int i = aTextDrawingArea_1271.getTextWidth(Integer.toString(xpCounter));
                    aTextDrawingArea_1271.drawText(0xffffff, "XP:", y+21, x-88);
                    aTextDrawingArea_1271.drawText(0xffffff, Integer.toString(xpCounter), y+21, x-12-i);
              if (expAdded == 0) {
                            i = smallText.getTextWidth(Integer.toString(expAdded)+"xp");
                            smallText.drawText(0xff9933, Integer.toString(expAdded)+"xp", y+21+18+xpAddedPos, x-12-i);
                            xpAddedPos += 2;
                            if (xpAddedPos >= 50) {
                                    xpAddedPos = 0;
                                    expAdded = 0;
                            }
                    }
            }

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #27 on: May 12, 2015, 03:37:58 PM »
    That is not where the sprites are loaded...
    There will be a key word.. "new Sprite("

    And based on that picture you just showed me.. They're not being loaded at all.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #28 on: May 12, 2015, 03:43:13 PM »
    That is not where the sprites are loaded...
    There will be a key word.. "new Sprite("

    And based on that picture you just showed me.. They're not being loaded at all.

    Well if this is not it then its no where at all,
    Code: [Select]
    private void drawXPCounter() {
    int x =  1;
    int y = 47;
    int x1 = super.mouseX;
    int y1 = super.mouseY;
    counter[(counterOn || (x1 >= 520 && x1 <= 554 && y1 >= 47 && y1 <= 81) ? 1 : 0)].drawSprite(x, y);

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #29 on: May 12, 2015, 03:54:56 PM »
    No, that's not it. That is drawing the sprite. Not loading.
    Here's an example... But with mod icons (The crowns):
    Code: [Select]
    for (int i = 0; i <= 3; i++) {
    modIcons[i] = new Sprite("Player/MODICONS " + i + "");
    chatImages[i] = new Sprite("Player/MODICONS " + i + "");
    }

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #30 on: May 12, 2015, 04:54:33 PM »
    No, that's not it. That is drawing the sprite. Not loading.
    Here's an example... But with mod icons (The crowns):
    Code: [Select]
    for (int i = 0; i <= 3; i++) {
    modIcons[i] = new Sprite("Player/MODICONS " + i + "");
    chatImages[i] = new Sprite("Player/MODICONS " + i + "");
    }

    There is nothing like that around "counterOn" i'll probably need a code for it

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #31 on: May 12, 2015, 06:13:02 PM »
    It wouldn't be around "counterOn" it would be in your client's loading method..
    And it would be for the "counter" Sprite array.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #32 on: May 12, 2015, 06:51:23 PM »
    It wouldn't be around "counterOn" it would be in your client's loading method..
    And it would be for the "counter" Sprite array.

    Okay im sure this is it,
    Code: [Select]
    client() {
    revision474 = true;
    OSOrbs = true;
    xpAddedPos = expAdded = 0;
    xpLock = false;
    xpCounter = 0;
    counter = new Sprite[3];
    setFormat(new DecimalFormat());
    chatRights = new int[500];
    fullscreenInterfaceID = -1;
    chatTypeView = 0;
    clanTitles = new String[500];
    clanChatMode = 0;
    cButtonHPos = -1;
    cButtonCPos = 0;
    server = "localHost";
    anIntArrayArray825 = new int[104][104];
    friendsNodeIDs = new int[200];
    groundArray = new NodeList[4][104][104];
    aBoolean831 = false;
    aStream_834 = new Stream(new byte[5000]);
    npcArray = new NPC[16384];
    npcIndices = new int[16384];
    anIntArray840 = new int[1000];
    aStream_847 = Stream.create();
    aBoolean848 = true;
    openInterfaceID = -1;
    currentExp = new int[Skills.skillsCount];
    aBoolean872 = false;
    anIntArray873 = new int[5];
    anInt874 = -1;
    aBooleanArray876 = new boolean[5];
    drawFlames = false;
    reportAbuseInput = "";
    unknownInt10 = -1;
    menuOpen = false;
    inputString = "";
    maxPlayers = 2048;
    myPlayerIndex = 2047;
    playerArray = new Player[maxPlayers];
    playerIndices = new int[maxPlayers];
    anIntArray894 = new int[maxPlayers];
    aStreamArray895s = new Stream[maxPlayers];
    anIntArrayArray901 = new int[104][104];
    aByteArray912 = new byte[16384];
    currentStats = new int[Skills.skillsCount];
    ignoreListAsLongs = new long[100];
    loadingError = false;
    anIntArray928 = new int[5];
    anIntArrayArray929 = new int[104][104];
    chatTypes = new int[500];
    chatNames = new String[500];
    chatMessages = new String[500];
    chatButtons = new Sprite[4];
    sideIcons = new Sprite[15];
    redStones = new Sprite[5];
    aBoolean954 = true;
    friendsListAsLongs = new long[200];
    currentSong = -1;
    drawingFlames = false;
    spriteDrawX = -1;
    spriteDrawY = -1;
    anIntArray968 = new int[33];
    anIntArray969 = new int[256];
    decompressors = new Decompressor[5];
    variousSettings = new int[2000];
    aBoolean972 = false;
    anInt975 = 50;
    anIntArray976 = new int[anInt975];
    anIntArray977 = new int[anInt975];
    anIntArray978 = new int[anInt975];
    anIntArray979 = new int[anInt975];
    anIntArray980 = new int[anInt975];
    anIntArray981 = new int[anInt975];
    anIntArray982 = new int[anInt975];
    aStringArray983 = new String[anInt975];
    anInt985 = -1;
    hitMarks = new Sprite[20];
    anIntArray990 = new int[5];
    aBoolean994 = false;
    amountOrNameInput = "";
    aClass19_1013 = new NodeList();
    aBoolean1017 = false;
    anInt1018 = -1;
    anIntArray1030 = new int[5];
    aBoolean1031 = false;
    mapFunctions = new Sprite[100];
    dialogID = -1;
    maxStats = new int[Skills.skillsCount];
    anIntArray1045 = new int[2000];
    aBoolean1047 = true;
    anIntArray1052 = new int[151];
    anInt1054 = -1;
    aClass19_1056 = new NodeList();
    anIntArray1057 = new int[33];
    aClass9_1059 = new RSInterface();
    mapScenes = new Background[100];
    barFillColor = 0x4d4233;
    anIntArray1065 = new int[7];
    anIntArray1072 = new int[1000];
    anIntArray1073 = new int[1000];
    aBoolean1080 = false;
    friendsList = new String[200];
    inStream = Stream.create();
    expectedCRCs = new int[9];
    menuActionCmd2 = new int[500];
    menuActionCmd3 = new int[500];
    menuActionID = new int[500];
    menuActionCmd1 = new int[500];
    headIcons = new Sprite[20];
    skullIcons = new Sprite[20];
    headIconsHint = new Sprite[20];
    tabAreaAltered = false;
    aString1121 = "";
    atPlayerActions = new String[5];
    atPlayerArray = new boolean[5];
    anIntArrayArrayArray1129 = new int[4][13][13];
    aClass30_Sub2_Sub1_Sub1Array1140 = new Sprite[1000];
    aBoolean1141 = false;
    aBoolean1149 = false;
    crosses = new Sprite[8];
    musicEnabled = true;
    needDrawTabArea = false;
    loggedIn = false;
    canMute = false;
    aBoolean1159 = false;
    aBoolean1160 = false;
    myUsername = "";
    myPassword = "";
    genericLoadingError = false;
    reportAbuseInterfaceID = -1;
    aClass19_1179 = new NodeList();
    anInt1184 = 128;
    invOverlayInterfaceID = -1;
    stream = Stream.create();
    menuActionName = new String[500];
    anIntArray1203 = new int[5];
    anIntArray1207 = new int[50];
    anInt1211 = 78;
    promptInput = "";
    modIcons = new Sprite[10];
    tabID = 3;
    inputTaken = false;
    songChanging = true;
    anIntArray1229 = new int[151];
    aClass11Array1230 = new Class11[4];
    anIntArray1241 = new int[50];
    aBoolean1242 = false;
    anIntArray1250 = new int[50];
    rsAlreadyLoaded = false;
    welcomeScreenRaised = false;
    messagePromptRaised = false;
    loginMessage1 = "";
    loginMessage2 = "";
    backDialogID = -1;
    bigX = new int[4000];
    bigY = new int[4000];
    anInt1289 = -1;
    }

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #33 on: May 12, 2015, 07:34:51 PM »
    Again... It would have the key words "new Sprite".
    That is not it, that is your client's default settings...
    The loading method is "startUp". It would be in there.. Or within a method that is executed in there.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #34 on: May 12, 2015, 07:43:38 PM »
    Again... It would have the key words "new Sprite".
    That is not it, that is your client's default settings...
    The loading method is "startUp". It would be in there.. Or within a method that is executed in there.

    Okay this is the only other thing i see,
    Code: [Select]
    for(int i = 0; i < 3; i++)
    counter[i] = new Sprite("XP "+i);
    for (int l4 = 0; l4 < 10; l4++)
    modIcons[l4] = new Sprite(streamLoader_2, "mod_icons", l4);

    Sprite sprite = new Sprite(streamLoader_2, "screenframe", 0);
    leftFrame = new RSImageProducer(sprite.myWidth, sprite.myHeight,
    getGameComponent());

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #35 on: May 12, 2015, 10:03:26 PM »
    From what I know, that would mean that you have sprites named "XP " and a number after it in your cache. Specifically, the root of the sprite folder.
    So.
    Cache_path/your_cache_name/Sprites/XP a_number_here
    (Usually.)
    Make sure there are sprites there with that kind of name. if not... that is why they are not showing up.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #36 on: May 12, 2015, 10:13:49 PM »
    From what I know, that would mean that you have sprites named "XP " and a number after it in your cache. Specifically, the root of the sprite folder.
    So.
    Cache_path/your_cache_name/Sprites/XP a_number_here
    (Usually.)
    Make sure there are sprites there with that kind of name. if not... that is why they are not showing up.

    If this is in the cache folder with my sprites ect.. then no there is nothing there with XP

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #37 on: May 13, 2015, 11:17:20 AM »
    From what I know, that would mean that you have sprites named "XP " and a number after it in your cache. Specifically, the root of the sprite folder.
    So.
    Cache_path/your_cache_name/Sprites/XP a_number_here
    (Usually.)
    Make sure there are sprites there with that kind of name. if not... that is why they are not showing up.

    If this is in the cache folder with my sprites ect.. then no there is nothing there with XP
    Then that would be why you cannot see the sprites..
    So you need to find the sprites, either from another cache or from searching on the internet.

    Offlinetank nation

    • Member
    • ****
    • Posts: 483
    • Thanks: +0/-0
      • View Profile
    Re: Re-Enable xp drops - Still need this!
    « Reply #38 on: May 13, 2015, 03:06:15 PM »
    From what I know, that would mean that you have sprites named "XP " and a number after it in your cache. Specifically, the root of the sprite folder.
    So.
    Cache_path/your_cache_name/Sprites/XP a_number_here
    (Usually.)
    Make sure there are sprites there with that kind of name. if not... that is why they are not showing up.

    Yes but see this client wasnt really made for the xp counter to be there it was made to be like runescape 2007 client or better known orion client take a look.

    If this is in the cache folder with my sprites ect.. then no there is nothing there with XP
    Then that would be why you cannot see the sprites..
    So you need to find the sprites, either from another cache or from searching on the internet.

     

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