Some Commands =D and Scripts

Results 1 to 15 of 15
  1. #1
    Banned Blasian is offline
    BannedRank
    Aug 2009 Join Date
    California, USLocation
    773Posts

    wink Some Commands =D and Scripts

    Sorry if its not usefull still new to this =P took me a while to type out all of those commands!

    !help Command for ThePack
    Must Put This at the top of InternCommand.java located in net.sf.odinms.messages.
    Spoiler:

    import net.sf.odinms.net.login.LoginServer;

    Add with other commands:
    Spoiler:
    } else if (splitted[0].equals("!help")) {
    mc.dropMessage("============================================================");
    mc.dropMessage(" " + LoginServer.getInstance().getServerName() + "All GM Commands Commands");
    mc.dropMessage("============================================================");
    mc.dropMessage("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
    mc.dropMessage("LEVEL 1 Commands:");
    mc.dropMessage("~~~~");
    mc.dropMessage("DONATOR COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!buffme");
    mc.dropMessage("!online");
    mc.dropMessage("!goto");
    mc.dropMessage("LEVEL 2 Commands");
    mc.dropMessage("~~~~");
    mc.dropMessage("INTERN COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!gmshop");
    mc.dropMessage("!map");
    mc.dropMessage("!maple");
    mc.dropMessage("!misc");
    mc.dropMessage("!cheaters");
    mc.dropMessage("!sbag");
    mc.dropMessage("!scroll");
    mc.dropMessage("!glimmer");
    mc.dropMessage("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
    mc.dropMessage("LEVEL 3 Commands!");
    mc.dropMessage("~~~~");
    mc.dropMessage("Monster Commands");
    mc.dropMessage("~~~~");
    mc.dropMessage("!anego");
    mc.dropMessage("!balrog");
    mc.dropMessage("!bird");
    mc.dropMessage("!blackcrow");
    mc.dropMessage("!bob");
    mc.dropMessage("!centipede");
    mc.dropMessage("!clone");
    mc.dropMessage("!coke");
    mc.dropMessage("!ergoth");
    mc.dropMessage("!franken");
    mc.dropMessage("!horseman");
    mc.dropMessage("!leafreboss");
    mc.dropMessage("!loki");
    mc.dropMessage("!ludimini");
    mc.dropMessage("!mushmom");
    mc.dropMessage("!nx");
    mc.dropMessage("!pap");
    mc.dropMessage("!papapixie");
    mc.dropMessage("!pianus");
    mc.dropMessage("!pirate");
    mc.dropMessage("!snackbar");
    mc.dropMessage("!theboss");
    mc.dropMessage("~~~~");
    mc.dropMessage("STAT COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!str");
    mc.dropMessage("!dex");
    mc.dropMessage("!luk");
    mc.dropMessage("!int");
    mc.dropMessage("!ap");
    mc.dropMessage("!sp");
    mc.dropMessage("!allocate");
    mc.dropMessage("!exp");
    mc.dropMessage("!god");
    mc.dropMessage("!level");
    mc.dropMessage("!maxall");
    mc.dropMessage("!setall");
    mc.dropMessage("~~~~");
    mc.dropMessage("RATE COMMANDS [do not use unless directed]");
    mc.dropMessage("~~~~");
    mc.dropMessage("!exprate");
    mc.dropMessage("!mesorate");
    mc.dropMessage("!droprate");
    mc.dropMessage("!bossrate");
    mc.dropMessage("!petexprate");
    mc.dropMessage("!mountexprate");
    mc.dropMessage("!shopmesorate");
    mc.dropMessage("~~~~");
    mc.dropMessage("PERSON COMMANDS");
    mc.dropMessage("~~~~~");
    mc.dropMessage("!giftnx");
    mc.dropMessage("!healperson");
    mc.dropMessage("!healmap");
    mc.dropMessage("!hurt");
    mc.dropMessage("!jobperson");
    mc.dropMessage("!kill");
    mc.dropMessage("!killeveryone");
    mc.dropMessage("!killmap");
    mc.dropMessage("!levelperson");
    mc.dropMessage("!lolhaha");
    mc.dropMessage("!mesoperson");
    mc.dropMessage("!mute");
    mc.dropMessage("!slap");
    mc.dropMessage("!warphere");
    mc.dropMessage("!karma");
    mc.dropMessage("~~~~");
    mc.dropMessage("SELF COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!chattype");
    mc.dropMessage("!fakechar");
    mc.dropMessage("!fame");
    mc.dropMessage("!heal");
    mc.dropMessage("!job");
    mc.dropMessage("!levelup");
    mc.dropMessage("!maxall");
    mc.dropMessage("!mesos");
    mc.dropMessage("!skill");
    mc.dropMessage("!warp");
    mc.dropMessage("~~~~");
    mc.dropMessage("BAN COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!ban");
    mc.dropMessage("!dc");
    mc.dropMessage("!getnamebyid");
    mc.dropMessage("!jail");
    mc.dropMessage("!unjail");
    mc.dropMessage("~~~~");
    mc.dropMessage("MESSAGE COMMANDS");
    mc.dropMessage("~~~~");
    mc.dropMessage("!gmchat");
    mc.dropMessage("!gmsg");
    mc.dropMessage("!mute");
    mc.dropMessage("!notice");
    mc.dropMessage("!removebot");
    mc.dropMessage("!say");
    mc.dropMessage("!servermessage");
    mc.dropMessage("~~~~");
    mc.dropMessage("ITEM COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!drop");
    mc.dropMessage("!droprandomstatiten");
    mc.dropMessage("!id");
    mc.dropMessage("!item");
    mc.dropMessage("~~~~");
    mc.dropMessage("WHERE USERS COMMANDS:");
    mc.dropMessage("!charinfo");
    mc.dropMessage("!connected");
    mc.dropMessage("!pos");
    mc.dropMessage("!whereami");
    mc.dropMessage("!whosthere");
    mc.dropMessage("~~~~");
    mc.dropMessage("OTHER COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!cancelBuffs");
    mc.dropMessage("!cleardrops");
    mc.dropMessage("!clock");
    mc.dropMessage("!fackrelog");
    mc.dropMessage("!event");
    mc.dropMessage("!killall");
    mc.dropMessage("!killallmany");
    mc.dropMessage("!openshop");
    mc.dropMessage("!saveall");
    mc.dropMessage("!showMonsterID");
    mc.dropMessage("!spawn");
    mc.dropMessage("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
    mc.dropMessage("LEVEL 4 Commands:");
    mc.dropMessage("~~~~");
    mc.dropMessage("SUPER COMMANDS:");
    mc.dropMessage("~~~~");
    mc.dropMessage("!checkkarma");
    mc.dropMessage("!dcall");
    mc.dropMessage("!horntail");
    mc.dropMessage("!givedonatorpoint");
    mc.dropMessage("!npc");
    mc.dropMessage("!removenpcs");
    mc.dropMessage("!ringme");
    mc.dropMessage("!sex smega [user] [type] [message] ");
    mc.dropMessage("!speak");
    mc.dropMessage("!unban");
    mc.dropMessage("!zakum");
    mc.dropMessage("!bomb");
    mc.dropMessage("!bombplayer");
    mc.dropMessage("!bombmap");
    mc.dropMessage("!bombitems");
    mc.dropMessage("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
    mc.dropMessage("LEVEL 5 Commands");
    mc.dropMessage("~~~~");
    mc.dropMessage("Admin Commands");
    mc.dropMessage("~~~~");
    mc.dropMessage("!pmob");
    mc.dropMessage("!pnpc");
    mc.dropMessage("!sql");
    mc.dropMessage("!setGMlevel");
    mc.dropMessage("!shutdown");
    mc.dropMessage("!shutdownnow");

    Kin and Nimakin With white eyes working!
    Kin: [Save to 9900000.js Replace old]
    Spoiler:
    // KIN - v.62 // hair / eyes / face (male)
    var status = 0;
    var beauty = 0;
    var haircolor = Array();
    var skin = Array(0, 1, 2, 3, 4, 9);
    var hair = Array(30000, 30010, 30020, 30030, 30040, 30050, 30060, 30070, 30080, 30090, 30**** 30120, 30130, 30140, 30150, 30160, 30170, 30180, 30190, 30200, 30210, 30220, 30230, 30240, 30250, 30260, 30270, 30280, 30290, 30300, 30310, 30320, 30330, 30340, 30350, 30360, 30370, 30400, 30410, 30420, 30440, 30450, 30460, 30470, 30480, 30490, 30510, 30520, 30530, 30540, 30550, 30560, 30570, 30580, 30590, 30600, 30610, 30620, 30630, 30640, 30650, 30660, 30670, 30680, 30690, 30700, 30710, 30720, 30730, 30740, 30750, 30760, 30770, 30780, 30790, 30800, 30810, 30820, 30840);
    var hairnew = Array();
    var face = Array(20000, 20001, 20002, 20003, 20004, 20005, 20006, 20007, 20008, 20009, 20010, 20011, 20012, 20013, 20014, 20016, 20017, 20018, 20019, 20020, 20021, 20022, 20023, 20024, 20026);
    var facenew = Array();
    var colors = Array();

    function start() {
    status = -1;
    action(1, 0, 0);
    }

    function action(mode, type, selection) {
    if (mode == -1)
    cm.dispose();
    else {
    if (mode == 0 && status == 0) {
    cm.dispose();
    return;
    }
    if (mode == 1)
    status++;
    else
    status--;
    if (status == 0) {
    if(false) {
    cm.sendOk("Wait a minute, you aren't a GM!");
    cm.dispose();
    } else if (cm.getChar().getGender() == 1) {
    cm.sendOk("I'm sorry, I only do Males. You should try my sister NimaKIM.");
    cm.dispose();
    } else
    cm.sendSimple("Hey there, I can change your look. What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
    } else if (status == 1) {
    if (selection == 0) {
    beauty = 1;
    cm.sendStyle("Pick one?", skin);
    } else if (selection == 1) {
    beauty = 2;
    hairnew = Array();
    for(var i = 0; i < hair.length; i++) {
    if (hair[i] == 30100 || hair[i] == 30010)
    hairnew.push(hair[i]);
    else
    hairnew.push(hair[i] + parseInt(cm.getPlayer().getHair() % 10));
    }
    cm.sendStyle("Pick one?", hairnew);
    } else if (selection == 2) {
    beauty = 3;
    haircolor = Array();
    var current = parseInt(cm.getPlayer().getHair()/10)*10;
    if(current == 30100)
    haircolor = Array(current , current + 1, current + 2, current + 3, current +4);
    else if (current == 30010)
    haircolor = Array(current);
    else {
    for(var i = 0; i < 8; i++)
    haircolor.push(current + i);
    }
    cm.sendStyle("Pick one?", haircolor);
    } else if (selection == 3) {
    beauty = 4;
    facenew = Array();
    for(var i = 0; i < face.length; i++) {
    if (face[i] == 20022 || face[i] == 20021)
    facenew.push(face[i]);
    else
    facenew.push(face[i] + cm.getPlayer().getFace() % 1000 - (cm.getPlayer().getFace() % 100));
    }
    cm.sendStyle("Pick one?", facenew);
    } else if (selection == 4) {
    beauty = 5;
    var current = cm.getPlayer().getFace() % 100 + 20000;
    colors = Array();
    if(current == 20022 || current == 20021)
    colors = Array(current , current + **** current + 200, current + 300, current +400, current + 600, current + 700, current + 800);
    else


    NimaKin: [Save to 9900001.js Replace old]
    Spoiler:
    //NimaKin - v.62 //hair /eyes /face (male)
    var status = 0;
    var beauty = 0;
    var haircolor = Array();
    var skin = Array(0, 1, 2, 3, 4, 9);
    var hair = Array(31000, 31010, 31020, 31030, 31040, 31050, 31060, 31070, 31080, 31090, 31**** 31**** 31120, 31130, 31140, 31150, 31160, 31170, 31180, 31190, 31200, 31210, 31220, 31230, 31240, 31250, 31260, 31270, 31280, 31290, 31300, 31310, 31320, 31330, 31340, 31350, 31400, 31410, 31420, 31440, 31450, 31460, 31470, 31480, 31490, 31510, 31520, 31530, 31540, 31550, 31560, 31570, 31580, 31590, 31600, 31610, 31620, 31630, 31640, 31650, 31670, 31680, 31690, 31700, 31710, 31720, 31730, 31740, 31750, 31760, 31770, 31780, 31790, 31800, 31810 );
    var hairnew = Array();
    var face = Array(21000, 21001, 21002, 21003, 21004, 21005, 21006, 21007, 21008, 21009, 21010, 21011, 21012, 21013, 21014, 21016, 21017, 21018, 21019, 21020, 21021, 21022, 21024, 21025);
    var facenew = Array();
    var colors = Array();

    function start() {
    status = -1;
    action(1, 0, 0);
    }

    function action(mode, type, selection) {
    if (mode == -1) {
    cm.dispose();
    } else {
    if (mode == 0 && status == 0) {
    cm.dispose();
    return;
    }
    if (mode == 1)
    status++;
    else
    status--;
    if (status == 0) {
    if(false) {
    cm.sendOk("Wait a minute, you aren't a GM!");
    cm.dispose();
    } else if (cm.getChar().getGender() == null) {
    cm.sendOk("I'm sorry, I only do Females. You should try my sister KIN.");
    cm.dispose();
    } else {
    cm.sendSimple("Hey there, I can change your look. What would you like to change?\r\n#L0#Skin#l\r\n#L1#Hair#l\r\n#L2#Hair Color#l\r\n#L3#Eye#l\r\n#L4#Eye Color#l");
    }
    } else if (status == 1) {
    if (selection == 0) {
    beauty = 1;
    cm.sendStyle("Pick one?", skin);
    } else if (selection == 1) {
    beauty = 2;
    hairnew = Array();
    for(var i = 0; i < hair.length; i++) {
    hairnew.push(hair[i] + parseInt(cm.getPlayer().getHair() % 10));
    }
    cm.sendStyle("Pick one?", hairnew);
    } else if (selection == 2) {
    beauty = 3;
    haircolor = Array();
    var current = parseInt(cm.getPlayer().getHair()/10)*10;
    for(var i = 0; i < 8; i++) {
    haircolor.push(current + i);
    }
    cm.sendStyle("Pick one?", haircolor);
    } else if (selection == 3) {
    beauty = 4;
    facenew = Array();
    for(var i = 0; i < face.length; i++) {
    facenew.push(face[i] + cm.getPlayer().getFace() % 1000 - (cm.getPlayer().getFace() % 100));
    }
    cm.sendStyle("Pick one?", facenew);
    } else if (selection == 4) {
    beauty = 5;
    var current = cm.getPlayer().getFace() % 100 + 21000;
    colors = Array();
    colors = Array(current , current + **** current + 200, current + 300, current +400, current + 500, current + 600, current + 700, current + 800);
    cm.sendStyle("Pick one?", colors);
    }
    }
    else if (status == 2){
    if (beauty == 1){
    cm.setSkin(skin[selection]);
    }
    if (beauty == 2){
    cm.setHair(hairnew[selection]);
    }
    if (beauty == 3){
    cm.setHair(haircolor[selection]);
    }
    if (beauty == 4){
    cm.setFace(facenew[selection]);
    }
    if (beauty == 5){
    cm.setFace(colors[selection]);
    }
    cm.dispose();
    }
    }
    }


    Kin and NimaKin commands so that others can use =P [Place these in playercommand.java:
    Kin Commands:
    Spoiler:
    } else if (splitted[0].equals("@kin") && !player.inBlockedMap()) {
    NPCScriptManager.getInstance().start(c, 9900000, null, null);


    NimaKin Commands:
    Spoiler:
    } else if (splitted[0].equals("@nimakin") && !player.inBlockedMap()) {
    NPCScriptManager.getInstance().start(c, 9900001, null, null);


    Spam Sheild ON! [Add if any one has a vote for nx script if would help thnx!]
    THNX ME IF HELPED!


  2. #2
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Some Commands =D and Scripts

    Omfg yey! Finaly!!
    Thanks! ++

  3. #3
    Apprentice kanemitsu56 is offline
    MemberRank
    Oct 2009 Join Date
    10Posts

    Re: Some Commands =D and Scripts

    ok well i copy and pasted the code into the npc file but i cant even click on kin or nimakin when i spawn them. what am i doing wrong?

  4. #4
    Banned Blasian is offline
    BannedRank
    Aug 2009 Join Date
    California, USLocation
    773Posts

    Re: Some Commands =D and Scripts

    Quote Originally Posted by kanemitsu56 View Post
    ok well i copy and pasted the code into the npc file but i cant even click on kin or nimakin when i spawn them. what am i doing wrong?
    I dont know they work perfectly for me I got them from xuiz source credits go to them on that one =P


    Quote Originally Posted by PirateOwh View Post
    Omfg yey! Finaly!!
    Thanks! ++
    Pres thnx then =P

  5. #5
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Some Commands =D and Scripts

    [sarcasm] OMGEE! Finally, thanks [/sarcams]

  6. #6
    Smoke & Fly Kars is offline
    MemberRank
    Apr 2008 Join Date
    The NetherlandsLocation
    3,383Posts

    Re: Some Commands =D and Scripts

    These scripts, all you did was take an existing script and change some numbers around, pretty much.

  7. #7
    offonline King Grub is offline
    MemberRank
    Aug 2009 Join Date
    Spring fieldLocation
    3,303Posts

    Re: Some Commands =D and Scripts

    Quote Originally Posted by Kars View Post
    These scripts, all you did was take an existing script and change some numbers around, pretty much.
    Just what i thought when i saw this.

  8. #8
    Account Upgraded | Title Enabled! PinkGatsby is offline
    MemberRank
    Mar 2009 Join Date
    AmericaLocation
    434Posts

    Re: Some Commands =D and Scripts

    LoginServer.getInstance().getServerName() + "All GM Commands Commands");

    returns 'null All GM Commands Commands'
    :3 we haven't loaded the info so getServerName() will return null.

  9. #9
    Banned Blasian is offline
    BannedRank
    Aug 2009 Join Date
    California, USLocation
    773Posts

    Re: Some Commands =D and Scripts

    works for me loads the server name from the world.properties

  10. #10
    return null; mertjuh is offline
    MemberRank
    Dec 2008 Join Date
    The NetherlandsLocation
    1,269Posts

    Re: Some Commands =D and Scripts

    lulz ty for skin number 9 o.o

  11. #11
    Banned Blasian is offline
    BannedRank
    Aug 2009 Join Date
    California, USLocation
    773Posts

    Re: Some Commands =D and Scripts

    Quote Originally Posted by Kars View Post
    These scripts, all you did was take an existing script and change some numbers around, pretty much.
    It would look like that even if I copied or didnt copy it either way you will never no

    Answer to that:
    Spoiler:
    I didnt copy lmao wrote it all out >.>

  12. #12
    Account Upgraded | Title Enabled! Ducky is offline
    MemberRank
    Sep 2009 Join Date
    Corn CityLocation
    261Posts

    Re: Some Commands =D and Scripts

    Quote Originally Posted by Dude3889 View Post
    It would look like that even if I copied or didnt copy it either way you will never no

    Answer to that:
    Spoiler:
    I didnt copy lmao wrote it all out >.>
    I would highly doubt you coded a nimakin for xuizsource given that is one with the repack

    Never know though you could have, im just doubting it

  13. #13
    Novice HazardStory is offline
    MemberRank
    Jul 2009 Join Date
    3Posts

    Re: Some Commands =D and Scripts

    Is this for v0.75?

  14. #14
    Proficient Member tomer001 is offline
    MemberRank
    Sep 2008 Join Date
    In JEWISH WorldLocation
    150Posts

    Re: Some Commands =D and Scripts

    tnx !help is awesome its just hard job i didnt have any time for it so tnx
    but kim and nimakin r already known but its fine

  15. #15
    Banned Blasian is offline
    BannedRank
    Aug 2009 Join Date
    California, USLocation
    773Posts

    Re: Some Commands =D and Scripts

    Quote Originally Posted by tomer001 View Post
    tnx !help is awesome its just hard job i didnt have any time for it so tnx
    but kim and nimakin r already known but its fine
    thnx =) kin and nimakin are not in odinms thats why =P



Advertisement