Pimping_One
Forum Addict
ok i posted these on mopar.. there not really tuts there more of improvments but there kinda cool dont leech plz.
Gnome Gliders
add gnome gliders to ur server..
Ok Everyone This Took Me 12 Minutes
open client.java and look for
add this under it
now look for this
below it add
now whenevr you type ::gnomeglider
it wil give you options
to fly
cred: me 100% [size=50pt]O.o[/size]
all the places work..
Fixing Tele Animations
Purpose: Read the title? well, when you tele you get stay small and you have to log out and back in, it fixes that
Difficulty: Easy.
Assumed Knowledge: Copy and Paste.
Server Base: PimpScape.
Classes Modified: Client.Java
open client.java and search for
Search for:
replace with mine
Replace with mines:
save and compile,
Creds: me, unless this has been posted b4
Handy Take everywhere runecrafter
Update: Now when you wear a tiara (item id = 5525) it pops up! and get rune craft xp!
Purpose: To Make a Rune Giving Interface. (take anywhere rune crafting alter)
Difficulty: 1.
Class Modified: Client.java.
Open client.java and firstly find.
Then below that add.
Now find
underneath this:
add this
a tiara (item id = 5525) it pops up!
Credits: Pimping One (for all the coding) 95%
I Br3ndan I for
5%
when you click on the rune it gives it to you
pk dungeon
Purpose: To have a pk dungeon
Difficulty: 2/10
Assumed Knowledge: C&P, MUST HAVE DONE GLOBAL OBJECT TUTORIAL!
Server Base: Pimpscape, should work with any other source though
Classes Modified: Client.java, autospawn.cfg, npchandler
First, open client.java and search for
and under that add all these
now search for
you should see something like this:
between the } and the break add this
ok, now save, and close
now open up autospawn.cfg and search for
press enter a few times so u have some spaces and add this
now save and close, and then open up npc.hanldler
and search for
above that add
save Close
Creds: 100% me
Gnome Gliders
add gnome gliders to ur server..
Ok Everyone This Took Me 12 Minutes
open client.java and look for
Code:
//case 4126: windstrike break;
add this under it
Code:
case 3057: //inter 802 gnome glider tree
RemoveAllWindows();
teleportToX = 2461;
teleportToY = 3382;
break;
case 3058: //inter 802 gnome glider mountain
RemoveAllWindows();
teleportToX = 2850;
teleportToY = 3497;
break;
case 3059: //inter 802 gnome glider castle
RemoveAllWindows();
teleportToX = 2757;
teleportToY = 3477;
break;
case 3060: //inter 802 gnome glider alkharid
RemoveAllWindows();
teleportToX = 3284;
teleportToY = 3213;
break;
case 3056: //inter 802 gnome glider karamja
RemoveAllWindows();
teleportToX = 2848;
teleportToY = 3028;
break;
case 48054: //inter 802 gnome glider death spot
RemoveAllWindows();
teleportToX = 3246;
teleportToY = 3561;
break;
now look for this
Code:
else if(command.startsWith("char")
below it add
Code:
} else if(command.startsWith("gnomeglider")) {
showInterface(802);
now whenevr you type ::gnomeglider
it wil give you options
to fly
cred: me 100% [size=50pt]O.o[/size]
all the places work..
Fixing Tele Animations
Purpose: Read the title? well, when you tele you get stay small and you have to log out and back in, it fixes that
Difficulty: Easy.
Assumed Knowledge: Copy and Paste.
Server Base: PimpScape.
Classes Modified: Client.Java
open client.java and search for
Search for:
Code:
public void setAnimation(int i) {
//pEmote = i;
//updateRequired = true;
//appearanceUpdateRequired = true;
startAnimation(i);
}
replace with mine
Replace with mines:
Code:
public void setAnimation(int i) {
pEmote = i;
updateRequired = true;
appearanceUpdateRequired = true;
startAnimation(i);
}
save and compile,
Creds: me, unless this has been posted b4
Handy Take everywhere runecrafter
Update: Now when you wear a tiara (item id = 5525) it pops up! and get rune craft xp!
Purpose: To Make a Rune Giving Interface. (take anywhere rune crafting alter)
Difficulty: 1.
Class Modified: Client.java.
Open client.java and firstly find.
Code:
case 185:
Then below that add.
Code:
case 63122: // add fire rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (554, 100);
break;
case 63127: // add mind rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (558, 100);
break;
case 63131: // add law rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (563, 100);
break;
case 63124: // add water rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (555, 100);
break;
case 63128: // add mind rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (558, 100);
break;
case 63132: // add cosmic rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (564, 100);
break;
case 63125: // add earth rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (557, 100);
break;
case 63129: // add nature rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (561, 100);
break;
case 63133: // add echo tokens
RemoveAllWindows();
addSkillXP(200, 20);
addItem (4278, 100);
break;
case 63126: // add air rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (556, 100);
break;
case 63130: // add chaos rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (562, 100);
break;
case 63134: // add soul rune
RemoveAllWindows();
addSkillXP(200, 20);
addItem (566, 100);
break;
Now find
Code:
case 41: // wear item
int wearID = inStream.readUnsignedWord();
int wearSlot = inStream.readUnsignedWordA();
interfaceID = inStream.readUnsignedWordA();
underneath this:
Code:
interfaceID = inStream.readUnsignedWordA();
add this
Code:
if (wearID == 5525) {
showInterface(16248);
deleteItem(5525, getItemSlot(5525), 1);
}
a tiara (item id = 5525) it pops up!
Credits: Pimping One (for all the coding) 95%
I Br3ndan I for
Code:
deleteItem(5525, getItemSlot(5525), 1);
when you click on the rune it gives it to you
pk dungeon
Purpose: To have a pk dungeon
Difficulty: 2/10
Assumed Knowledge: C&P, MUST HAVE DONE GLOBAL OBJECT TUTORIAL!
Server Base: Pimpscape, should work with any other source though
Classes Modified: Client.java, autospawn.cfg, npchandler
First, open client.java and search for
Code:
public void NewObjects() {
and under that add all these
Code:
makeGlobalObject(3263, 3425, 2474, 0, 10);//portal
makeGlobalObject(3218, 3903, 1384, -1, 10);//arena
makeGlobalObject(3218, 3902, 1384, -1, 10);//arena
makeGlobalObject(3218, 3901, 1384, -1, 10);//arena
makeGlobalObject(3218, 3900, 1384, -1, 10);//arena
makeGlobalObject(3218, 3899, 1384, -1, 10);//arena
makeGlobalObject(3218, 3898, 1384, -1, 10);//arena
makeGlobalObject(3218, 3897, 1384, -1, 10);//arena
makeGlobalObject(3218, 3896, 1384, -1, 10);//arena
makeGlobalObject(3218, 3895, 1384, -1, 10);//arena
makeGlobalObject(3219, 3895, 1384, -1, 10);//arena
makeGlobalObject(3220, 3895, 1384, -1, 10);//arena
makeGlobalObject(3221, 3895, 1384, -1, 10);//arena
makeGlobalObject(3222, 3895, 1384, -1, 10);//arena
makeGlobalObject(3223, 3895, 1384, -1, 10);//arena
makeGlobalObject(3224, 3895, 1384, -1, 10);//arena
makeGlobalObject(3225, 3895, 1384, -1, 10);//arena
makeGlobalObject(3226, 3895, 1384, -1, 10);//arena
makeGlobalObject(3227, 3895, 1384, -1, 10);//arena
makeGlobalObject(3228, 3895, 1384, -1, 10);//arena
makeGlobalObject(3229, 3895, 1384, -1, 10);//arena
makeGlobalObject(3230, 3895, 1384, -1, 10);//arena
makeGlobalObject(3231, 3895, 1384, -1, 10);//arena
makeGlobalObject(3232, 3895, 1384, -1, 10);//arena
makeGlobalObject(3232, 3896, 1384, -1, 10);//arena
makeGlobalObject(3232, 3897, 1384, -1, 10);//arena
makeGlobalObject(3232, 3898, 1384, -1, 10);//arena
makeGlobalObject(3232, 3899, 1384, -1, 10);//arena
makeGlobalObject(3232, 3900, 1384, -1, 10);//arena
makeGlobalObject(3232, 3901, 1384, -1, 10);//arena
makeGlobalObject(3232, 3902, 1384, -1, 10);//arena
makeGlobalObject(3232, 3903, 1384, -1, 10);//arena
now search for
Code:
case 132:
you should see something like this:
Code:
case 132:
int objectX = inStream.readSignedWordBigEndianA();
int objectID = inStream.readUnsignedWord();
int objectY = inStream.readUnsignedWordA();
int face = 0;
int face2 = 0;
int GateID = 1;
if(objectID == 6912) { // Xerozcheez: This object requires to be 3 sqs minium, so we change it ;)
destinationRange = 3;
}
else if(objectID == 6672 || objectID == 6673) { // Xerozcheez: These objects requires to be 1 sqs max, so we change it ;)
destinationRange = 1;
}
else {
destinationRange = 2;
}
if(GoodDistance(absX, absY, objectX, objectY, destinationRange)) {
viewTo(objectX, objectY);
objectClick(objectID, objectX, objectY, 0, 0, 1);
}
else {
ActionType = 1;
destinationX = objectX;
destinationY = objectY;
destinationID = objectID;
WalkingTo = true;
}
break;
between the } and the break add this
Code:
if (objectID == 2474) // Dungeon Tele
{
teleportToX = 3224;
teleportToY = 3897;
}
ok, now save, and close
now open up autospawn.cfg and search for
Code:
[ENDOFSPAWNLIST]
press enter a few times so u have some spaces and add this
Code:
// arena
spawn = 1636 3222 3904 0 0 0 0 0 1 arena
spawn = 1635 3217 3899 0 0 0 0 0 1 arena
spawn = 1634 3225 3894 0 0 0 0 0 1 arena
spawn = 1633 3234 3899 0 0 0 0 0 1 arena
// End Of arena
now save and close, and then open up npc.hanldler
and search for
Code:
moo
Code:
if (npcs[i].npcType == 1636 || npcs[i].npcType == 397 || npcs[i].npcType == 1766 || npcs[i].npcType == 1767 || npcs[i].npcType == 1768) {
if (misc.random2(1) == 1) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "This is your only way out! through the gate!";
}
}
if (npcs[i].npcType == 1635 || npcs[i].npcType == 397 || npcs[i].npcType == 1766 || npcs[i].npcType == 1767 || npcs[i].npcType == 1768) {
if (misc.random2(1) == 1) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "Rip his damn head off!";
}
}
if (npcs[i].npcType == 1634 || npcs[i].npcType == 397 || npcs[i].npcType == 1766 || npcs[i].npcType == 1767 || npcs[i].npcType == 1768) {
if (misc.random2(1) == 1) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "GET BACK IN THERE WIMP!";
}
}
if (npcs[i].npcType == 1633 || npcs[i].npcType == 397 || npcs[i].npcType == 1766 || npcs[i].npcType == 1767 || npcs[i].npcType == 1768) {
if (misc.random2(1) == 1) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "I PUT 100K ON YOU, WIN DAMIT! ";
}
}
save Close
Creds: 100% me


