Awsome easy-to-edit quest npc

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Proficient Member bowser123467 is offline
    MemberRank
    Jun 2009 Join Date
    174Posts

    note Awsome easy-to-edit quest npc

    ive made a really easy to edit maplestory npc heres the code (edit every thing in bold):
    Code:
    var status = 0; // dont touch
    var map = 100000000;// map it warps u to after ur done
    //created by Astro only edit some stuff the rest is done for u
    
    
    var item = 4001007; // change this to what ever item u want
    var getitem = 4001013; // the item u get when u beat the quest
    var amount = 15; // the amount of the reward u get
    var amount1 = 20; // the amount u need to beat the quest
    //var exp = 4000; this isnt working
    //var exprate = 1500; same w/ this
    var nx = 3000; //amount of nx u get
    
    
    
    
    function start() {
    	status = -1;
    	action(1, 0, 0);
    }
    
    
    function action(mode, type, selection) {
    	if (mode == -1) {
    		cm.dispose();
    	} else {
    		if (status >= 2 && mode == 0) {
    			cm.sendOk ("TeddyBearMS RAWR~");
    			cm.dispose();
    			return;
    		}
    		if (mode == 1)
    			status++;
    		else
    			status--;
    		if (status == 0 ) {
    		
    				cm.sendNext ("hello, " +  cm.getChar().getName()  +  "  can u get me "+amount1+" #i"+item+"#! "); // edit everything thats grey not black
    			}
    		else if (status == 1) {
    			if (cm.haveItem(item,amount1)) {
    			cm.gainItem(item,-20);
    			cm.warp(map);
    			cm.showEffect("quest/party/clear"); // makes the pig clear sign apear
                cm.playSound("Party1/Clear"); // makes the music for the big clear sign play
    			cm.sendOk ("great heres "+ nx +" nx");// if u dont want it to give any nx delete this line
    			cm.modifyNx(nx);// if u dont want it to give any nx delete this line
    			cm.dispose();
    			}
    			if (!cm.haveItem(item,amount1)) {
    			cm.sendOk ("You have not collected "+amount1+"#i"+item+"#!");// edit everything thats grey not black
    			cm.dispose();
    			}
    		}
    		else if (status == 2) {
                            cm.showEffect("quest/party/clear");
                            cm.playSound("Party1/Clear");
    			cm.dispose();
    			
    		}
    	}
    }

    Last edited by bowser123467; 13-12-09 at 10:30 PM.


  2. #2
    bleh.... Shawn is offline
    MemberRank
    Oct 2008 Join Date
    Mississauga, CaLocation
    5,904Posts

    Re: Awsome easy-to-edit quest npc

    sigh..... good job o.0 *hangs head low*

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

    Re: Awsome easy-to-edit quest npc

    Lol, good job i guess o.o

  4. #4
    Infraction Banned rice is offline
    MemberRank
    Nov 2009 Join Date
    2,905Posts

    Re: Awsome easy-to-edit quest npc

    Big font, but good job.
    Oft:
    I seriously lol'd at that Popsicle thing

  5. #5
    I'm sexy and I know it :) Deagan ツ is offline
    MemberRank
    Oct 2008 Join Date
    clubs ;\Location
    1,317Posts

    Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by theRice View Post
    I seriously lol'd at that Popsicle thing


    Ontopic : Just never give up doing stuff like this :)

  6. #6
    Gamma Sparrow is offline
    MemberRank
    Mar 2009 Join Date
    SydneyLocation
    2,960Posts

    Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by bowser123467 View Post
    ive made a really easy to edit maplestory npc heres the code (edit every thing in bold):
    Code:
    var status = 0; // dont touch
    var map = 100000000;// map it warps u to after ur done
    //created by Astro only edit some stuff the rest is done for u
    
    
    var item = 4001007; // change this to what ever item u want
    var getitem = 4001013; // the item u get when u beat the quest
    var amount = 15; // the amount of the reward u get
    var amount1 = 20; // the amount u need to beat the quest
    //var exp = 4000; this isnt working
    //var exprate = 1500; same w/ this
    var nx = 3000; //amount of nx u get
    
    
    
    
    function start() {
    	status = -1;
    	action(1, 0, 0);
    }
    
    
    function action(mode, type, selection) {
    	if (mode == -1) {
    		cm.dispose();
    	} else {
    		if (status >= 2 && mode == 0) {
    			cm.sendOk ("TeddyBearMS RAWR~");
    			cm.dispose();
    			return;
    		}
    		if (mode == 1)
    			status++;
    		else
    			status--;
    		if (status == 0 ) {
    		
    				cm.sendNext ("hello, " +  cm.getChar().getName()  +  "  can u get me "+amount1+" #i"+item+"#! "); // edit everything thats grey not black
    			}
    		else if (status == 1) {
    			if (cm.haveItem(item,amount1)) {
    			cm.gainItem(item,-20);
    			cm.warp(map);
    			cm.showEffect("quest/party/clear"); // makes the pig clear sign apear
                cm.playSound("Party1/Clear"); // makes the music for the big clear sign play
    			cm.sendOk ("great heres "+ nx +" nx");// if u dont want it to give any nx delete this line
    			cm.modifyNx(nx);// if u dont want it to give any nx delete this line
    			cm.dispose();
    			}
    			if (!cm.haveItem(item,amount1)) {
    			cm.sendOk ("You have not collected "+amount1+"#i"+item+"#!");// edit everything thats grey not black
    			cm.dispose();
    			}
    		}
    		else if (status == 2) {
                            cm.showEffect("quest/party/clear");
                            cm.playSound("Party1/Clear");
    			cm.dispose();
    			
    		}
    	}
    }
    also join my server its: teddybearms


    Would you put this in the quest.wz or over any npc?
    Thanks in advance.

  7. #7
    Proficient Member bowser123467 is offline
    MemberRank
    Jun 2009 Join Date
    174Posts

    talk Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by SirDanielot View Post
    Would you put this in the quest.wz or over any npc?
    Thanks in advance.
    u would put it in an npc script then edit it the variables to what ever

  8. #8
    Gamma Sparrow is offline
    MemberRank
    Mar 2009 Join Date
    SydneyLocation
    2,960Posts

    Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by bowser123467 View Post
    u would put it in an npc script then edit it the variables to what ever
    Thanks alot :)

    ---------- Post added at 10:01 PM ---------- Previous post was at 09:58 PM ----------

    Btw, for my storyline im going to make. Can you make it to start the quest you need a certain item (Like the previous reward)

  9. #9
    Account Upgraded | Title Enabled! Buya is offline
    MemberRank
    Oct 2008 Join Date
    1,303Posts

    Re: Awsome easy-to-edit quest npc

    best release I've ever seen in my life.

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

    Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by buya View Post
    best release I've ever seen in my life.
    <.< whysoserious?

  11. #11
    Proficient Member bowser123467 is offline
    MemberRank
    Jun 2009 Join Date
    174Posts

    cool Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by SirDanielot View Post
    Thanks alot :)

    ---------- Post added at 10:01 PM ---------- Previous post was at 09:58 PM ----------

    Btw, for my storyline im going to make. Can you make it to start the quest you need a certain item (Like the previous reward)
    do you mean go into ur quest bag thingy?
    cause yes i can but ill do later im tired

  12. #12
    Gamma Sparrow is offline
    MemberRank
    Mar 2009 Join Date
    SydneyLocation
    2,960Posts

    Re: Awsome easy-to-edit quest npc

    PHP Code:
    var status 0// dont touch
    var map 180000000;// map it warps u to after ur done
    //created by Astro only edit some stuff the rest is done for u


    var item 3010002// change this to what ever item u want
    var getitem 3010002// the item u get when u beat the quest
    var amount 1// the amount of the reward u get
    var amount1 20// the amount u need to beat the quest
    //var exp = 4000; this isnt working
    //var exprate = 1500; same w/ this
    var nx 3000//amount of nx u get




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


    function 
    action(modetypeselection) {
        if (
    mode == -1) {
            
    cm.dispose();
        } else {
            if (
    status >= && mode == 0) {
                
    cm.sendOk ("TeddyBearMS RAWR~");
                
    cm.dispose();
                return;
            }
            if (
    mode == 1)
                
    status++;
            else
                
    status--;
            if (
    status == ) {
            
                    
    cm.sendNext ("hello, " +  cm.getChar().getName()  +  "  can u get me "+amount1+" #i"+item+"#! "); // edit everything thats grey not black
                
    }
            else if (
    status == 1) {
                if (
    cm.haveItem(item,amount1)) {
                
    cm.gainItem(item,-20);
                
    cm.gainItem(item10); 
                
    cm.warp(map);
                
    cm.showEffect("quest/party/clear"); // makes the pig clear sign apear
                
    cm.playSound("Party1/Clear"); // makes the music for the big clear sign play
                
    cm.sendOk ("great heres "nx +" nx");// if u dont want it to give any nx delete this line
                
    cm.modifyNx(nx);// if u dont want it to give any nx delete this line
                
    cm.dispose();
                }
                if (!
    cm.haveItem(item,amount1)) {
                
    cm.sendOk ("You have not collected "+amount1+"#i"+item+"#!");// edit everything thats grey not black
                
    cm.dispose();
                }
            }
            else if (
    status == 2) {
                            
    cm.showEffect("quest/party/clear");
                            
    cm.playSound("Party1/Clear");
                
    cm.dispose();
                
            }
        }

    Last edited by Sparrow; 12-12-09 at 11:38 PM.

  13. #13
    Proficient Member bowser123467 is offline
    MemberRank
    Jun 2009 Join Date
    174Posts

    Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by SirDanielot View Post
    Yeah that's what i mean, and btw with the above script you don't gain the reward ><.
    what reward..............


    (\_/)
    (O.O)
    CXXX

    ---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------

    Quote Originally Posted by SirDanielot View Post
    Yeah that's what i mean, and btw with the above script you don't gain the reward ><.

    ---------- Post added at 10:22 PM ---------- Previous post was at 10:15 PM ----------

    PHP Code:
    function start() {
        
    status = -1;
        
    action(100);
    }


    function 
    action(modetypeselection) {
        if (
    mode == -1) {
            
    cm.dispose();
        } else {
            if (
    status >= && mode == 0) {
                
    cm.sendOk ("TeddyBearMS RAWR~");
                
    cm.dispose();
                return;
            }
            if (
    mode == 1)
                
    status++;
            else
                
    status--;
            if (
    status == ) {
            
                    
    cm.sendNext ("hello, " +  cm.getChar().getName()  +  "  can u get me "+amount1+" #i"+item+"#! "); // edit everything thats grey not black
                
    }
            else if (
    status == 1) {
                if (
    cm.haveItem(item,amount1)) {
                
    cm.gainItem(item,-20);
                
    cm.gainItem(item10); << Add that 
    umm ur version is harder to edit..... O.O

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

    Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by buya View Post
    best release I've ever seen in my life.
    I like ur sarcasm
    woot I'll join ur server *installing hamachi*

  15. #15
    Gamma Sparrow is offline
    MemberRank
    Mar 2009 Join Date
    SydneyLocation
    2,960Posts

    Re: Awsome easy-to-edit quest npc

    Quote Originally Posted by bowser123467 View Post
    what reward..............


    (\_/)
    (O.O)
    CXXX

    ---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------



    umm ur version is harder to edit..... O.O
    Ah sorry, i only put half the script in. Here. i edited the above one for the full fix.
    Last edited by Sparrow; 12-12-09 at 11:39 PM.



Page 1 of 2 12 LastLast

Advertisement