קהילות פורומים, הורדות, יעוץ ותמיכה


אשכולות דומים

  1. בקשה| אני צריך בינד פרטים בפנים
    על ידי MrD1ck בפורום Counter Strike
    תגובות: 4
    הודעה אחרונה: 06-10-2007, 12:27
  2. צריך שותפים:פרטים בפנים
    על ידי DJ-GoMIk בפורום דיבורים
    תגובות: 7
    הודעה אחרונה: 27-10-2006, 18:30
  3. [צריך] חתימה פרטים בפנים
    על ידי Steve Nash בפורום חתימות וסמלים
    תגובות: 7
    הודעה אחרונה: 06-10-2005, 22:21
  4. צריך חתימה-פרטים בפנים
    על ידי Steve Nash בפורום חתימות וסמלים
    תגובות: 1
    הודעה אחרונה: 10-09-2005, 01:40
+ תגובה לנושא
עמוד 1 מתוך 2 12 אחרון >>
מציג תוצאות 1 עד 15 מתוך 16

צריך ריפאק! פרטים בפנים..

  1. #1

    ברירת מחדל צריך ריפאק! פרטים בפנים..

    אוקיי אני צריך ריפאק לv62 בלי הפקודה rebirth/@reborn@
    או עם אפשר דרך להוריד את זה בלי קומפייל כי התוכנה החליטה לא לעבוד לי!!
    תודה!
    נערך לאחרונה על ידי Shinx; 20-12-2009 בשעה 20:28.


  2. קישורים ממומנים

  3. #2
    משתמש משקיע
    שם פרטי
    ספיר
    תאריך הצטרפות
    09/2007
    הודעות
    3,504
    לייקים
    0
    נקודות
    0
    משפט מחץ
    Beauty From Far And Far From Beauty
    מין: נקבה

    ברירת מחדל

    לא נראה לי שיש ריפאק שאין בו את זה..
    כי זה חצי מכל המהות של שרת פרטי..שיהיה המשך..לא לעצור ב200..
    ולא נראה לי שיש דרך בלי לעשות קומפייל..
    אתה יכול לנסות למחוק את הפקודה פשוט בלי לעשות קומפייל..לא נראה לי שזה יעבוד..אבל תנסה..



  4. #3
    משתמש מכור
    תאריך הצטרפות
    12/2009
    גיל
    29
    הודעות
    1,512
    לייקים
    0
    נקודות
    297
    משפט מחץ
    חיוך הוא דבר כל כך אישי והופך כל אחד ליותר אנושי , אין לו ערך בכסף ולא בממון ובכל זאת הוא שווה המון ..
    מין: זכר

    ברירת מחדל

    ציטוט נכתב במקור על ידי Azoref צפיה בהודעה
    לא נראה לי שיש ריפאק שאין בו את זה..
    כי זה חצי מכל המהות של שרת פרטי..שיהיה המשך..לא לעצור ב200..
    ולא נראה לי שיש דרך בלי לעשות קומפייל..
    אתה יכול לנסות למחוק את הפקודה פשוט בלי לעשות קומפייל..לא נראה לי שזה יעבוד..אבל תנסה..
    זה לא יכול לעבוד...
    קומפייל בעצם מכניס את הפקודה לתוך הריפאק..
    בתכלס הקוסץ הזה רק נועד כדי שיראו מה הפקודות וכדי שיוכלו לערוך אותם...

    לנושא :
    לא נירא לי יש אחד כזה בלי לקמפל




  5. #4
    משתמש משקיע
    שם פרטי
    טל
    תאריך הצטרפות
    12/2009
    הודעות
    3,165
    לייקים
    0
    נקודות
    381
    משפט מחץ
    מה אכפת לכם?
    מין: זכר

    ברירת מחדל

    ציטוט נכתב במקור על ידי Azoref צפיה בהודעה
    לא נראה לי שיש ריפאק שאין בו את זה..
    כי זה חצי מכל המהות של שרת פרטי..שיהיה המשך..לא לעצור ב200..
    ולא נראה לי שיש דרך בלי לעשות קומפייל..
    אתה יכול לנסות למחוק את הפקודה פשוט בלי לעשות קומפייל..לא נראה לי שזה יעבוד..אבל תנסה..

    לא יעבוד זה לא ישמור...(חחח כן פעם לפני שידעתי בכלל מזה לקמפל ומזה JAVA בכלל ניסיתי לערוך ככה כמו NPC חחח לא עבד)


    זהו חזי החזרזיר והוא על סמים קשים!

  6. #5
    משתמש מכור
    תאריך הצטרפות
    12/2009
    גיל
    29
    הודעות
    1,512
    לייקים
    0
    נקודות
    297
    משפט מחץ
    חיוך הוא דבר כל כך אישי והופך כל אחד ליותר אנושי , אין לו ערך בכסף ולא בממון ובכל זאת הוא שווה המון ..
    מין: זכר

    ברירת מחדל

    ציטוט נכתב במקור על ידי Warden צפיה בהודעה
    לא יעבוד זה לא ישמור...(חחח כן פעם לפני שידעתי בכלל מזה לקמפל ומזה JAVA בכלל ניסיתי לערוך ככה כמו NPC חחח לא עבד)
    ממתי צריך לקמפל NPC ?!@$!#%#%&!@???




  7. #6
    משתמש משקיע
    שם פרטי
    טל
    תאריך הצטרפות
    12/2009
    הודעות
    3,165
    לייקים
    0
    נקודות
    381
    משפט מחץ
    מה אכפת לכם?
    מין: זכר

    ברירת מחדל

    ציטוט נכתב במקור על ידי MsBuilder צפיה בהודעה
    ממתי צריך לקמפל NPC ?!@$!#%#%&!@???
    חחח לא צריך זה כל הקטע אז פעם חשבתי שזה כמו NPC סתם עורכים שומרים...


    זהו חזי החזרזיר והוא על סמים קשים!

  8. #7
    משתמש משקיע
    שם פרטי
    ספיר
    תאריך הצטרפות
    09/2007
    הודעות
    3,504
    לייקים
    0
    נקודות
    0
    משפט מחץ
    Beauty From Far And Far From Beauty
    מין: נקבה

    ברירת מחדל

    הוא התכוון שהוא ניסה לעשות כמו NPC..(בלי קומפייל) לא שצריך לקמפל NPC..
    ואני יודעת שזה לא יעבוד..
    אבל אם אין משהוא אחר לעשות..מה תפסיד אם תנסה..?



  9. #8
    משתמש מכור
    תאריך הצטרפות
    12/2009
    גיל
    29
    הודעות
    1,512
    לייקים
    0
    נקודות
    297
    משפט מחץ
    חיוך הוא דבר כל כך אישי והופך כל אחד ליותר אנושי , אין לו ערך בכסף ולא בממון ובכל זאת הוא שווה המון ..
    מין: זכר

    ברירת מחדל

    ציטוט נכתב במקור על ידי Warden צפיה בהודעה
    חחח לא צריך זה כל הקטע אז פעם חשבתי שזה כמו NPC סתם עורכים שומרים...
    חח לול...
    אני זוכר את התקופה שלא ידעתי מזה פקודות ושלא נדבר על קמפול XD..




  10. #9
    משתמש משקיע
    שם פרטי
    טל
    תאריך הצטרפות
    12/2009
    הודעות
    3,165
    לייקים
    0
    נקודות
    381
    משפט מחץ
    מה אכפת לכם?
    מין: זכר

    ברירת מחדל

    איזה באסה שיט! היה לי ריפאק אחד בלי rebirth@.....


    זהו חזי החזרזיר והוא על סמים קשים!

  11. #10

    ברירת מחדל

    תודה אני ינסה ויערוך עם יעבוד
    עריכה 1: איפה אני מוצא את הפקודה בריפאק talpack?
    נערך לאחרונה על ידי Shinx; 21-12-2009 בשעה 21:18.


  12. #11
    משתמש משקיע
    שם פרטי
    טל
    תאריך הצטרפות
    12/2009
    הודעות
    3,165
    לייקים
    0
    נקודות
    381
    משפט מחץ
    מה אכפת לכם?
    מין: זכר

    ברירת מחדל

    ב TalPackV1\TalPack\src\net\sf\odinms\client\messages ואז בPlayerCommands


    זהו חזי החזרזיר והוא על סמים קשים!

  13. #12

    ברירת מחדל

    טוב שמעו אני עוזר לאחי בשרת אני מנסה למחוק לו את הפקודה אני עושה קומפייל וזה דופק את השרת..
    מישהו יכול להוריד לי את הפקודה מהקוד? אני כבר יערוך.. תשתמשו בציטוט יהיה יותר קל..
    הנה הקוד:

    package net.sf.odinms.client.messages;

    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import net.sf.odinms.client.*;
    import net.sf.odinms.database.DatabaseConnection;
    import net.sf.odinms.net.channel.ChannelServer;
    import net.sf.odinms.net.login.LoginServer;
    import net.sf.odinms.net.world.guild.MapleGuildSummary;
    import net.sf.odinms.scripting.npc.NPCScriptManager;
    import net.sf.odinms.server.MapleInventoryManipulator;
    import net.sf.odinms.server.MapleItemInformationProvider;
    import net.sf.odinms.server.MaplePortal;
    import net.sf.odinms.server.maps.MapleMap;
    import net.sf.odinms.server.maps.SavedLocationType;
    import net.sf.odinms.tools.*;

    public class PlayerCommand {

    public static boolean executePlayerCommand(MapleClient c, MessageCallback mc, String line) {
    MapleCharacter player = c.getPlayer();
    String[] splitted = line.split(" ");
    ChannelServer cserv = c.getChannelServer();
    if (splitted[0].equals("@version")) {
    mc.dropMessage("ThePack Revision 31");
    } else if (splitted[0].equals("@help")) {
    mc.dropMessage("============================================================");
    mc.dropMessage(" Server Player Commands");
    mc.dropMessage("============================================================");
    mc.dropMessage("@bot - Helps you with the server bot.");
    mc.dropMessage("@changename [name] - Changes your name to [name] for a billion mesos.");
    mc.dropMessage("@checkkarma - See how much karma you have.");
    mc.dropMessage("@dispose - Use if you're stuck.");
    mc.dropMessage("@expfix - Fixes negative EXP.");
    mc.dropMessage("@emo - Sets your HP to 0.");
    mc.dropMessage("@fmnpc - Shows Shanks.");
    if (player.getKarma() > 40) {
    mc.dropMessage("@karma [raise/drop] [user] - Raises or drops someone's karma by using one of your own.");
    }
    mc.dropMessage("@hideout - Go to your guild hideout.");
    mc.dropMessage("@killplayer [user] - Pay 100 million mesos to kill a non-gm player.");
    mc.dropMessage("@rebirth - Does Reborn/Rebirth at level 200+");
    mc.dropMessage("@save - Saves your data.");
    mc.dropMessage("@stat [amount] - Adds [amount] str/dex/int/luk.");
    mc.dropMessage("@toggleexp - Toggles whether you get exp or not.");
    mc.dropMessage("@unstuckall - Unstuck every account that is stuck.");
    } else if (splitted[0].equals("@bot")) {
    mc.dropMessage("============================================================");
    mc.dropMessage(" " + LoginServer.getInstance().getServerName() + "Bot Commands");
    mc.dropMessage("============================================================");
    mc.dropMessage("All of these commands require whispering to " + LoginServer.getInstance().getServerName() + "Bot.");
    mc.dropMessage("contactgm [text] - Sends a message to all GMs.");
    mc.dropMessage("dcaccount [accountname] - Unstucks the account.");
    mc.dropMessage("dc [charactername] [accountname] [accountpass] - Disconnects character.");
    mc.dropMessage("changepass [accountname] [accountpass] [newpass] - Changes password.");
    mc.dropMessage("resetmap [charactername] [accountname] [accountpass] - Makes player go to Henesys if not in Maple Island.");
    mc.dropMessage("onlinepeople - Shows how many is online.");
    mc.dropMessage("whodrops [itemid] - Shows what monsters drop the item ID provided.");
    } else if (splitted[0].equals("@checkkarma")) {
    mc.dropMessage("You currently have: " + player.getKarma() + " karma.");
    } else if (splitted[0].equals("@save")) {
    player.saveToDB(true);
    mc.dropMessage("Saved.");
    } else if (splitted[0].equals("@str") || splitted[0].equals("@int") || splitted[0].equals("@luk") || splitted[0].equals("@dex")) {
    int amount = Integer.parseInt(splitted[1]);
    boolean str = splitted[0].equals("@str");
    boolean Int = splitted[0].equals("@int");
    boolean luk = splitted[0].equals("@luk");
    boolean dex = splitted[0].equals("@dex");
    if (amount > 0 && amount <= player.getRemainingAp() && amount <= 29996) {
    if (str && amount + player.getStr() <= 30000) {
    player.setStr(player.getStr() + amount);
    player.updateSingleStat(MapleStat.STR, player.getStr());
    } else if (Int && amount + player.getInt() <= 30000) {
    player.setInt(player.getInt() + amount);
    player.updateSingleStat(MapleStat.INT, player.getInt());
    } else if (luk && amount + player.getLuk() <= 30000) {
    player.setLuk(player.getLuk() + amount);
    player.updateSingleStat(MapleStat.LUK, player.getLuk());
    } else if (dex && amount + player.getDex() <= 30000) {
    player.setDex(player.getDex() + amount);
    player.updateSingleStat(MapleStat.DEX, player.getDex());
    } else {
    mc.dropMessage("Please make sure the stat you are trying to raise is not over 30000.");
    }
    player.setRemainingAp(player.getRemainingAp() - amount);
    player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
    } else {
    mc.dropMessage("Please make sure your AP is not over 30000 and you have enough to distribute.");
    }
    } else if (splitted[0].equals("@dispose")) {
    NPCScriptManager.getInstance().dispose(c);
    mc.dropMessage("Unstucked.");
    c.getSession().write(MaplePacketCreator.enableActions());
    } else if (splitted[0].equals("@changename")) {
    if ((player.getMeso() > 999999999 || player.getKarma() > 40) && MapleCharacterUtil.canCreateChar(splitted[1], 0)) {
    if (player.getKarma() > 40) {
    player.downKarma();
    mc.dropMessage("You have lowered your karma in return for a new name.");
    } else {
    player.gainMeso(-1000000000, false);
    }
    player.setName(splitted[1]);
    c.getSession().write(MaplePacketCreator.getCharInfo(player));
    player.getMap().removePlayer(player);
    player.getMap().addPlayer(player);
    } else {
    mc.dropMessage("You need either a billion mesos or a name changer to change your name and your new name must be legal.");
    }
    } else if (splitted[0].equals("@killplayer")) {
    MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
    if (victim != null && !victim.isGM()) {
    if (System.currentTimeMillis() - player.getLastPlayerKill() > 600000) {
    if (player.getMeso() < 100000000) {
    mc.dropMessage("You need 100 million mesos to kill someone.");
    } else {
    if (!player.isPvPMap() || !victim.isPvPMap()) {
    mc.dropMessage("Either you or your victim is inside of a PvP Map.");
    } else if (victim.haveItem(2002011)) {
    mc.dropMessage("Your victim has a Pain Reliever so the effect could not take place.");
    MapleInventoryManipulator.removeById(victim.getClient(), MapleItemInformationProvider.getInstance().getInventoryType(2002011), 2002011, 1, true, false, true);
    victim.getClient().getSession().write(MaplePacketCreator.serverNotice(6, "You have lost a pain reliever. A player tried to kill you."));
    } else {
    victim.setHp(0);
    victim.updateSingleStat(MapleStat.HP, 0);
    player.gainMeso(-100000000, true);
    player.setLastPlayerKill(System.currentTimeMillis());
    }
    }
    } else {
    mc.dropMessage("You must wait 10 minutes between each kill.");
    }
    } else {
    mc.dropMessage(victim + " is unable to be found in your channel or " + victim + " is a GM.");
    }
    } else if (splitted[0].equals("@toggleexp")) {
    player.setExpEnabled(!player.expEnabled());
    mc.dropMessage("Your exp has been turned on or off.");
    } else if (splitted[0].equals("@rebirth")) {
    int negexp;
    if (player.getLevel() > 199) {
    player.setLevel(1);
    player.setExp(0);
    player.setReborns(player.getReborns() + 1);
    player.changeJob(MapleJob.getById(0));
    negexp = player.getExp();
    player.gainExp(-negexp, false, false);
    player.updateSingleStat(MapleStat.EXP, player.getExp());
    } else {
    mc.dropMessage("You must be at least level 200.");
    }
    } else if (splitted[0].equals("@emo")) {
    if (!player.inJail()) {
    player.setHp(0);
    player.updateSingleStat(MapleStat.HP, 0);
    }
    } else if (splitted[0].equals("@expfix")) {
    player.setExp(0);
    player.updateSingleStat(MapleStat.EXP, Integer.valueOf(0));
    mc.dropMessage("Your exp has been reset.");
    } else if (splitted[0].equals("@hideout")) {
    if (player.getGuildId() == 0) {
    if (!player.getGulidHideout()) {
    player.getGuildHideout();
    } else {
    player.addGuildHideout();
    }
    player.goGuildHideout();
    mc.dropMessage("You are not in a guild");
    } else {
    MapleGuildSummary g = cserv.getGuildSummary(player.getGuildId());
    int mapid = g.getHideout();
    String guildname = g.getName();
    if (mapid == -1) {
    mc.dropMessage("Your guild doesn't have a hideout");
    } else if (player.getClient().getChannel() == 1) {
    if (player.getMapId() != mapid) {
    player.saveLocation(SavedLocationType.HIDEOUT);
    MapleMap target = cserv.getMapFactory().getMap(mapid);
    MaplePortal targetPortal = target.getPortal(0);
    player.changeMap(target, targetPortal);
    mc.dropMessage("Welcome to " + guildname + " Hideout");
    } else if (player.getMapId() == mapid) {
    int smap = player.getSavedLocation(SavedLocationType.HIDEOUT);
    MapleMap target = cserv.getMapFactory().getMap(smap);
    MaplePortal targetPortal = target.getPortal(0);
    player.changeMap(target, targetPortal);
    player.clearSavedLocation(SavedLocationType.HIDEOUT);
    }
    } else {
    mc.dropMessage("Guilds Hideouts are in channel 1");
    }
    }
    } else if (splitted[0].equals("@unstuckall")) {
    try {
    Connection con = DatabaseConnection.getConnection();
    PreparedStatement ps = con.prepareStatement("UPDATE ACCOUNTS SET loggedin = 0");
    ps.executeUpdate();
    ps.close();
    mc.dropMessage("Done.");
    } catch (SQLException ex) {
    mc.dropMessage("Something wrong happened.");
    }
    } else if (splitted[0].equals("@fmnpc")) {
    if (!player.inJail()) {
    NPCScriptManager npc = NPCScriptManager.getInstance();
    npc.start(c, 22000);
    } else {
    mc.dropMessage("Sorry, you are in jail.");
    }
    } else if (splitted[0].equals("@karma") && player.getKarma() > 40) {
    MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[2]);
    if (splitted.length > 0) {
    if (splitted[1].equals("raise") && victim.getKarma() < 25) {
    player.downKarma();
    victim.upKarma();
    mc.dropMessage("You have raised someone's karma");
    for (MapleCharacter mch : cserv.getPlayerStorage().getAllCharacters()) {
    if (mch.gmLevel() >= 3) {
    mch.getClient().getSession().write(MaplePacketCreator.serverNotice(6, victim + "'s karma has been raised to " + victim.getKarma() + " by " + player + "."));
    }
    }
    } else if (splitted[1].equals("drop") && victim.getKarma() > -25) {
    player.downKarma();
    victim.downKarma();
    mc.dropMessage("You have dropped someone's karma");
    for (MapleCharacter mch : cserv.getPlayerStorage().getAllCharacters()) {
    if (mch.gmLevel() >= 3) {
    mch.getClient().getSession().write(MaplePacketCreator.serverNotice(6, victim + "'s karma has been dropped to " + victim.getKarma() + " by " + player + "."));
    }
    }
    } else if (victim.getKarma() > 24 || victim.getKarma() < -24) {
    mc.dropMessage(victim + "'s karma is either too high or too low.");
    }
    }
    } else {
    if (player.gmLevel() >= 0) {
    mc.dropMessage("Player Command " + splitted[0] + " does not exist");
    }
    return false;
    }
    return true;
    }
    }


  14. #13
    משתמש מכור האוואטר של SmexyApplE
    שם פרטי
    סער
    תאריך הצטרפות
    02/2009
    הודעות
    1,829
    לייקים
    4
    נקודות
    3
    משפט מחץ
    "לטעות זה אנושי , לסלוח זה אלוהי"
    מין: זכר

    ברירת מחדל

    אני מציע שפשוט תשנה את ה @rebirth
    למשהו כמו
    3424@
    ככה לא יצתרך למחוק ..
    ד"א עדיין תעשה קופייל.

  15. #14

    ברירת מחדל

    ניסיתי זה עדיין גורם לשרת לא לעבוד יש מצב אתה מסמן לי מה לשנות באדום


  16. #15
    משתמש מכור האוואטר של SmexyApplE
    שם פרטי
    סער
    תאריך הצטרפות
    02/2009
    הודעות
    1,829
    לייקים
    4
    נקודות
    3
    משפט מחץ
    "לטעות זה אנושי , לסלוח זה אלוהי"
    מין: זכר

    ברירת מחדל

    קוד:
    package net.sf.odinms.client.messages;
    
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import net.sf.odinms.client.*;
    import net.sf.odinms.database.DatabaseConnection;
    import net.sf.odinms.net.channel.ChannelServer;
    import net.sf.odinms.net.login.LoginServer;
    import net.sf.odinms.net.world.guild.MapleGuildSummary;
    import net.sf.odinms.scripting.npc.NPCScriptManager;
    import net.sf.odinms.server.MapleInventoryManipulator;
    import net.sf.odinms.server.MapleItemInformationProvider;
    import net.sf.odinms.server.MaplePortal;
    import net.sf.odinms.server.maps.MapleMap;
    import net.sf.odinms.server.maps.SavedLocationType;
    import net.sf.odinms.tools.*;
    
    public class PlayerCommand {
    
        public static boolean executePlayerCommand(MapleClient c, MessageCallback mc, String line) {
            MapleCharacter player = c.getPlayer();
            String[] splitted = line.split(" ");
            ChannelServer cserv = c.getChannelServer();
            if (splitted[0].equals("@version")) {
                mc.dropMessage("ThePack Revision 31");
            } else if (splitted[0].equals("@help")) {
                mc.dropMessage("============================================================");
                mc.dropMessage("                  Server Player Commands");
                mc.dropMessage("============================================================");
                mc.dropMessage("@bot                - Helps you with the server bot.");
                mc.dropMessage("@changename [name]  - Changes your name to [name] for a billion mesos.");
                mc.dropMessage("@checkkarma         - See how much karma you have.");
                mc.dropMessage("@dispose            - Use if you're stuck.");
                mc.dropMessage("@expfix             - Fixes negative EXP.");
                mc.dropMessage("@emo                - Sets your HP to 0.");
                mc.dropMessage("@fmnpc              - Shows Shanks.");
                if (player.getKarma() > 40) {
                    mc.dropMessage("@karma [raise/drop] [user] - Raises or drops someone's karma by using one of your own.");
                }
                mc.dropMessage("@hideout            - Go to your guild hideout.");
                mc.dropMessage("@killplayer [user]  - Pay 100 million mesos to kill a non-gm player.");
                mc.dropMessage("@rebirth            - Does Reborn/Rebirth at level 200+");
                mc.dropMessage("@save               - Saves your data.");
                mc.dropMessage("@stat [amount]      - Adds [amount] str/dex/int/luk.");
                mc.dropMessage("@toggleexp          - Toggles whether you get exp or not.");
                mc.dropMessage("@unstuckall         - Unstuck every account that is stuck.");
            } else if (splitted[0].equals("@bot")) {
                mc.dropMessage("============================================================");
                mc.dropMessage("                   " + LoginServer.getInstance().getServerName() + "Bot Commands");
                mc.dropMessage("============================================================");
                mc.dropMessage("All of these commands require whispering to " + LoginServer.getInstance().getServerName() + "Bot.");
                mc.dropMessage("contactgm [text] - Sends a message to all GMs.");
                mc.dropMessage("dcaccount [accountname] - Unstucks the account.");
                mc.dropMessage("dc [charactername] [accountname] [accountpass] - Disconnects character.");
                mc.dropMessage("changepass [accountname] [accountpass] [newpass] - Changes password.");
    mc.dropMessage("resetmap [charactername] [accountname] [accountpass] - Makes player go to Henesys if not in Maple Island.");
                mc.dropMessage("onlinepeople - Shows how many is online.");
                mc.dropMessage("whodrops [itemid] - Shows what monsters drop the item ID provided.");
            } else if (splitted[0].equals("@checkkarma")) {
                mc.dropMessage("You currently have: " + player.getKarma() + " karma.");
            } else if (splitted[0].equals("@save")) {
                player.saveToDB(true);
                mc.dropMessage("Saved.");
    } else if (splitted[0].equals("@str") || splitted[0].equals("@int") || splitted[0].equals("@luk") || splitted[0].equals("@dex")) {
                int amount = Integer.parseInt(splitted[1]);
                boolean str = splitted[0].equals("@str");
                boolean Int = splitted[0].equals("@int");
                boolean luk = splitted[0].equals("@luk");
                boolean dex = splitted[0].equals("@dex");
                if (amount > 0 && amount <= player.getRemainingAp() && amount <= 29996) {
                    if (str && amount + player.getStr() <= 30000) {
                        player.setStr(player.getStr() + amount);
                        player.updateSingleStat(MapleStat.STR, player.getStr());
                    } else if (Int && amount + player.getInt() <= 30000) {
                        player.setInt(player.getInt() + amount);
                        player.updateSingleStat(MapleStat.INT, player.getInt());
                    } else if (luk && amount + player.getLuk() <= 30000) {
                        player.setLuk(player.getLuk() + amount);
                        player.updateSingleStat(MapleStat.LUK, player.getLuk());
                    } else if (dex && amount + player.getDex() <= 30000) {
                        player.setDex(player.getDex() + amount);
                        player.updateSingleStat(MapleStat.DEX, player.getDex());
                    } else {
                        mc.dropMessage("Please make sure the stat you are trying to raise is not over 30000.");
                    }
                    player.setRemainingAp(player.getRemainingAp() - amount);
                    player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
                } else {
                    mc.dropMessage("Please make sure your AP is not over 30000 and you have enough to distribute.");
                }
            } else if (splitted[0].equals("@dispose")) {
                NPCScriptManager.getInstance().dispose(c);
                mc.dropMessage("Unstucked.");
                c.getSession().write(MaplePacketCreator.enableActions());
            } else if (splitted[0].equals("@changename")) {
    if ((player.getMeso() > 999999999 || player.getKarma() > 40) && MapleCharacterUtil.canCreateChar(splitted[1], 0)) {
                    if (player.getKarma() > 40) {
                        player.downKarma();
                        mc.dropMessage("You have lowered your karma in return for a new name.");
                    } else {
                        player.gainMeso(-1000000000, false);
                    }
                    player.setName(splitted[1]);
                    c.getSession().write(MaplePacketCreator.getCharInfo(player));
                    player.getMap().removePlayer(player);
                    player.getMap().addPlayer(player);
                } else {
    mc.dropMessage("You need either a billion mesos or a name changer to change your name and your new name must be legal.");
                }
            } else if (splitted[0].equals("@killplayer")) {
                MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[1]);
                if (victim != null && !victim.isGM()) {
                    if (System.currentTimeMillis() - player.getLastPlayerKill() > 600000) {
                        if (player.getMeso() < 100000000) {
                            mc.dropMessage("You need 100 million mesos to kill someone.");
                        } else {
                            if (!player.isPvPMap() || !victim.isPvPMap()) {
                                mc.dropMessage("Either you or your victim is inside of a PvP Map.");
                            } else if (victim.haveItem(2002011)) {
                                mc.dropMessage("Your victim has a Pain Reliever so the effect could not take place.");
    MapleInventoryManipulator.removeById(victim.getClient(), MapleItemInformationProvider.getInstance().getInventoryType(2002011), 2002011, 1, true, false, true);
    victim.getClient().getSession().write(MaplePacketCreator.serverNotice(6, "You have lost a pain reliever. A player tried to kill you."));
                            } else {
                                victim.setHp(0);
                                victim.updateSingleStat(MapleStat.HP, 0);
                                player.gainMeso(-100000000, true);
                                player.setLastPlayerKill(System.currentTimeMillis());
                            }
                        }
                    } else {
                        mc.dropMessage("You must wait 10 minutes between each kill.");
                    }
                } else {
                    mc.dropMessage(victim + " is unable to be found in your channel or " + victim + " is a GM.");
                }
            } else if (splitted[0].equals("@toggleexp")) {
                player.setExpEnabled(!player.expEnabled());
                mc.dropMessage("Your exp has been turned on or off.");
            } else if (splitted[0].equals("@rebirth")) {
                int negexp;
                if (player.getLevel() > 199) {
                    player.setLevel(1);
                    player.setExp(0);
                    player.setReborns(player.getReborns() + 1);
                    player.changeJob(MapleJob.getById(0));
                    negexp = player.getExp();
                    player.gainExp(-negexp, false, false);
                    player.updateSingleStat(MapleStat.EXP, player.getExp());
                } else {
                    mc.dropMessage("You must be at least level 200.");
                }
            } else if (splitted[0].equals("@emo")) {
                if (!player.inJail()) {
                    player.setHp(0);
                    player.updateSingleStat(MapleStat.HP, 0);
                }
            } else if (splitted[0].equals("@expfix")) {
                player.setExp(0);
                player.updateSingleStat(MapleStat.EXP, Integer.valueOf(0));
                mc.dropMessage("Your exp has been reset.");
            } else if (splitted[0].equals("@hideout")) {
                if (player.getGuildId() == 0) {
                    if (!player.getGulidHideout()) {
                        player.getGuildHideout();
                    } else {
                        player.addGuildHideout();
                    }
                    player.goGuildHideout();
                    mc.dropMessage("You are not in a guild");
                } else {
                    MapleGuildSummary g = cserv.getGuildSummary(player.getGuildId());
                    int mapid = g.getHideout();
                    String guildname = g.getName();
                    if (mapid == -1) {
                        mc.dropMessage("Your guild doesn't have a hideout");
                    } else if (player.getClient().getChannel() == 1) {
                        if (player.getMapId() != mapid) {
                            player.saveLocation(SavedLocationType.HIDEOUT);
                            MapleMap target = cserv.getMapFactory().getMap(mapid);
                            MaplePortal targetPortal = target.getPortal(0);
                            player.changeMap(target, targetPortal);
                            mc.dropMessage("Welcome to " + guildname + " Hideout");
                        } else if (player.getMapId() == mapid) {
                            int smap = player.getSavedLocation(SavedLocationType.HIDEOUT);
                            MapleMap target = cserv.getMapFactory().getMap(smap);
                            MaplePortal targetPortal = target.getPortal(0);
                            player.changeMap(target, targetPortal);
                            player.clearSavedLocation(SavedLocationType.HIDEOUT);
                        }
                    } else {
                        mc.dropMessage("Guilds Hideouts are in channel 1");
                    }
                }
            } else if (splitted[0].equals("@unstuckall")) {
                try {
                    Connection con = DatabaseConnection.getConnection();
                    PreparedStatement ps = con.prepareStatement("UPDATE ACCOUNTS SET loggedin = 0");
                    ps.executeUpdate();
                    ps.close();
                    mc.dropMessage("Done.");
                } catch (SQLException ex) {
                    mc.dropMessage("Something wrong happened.");
                }
            } else if (splitted[0].equals("@fmnpc")) {
                if (!player.inJail()) {
                    NPCScriptManager npc = NPCScriptManager.getInstance();
                    npc.start(c, 22000);
                } else {
                    mc.dropMessage("Sorry, you are in jail.");
                }
            } else if (splitted[0].equals("@karma") && player.getKarma() > 40) {
                MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[2]);
                if (splitted.length > 0) {
                    if (splitted[1].equals("raise") && victim.getKarma() < 25) {
                        player.downKarma();
                        victim.upKarma();
                        mc.dropMessage("You have raised someone's karma");
                        for (MapleCharacter mch : cserv.getPlayerStorage().getAllCharacters()) {
                            if (mch.gmLevel() >= 3) {
    mch.getClient().getSession().write(MaplePacketCreator.serverNotice(6, victim + "'s karma has been raised to " + victim.getKarma() + " by " + player + "."));
                            }
                        }
                    } else if (splitted[1].equals("drop") && victim.getKarma() > -25) {
                        player.downKarma();
                        victim.downKarma();
                        mc.dropMessage("You have dropped someone's karma");
                        for (MapleCharacter mch : cserv.getPlayerStorage().getAllCharacters()) {
                            if (mch.gmLevel() >= 3) {
    mch.getClient().getSession().write(MaplePacketCreator.serverNotice(6, victim + "'s karma has been dropped to " + victim.getKarma() + " by " + player + "."));
                            }
                        }
                    } else if (victim.getKarma() > 24 || victim.getKarma() < -24) {
                        mc.dropMessage(victim + "'s karma is either too high or too low.");
                    }
                }
            } else {
                if (player.gmLevel() >= 0) {
                    mc.dropMessage("Player Command " + splitted[0] + " does not exist");
                }
                return false;
            }
            return true;
        }
    }

+ תגובה לנושא
עמוד 1 מתוך 2 12 אחרון >>


הרשאות פרסום

  • אין באפשרותך לפרסם נושאים חדשים
  • אין באפשרותך לפרסם תגובות
  • אין באפשרותך לצרף קבצים
  • אין באפשרותך לערוך את הודעותיך


כל הזמנים הם לפי GMT +3. השעה כרגע היא 21:55.
מופעל על ידי vBulletin™ © גרסה 4.1, 2011 vBulletin Solutions, Inc. כל הזכויות שמורות.
פעילות הגולשים
אומנות וגרפיקה
מוזיקה
ספורט
סדרות טלוויזיה
סרטים וקולנוע
קנייה ומכירה
רשתות חברתיות
הבורר 3
פורומי פנאי ובידור
סרטים
סדרות
משחקים
דיבורים
אקטואליה
בעלי חיים
בדיחות והומור
משחקי ספורט
הבורר
מחשבים וטכנולוגיה
תמיכה טכנית
חומרה ומודינג
תוכנות להורדה
סלולארי וגאדג'טים
רקעים למחשב
ציוד הקפי למחשב
אבטחת מידע
תכנות ובניית אתרים
כסף ברשת
אייפון
בריאות ואורח חיים
כושר ופיתוח גוף
דיאטה
צבא וגיוס
יעוץ מיני
מה שבלב
אומנות הפיתוי
יהדות
מיסטיקה ורוחניות
אתאיזם ודתות

נושאים: 2,473,190 | הודעות: 8,173,777 | משתמשים: 315,603 | המשתמש החדש ביותר: upizijoj | עיצוב גרפי: סטודיו עודד בביוף | קידוד: rellect