forked from 2009Scape/Server
Fixes and more (#69)
* Fixes Fixed #11 and implemented a beta command for testing (stops the need to go into database and manually change when debugging, very slow, now one command in game, very fast) * Space to continue Does what it says on the tin! * Fixes + more What I've done this update: - Fixed tutorial island's chef giving infinite amounts of buckets and water to players - Fixed fishing without a tool. - Added the wilderness teleport lever to Edgeville south of the bank (as some have requested) - Added some useful tools for editing cache. Enjoy!
This commit is contained in:
parent
34a24140c1
commit
0fc8d6ee4c
1207 changed files with 66670 additions and 27 deletions
15
Tools/Cache Editor/src/emperor/Landscape.java
Normal file
15
Tools/Cache Editor/src/emperor/Landscape.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package emperor;
|
||||
|
||||
public class Landscape {
|
||||
|
||||
byte[][][] flags = new byte[4][64][64];
|
||||
byte[][][] overlays = new byte[4][64][64];
|
||||
byte[][][] underlays = new byte[4][64][64];
|
||||
|
||||
public void addOverlay(int z, int x, int y, int overlay) {
|
||||
overlays[z][x][y] = (byte) overlay;
|
||||
}
|
||||
public void addUnderlay(int z, int x, int y, int underlay) {
|
||||
underlays[z][x][y] = (byte) underlay;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue