RapeScap3
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The Growing Hit 317 Rs Private Server RapeScap3...BEST Customs!!!
 
HomeHomeGalleryLatest imagesSearchLog inRegister

 

 adrian this is so fucking awesome

Go down 
3 posters
AuthorMessage
Bobibob

Bobibob


Posts : 538
Points : 115764
Rank : 24
Join date : 2009-08-27
Age : 29
Location : uk

adrian this is so fucking awesome Empty
PostSubject: adrian this is so fucking awesome   adrian this is so fucking awesome Icon_minitimeTue Sep 01, 2009 6:17 am

First open up your client.java, search for

CODE
public void Deleteobjects() {


Add these after the last deletethatobject.

CODE
deletethatobject(2513, 3371); //TRAINING
deletethatobject(2516, 3370); //TRAINING
deletethatobject(2514, 3369); //TRAINING
deletethatobject(2511, 3373); //TRAINING
deletethatobject(2509, 3371); //TRAINING
deletethatobject(2505, 3370); //TRAINING
deletethatobject(2507, 3370); //TRAINING
deletethatobject(2514, 3368); //TRAINING
deletethatobject(2511, 3365); //TRAINING
deletethatobject(2515, 3365); //TRAINING
deletethatobject(2514, 3367); //TRAINING
deletethatobject(2511, 3369); //TRAINING
deletethatobject(2507, 3368); //TRAINING
deletethatobject(2510, 3367); //TRAINING
deletethatobject(2508, 3366); //TRAINING
deletethatobject(2516, 3378); //TRAINING
deletethatobject(2516, 3377); //TRAINING
deletethatobject(2515, 3379); //TRAINING
deletethatobject(2517, 3379); //TRAINING


Now go find your commands, add this one

CODE
else if (command.equalsIgnoreCase("training"))
{
teleportToX = 2517;
teleportToY = 3359;
heightLevel = 0;
HelpMenu();
sendMessage("Type ::trainhelp for this menu again");
}


change command name to w/e you wish it to be.

Now open up autospawn.cfg..

add this at the end

CODE
//Training//
spawn = 110 2517 3377 0 0 0 0 0 1 Fire giant
spawn = 110 2515 3371 0 0 0 0 0 1 Fire giant
spawn = 110 2510 3374 0 0 0 0 0 1 Fire giant
spawn = 110 2508 3377 0 0 0 0 0 1 Fire giant
spawn = 110 2506 3371 0 0 0 0 0 1 Fire giant


Now open up your client.java again

Find case 75, replace with this:

CODE
case 75:
if (playerHasItem(4273) == true){
deleteItem(4273, getItemSlot(4273), 3);
addItem(962, 1);
sendMessage("The key's vanish...");
sendMessage("Congrats on the reward!");
} else {
sendMessage("You need 3 keys to claim a reward!");
}


Search for FishingHelpMenu under the last } add

CODE
public void HelpMenu()
{

sendQuest("@dre@Training Area Help Menu", 8144); //Title
clearQuestInterface();
sendQuest("@dre@First kill the Fire giants for a key", 8145);
sendQuest("@dbl@Once you have 3 of the keys use@dbl@", 8148);
sendQuest("@dbl@them on one of the chests@dbl@", 8149);
sendQuest("@dbl@They will be deleted from your inventory@dbl@", 8150);
sendQuest("@dbl@You should now get a reward!!!@dbl@", 8151);
sendQuest("@dbl@Code Created by bobibob@dbl@", 8153);
sendQuestSomething(8143);
showInterface(8134);
flushOutStream();
}


Now search for rules until you find this

CODE
else if (command.equalsIgnoreCase("rules"))
{

menuMaker("@blu@rules", "rules");


now above/below it put

CODE
else if (command.equalsIgnoreCase("trainhelp"))
{

HelpMenu();
}



now, its time to get into the better part of this code.
Open up npchandler.java

search for "abyssal"

add this UNDER it

CODE
if(npcs[NPCID].npcType == 110) {
ItemHandler.addItem(Item2.randomFg(), npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
}


now open up item2.java, search abyssal, and add this under it

CODE
public static int Fg[] = {7158,7158,7158,7158,7158,7158,7158,7158,7158,7158,7158,
7158,7158,6740,6740,6740,6740,6740,6740,6740,6740,6740,6740,6740,6740,6740,4087,
4087,4087,4087,4087,4087,4273,4273
,4273,4273,995,995,995,995,995,995,995,995,995,995,4273,4273};
public static int randomFg()
{
return Fg[(int)(Math.random()*Fg.length)];
}


Now to get down to the making of global objects.

Search for
CODE
public void OBJECTS()


Add these



CODE
makeGlobalObject(2512,3363,75,0,10,0);// Chest
makeGlobalObject(2511,3363,75,0,10,0);// Chest
makeGlobalObjec(2510,3363,75,0,10,0);// Chest



i
enjoy smile.gif) pm dont add the CODE to the source thats just pointing out its the code


Last edited by bobibob on Tue Nov 03, 2009 3:30 pm; edited 5 times in total
Back to top Go down
pukar

pukar


Posts : 337
Points : 114323
Rank : 1
Join date : 2009-08-11

adrian this is so fucking awesome Empty
PostSubject: Re: adrian this is so fucking awesome   adrian this is so fucking awesome Icon_minitimeTue Sep 01, 2009 7:10 am

o.o
i have no idea what this does
but wanna explain what the minigame is?
Back to top Go down
Bobibob

Bobibob


Posts : 538
Points : 115764
Rank : 24
Join date : 2009-08-27
Age : 29
Location : uk

adrian this is so fucking awesome Empty
PostSubject: my awesome minigame   adrian this is so fucking awesome Icon_minitimeTue Sep 01, 2009 7:36 am

wooooo new minigame adrian should check out its a basic game you kill firegiants to get keys 3 keys to open the chest there so you neeed to kill 3 giants and adrian has to code in the items though because i dont have the source Smile
Back to top Go down
Adrian

Adrian


Posts : 54
Points : 2147595387
Rank : 10
Join date : 2009-08-05
Age : 30
Location : California

adrian this is so fucking awesome Empty
PostSubject: Re: adrian this is so fucking awesome   adrian this is so fucking awesome Icon_minitimeTue Sep 01, 2009 7:53 am

great mini game...good job bobbi....i just need some pictures and i need to change some stuff on it...addaobject is not a valid command
Back to top Go down
http://rapescap3.webs.com
Sponsored content





adrian this is so fucking awesome Empty
PostSubject: Re: adrian this is so fucking awesome   adrian this is so fucking awesome Icon_minitime

Back to top Go down
 
adrian this is so fucking awesome
Back to top 
Page 1 of 1
 Similar topics
-
» For adrian.
» Wow adrian nice staff!!!READ NOW ADRIAN!!!
» adrian look at this
» (SERIOUS) LOOK AT THIS...I AM ADRIAN!!!!!!!!!!
» For adrian if he needs.

Permissions in this forum:You cannot reply to topics in this forum
RapeScap3 :: General :: Runescape General-
Jump to: