Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 9.43 KB | None | 0 0
  1.         case 0:
  2.             // Attack levelup
  3.             sendFrame164(6247);
  4.             sendFrame126("Congratulations, you just advanced an attack level!",
  5.                     6248);
  6.             sendFrame126("Your attack level is now " + playerLevel[0] + ".",
  7.                     6249);
  8.             sendMessage("Congratulations, you just advanced an attack level.");
  9.             NpcDialogueSend = true;
  10.             if (playerLevel[0] >= 99) {
  11.                 addItem(CAPE ID, 1);
  12.                 sendMessage("You recieve the Attack skill cape and hood.");
  13.             break;
  14.  
  15.         case 1:
  16.             // Strength
  17.             sendFrame164(6206);
  18.             sendFrame126("Congratulations, you just advanced a strength level!",
  19.                     6207);
  20.             sendFrame126("Your strength level is now " + playerLevel[2] + ".",
  21.                     6208);
  22.             sendMessage("Congratulations, you just advanced a strength level.");
  23.             NpcDialogueSend = true;
  24.             if (playerLevel[2] >= 99) {
  25.                 addItem(CAPE ID, 1);
  26.                 sendMessage("You recieve the Strength skill cape and hood.");
  27.             break;
  28.  
  29.         case 2:
  30.             // Defence
  31.             sendFrame164(6253);
  32.             sendFrame126("Congratulations, you just advanced a defence level!",
  33.                     6254);
  34.             sendFrame126("Your defence level is now " + playerLevel[1] + ".",
  35.                     6255);
  36.             sendMessage("Congratulations, you just advanced a defence level.");
  37.             NpcDialogueSend = true;
  38.             if (playerLevel[1] >= 99) {
  39.                 addItem(CAPE ID, 1);
  40.                 sendMessage("You recieve the Defence skill cape and hood.");
  41.             break;
  42.  
  43.         case 3:
  44.             // Hitpoints
  45.             sendFrame164(6216);
  46.             sendFrame126("Congratulations, you just advanced a hitpoints level!",
  47.                     6217);
  48.             sendFrame126("Your hitpoints level is now " + playerLevel[3] + ".",
  49.                     6218);
  50.             sendMessage("Congratulations, you just advanced a hitpoints level.");
  51.             NpcDialogueSend = true;
  52.             if (playerLevel[3] >= 99) {
  53.                 addItem(CAPE ID, 1);
  54.                 sendMessage("You recieve the Hitpoints skill cape and hood.");
  55.             break;
  56.  
  57.         case 4:
  58.             // Ranging
  59.             sendFrame164(4443);
  60.             sendFrame126("Congratulations, you just advanced a ranged level!",
  61.                     4444);
  62.             sendFrame126("Your ranged level is now " + playerLevel[4] + ".",
  63.                     4445);
  64.             sendMessage("Congratulations, you just advanced a ranging level.");
  65.             NpcDialogueSend = true;
  66.             if (playerLevel[4] >= 99) {
  67.                 addItem(CAPE ID, 1);
  68.                 sendMessage("You recieve the Ranging skill cape and hood.");
  69.             break;
  70.  
  71.         case 5:
  72.             // Prayer
  73.             sendFrame164(6242);
  74.             sendFrame126("Congratulations, you just advanced a prayer level!",
  75.                     6243);
  76.             sendFrame126("Your prayer level is now " + playerLevel[5] + ".",
  77.                     6244);
  78.             sendMessage("Congratulations, you just advanced a prayer level.");
  79.             NpcDialogueSend = true;
  80.             if (playerLevel[5] >= 99) {
  81.                 addItem(CAPE ID, 1);
  82.                 sendMessage("You recieve the Prayer skill cape and hood.");
  83.             break;
  84.  
  85.         case 6:
  86.             // Magic
  87.             sendFrame164(6211);
  88.             sendFrame126("Congratulations, you just advanced a magic level!",
  89.                     6212);
  90.             sendFrame126("Your magic level is now " + playerLevel[6] + ".",
  91.                     6213);
  92.             sendMessage("Congratulations, you just advanced a magic level.");
  93.             NpcDialogueSend = true;
  94.             if (playerLevel[6] >= 99) {
  95.                 addItem(CAPE ID, 1);
  96.                 sendMessage("You recieve the Magic skill cape and hood.");
  97.             break;
  98.  
  99.         case 7:
  100.             // Cooking
  101.             sendFrame164(6226);
  102.             sendFrame126("Congratulations, you just advanced a cooking level!",
  103.                     6227);
  104.             sendFrame126("Your cooking level is now " + playerLevel[7] + ".",
  105.                     6228);
  106.             sendMessage("Congratulations, you just advanced a cooking level.");
  107.             NpcDialogueSend = true;
  108.             if (playerLevel[2] >= 99) {
  109.                 addItem(CAPE ID, 1);
  110.                 sendMessage("You recieve the Cooking skill cape and hood.");
  111.             break;
  112.  
  113.         case 8:
  114.             // Woodcutting
  115.             sendFrame164(4272);
  116.             sendFrame126("Congratulations, you just advanced a woodcutting level!",
  117.                     4273);
  118.             sendFrame126("Your woodcutting level is now " + playerLevel[8]
  119.                     + ".", 4274);
  120.             sendMessage("Congratulations, you just advanced a woodcutting level.");
  121.             NpcDialogueSend = true;
  122.             if (playerLevel[2] >= 99) {
  123.                 addItem(CAPE ID, 1);
  124.                 sendMessage("You recieve the WoodCutting skill cape and hood.");
  125.             break;
  126.  
  127.         case 9:
  128.             // Fletching
  129.             sendFrame164(6231);
  130.             sendFrame126("Congratulations, you just advanced a fletching level!",
  131.                     6232);
  132.             sendFrame126("Your fletching level is now " + playerLevel[9] + ".",
  133.                     6233);
  134.             sendMessage("Congratulations, you just advanced a fletching level.");
  135.             NpcDialogueSend = true;
  136.             if (playerLevel[2] >= 99) {
  137.                 addItem(CAPE ID, 1);
  138.                 sendMessage("You recieve the Fletching skill cape and hood.");
  139.             break;
  140.  
  141.         case 10:
  142.             // fishing
  143.             sendFrame164(6258);
  144.             sendFrame126("Congratulations, you just advanced a fishing level!",
  145.                     6259);
  146.             sendFrame126("Your fishing level is now " + playerLevel[10] + ".",
  147.                     6260);
  148.             sendMessage("Congratulations, you just advanced a fishing level.");
  149.             NpcDialogueSend = true;
  150.             if (playerLevel[2] >= 99) {
  151.                 addItem(CAPE ID, 1);
  152.                 sendMessage("You recieve the Fishing skill cape and hood.");
  153.             break;
  154.  
  155.         case 11:
  156.             // firemaking
  157.             sendFrame164(4282);
  158.             sendFrame126("Congratulations, you just advanced a firemaking level!",
  159.                     4283);
  160.             sendFrame126("Your firemaking level is now " + playerLevel[11]
  161.                     + ".", 4284);
  162.             sendMessage("Congratulations, you just advanced a fire making level.");
  163.             NpcDialogueSend = true;
  164.             if (playerLevel[2] >= 99) {
  165.                 addItem(CAPE ID, 1);
  166.                 sendMessage("You recieve the FireMaking skill cape and hood.");
  167.             break;
  168.  
  169.         case 12:
  170.             // crafting
  171.             sendFrame164(6263);
  172.             sendFrame126("Congratulations, you just advanced a crafting level!",
  173.                     6264);
  174.             sendFrame126("Your crafting level is now " + playerLevel[12] + ".",
  175.                     6265);
  176.             sendMessage("Congratulations, you just advanced a crafting level.");
  177.             NpcDialogueSend = true;
  178.             if (playerLevel[2] >= 99) {
  179.                 addItem(CAPE ID, 1);
  180.                 sendMessage("You recieve the Crafting skill cape and hood.");
  181.             break;
  182.  
  183.         case 13:
  184.             // Smithing
  185.             sendFrame164(6221);
  186.             sendFrame126("Congratulations, you just advanced a smithing level!",
  187.                     6222);
  188.             sendFrame126("Your smithing level is now " + playerLevel[13] + ".",
  189.                     6223);
  190.             sendMessage("Congratulations, you just advanced a smithing level.");
  191.             NpcDialogueSend = true;
  192.             if (playerLevel[2] >= 99) {
  193.                 addItem(CAPE ID, 1);
  194.                 sendMessage("You recieve the Smithing skill cape and hood.");
  195.             break;
  196.  
  197.         case 14:
  198.             // Mining
  199.             sendFrame164(4416);
  200.             sendFrame126("Congratulations, you just advanced a mining level!",
  201.                     4417);
  202.             sendFrame126("Your mining level is now " + playerLevel[14] + ".",
  203.                     4418);
  204.             sendMessage("Congratulations, you just advanced a mining level.");
  205.             NpcDialogueSend = true;
  206.             if (playerLevel[2] >= 99) {
  207.                 addItem(CAPE ID, 1);
  208.                 sendMessage("You recieve the Mining skill cape and hood.");
  209.             break;
  210.  
  211.         case 15:
  212.             // Herblore
  213.             sendFrame164(6237);
  214.             sendFrame126("Congratulations, you just advanced a herblore level!",
  215.                     6238);
  216.             sendFrame126("Your herblore level is now " + playerLevel[15] + ".",
  217.                     6239);
  218.             sendMessage("Congratulations, you just advanced a herblore level.");
  219.             NpcDialogueSend = true;
  220.             if (playerLevel[2] >= 99) {
  221.                 addItem(CAPE ID, 1);
  222.                 sendMessage("You recieve the Herblore skill cape and hood.");
  223.             break;
  224.  
  225.         case 16:
  226.             // Agility
  227.             sendFrame164(4277);
  228.             sendFrame126("Congratulations, you just advanced a agility level!",
  229.                     4278);
  230.             sendFrame126("Your agility level is now " + playerLevel[16] + ".",
  231.                     4279);
  232.             sendMessage("Congratulations, you just advanced an agility level.");
  233.             NpcDialogueSend = true;
  234.             if (playerLevel[2] >= 99) {
  235.                 addItem(CAPE ID, 1);
  236.                 sendMessage("You recieve the Agility skill cape and hood.");
  237.             break;
  238.  
  239.         case 17:
  240.             // Thieving
  241.             sendFrame164(4261);
  242.             sendFrame126("Congratulations, you just advanced a thieving level!",
  243.                     6262);
  244.             sendFrame126("Your theiving level is now " + playerLevel[17] + ".",
  245.                     6263);
  246.             sendMessage("Congratulations, you just advanced a thieving level.");
  247.             NpcDialogueSend = true;
  248.             if (playerLevel[17] >= 99) {
  249.                 addItem(CAPE ID, 1);
  250.                 sendMessage("You recieve the Thieving skill cape and hood.");
  251.             break;
  252.  
  253.         case 18:
  254.             // Slayer
  255.             sendFrame164(12123);
  256.             sendFrame126("Congratulations, you just advanced a slayer level!",
  257.                     6207);
  258.             sendFrame126("Your slayer level is now " + playerLevel[18] + ".",
  259.                     6208);
  260.             sendMessage("Congratulations, you just advanced a slayer level.");
  261.             NpcDialogueSend = true;
  262.             if (playerLevel[18] >= 99) {
  263.                 addItem(CAPE ID, 1);
  264.                 sendMessage("You recieve the Slayer skill cape and hood.");
  265.             break;
  266.  
  267.         case 19:
  268.             Farming
  269.             sendFrame164(4261);
  270.             sendFrame126("Congratulations, you just advanced a farming level!",
  271.                     4889);
  272.             sendFrame126("Your farming level is now "+playerLevel[19]+".",
  273.                     4890);
  274.             sendMessage("Congratulations, you just advanced a farming level.");
  275.             NpcDialogueSend = true;
  276.             if (playerLevel[19] >= 99) {
  277.                 addItem(CAPE ID, 1);
  278.                 sendMessage("You recieve the Farming skill cape and hood.");
  279.             break;
  280.  
  281.         case 20:
  282.             // Runecrafting
  283.             sendFrame164(4267);
  284.             sendFrame126("Congratulations, you just advanced a runecrafting level!",
  285.                     4268);
  286.             sendFrame126("Your runecrafting level is now " + playerLevel[20]+ ".",
  287.                     4269);
  288.             sendMessage("Congratulations, you just advanced a runecrafting level.");
  289.             NpcDialogueSend = true;
  290.             if (playerLevel[20] >= 99) {
  291.                 addItem(CAPE ID, 1);
  292.                 sendMessage("You recieve the RuneCrafting skill cape and hood.");
  293.             break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement