PDA

View Full Version : [317] Cool new Questtab Change [317]



Xdragon
June 20th, 2010, 15:01
Its not hard to do

First open texthandler.java

First delete everything that begin at :


client c = (client) server.playerHandler.players[ID];
Delete all things until you reach :


if(c.q11 == 15){
c.sendQuest("@gre@a Quest name", 7342);
}
than paste this inthe place u deleted :


c.sendQuest(""+c.playerName+"'s Stats:", 640);
c.sendQuest(" Current Players: @whi@"+PlayerHandler.getPlayerCount()+"", 663);

c.sendQuest("@yel@Rights@yel@ | @whi@Donator@whi@", 7332);
if(c.playerRights == 0 && c.donator == 0){
c.sendQuest("@yel@Player@yel@ | @whi@No@whi@", 7333);
}
if(c.playerRights == 1 && c.donator == 0){
c.sendQuest("@yel@Mod@yel@ | @whi@No@whi@", 7333);
}
if(c.playerRights == 2 && c.donator == 0){
c.sendQuest("@yel@Admin@yel@ | @whi@No@whi@", 7333);
}
if(c.playerRights == 3 && c.donator == 0){
c.sendQuest("@yel@Owner@yel@ | @whi@No@whi@", 7333);
}
if(c.playerRights == 0 && c.donator == 1){
c.sendQuest("@yel@Player@yel@ | @whi@yes@whi@", 7333);
}
if(c.playerRights == 1 && c.donator == 1){
c.sendQuest("@yel@Mod | Yes", 7333);
}
if(c.playerRights == 2 && c.donator == 1){
c.sendQuest("@yel@Admin | Yes", 7333);
}
if(c.playerRights == 3 && c.donator == 1){
c.sendQuest("@yel@Owner | Yes", 7333);
}
if(c.q4 == 0){
c.sendQuest("", 7336);
}
if(c.q4 > 0){
c.sendQuest("", 7336);
}
if(c.q4 == 15){
c.sendQuest("", 7336);
}
if(c.q5 == 0){
c.sendQuest("@or1@Points", 7383);
}
if(c.q5 > 0){
c.sendQuest("@or1@Points", 7383);
}
if(c.q5 == 15){
c.sendQuest("@or1@Points", 7383);
}
if(c.q6 == 0){
c.sendQuest("_________________", 7339);
}
if(c.q6 > 0){
c.sendQuest("_________________", 7339);
}
if(c.q6 == 15){
c.sendQuest("_________________", 7339);
}
if(c.q7 == 0){
c.sendQuest("@whi@Pest control:@whi@ @yel@"+c.pcPoints+"", 7338);
}
if(c.q7 > 0){
c.sendQuest("@whi@Pest control:@whi@ @yel@"+c.pcPoints+"", 7338);
}
if(c.q7 == 15){
c.sendQuest("@whi@Pest control:@whi@ @yel@"+c.pcPoints+"", 7338);
}
if(c.q8 == 0){
c.sendQuest("@whi@Assault:@whi@ @yel@"+c.assaultKills+"", 7340);
}
if(c.q8 > 0){
c.sendQuest("@whi@Assault:@whi@ @yel@"+c.assaultKills+"", 7340);
}
if(c.q8 == 15){
c.sendQuest("@whi@Assault:@whi@ @yel@"+c.assaultKills+"", 7340);
}
if(c.q9 == 0){
c.sendQuest("@whi@saradomin:@whi@ @yel@"+c.saraKills+"", 7346);
}
if(c.q9 > 0){
c.sendQuest("@whi@saradomin:@whi@ @yel@"+c.saraKills+"", 7346);
}
if(c.q9 == 15){
c.sendQuest("@whi@saradomin:@whi@ @yel@"+c.saraKills+"", 7346);
}
if(c.q10 == 0){
c.sendQuest("_________________", 7341);
}
if(c.q10 > 0){
c.sendQuest("_________________", 7341);
}
if(c.q10 == 15){
c.sendQuest("_________________", 7341);
}
if(c.q11 == 0){
c.sendQuest("@or1@Click here to view updates", 7342);
}
if(c.q11 > 0){
c.sendQuest("@or1@Click here to view updates", 7342);
}
if(c.q11 == 15){
c.sendQuest("@or1@Click here to view updates", 7342);
}

Now to make that the Click here to view the updates works correctly
Close texthandler.java and save it and than open :
Client.java
Search for :

public void q11help() {
Replace that void whith this :

sendQuest("Servername Updates", 8144);
clearQuestInterface();
if(q11 == 15){
sendQuest(" Leave this like this ", 8147);
sendQuest("Leave this like this ", 8148);
sendQuest("Leave this like this ", 8149);
sendQuest("Leave this like this ", 8150);
sendQuest("Leave this like this ", 8147);
sendQuest("Leave this like this ", 8148);
sendQuest("Leave this like this ", 8149);
sendQuest("Leave this like this ", 8150);
sendQuest(" @or1@Last update: DATE", 8147);
sendQuest("__________________________________________________ __", 8148);
sendQuest("A Update [You can change this]", 8149);
sendQuest("A Update [You can change this]", 8150);
sendQuest("A Update [You can change this]", 8151);
sendQuest("A Update [You can change this]", 8152);
sendQuest("A Update [You can change this]", 8153);
sendQuest("A Update [You can change this]", 8154);
sendQuest("A Update [You can change this]", 8155);
sendQuest("A Update [You can change this]", 8156);
sendQuest("A Update [You can change this]", 8157);
sendQuest("A Update [You can change this]", 8158);

}
U can Change all Green things but the red things stays !
Do not delete :

sendQuestSomething(8143);
showInterface(8134);
flushOutStream();
}
public void sendFrame106(int i1){
outStream.createFrame(106);
outStream.writeByteC(i1);
}

Picture of it :
Only the registered members can see the link.
The price checker is another thing its not in this tut!
This is only for 317 not for 562! I only changed the sprites of my client!
Only the registered members can see the link.

No credits to me :D
I forgot the guy who made this lol
Rep only if u want. I added this to runelocus bc it was gone bc the crash.
Have fun!

Jake Jones
June 20th, 2010, 15:06
This isn't that bad, I like it good job.

Xdragon
June 20th, 2010, 15:08
Ty but i didnt made it xd
But ty =]

XxBryantD
June 20th, 2010, 15:51
lol good job on getting it backon website

The sup
June 20th, 2010, 16:00
Pretty good tutorial, thank you for posting it.

Xdragon
June 20th, 2010, 16:10
Yw :D

Ninga Nun
June 22nd, 2010, 07:33
This tut is realy good :) its helped me a lot cause i was looking for something like this lol ty :D

Xdragon
June 22nd, 2010, 15:03
Yw lol

Bwuk Im Pro
June 22nd, 2010, 15:44
What base is this for?

Faab234
June 22nd, 2010, 15:52
Why is is sendQuest and not setString?

Elitekrull
June 28th, 2010, 22:44
Very good Tutorial But on my server some of the stuff is messed up but idc =P

Xdragon
June 28th, 2010, 22:46
Ty :P

XxBryantD
June 28th, 2010, 22:49
thanks u

sound garden
July 20th, 2010, 23:15
nice man

Scar
October 20th, 2010, 14:16
I Like It :D Wont Use Though

Ipwnedx
December 20th, 2010, 04:25
fuck you you fucked up my fucking source dipshit!

runemagic
December 22nd, 2010, 07:23
fuck you you fucked up my fucking source dipshit!
Thats why you have backups -_-
Fked up mine too, 100 errors