PDA

View Full Version : How To Make Quest Tab Commands - REAL AUTHOR NO LEECH.



Rian
July 1st, 2010, 07:48
How To Make Quest Tab Commands on A 317 Server.
I DON'T GIVE ANYONE PERMISSION TO POST THIS TUTORIAL ON ANY OTHER WEBSITE.

Difficulty: 5/10
Knowledge: Basic Java, How to read
Files Editing: texthandler.java, clickingmost.java
Credits: 15% To Mod Medic because I Said So. 85% To Me For Everything In This Tutorial.
Client Being Used: Blurr's


First, open up your client and goto your quest tab and find the quest you would like to replace for a Command.
For this tutorial I will be using the quest "The Wolf's Cure", you can use what ever quest you like.
After you have your quest, you'd like to make the command, open up texthandler.java and press Ctrl+f and then type in the name of the quest you want to edit and press enter.
There should be three of the same name like this.
if(c.q11 == 0){
c.sendQuest("The Wolf's Cure", 7342);
}
if(c.q11 > 0){
c.sendQuest("@yel@The Wolf's Cure", 7342);
}
if(c.q11 == 15){
c.sendQuest("@gre@The Wolf's Cure", 7342);
}
Now go back to your client, and go back to the quest tab and go look at your quest again,this time seeing what color it is. My quest isGreenSo i will be using the third Snippet
if(c.q11 == 15){
c.sendQuest("@gre@The Wolf's Cure", 7342);
}
If your quest is Yellow then use this Snippet
if(c.q11 > 0){
c.sendQuest("@yel@The Wolf's Cure", 7342);
} If your quest is RedUse this Snippet
if(c.q11 > 0){
c.sendQuest("The Wolf's Cure", 7342);
}
You can now change your Snippet to anything you would like the command to be,I will be spawning a whip so I will name the Snippet Whip
if(c.q11 > 0){
c.sendQuest("@gre@Whip", 7342);
}
Now save your work, and compile.
After you have compiled and restarted your server, go back to your client and click your Button, so I will click "Whip" and then Look on your clients CMD, and find the button you clicked, if it doesn't show, then right click your button, if it still doesn't show up, go find another tutorial for that.
Once, you get your button/interface ID open clickingmost.java,and press Ctrl+f and paste your button/interface ID, in this case, my button/interface ID is 28174, so i will search for that.
Once, you find it, it should look like this
case 28174:
c.q"yourquestnumber"help();
break;Go ahead and delete the
c.q"yourquestnumber"help();We won't need it since we are using the button as a command and not a quest interface.
Now to add your command.
Before anything add this snippet so you won't get error's
c.So since I will be spawning a whip I will add this command
c.addItem(4151, 1);I will also add a Message to verify you spawned the whip.
c.sM("You Spawned a Whip.");
My final Snippet will look like this
case 28174:
c.addItem(4151, 1);
c.sM("You Spawned a Whip.");
break;
Save, Compile, Then RESTART YOUR SERVER:)
How To Make A Quest Tab Teleport.
First, open up your client and goto your quest tab and find the quest you would like to replace for a Command.
For this tutorial I will be using the quest "Vampire Slayer", you can use what ever quest you like.
After you have your quest, you'd like to make the command, open up texthandler.java and press Ctrl+f and then type in the name of the quest you want to edit and press enter.
There should be three of the same name like this.
if(c.q4 == 0){
c.sendQuest("Vampire Slayer", 7336);
}
if(c.q4 > 0){
c.sendQuest("@yel@Vampire Slayer", 7336);
}
if(c.q4 == 15){
c.sendQuest("@gre@Vampire Slayer", 7336);
}
Now go back to your client, and go back to the quest tab and go look at your quest again,this time seeing what color it is. My quest isGreenSo i will be using the third Snippet
if(c.q4 == 15){
c.sendQuest("@gre@Vampire Slayer", 7333);
}
If your quest is Yellow then use this Snippet
if(c.q4 > 0){
c.sendQuest("@yel@Vampire Slayer", 7336);
} If your quest is RedUse this Snippet
if(c.q4 > 0){
c.sendQuest("Vampire Slayer", 7336);
}
You can now change your Snippet to anything you would like the command to be,I will be teleporting to Mith Drags so I will name the Snippet Mith Drags Teleport
if(c.q11 > 0){
c.sendQuest("@ora@Mith Drags Teleport", 7342);
}
Now save your work, and compile.
After you have compiled and restarted your server, go back to your client and click your Button, so I will click "Mith Drags Teleport" and then Look on your clients CMD, and find the button you clicked, if it doesn't show, then right click your button, if it still doesn't show up, go find another tutorial for that.
Once, you get your button/interface ID open clickingmost.java,and press Ctrl+f and paste your button/interface ID, in this case, my button/interface ID is 28168, so i will search for that.
Once, you find it, it should look like this
case 28168:c.q"yourquestnumber"help();
break;Go ahead and delete the
c.q"yourquestnumber"help();We won't need it since we are using the button as a command and not a quest interface.
Now to add your command.
Before anything add this snippet so you won't get error's
c.So since I will be teleporting I will add this command
c.toX = 2731;
c.toY = 9767;
I will also add a Message to verify you teleported.
c.sM("You have been teleported to Mith Drags.");
My final Snippet will look like this
case 28168:
c.sM("You have been teleported to Mith Drags.");
c.toX = 2731;
c.toY = 9767;
break;
Save, Compile, Then RESTART YOUR SERVER:)

