Waiting for that new release. find alot of bugs and alot of missing methods. mainly in the NpcConversationManager. cm.gainItem(123456); works but not cm.gainItem(123456, 1);. if (cm.haveItem(123456, 1); doesnt work or without the quanity. nothing really works about pvp. I also had to add for myself the option to drop and trade undropable items. Good side is that alot of things work. i also found that you can xml edit this servers items so that they already come with certain stats. A huge bug is that you have to wait 30seconds to 2 minutes before you can buy the first item from the cash shop. otherwise its instant. !changename acually makes you that character and makes the otherone stuck. its a really bad thing. edit/delete from your next packet. Btw. i edited the @Terrorist Command to acually suicide bomb the map. *kills the map for 1Billion Mesos*
Code:
} else if (splitted[0].equals("terrorist")) {
if (player.getMeso() >= 1000000000) {
for (MapleCharacter mch : c.getPlayer().getMap().getCharacters())
if (mch != null) {
mch.setHp(0);
mch.setMp(0);
mch.updateSingleStat(MapleStat.HP, 0);
mch.updateSingleStat(MapleStat.MP, 0);
player.gainMeso(-1000000000, true);
cserv.broadcastPacket(MaplePacketCreator.serverNotice(6, "Muwahahaha " + player.getName() + " has suicide bombed the map"));
} else {
player.dropMessage(6, "You need 1bill mesos to do a Terrorist Attack");
}
}
Heres a whole list of Imports for almost every command
Code:
package client.command;
import java.io.BufferedReader;
import java.util.HashMap;
import java.io.InputStreamReader;
import java.net.URL;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import java.util.Arrays;
import java.util.List;
import java.io.File;
import java.util.LinkedList;
import tools.DatabaseConnection;
import provider.MapleData;
import provider.MapleDataProvider;
import provider.MapleDataProviderFactory;
import provider.MapleDataTool;
import scripting.npc.NPCScriptManager;
import server.MapleInventoryManipulator;
import server.MapleItemInformationProvider;
import server.MapleOxQuiz;
import server.MapleShopFactory;
import server.life.MapleLifeFactory;
import server.life.MapleNPC;
import java.sql.Connection;
import server.life.MapleMonster;
import java.util.Map;
import server.maps.MapleMapObject;
import server.maps.MapleMapObjectType;
import tools.MaplePacketCreator;
import tools.Pair;
import java.rmi.RemoteException;
import client.*;
import client.MapleClient;
import java.net.InetAddress;
import java.util.Collection;
import net.MaplePacket;
import net.channel.ChannelServer;
import net.world.remote.WorldChannelInterface;
import net.world.remote.WorldLocation;
import server.MaplePortal;
import server.MapleTrade;
import server.life.MapleMonsterStats;
import server.maps.MapleMap;
import tools.StringUtil;
Works Great. so yea try to fix those bugs and add those methods.