Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!

Join the forum, it's quick and easy

Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!
Team BlueWater Game Online Tutorial's
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[RuneScape] Deposit Tips - Quest

Go down

   [RuneScape] Deposit Tips - Quest  Empty [RuneScape] Deposit Tips - Quest

Post  Karma Sun Aug 14, 2011 6:18 am

Acesta este un scurt quest care va da drepturi la cutia de depozitare. Simtiti-va liberi sa editati tot ce doriti.

Deschideti client.java si inlocuiti openupdespoitbox vostru cu:

Code:
public void openupDepositBox() {

      if (inTrade == true) {
      sendMessage("You can't open your deposit box while in trade!");
      IsDepositing = false;
      }
      if (inDuel == true) {
      sendMessage("You can't open your deposit box while in duel!");
      IsDepositing = false;
      }
      if (depositRights == 1) {
      if (IsDepositing == true) {
      sendFrame126("The Bank of Haven - Deposit Box", 7421);
      sendFrame248(4465, 197); //197 Because you cannot see it
      resetItems(7423);
      IsBanking = true;
        }
      } else {
      sendMessage("You need to complete the quest, Deposit Tips.");
        }
      }

        }


Acest lucru face sa fiti sigur ca ati deschis depozitul deci questul este gata. Acum deschideti iar client.java si adaugati asta in process()

Code:
f(depositRights == 0) {
  sendQuest("Deposit Tips", 7334);
        } 
if(depositRights == 1) {
  sendQuest("@gre@Deposit Tips", 7334);
}
Deschideti iar client.java si adaugati asta in sectiunea dialogue
Code:
case 90:
      npt();
      sendFrame126("Deposit Boxes are great ways to store your things fast.", 4885);
      break;
  case 91:
      npt();
      sendFrame126("There are some cool things to them.", 4885);
      break;
  case 92:
      npt();
      sendFrame126("Use them well, and please do not try and break into them.", 4885);
      depositRights = 1;
      depQuestion = 1;
      questpoints += 1;
      sendMessage("");
      sendMessage("You have just completed the quest: Deposit Tips.");
      sendMessage("You can now access any Deposit Box in google!");
      break;
Inlocuiti case 2: in aceeiasi metoda.
Code:
case 2:
        sendFrame171(1, 2465);
        sendFrame171(0, 2468);
        sendFrame126("What would you like to say?", 2460);
        sendFrame126("I'd like to access my bank account, please.", 2461);
      if (depositRights == 1) {
        sendFrame126("I'd like to know more about google.", 2462);
      } else if (depositRights == 0) {
      sendFrame126("I'd like to know more about Deposit Boxes.", 2462);
      }
        sendFrame164(2459);
        NpcDialogueSend = true;
        break;
Adagati asta in case 185:
Code:
case 28166:
        if (depositRights == 0) {
        sendMessage("You need to speak to a banker to start this quest.");
        } else if (depositRights == 1) {
        sendMessage("You already finished this quest.");
        }
        break;
Adaugati asta in case 2: va fi mai mult de 1 optiune alegeti-o pe cea care se potriveste cu:
Code:
else if (token.equals("character-depositbank")) {
        depositRights = Integer.parseInt(token2);
        }
        else if (token.equals("character-depositquestion")) {
        depQuestion = Integer.parseInt(token2);
        }
Dati un pic mai jos si adaugati asta:
Code:
 characterfile.write("character-depositquestion = ", 0, 28);
    characterfile.write(Integer.toString(depQuestion), 0, Integer.toString(depQuestion).length());
    characterfile.newLine();
    characterfile.write("character-depositbank = ", 0, 24);
    characterfile.write(Integer.toString(depositRights), 0, Integer.toString(depositRights).length());
    characterfile.newLine();
Acum , declarati asta:
Code:
public int depositRights = 0;
  boolean IsDepositing = false;
Acum in case 40: adaugati asta:
Code:
if (NpcDialogue == 90 || NpcDialogue == 91) {
        NpcDialogue += 1;
        NpcDialogueSend = false;
        } else if ((NpcDialogue == 92)) {
        NpcDialogue = 0;
        NpcDialogueSend = false;
        RemoveAllWindows();
            } else {
            closeInterface();
        }
Merge perfect.
Karma
Karma
Admin
Admin

Mesaje : 1092
Data de inscriere : 2011-04-22
Varsta : 33
Localizare : Craiova

https://team-bluewater.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum