How do add in !proitem
3 posters
Page 1 of 1
How do add in !proitem
Here are the steps on adding in !proitem this time it should work.
1)Download This http://www.megaupload.com/?d=ASGAKD93
2)Go to \src\net\sf\odinms
3) Press Ctrl+F
4) Search MapleItemInformationProvider
5)Replace that one with the new one you downloaded
6)Ctrl F > Search NPCCONVERSATIONMANAGER
7)Replace that one with the new one you downloaded.
6)Go to gmcommands.java and add in this code.
Or if that code doesn't work add in this code
Then compile it and it should work.
This is how you use it
!proitem [item id] [stats]
1)Download This http://www.megaupload.com/?d=ASGAKD93
2)Go to \src\net\sf\odinms
3) Press Ctrl+F
4) Search MapleItemInformationProvider
5)Replace that one with the new one you downloaded
6)Ctrl F > Search NPCCONVERSATIONMANAGER
7)Replace that one with the new one you downloaded.
6)Go to gmcommands.java and add in this code.
- Code:
} else if (splitted[0].equalsIgnoreCase("!proitem")) {
if (splitted.length == 3) {
int itemid;
short multiply;
try {
itemid = Integer.parseInt(splitted[1]);
multiply = Short.parseShort(splitted[2]);
} catch (NumberFormatException asd) {
return;
}
MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
IItem item = ii.getEquipById(itemid);
MapleInventoryType type = ii.getInventoryType(itemid);
if (type.equals(MapleInventoryType.EQUIP)) {
MapleInventoryManipulator.addFromDrop(c, ii.hardcoreItem((Equip) item, multiply));
} else {
mc.dropMessage("Make sure it's an equippable item.");
}
} else {
mc.dropMessage("Invalid syntax.");
}
Or if that code doesn't work add in this code
- Code:
} else if (splitted[0].equalsIgnoreCase("!proitem")) {
if (splitted.length == 3) {
int itemid;
short multiply;
try {
itemid = Integer.parseInt(splitted[1]);
multiply = Short.parseShort(splitted[2]);
} catch (NumberFormatException asd) {
return false;
}
MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
IItem item = ii.getEquipById(itemid);
MapleInventoryType type = ii.getInventoryType(itemid);
if (type.equals(MapleInventoryType.EQUIP)) {
MapleInventoryManipulator.addFromDrop(c, ii.hardcoreItem((Equip) item, multiply));
} else {
mc.dropMessage("Make sure it's an equippable item.");
}
} else {
mc.dropMessage("Invalid syntax.(!proitem (Item ID) (Stat) Example: !proitem 9999999 32767");
}
Then compile it and it should work.
This is how you use it
!proitem [item id] [stats]
xxmikexx- Posts : 2
Join date : 2009-06-30
Re: How do add in !proitem
are you sure i should replace that files ?
iSyr0s- Posts : 4
Join date : 2009-07-01
Re: How do add in !proitem
Bah, doesnt work. The java files are not for out repack when i compile i get errors cuz that java files have a different to the structure...
Aww i think we will need to read the Xotic java files and our java files to see what is missing T_T im to lazzy.. right now im working on some mounts , skills and boss stuff.. i want to add the Pink Bean to our server =)
Aww i think we will need to read the Xotic java files and our java files to see what is missing T_T im to lazzy.. right now im working on some mounts , skills and boss stuff.. i want to add the Pink Bean to our server =)
iSyr0s- Posts : 4
Join date : 2009-07-01
Re: How do add in !proitem
The java files i gave you aren't from xotic thier from oblivous repack. idk what the problem is i'll try figuring it out.
I think i know how to add pink bean in. Get Pink beans mob id and get me the wz file with pink bean in it. I'll use HaRepacker to get the xml file and give you. People will need to download the new mob.wz.
don't add in the cyngus skill i heard servers with cyngus skill are being sued first.
I think i know how to add pink bean in. Get Pink beans mob id and get me the wz file with pink bean in it. I'll use HaRepacker to get the xml file and give you. People will need to download the new mob.wz.
don't add in the cyngus skill i heard servers with cyngus skill are being sued first.
xxmikexx- Posts : 2
Join date : 2009-06-30
I have a problem
Dude i was in a party with Regular. i was afk for a bit. Then When i com back Regular invites Kusix and hes a hacker. So i left the party then JackSchitte comes and says hes recording and says i support hacking. I do not hack i left right when Kusix joined so i do not support hacking. Theres my problem. The party leader invited him WHEN I WAS AFK. So i left when i came back so. I do not support hacking. My ign is HeroMan
poopoocup- Posts : 5
Join date : 2009-07-16
???????
im confused how do u compile it? i looked at tutorials but they all are confusing
Raffles- Guest
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|