Some questions

Results 1 to 11 of 11
  1. #1
    Apprentice XissDee is offline
    MemberRank
    Sep 2011 Join Date
    9Posts

    Some questions

    ok, just created my server but i simply don't know anything about how can i configure it..so if you can answer these questions, thank you.
    Using MoopleDev
    1-My IL Mage skills are not showing up (Icons are fine, but description and name are blank)
    2-How can i make Kerning/NLC instantly?
    3-Ok if i have a NPC script (the ones that start with "var status = 0") how can i add the NPC to the game?
    4-How can i add drops to every monster? I used that SQL lines but i think my DB are missing some tables...

    Thanks and btw sorry my bad english... =(


  2. #2
    Enthusiast DevTisy is offline
    MemberRank
    Jun 2013 Join Date
    44Posts

    Re: Some questions

    Quote Originally Posted by XissDee View Post
    ok, just created my server but i simply don't know anything about how can i configure it..so if you can answer these questions, thank you.
    Using MoopleDev
    1-My IL Mage skills are not showing up (Icons are fine, but description and name are blank)
    2-How can i make Kerning/NLC instantly?
    3-Ok if i have a NPC script (the ones that start with "var status = 0") how can i add the NPC to the game?
    4-How can i add drops to every monster? I used that SQL lines but i think my DB are missing some tables...

    Thanks and btw sorry my bad english... =(
    4 , globalMobDrop?

  3. #3
    Apprentice XissDee is offline
    MemberRank
    Sep 2011 Join Date
    9Posts

    Re: Some questions

    Quote Originally Posted by DevTisy View Post
    4 , globalMobDrop?
    Where can i edit that?Is it a java file?
    Thanks for answering

  4. #4
    Enthusiast DevTisy is offline
    MemberRank
    Jun 2013 Join Date
    44Posts

    Re: Some questions

    Quote Originally Posted by xissdee View Post
    where can i edit that?is it a java file?
    Thanks for answering
    mysql ??

  5. #5
    Apprentice XissDee is offline
    MemberRank
    Sep 2011 Join Date
    9Posts

    Re: Some questions

    Quote Originally Posted by DevTisy View Post
    mysql ??
    Is the table name "drop_data_global"?
    I tried to edit that but i don't know what i put on "dropType", "continent" and "chance"

  6. #6
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Some questions

    I don't know what you mean by "make kerning/nlc instantly". For the npc scripts you download, just create a new notepad file, paste the code in, save as the npc code.js in your "scripts\npc" folder.

    For example, a script for cody would be saved as "9200000‎.js" in "MoopleDEV\scripts\npc".

  7. #7
    Apprentice XissDee is offline
    MemberRank
    Sep 2011 Join Date
    9Posts

    Re: Some questions

    Quote Originally Posted by Fraysa View Post
    I don't know what you mean by "make kerning/nlc instantly". For the npc scripts you download, just create a new notepad file, paste the code in, save as the npc code.js in your "scripts\npc" folder.

    For example, a script for cody would be saved as "9200000‎.js" in "MoopleDEV\scripts\npc".
    Well yes but when i @npc the ID it just DC me... and what i meant is a script that teleports you to NLC instantly, then teleport instantly to Kerning. Thanks.

  8. #8
    Apprentice XissDee is offline
    MemberRank
    Sep 2011 Join Date
    9Posts

    Re: Some questions

    bumb... i edited drop_data_global, but nothing changed.
    error.jpg

    Also... how can i put a NPC on the map? I mean, permanently (when i use @npc XX it DC me...) and how can i change its name and what it will say?

  9. #9
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Some questions

    Quote Originally Posted by XissDee View Post
    bumb... i edited drop_data_global, but nothing changed.
    error.jpg

    Also... how can i put a NPC on the map? I mean, permanently (when i use @npc XX it DC me...) and how can i change its name and what it will say?
    I believe the @npc is a command that places an npc on a map permanently. Maybe it d/cs you because the command is screwed up.

    Anyways, does it D/C you with every npc you place, or just this one? If just this one, post the code of the NPC's script, it might be bugged, and post your @npc command.

    Also, to change it's name and what it will say (In the quote area), you have to edit the WZ files and then publish them to all of people who are playing the server, so it's kind of annoying and useless.

    For the teleport script, here you go. Change "NLC_ID" and "KERNING_CITY_ID" to their matching ID's.. I just forgot.

    Might not work, add a "}" at the end if it doesn't.

    Code:
    var status; 
    
    function start() { 
        status = -1; 
        action(1, 0, 0); 
    } 
    
    function action(mode, type, selection) { 
        if (mode == 1) { 
            status++; 
        }else{ 
            status--; 
        } 
        if (status == 0) { 
    	cm.sendSimple("Hello, where do you like to teleport, #b#h? #k\r\n#bNew Leaf City (NLC).\r\nKerning City.#k");
        } else if (status == 1) {
        if (selection == 0)
    	cm.warp(NLC_ID);
    	cm.dispose();
        } else {
    	cm.warp(KERNING_CITY_ID);
    	cm.dispose();
    	}
        }
    }

  10. #10
    Apprentice XissDee is offline
    MemberRank
    Sep 2011 Join Date
    9Posts

    Re: Some questions

    Quote Originally Posted by Fraysa View Post
    I believe the @npc is a command that places an npc on a map permanently. Maybe it d/cs you because the command is screwed up.

    Anyways, does it D/C you with every npc you place, or just this one? If just this one, post the code of the NPC's script, it might be bugged, and post your @npc command.

    Also, to change it's name and what it will say (In the quote area), you have to edit the WZ files and then publish them to all of people who are playing the server, so it's kind of annoying and useless.

    For the teleport script, here you go. Change "NLC_ID" and "KERNING_CITY_ID" to their matching ID's.. I just forgot.

    Might not work, add a "}" at the end if it doesn't.

    Code:
    var status; 
    
    function start() { 
        status = -1; 
        action(1, 0, 0); 
    } 
    
    function action(mode, type, selection) { 
        if (mode == 1) { 
            status++; 
        }else{ 
            status--; 
        } 
        if (status == 0) { 
    	cm.sendSimple("Hello, where do you like to teleport, #b#h? #k\r\n#bNew Leaf City (NLC).\r\nKerning City.#k");
        } else if (status == 1) {
        if (selection == 0)
    	cm.warp(NLC_ID);
    	cm.dispose();
        } else {
    	cm.warp(KERNING_CITY_ID);
    	cm.dispose();
    	}
        }
    }
    Thanks man.. so about the NPCs, can i add them without their names and appeareance? How they will show up?

  11. #11
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Some questions

    Quote Originally Posted by XissDee View Post
    Thanks man.. so about the NPCs, can i add them without their names and appeareance? How they will show up?
    They will just show up as normal, with their original name and appereance. What you can do is, create a name player named for example.. "Shop". And then create a PlayerNPC with the character "Shop" and change his apperance or something.



Advertisement