Adding a simple cave pk area!
Purpose: Adding a simple cave pking area!
Difficulty: 1/10
Assumed Knowledge: Copy & Paste
Server Base: BloodyScape
Classes Modified: autospawn.cfg, client.java
Procedure
Step one:
Open up autospawn.cfg and add these in:
Code:
//Bankers in Cave Pk
spawn = 494 2349 9801 0 0 0 0 0 1
spawn = 494 2349 9800 0 0 0 0 0 1
//End Bankers in Cave Pk
Step two:
Open client.java and search public void NewObjects() under it add:
Code:
makeGlobalObject(2359, 9806, 3644, 1, 10);
makeGlobalObject(2360, 9800, 3644, 2, 10);
makeGlobalObject(2357, 9797, 3644, 3, 10);
makeGlobalObject(2353, 9801, 3644, 0, 10);
makeGlobalObject(2346, 9812, 1004, 2, 10);
makeGlobalObject(2350, 9801, 2213, 1, 10);
makeGlobalObject(2350, 9800, 2213, 1, 10);
makeGlobalObject(2350, 9799, 2215, 1, 10);
makeGlobalObject(2346, 9807, 1004, 2, 10);
makeGlobalObject(2346, 9808, 1004, 2, 10);
makeGlobalObject(2346, 9809, 1004, 2, 10);
makeGlobalObject(2346, 9810, 1004, 2, 10);
makeGlobalObject(2346, 9811, 1004, 2, 10);
makeGlobalObject(2346, 9813, 1004, 2, 10);
makeGlobalObject(2346, 9814, 1004, 2, 10);
makeGlobalObject(2346, 9815, 1004, 2, 10);
makeGlobalObject(2346, 9816, 1004, 2, 10);
makeGlobalObject(2346, 9817, 1004, 2, 10);
makeGlobalObject(2346, 9818, 1004, 2, 10);
makeGlobalObject(2346, 9819, 1004, 2, 10);
makeGlobalObject(2346, 9820, 1004, 2, 10);
makeGlobalObject(2347, 9820, 1004, 1, 10);
Final step:
Search for command.trim and add this:
Code:
if (command.equalsIgnoreCase("cavepk"))
{
teleportToX = 2354;
teleportToY = 9807;
}
Credits: BloodyChef