
נכתב במקור על ידי
dex4noobs
עשיתה EXISTING SOURCE או NEW SOURCE?
ועשיתה לזה תיקייה?
ועשיתה את זה בJAVA?
תבדוק את הדברים האלה
מה זאת תומרת עשיתי את זה בJava?
וכן היה לי תקייה ששמה זה כול הקבצים...
ופשוט העברתי אותם לתקייה dist שבריפאק..

נכתב במקור על ידי
refaelosh
אתה בטוח שקימפלת טוב ?
תלוי מה זה טוב......
לחצתי f11 ושמתי את הקבצים בתקייה של
dist

נכתב במקור על ידי
Azoref
תבדוק אם בכלל רשמת את הפקוודה כמו שצריך..(אם התיכנות שלה טוב..)
זה התיכנות שלה...
קוד:
} else if (splitted[0].equalsIgnoreCase("@event")) {
HashMap<String, Integer> maps = new HashMap<String, Integer>();
maps.put("boss", 1010004);
maps.put("valley", 610020000);
maps.put("physical", 109040001);
maps.put("deep1", 105040310);
maps.put("deep3", 105040312);
maps.put("deep5", 105040314);
maps.put("forest1", 101000100);
maps.put("forest3", 101000102);
maps.put("b1", 103000900);
maps.put("b2", 103000903);
maps.put("b3",103000906);
if (splitted.length != 2) {
StringBuilder builder = new StringBuilder("Syntax: @event <mapname>");
int i = 0;
for (String mapss : maps.keySet()) {
if (1 % 10 == 0) {// 10 maps per line
mc.dropMessage(builder.toString());
} else {
builder.append(mapss + ", ");
}
}
mc.dropMessage(builder.toString());
} else if (maps.containsKey(splitted[1])) {
int map = maps.get(splitted[1]);
player.changeMap(map);
mc.dropMessage("Please feel free to suggest any more locations");
} else {
mc.dropMessage("I could not find the map that you requested, go get an eye test.");
}
maps.clear();
}