THANKS FOR READING!

Don't believe I wrote this, look "Rian" up on Mopar :):cool:

Mod Medic
July 2nd, 2010, 19:42
where the heck is the thingy 50% for me?

icedice
July 2nd, 2010, 19:51
don't get to excited your not the only person who has ever made commands in a quest tab on a 317.. i did this about 2 years ago on a godscape base.

Mod Medic
July 2nd, 2010, 21:04
don't get to excited your not the only person who has ever made commands in a quest tab on a 317.. i did this about 2 years ago on a godscape base.

who said anyone is excited?

Rian
July 2nd, 2010, 21:05
Im not that excited about it... i was releasing this to the public for help.

Mod Medic
July 2nd, 2010, 21:08
Im not that excited about it... i was releasing this to the public for help.

true how is it exciting at all? -.-

Rian
July 3rd, 2010, 12:58
true how is it exciting at all? -.-

Lol, he probably did w/My tut ROFL

Emperor
July 3rd, 2010, 16:38
Whoever didn't knew this should turn of his computer right now.

Mod Medic
July 3rd, 2010, 20:47
Whoever didn't knew this should turn of his computer right now.

Hey u might think ur awsome at making servers,teh best,but ur the lamest cuz u say stuff like that there are new people how do u think u found out? watched a tutorial bitch -.-

Rian
July 3rd, 2010, 20:57
Hey u might think ur awsome at making servers,teh best,but ur the lamest cuz u say stuff like that there are new people how do u think u found out? watched a tutorial bitch -.-

or read! :D Me+Medic= TEAM WORK BIATCH.

Mod Medic
July 3rd, 2010, 21:06
or read! :d me+medic= team work biatch.

yeee biatch :d

Mod Medic
July 3rd, 2010, 21:13
Only the registered members can see the link.

bloodpk3r
July 3rd, 2010, 22:02
medic was the double post actually necessary just edit ur original post.? anyways nice i guess but yeah its been done before but its good for beginners so gj on putting it out there for them - gj! :)

Emperor
July 3rd, 2010, 22:46
Hey u might think ur awsome at making servers,teh best,but ur the lamest cuz u say stuff like that there are new people how do u think u found out? watched a tutorial bitch -.-

It's self-explaining...Action button id > do operation. Nothing more, And please, learn some english, you're embarrassing yourself.

Ryan
July 3rd, 2010, 23:16
Whoever didn't knew this should turn of his computer right now.

Do you flame people in every thread you post in?

Zack
July 4th, 2010, 05:05
REAL AUTHOR? I loled this has been done in EVERY old server p16, etc. And it's a retard tut.

Mod Medic
July 4th, 2010, 07:19
REAL AUTHOR? I loled this has been done in EVERY old server p16, etc. And it's a retard tut.

so why are you here?

Mod Medic
July 4th, 2010, 07:20
Do you flame people in every thread you post in?

i agree...

Mod Medic
July 4th, 2010, 07:20
It's self-explaining...Action button id > do operation. Nothing more, And please, learn some english, you're embarrassing yourself.

so why arent ur laughing?

