crezzy
July 23rd, 2010, 14:31
Well a few months ago I saw someone posted a tut on a garden minigame... well it was shocking lol.
Anyway I have made the minigame using a interface for the rewards (used same interface as emberscape) Well emberscape's garden is pritty rubish also lol anyway heres my copy of it
THE ONLY TING I USED FROM EMBERSCAPE IS THE INTERFACE! I WROTE ALL THIS CODE MY SELF!
10% CREDITS TO EMBERSCAPE FOR THE INTERFACE
90% CREDITS ME FOR MAKEING ALL THIS CODE
in object1packethandler.java add this
public static int garden1[] = {7562, 5320, 5323, 5291, 5292, 5295, 5299, 5293};
public static int garden1() {
return garden1[(int) (Math.random() * garden1.length)];
}
public static int garden2[] = {5098, 5099, 5100, 5308, 5310, 5101, 5102, 5103};
public static int garden2() {
return garden2[(int) (Math.random() * garden2.length)];
}
public static int garden3[] = {5104, 5105, 5106, 5312, 5313, 5314, 5287};
public static int garden3() {
return garden3[(int) (Math.random() * garden3.length)];
}
public static int garden4[] = {5315, 5289, 5317, 6034, 12625};
public static int garden4() {
return garden4[(int) (Math.random() * garden4.length)];
}
Add that under
public class Object1PacketHandler implements PacketHandler {
Then under any case add
case 21753:
if (player.getLocation().getX() == 2920 && player.getLocation().getY() == 5473) {
player.WalkTo().WalkTo(player, 2921, 5473);
} else if (player.getLocation().getX() == 2921 && player.getLocation().getY() == 5473) {
player.WalkTo().WalkTo(player, 2920, 5473);
}
break;
case 21731:
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to enter this area!");
} else {
if (player.getLocation().getX() == 2913 && player.getLocation().getY() == 5463) {
player.WalkTo().WalkTo(player, 2913, 5462);
} else if (player.getLocation().getX() == 2913 && player.getLocation().getY() == 5462) {
player.WalkTo().WalkTo(player, 2913, 5463);
}
}
break;
case 21687:
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to enter this area!");
} else {
if (player.getLocation().getX() == 2910 && player.getLocation().getY() == 5480) {
player.WalkTo().WalkTo(player, 2910, 5481);
} else if (player.getLocation().getX() == 2910 && player.getLocation().getY() == 5481) {
player.WalkTo().WalkTo(player, 2910, 5480);
}
}
break;
case 21709:
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to enter this area!");
} else {
if (player.getLocation().getX() == 2903 && player.getLocation().getY() == 5470) {
player.WalkTo().WalkTo(player, 2902, 5470);
} else if (player.getLocation().getX() == 2902 && player.getLocation().getY() == 5470) {
player.WalkTo().WalkTo(player, 2903, 5470);
}
}
break;
case 21764:
player.getActionSender().sendInterface(686, false);
player.getActionSender().sendString("PK-Madness Garden minigame seed exchange", 686, 17);
player.getActionSender().sendString("Sell seeds for Farming exp!", 686, 58);
player.getActionSender().sendString("", 686, 55);
player.getActionSender().sendString("", 686, 56);
player.getActionSender().sendString("", 686, 53);
player.getActionSender().sendString("", 686, 57);
player.getActionSender().sendString("", 686, 48);
break;
case 21767:
player.WalkTo().WalkTo(player, 2931, 5463);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2931 && player.getLocation().getY() == 5463) {
player.graphics(1601);
player.getInventory().addItem(garden1(), 1);
player.tele(2913, 5472, 0);
}
break;
case 21768:
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to try this part of the minigame!");
} else {
player.WalkTo().WalkTo(player, 2912, 5451);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2912 && player.getLocation().getY() == 5451) {
player.graphics(1602);
player.getInventory().addItem(garden2(), 1);
player.tele(2913, 5472, 0);
}
}
break;
case 21766:
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to try this part of the minigame!");
} else {
player.WalkTo().WalkTo(player, 2914, 5491);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2914 && player.getLocation().getY() == 5491) {
player.graphics(1602);
player.getInventory().addItem(garden3(), 1);
player.tele(2913, 5472, 0);
}
}
break;
case 21769:
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to try this part of the minigame!");
} else {
player.WalkTo().WalkTo(player, 2891, 5475);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2891 && player.getLocation().getY() == 5475) {
player.graphics(1602);
player.getInventory().addItem(garden4(), 1);
player.tele(2913, 5472, 0);
}
}
break;
In actionbuttonpackethandler.java
case 686: //garden mini interface
if(buttonId == 18) {
if (!player.getInventory().contains(7562)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 100);
player.getInventory().deleteItem(7562, 1);
}
if(buttonId == 19) {
if (!player.getInventory().contains(5320)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 150);
player.getInventory().deleteItem(5320, 1);
}
if(buttonId == 20) {
if (!player.getInventory().contains(5323)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 200);
player.getInventory().deleteItem(5323, 1);
}
if(buttonId == 22) {
if (!player.getInventory().contains(5291)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 250);
player.getInventory().deleteItem(5291, 1);
}
if(buttonId == 23) {
if (!player.getInventory().contains(5295)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 250);
player.getInventory().deleteItem(5292, 1);
}
if(buttonId == 25) {
if (!player.getInventory().contains(5295)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 300);
player.getInventory().deleteItem(5295, 1);
}
if(buttonId == 26) {
if (!player.getInventory().contains(5299)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 100);
player.getInventory().deleteItem(5299, 1);
}
if(buttonId == 27) {
if (!player.getInventory().contains(5293)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 100);
player.getInventory().deleteItem(5293, 1);
}
if(buttonId == 28) { //2nd area
if (!player.getInventory().contains(5098)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 300);
player.getInventory().deleteItem(5098, 1);
}
}
if(buttonId == 29) { //2nd area
if (!player.getInventory().contains(5099)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 330);
player.getInventory().deleteItem(5099, 1);
}
}
if(buttonId == 30) { //2nd area
if (!player.getInventory().contains(5100)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 360);
player.getInventory().deleteItem(5100, 1);
}
}
if(buttonId == 31) { //2nd area
if (!player.getInventory().contains(5308)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 390);
player.getInventory().deleteItem(5308, 1);
}
}
if(buttonId == 32) { //2nd area
if (!player.getInventory().contains(5310)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 410);
player.getInventory().deleteItem(5310, 1);
}
}
if(buttonId == 33) { //2nd area
if (!player.getInventory().contains(5101)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 450);
player.getInventory().deleteItem(5101, 1);
}
}
if(buttonId == 34) { //2nd area
if (!player.getInventory().contains(5102)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 480);
player.getInventory().deleteItem(5102, 1);
}
}
if(buttonId == 35) { //2nd area
if (!player.getInventory().contains(5103)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 500);
player.getInventory().deleteItem(5103, 1);
}
}
if(buttonId == 36) { //3rd area
if (!player.getInventory().contains(5104)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 700);
player.getInventory().deleteItem(5104, 1);
}
}
if(buttonId == 37) { //3rd area
if (!player.getInventory().contains(5105)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 720);
player.getInventory().deleteItem(5105, 1);
}
}
if(buttonId == 38) { //3rd area
if (!player.getInventory().contains(5106)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 750);
player.getInventory().deleteItem(5106, 1);
}
}
if(buttonId == 39) { //3rd area
if (!player.getInventory().contains(5312)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 770);
player.getInventory().deleteItem(5312, 1);
}
}
if(buttonId == 40) { //3rd area
if (!player.getInventory().contains(5313)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 830);
player.getInventory().deleteItem(5313, 1);
}
}
if(buttonId == 41) { //3rd area
if (!player.getInventory().contains(5314)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 850);
player.getInventory().deleteItem(5314, 1);
}
}
if(buttonId == 42) { //3rd area
if (!player.getInventory().contains(5287)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 870);
player.getInventory().deleteItem(5287, 1);
}
}
if(buttonId == 43) { //4th area
if (!player.getInventory().contains(5315)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(5315, 1);
}
}
if(buttonId == 44) { //4th area
if (!player.getInventory().contains(5289)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1100);
player.getInventory().deleteItem(5289, 1);
}
}
if(buttonId == 45) { //4th area
if (!player.getInventory().contains(5317)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(5317, 1);
}
}
if(buttonId == 46) { //4th area
if (!player.getInventory().contains(6034)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(6034, 1);
}
}
if(buttonId == 47) { //4th area
if (!player.getInventory().contains(12625)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(12625, 1);
}
}
break;
And in itemDefinitions.xml add
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>12625</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>6034</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5317</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5289</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5315</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5287</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5314</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5313</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5312</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5106</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5105</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5104</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5103</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5102</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5101</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5310</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5308</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5100</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5099</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5098</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5293</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5299</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5295</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5292</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5291</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5323</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5320</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>7562</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
I know this is all simple stuff but its alright for a little minigame aint it :P my couple of 100 players liked it when i added to my server anyway :P all comment and rate thread! :)
Only the registered members can see the link.
Its just 4 mazes and you run to end and you get a random seed, which then you can spend for farming exp on that interface.
THE ONLY TING I USED FROM EMBERSCAPE IS THE INTERFACE! I WROTE ALL THIS CODE MY SELF!
10% CREDITS TO EMBERSCAPE FOR THE INTERFACE
90% CREDITS ME FOR MAKEING ALL THIS CODE
Anyway I have made the minigame using a interface for the rewards (used same interface as emberscape) Well emberscape's garden is pritty rubish also lol anyway heres my copy of it
THE ONLY TING I USED FROM EMBERSCAPE IS THE INTERFACE! I WROTE ALL THIS CODE MY SELF!
10% CREDITS TO EMBERSCAPE FOR THE INTERFACE
90% CREDITS ME FOR MAKEING ALL THIS CODE
in object1packethandler.java add this
public static int garden1[] = {7562, 5320, 5323, 5291, 5292, 5295, 5299, 5293};
public static int garden1() {
return garden1[(int) (Math.random() * garden1.length)];
}
public static int garden2[] = {5098, 5099, 5100, 5308, 5310, 5101, 5102, 5103};
public static int garden2() {
return garden2[(int) (Math.random() * garden2.length)];
}
public static int garden3[] = {5104, 5105, 5106, 5312, 5313, 5314, 5287};
public static int garden3() {
return garden3[(int) (Math.random() * garden3.length)];
}
public static int garden4[] = {5315, 5289, 5317, 6034, 12625};
public static int garden4() {
return garden4[(int) (Math.random() * garden4.length)];
}
Add that under
public class Object1PacketHandler implements PacketHandler {
Then under any case add
case 21753:
if (player.getLocation().getX() == 2920 && player.getLocation().getY() == 5473) {
player.WalkTo().WalkTo(player, 2921, 5473);
} else if (player.getLocation().getX() == 2921 && player.getLocation().getY() == 5473) {
player.WalkTo().WalkTo(player, 2920, 5473);
}
break;
case 21731:
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to enter this area!");
} else {
if (player.getLocation().getX() == 2913 && player.getLocation().getY() == 5463) {
player.WalkTo().WalkTo(player, 2913, 5462);
} else if (player.getLocation().getX() == 2913 && player.getLocation().getY() == 5462) {
player.WalkTo().WalkTo(player, 2913, 5463);
}
}
break;
case 21687:
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to enter this area!");
} else {
if (player.getLocation().getX() == 2910 && player.getLocation().getY() == 5480) {
player.WalkTo().WalkTo(player, 2910, 5481);
} else if (player.getLocation().getX() == 2910 && player.getLocation().getY() == 5481) {
player.WalkTo().WalkTo(player, 2910, 5480);
}
}
break;
case 21709:
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to enter this area!");
} else {
if (player.getLocation().getX() == 2903 && player.getLocation().getY() == 5470) {
player.WalkTo().WalkTo(player, 2902, 5470);
} else if (player.getLocation().getX() == 2902 && player.getLocation().getY() == 5470) {
player.WalkTo().WalkTo(player, 2903, 5470);
}
}
break;
case 21764:
player.getActionSender().sendInterface(686, false);
player.getActionSender().sendString("PK-Madness Garden minigame seed exchange", 686, 17);
player.getActionSender().sendString("Sell seeds for Farming exp!", 686, 58);
player.getActionSender().sendString("", 686, 55);
player.getActionSender().sendString("", 686, 56);
player.getActionSender().sendString("", 686, 53);
player.getActionSender().sendString("", 686, 57);
player.getActionSender().sendString("", 686, 48);
break;
case 21767:
player.WalkTo().WalkTo(player, 2931, 5463);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2931 && player.getLocation().getY() == 5463) {
player.graphics(1601);
player.getInventory().addItem(garden1(), 1);
player.tele(2913, 5472, 0);
}
break;
case 21768:
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to try this part of the minigame!");
} else {
player.WalkTo().WalkTo(player, 2912, 5451);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2912 && player.getLocation().getY() == 5451) {
player.graphics(1602);
player.getInventory().addItem(garden2(), 1);
player.tele(2913, 5472, 0);
}
}
break;
case 21766:
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to try this part of the minigame!");
} else {
player.WalkTo().WalkTo(player, 2914, 5491);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2914 && player.getLocation().getY() == 5491) {
player.graphics(1602);
player.getInventory().addItem(garden3(), 1);
player.tele(2913, 5472, 0);
}
}
break;
case 21769:
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to try this part of the minigame!");
} else {
player.WalkTo().WalkTo(player, 2891, 5475);
if (player.cantWalk == true)
return;
if (player.getLocation().getX() == 2891 && player.getLocation().getY() == 5475) {
player.graphics(1602);
player.getInventory().addItem(garden4(), 1);
player.tele(2913, 5472, 0);
}
}
break;
In actionbuttonpackethandler.java
case 686: //garden mini interface
if(buttonId == 18) {
if (!player.getInventory().contains(7562)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 100);
player.getInventory().deleteItem(7562, 1);
}
if(buttonId == 19) {
if (!player.getInventory().contains(5320)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 150);
player.getInventory().deleteItem(5320, 1);
}
if(buttonId == 20) {
if (!player.getInventory().contains(5323)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 200);
player.getInventory().deleteItem(5323, 1);
}
if(buttonId == 22) {
if (!player.getInventory().contains(5291)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 250);
player.getInventory().deleteItem(5291, 1);
}
if(buttonId == 23) {
if (!player.getInventory().contains(5295)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 250);
player.getInventory().deleteItem(5292, 1);
}
if(buttonId == 25) {
if (!player.getInventory().contains(5295)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 300);
player.getInventory().deleteItem(5295, 1);
}
if(buttonId == 26) {
if (!player.getInventory().contains(5299)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 100);
player.getInventory().deleteItem(5299, 1);
}
if(buttonId == 27) {
if (!player.getInventory().contains(5293)){
player.sm("You need the seed to do this.");
return;
}
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 100);
player.getInventory().deleteItem(5293, 1);
}
if(buttonId == 28) { //2nd area
if (!player.getInventory().contains(5098)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 300);
player.getInventory().deleteItem(5098, 1);
}
}
if(buttonId == 29) { //2nd area
if (!player.getInventory().contains(5099)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 330);
player.getInventory().deleteItem(5099, 1);
}
}
if(buttonId == 30) { //2nd area
if (!player.getInventory().contains(5100)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 360);
player.getInventory().deleteItem(5100, 1);
}
}
if(buttonId == 31) { //2nd area
if (!player.getInventory().contains(5308)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 390);
player.getInventory().deleteItem(5308, 1);
}
}
if(buttonId == 32) { //2nd area
if (!player.getInventory().contains(5310)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 410);
player.getInventory().deleteItem(5310, 1);
}
}
if(buttonId == 33) { //2nd area
if (!player.getInventory().contains(5101)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 450);
player.getInventory().deleteItem(5101, 1);
}
}
if(buttonId == 34) { //2nd area
if (!player.getInventory().contains(5102)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 480);
player.getInventory().deleteItem(5102, 1);
}
}
if(buttonId == 35) { //2nd area
if (!player.getInventory().contains(5103)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 40) {
player.sm("You need atleast 40 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 500);
player.getInventory().deleteItem(5103, 1);
}
}
if(buttonId == 36) { //3rd area
if (!player.getInventory().contains(5104)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 700);
player.getInventory().deleteItem(5104, 1);
}
}
if(buttonId == 37) { //3rd area
if (!player.getInventory().contains(5105)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 720);
player.getInventory().deleteItem(5105, 1);
}
}
if(buttonId == 38) { //3rd area
if (!player.getInventory().contains(5106)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 750);
player.getInventory().deleteItem(5106, 1);
}
}
if(buttonId == 39) { //3rd area
if (!player.getInventory().contains(5312)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 770);
player.getInventory().deleteItem(5312, 1);
}
}
if(buttonId == 40) { //3rd area
if (!player.getInventory().contains(5313)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 830);
player.getInventory().deleteItem(5313, 1);
}
}
if(buttonId == 41) { //3rd area
if (!player.getInventory().contains(5314)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 850);
player.getInventory().deleteItem(5314, 1);
}
}
if(buttonId == 42) { //3rd area
if (!player.getInventory().contains(5287)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 70) {
player.sm("You need atleast 70 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 870);
player.getInventory().deleteItem(5287, 1);
}
}
if(buttonId == 43) { //4th area
if (!player.getInventory().contains(5315)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(5315, 1);
}
}
if(buttonId == 44) { //4th area
if (!player.getInventory().contains(5289)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1100);
player.getInventory().deleteItem(5289, 1);
}
}
if(buttonId == 45) { //4th area
if (!player.getInventory().contains(5317)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(5317, 1);
}
}
if(buttonId == 46) { //4th area
if (!player.getInventory().contains(6034)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(6034, 1);
}
}
if(buttonId == 47) { //4th area
if (!player.getInventory().contains(12625)){
player.sm("You need the seed to do this.");
return;
}
if (player.getSkills().getLevel(19) < 85) {
player.sm("You need atleast 85 farming to use these seeds");
} else {
player.graphics(1929);
player.sm("You got some farming exp!");
player.getSkills().addXp(19, 1000);
player.getInventory().deleteItem(12625, 1);
}
}
break;
And in itemDefinitions.xml add
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>12625</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>6034</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5317</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5289</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5315</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5287</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5314</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5313</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5312</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5106</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5105</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5104</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5103</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5102</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5101</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5310</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5308</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5100</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5099</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5098</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5293</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5299</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5295</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5292</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5291</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5323</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>5320</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
<itemDefinition>
<price>
<minPrice>0</minPrice>
<maxPrice>0</maxPrice>
<normPrice>0</normPrice>
</price>
<bonus>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>0</int>
<int>15</int>
<int>0</int>
<int>0</int>
</bonus>
<examine>null</examine>
<id>7562</id>
<stackable>true</stackable>
<name>seed</name>
<noted>false</noted>
<equipId>-1</equipId>
</itemDefinition>
I know this is all simple stuff but its alright for a little minigame aint it :P my couple of 100 players liked it when i added to my server anyway :P all comment and rate thread! :)
Only the registered members can see the link.
Its just 4 mazes and you run to end and you get a random seed, which then you can spend for farming exp on that interface.
THE ONLY TING I USED FROM EMBERSCAPE IS THE INTERFACE! I WROTE ALL THIS CODE MY SELF!
10% CREDITS TO EMBERSCAPE FOR THE INTERFACE
90% CREDITS ME FOR MAKEING ALL THIS CODE