Description: 100% - 90% Monkey Greegree's
Difficulty: 2.5 - +
Assumed Knowledge: Copy & Past
Tested Server: XScape [Czar]
Files/Classes Modified: Client.java
Credits: 100% Credits Me ! I MADE IT [Flame / Dont Replay = Remove]
Have Fun
Procedure
Step 1: Open Client.Java Search For
Code:
public void WriteBonus() {
Step 2: Now Under : Add This Code :
*took me 5 min to make
Code:
if ((playerEquipment[playerWeapon] == 4025) && npcId != 1481) {
npcId = 1481;
isNpc = true;
} else if ((playerEquipment[playerWeapon] != 4025) && npcId == 1481) {
npcId = 0;
isNpc = false;
}
if ((playerEquipment[playerWeapon] == 4026) && npcId != 1482) {
npcId = 1482;
isNpc = true;
} else if ((playerEquipment[playerWeapon] != 4026) && npcId == 1482) {
npcId = 0;
isNpc = false;
}
if ((playerEquipment[playerWeapon] == 4027) && npcId != 1483) {
npcId = 1483;
isNpc = true;
} else if ((playerEquipment[playerWeapon] != 4027) && npcId == 1483) {
npcId = 0;
isNpc = false;
}
if ((playerEquipment[playerWeapon] == 4028) && npcId != 1484) {
npcId = 1484;
isNpc = true;
} else if ((playerEquipment[playerWeapon] != 4028) && npcId == 1484) {
npcId = 0;
isNpc = false;
}
if ((playerEquipment[playerWeapon] == 4029) && npcId != 1485) {
npcId = 1485;
isNpc = true;
} else if ((playerEquipment[playerWeapon] != 4029) && npcId == 1485) {
npcId = 0;
isNpc = false;
}
if ((playerEquipment[playerWeapon] == 4030) && npcId != 1486) {
npcId = 1486;
isNpc = true;
} else if ((playerEquipment[playerWeapon] != 4030) && npcId == 1486) {
npcId = 0;
isNpc = false;
}
if ((playerEquipment[playerWeapon] == 4031) && npcId != 1487) {
npcId = 1487;
isNpc = true;
} else if ((playerEquipment[playerWeapon] != 4031) && npcId == 1487) {
npcId = 0;
isNpc = false;
}
Step 3: if you want a shop open Shops.cfg add this
Code:
- xx = Shop ID
- xxx = Shop Name
Code:
shop = xx xxx 2 2 4024 20 4025 20 4026 20 4027 20 4028 20 4029 20 4030 20 4031 10
open up autospawn.cfg and add this
Code:
-xxxxx = Npc ID
-xxxx = Npc Name
-NpcX - The X Coord u want the npc
-NpcY - The Y Coord u want the npc
Ex : 1500 1350
Code:
spawn = xxxxx NpcX NpcY 0 0 0 0 0 1 xxxx
Open up Client.Java Search For And under it add this :
Code:
xx - NpcId
xxx - ShopID
Code:
} else if (NPCID == xx) { // Gree By XGamer
PutNPCCoords = true;
WanneShop = xxx; // Gree By XGamer
Pictures :
[IMG][/IMG]
[IMG][/IMG]