SiniSoul
July 4th, 2010, 23:28
Nice beginere tutorial but could you explain to us (Not me) How it works? Like when the Actionbutton packet is called and the code is executed so we can benefit from our "learning" experience ;)

Rian
July 5th, 2010, 01:50
why do you want to know how it happens, knowing what it does is good enough. if you want that copy/paste my tut and edit everything YOUR way...

SiniSoul
July 5th, 2010, 02:29
why do you want to know how it happens, knowing what it does is good enough. if you want that copy/paste my tut and edit everything YOUR way...

Understanding this section fail.

And Understanding my point fail.

"TEACHING"

not

"COPY AND PASTE"

Canownueasy`
July 5th, 2010, 03:19
How is this Teaching?

Rian
July 5th, 2010, 03:31
it isn't it's telling, but there's little to no copy/paste. so i put it here:)

SiniSoul
July 5th, 2010, 03:39
How is this Teaching?

Well I guess to keep the community pure I'm going to inject botox in my face and resist from putting bear traps on my front lawn.

:S See I'm smiling.

But I really do admin this is a great, hey nubs do this and get rolling tutorial. But you could take it a step further and explain packets. Since that would help the community.

icedice
July 5th, 2010, 15:30
Im not that excited about it... i was releasing this to the public for help.

i said dont get to excieted bescuase you are like 'IM THE REAL AUTHOR OF THIS'. first of all no you are not.. 2nd of this is very easy to do and if some 1 cant do this on there own then they shouldnt even try to run a server.

Message to all - Learn java before attempting a server...

And no rian i did not use this..

Emperor
July 5th, 2010, 21:26
Do you flame people in every thread you post in?

I am allot lately o.O

pspdude
July 7th, 2010, 00:46
lmao I've seen this before but nice tut :P

gamerbug
July 9th, 2010, 16:50
in the title I'd put 317 only. just saying. =P

Rian
July 9th, 2010, 16:53
i said dont get to excieted bescuase you are like 'IM THE REAL AUTHOR OF THIS'. first of all no you are not.. 2nd of this is very easy to do and if some 1 cant do this on there own then they shouldnt even try to run a server.

Message to all - Learn java before attempting a server...

And no rian i did not use this..
Actually I am The real Author. Why because this is MY tutorial, and I had to learn how to do this by myself, because NO ONE WROTE A TUTORIAL. the original post of this FROM ME is on mopar. Get your facts straight.

Emperor
July 9th, 2010, 17:00
Actually I am The real Author. Why because this is MY tutorial, and I had to learn how to do this by myself, because NO ONE WROTE A TUTORIAL. the original post of this FROM ME is on mopar. Get your facts straight.

What he means is; This has been done numerous times.
Yes, you maybe wrote the tutorial, But then again, it's nothing new.

Car
July 22nd, 2010, 20:30
Emperor, be quiet, you think your the shit and your not..
And i have a question, im not sure if anyone can answer it, but, how do i take the quests out of the quest tab completely? So it doesnt show it at all, and there would be just a space? Cause ive been trying too do that and it wont come out, for example, i tried taking drudic ritual out, and i can click it and it still says "Clicked: 28177" but it doesnt open anything up? Can someone help me out with this one please?:)

HillyV2
August 11th, 2010, 16:41
Nice tutorial it worked on my other server .. but im now making a [PI] based server and i would like to know how ide incorporate it as i don't have a text handler.. Thanks in advance :)

SiniSoul
August 11th, 2010, 16:54
Why r we bumping something like this?!

Meh on the tut.

kab
September 6th, 2010, 10:36
question if you guy's are trying to better the community why are your qqing over a simple tut on how to do something to better us noobs on codeing our own stuff? if you want to better the community you people who know how to code need to stop acting errogant and do something productive and stop wasting time on pointless bickering like 2 years old on who can spit the farthest... this should be in copy/paste don't teach anything really but copy what i have. it is a good example to look back to see what to do and make it your own tho so good job.

bluefire
September 6th, 2010, 17:52
question if you guy's are trying to better the community why are your qqing over a simple tut on how to do something to better us noobs on codeing our own stuff? if you want to better the community you people who know how to code need to stop acting errogant and do something productive and stop wasting time on pointless bickering like 2 years old on who can spit the farthest... this should be in copy/paste don't teach anything really but copy what i have. it is a good example to look back to see what to do and make it your own tho so good job.

Amen brother!