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