Thread: level up screens...errmmm

Results 1 to 7 of 7
  1. #1 level up screens...errmmm 
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    ermm dis is my method...
    does anyone know how to Add it so it stops poping UP!
    Code:
    public void levelup(int i)
        {
            char c = '\0';
            switch(i)
            {
            case 0:
                changeText126("Congratulations, you just advanced an attack level!", 6248);
                changeText126((new StringBuilder()).append("Your attack level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6249);
                sendFrame164(6247);
                break;
    
            case 1:
                changeText126("Congratulations, you just advanced a defence level!", 6254);
                changeText126((new StringBuilder()).append("Your defence level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6255);
                sendFrame164(6253);
                break;
    
            case 2:
                changeText126("Congratulations, you just advanced a strength level!", 6207);
                changeText126((new StringBuilder()).append("Your strength level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6208);
                sendFrame164(6206);
                break;
    
            case 3:
                changeText126("Congratulations, you just advanced a hitpoints level!", 6217);
                changeText126((new StringBuilder()).append("Your hitpoints level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6218);
                sendFrame164(6216);
                break;
    
            case 4:
                changeText126("Congratulations, you just advanced a ranged level!", 5453);
                changeText126((new StringBuilder()).append("Your ranged level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6114);
                sendFrame164(4443);
                break;
    
            case 5:
                sendFrame164(6242);
                changeText126("Congratulations, you just advanced a prayer level!", 6243);
                changeText126((new StringBuilder()).append("Your prayer level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6244);
                break;
    
            case 6:
                sendFrame164(6211);
                changeText126("Congratulations, you just advanced a magic level!", 6212);
                changeText126((new StringBuilder()).append("Your magic level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6213);
                break;
    
            case 7:
                sendFrame164(6226);
                changeText126("Congratulations, you just advanced a cooking level!", 6227);
                changeText126((new StringBuilder()).append("Your cooking level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6228);
                break;
    
            case 8:
                sendFrame164(4272);
                changeText126("Congratulations, you just advanced a woodcutting level!", 4273);
                changeText126((new StringBuilder()).append("Your woodcutting level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4274);
                break;
    
            case 9:
                sendFrame164(6231);
                changeText126("Congratulations, you just advanced a fletching level!", 6232);
                changeText126((new StringBuilder()).append("Your fletching level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6233);
                break;
    
            case 10:
                sendFrame164(6258);
                changeText126("Congratulations, you just advanced a fishing level!", 6259);
                changeText126((new StringBuilder()).append("Your fishing level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6260);
                break;
    
            case 11:
                sendFrame164(4282);
                changeText126("Congratulations, you just advanced a fire making level!", 4283);
                changeText126((new StringBuilder()).append("Your firemaking level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4284);
                break;
    
            case 12:
                sendFrame164(6263);
                changeText126("Congratulations, you just advanced a crafting level!", 6264);
                changeText126((new StringBuilder()).append("Your crafting level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6265);
                break;
    
            case 13:
                changeText126("Congratulations, you just advanced a smithing level!", 6222);
                changeText126((new StringBuilder()).append("Your smithing level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6223);
                sendFrame164(6221);
                break;
    
            case 14:
                changeText126("Congratulations, you just advanced a mining level!", 4417);
                changeText126((new StringBuilder()).append("Your mining level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4438);
                sendFrame164(4416);
                break;
    
            case 15:
                changeText126("Congratulations, you just advanced a herblore level!", 6238);
                changeText126((new StringBuilder()).append("Your herblore level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 6239);
                sendFrame164(6237);
                break;
    
            case 16:
                changeText126("Congratulations, you just advanced a agility level!", 4278);
                changeText126((new StringBuilder()).append("Your agility level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4279);
                sendFrame164(4277);
                break;
    
            case 17:
                changeText126("Congratulations, you just advanced a thieving level!", 4263);
                changeText126((new StringBuilder()).append("Your theiving level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4264);
                sendFrame164(4261);
                break;
    
            case 18:
                changeText126("Congratulations, you just advanced a slayer level!", 12123);
                changeText126((new StringBuilder()).append("Your slayer level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 12124);
                sendFrame164(12122);
                break;
    
            case 19:
                changeText126("@blu@Congratulations, you just advanced a farming level!",4889);
    	    changeText126((new StringBuilder()).append("Your farming level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4890);
                changeText126("", 4891);
                sendFrame246(4888,200,5340);
                sendFrame164(4887);
                break;
    
            case 20:
                changeText126("Congratulations, you just advanced a runecrafting level!", 4268);
                changeText126((new StringBuilder()).append("Your runecrafting level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4269);
                sendFrame164(4267);
                break;
            }
        }
    Reply With Quote  
     

  2. #2  
    Eren
    Guest
    Maybe you could try changing
    Code:
                changeText126("Congratulations, you just advanced a runecrafting level!", 4268);
                changeText126((new StringBuilder()).append("Your runecrafting level is now ").append(getLevelForXP(playerXP[i])).append(" .").toString(), 4269);
                sendFrame164(4267);
    to sM("Congratulations, you have just advanced an Attack level")
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Oct 2009
    Age
    30
    Posts
    1,037
    Thanks given
    4
    Thanks received
    8
    Rep Power
    338
    hmmmm
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Oct 2009
    Age
    30
    Posts
    1,037
    Thanks given
    4
    Thanks received
    8
    Rep Power
    338
    Change Case # & Text But use This For All Of Em

    case 20:
    changeText126("@dre@Congratulations! You've just advanced a Runecrafting level!", 4268);
    changeText126((new StringBuilder()).append("You have now reached level ").append(getLevelForXP(playerXP[i])). append("!").toString(), 4269);
    sendFrame164(4267);
    if (playerLevel[20] == 99) {
    itemMessage("Congratulations, Your Runecrafting level is now 99!",
    sM("Speak to Bob at Home for a skill cape of achievement.", 2698, 250);
    }
    break;
    Reply With Quote  
     

  5. #5  
    Registered Member
    Hunter's Avatar
    Join Date
    Jun 2009
    Age
    33
    Posts
    857
    Thanks given
    3
    Thanks received
    23
    Rep Power
    216
    To make it stop "popping up" just remove:

    Code:
    changeText126("@dre@Congratulations! You've just advanced a Runecrafting level!", 4268); // Changing text on interface line 4268
    changeText126((new StringBuilder()).append("You have now reached level ").append(getLevelForXP(playerXP[i])). append("!").toString(), 4269); // Changing text on interface line 4269
    sendFrame164(4267); // Showing interface
    Simple answer.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Swarfega's Avatar
    Join Date
    Sep 2007
    Age
    29
    Posts
    873
    Thanks given
    0
    Thanks received
    1
    Rep Power
    373
    Nevermind, already answered.
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    nop lol lawl
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •