Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
oh . my bad. i didnt scroll through . anyway it doesnt matter if u didnt put the commands down there ?
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Actually, its my typo error....
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
oh . and forgot to tell u . i seen the custom commands. if i am not wrong people will compile with few errors. there is one line at the end that needs to be arrange properly .and buying of cash shop items are not working . so why not fix that ? it might be good though. anyway , i fixed it myself
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Quote:
Originally Posted by
xiaorage
oh . and forgot to tell u . i seen the custom commands. if i am not wrong people will compile with few errors. there is one line at the end that needs to be arrange properly .and buying of cash shop items are not working . so why not fix that ? it might be good though. anyway , i fixed it myself
I compiled fine o0?
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Please update the new PlayerCommands.java with this:
Code:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use, modify
or distribute this program under any other version of the
GNU Affero General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//Modified by shaun166 to work on Rev988 - Edited by Frantier123
package net.sf.odinms.client.messages.commands;
import net.sf.odinms.client.MapleCharacter;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.client.MapleStat;
import net.sf.odinms.client.messages.Command;
import net.sf.odinms.client.messages.CommandDefinition;
import net.sf.odinms.client.messages.IllegalCommandSyntaxException;
import net.sf.odinms.client.messages.MessageCallback;
import net.sf.odinms.scripting.npc.NPCScriptManager;
import net.sf.odinms.server.MapleShop;
import net.sf.odinms.server.MapleShopFactory;
import net.sf.odinms.server.MapleStorage;
public class PlayerCommands implements Command {
@Override
public void execute(MapleClient c, MessageCallback mc, String[] splitted) throws Exception,
IllegalCommandSyntaxException {
if (splitted[0].equals("@worldtour")) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(c, 9000020);
} else if (splitted[0].equals("@storage")) {
c.getPlayer().getStorage().sendStorage(c, 2080005);
} else if (splitted[0].equals("@jobadvancer")) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(c, 9200000);
} else if (splitted[0].equals("@skillmaxer")) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(c, 9010009);
//STATS command starts here ---
//STR
} else if (splitted[0].equals("@str")) {
int up;
up = Integer.parseInt(splitted[1]);
MapleCharacter player = c.getPlayer();
if ( player.getRemainingAp() < up || player.getRemainingAp() < 0) {
mc.dropMessage("InsufficientAP");
} else if ( player.getRemainingAp() > 0) {
player.setStr(player.getStr() + up);
player.setRemainingAp(player.getRemainingAp() - up);
player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
player.updateSingleStat(MapleStat.STR, player.getStr());
}
//INT
}else if (splitted[0].equals("@int")) {
int up;
up = Integer.parseInt(splitted[1]);
MapleCharacter player = c.getPlayer();
if ( player.getRemainingAp() < up || player.getRemainingAp() < 0) {
mc.dropMessage("InsufficientAP");
} else if ( player.getRemainingAp() > 0) {
player.setInt(player.getInt() + up);
player.setRemainingAp(player.getRemainingAp() - up);
player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
player.updateSingleStat(MapleStat.INT, player.getInt());
}
//DEX
}else if (splitted[0].equals("@dex")) {
int up;
up = Integer.parseInt(splitted[1]);
MapleCharacter player = c.getPlayer();
if ( player.getRemainingAp() < up || player.getRemainingAp() < 0) {
mc.dropMessage("InsufficientAP");
} else if ( player.getRemainingAp() > 0) {
player.setDex(player.getDex() + up);
player.setRemainingAp(player.getRemainingAp() - up);
player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
player.updateSingleStat(MapleStat.DEX, player.getDex());
}
//LUCK
}else if (splitted[0].equals("@luk")) {
int up;
up = Integer.parseInt(splitted[1]);
MapleCharacter player = c.getPlayer();
if ( player.getRemainingAp() < up || player.getRemainingAp() < 0) {
mc.dropMessage("InsufficientAP");
} else if ( player.getRemainingAp() > 0) {
player.setLuk(player.getLuk() + up);
player.setRemainingAp(player.getRemainingAp() - up);
player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
player.updateSingleStat(MapleStat.LUK, player.getLuk());
}
}
// --- STATS command ends here
else if (splitted[0].equals("@save")) {
c.getPlayer().saveToDB(true);
mc.dropMessage("Current Data is saved.");
}
}
@Override
public CommandDefinition[] getDefinition() {
return new CommandDefinition[] {
new CommandDefinition("worldtour", "", "Opens spinel from anywhere", 0),
new CommandDefinition("skillmaxer", "", "Opens Duey from anywhere", 0),
new CommandDefinition("jobadvancer", "", "Opens Cody from anywhere", 0),
new CommandDefinition("storage", "", "Opens storage from anywhere", 0),
new CommandDefinition("str", "", "add your stats very fast", 0),
new CommandDefinition("int", "", "add your stats very fast", 0),
new CommandDefinition("dex", "", "add your stats very fast", 0),
new CommandDefinition("luk", "", "add your stats very fast", 0),
new CommandDefinition("save", "", "save your data", 0),
};
}
}
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
lol i never seen a v56 repack
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Quote:
Originally Posted by
bittersweet
lol i never seen a v56 repack
lol same haveent seen one in my life (i think)
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
is this better then pc maple?
Please tell meh xD
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Seeing how PC Maple is dead (2.3). Yes.
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Quote:
Originally Posted by
Moogra
Seeing how PC Maple is dead (2.3). Yes.
how is it dead? i still like it xD
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Ok, let me put it this way. PC MAPLE 2.3 IS OLD. It may have the most number of posts (and therefore the most noobs using it), but that doesn't mean it's the best anymore. However, PC Maple is v55 and this is v56. There's a difference.
Re: [Release]The Extraordinary Repack A Thousand - Golden Ticket 2 - Now for ALL!
Quote:
Originally Posted by
Moogra
Ok, let me put it this way. PC MAPLE 2.3 IS OLD. It may have the most number of posts (and therefore the most noobs using it), but that doesn't mean it's the best anymore. However, PC Maple is v55 and this is v56. There's a difference.
thx for the help ^.^ do u know good repack i should use v 55 or 60 w.e