[v99] Cute Newbie

Results 1 to 15 of 15
  1. #1
    while(true) spam(); kevintjuh93 is offline
    ModeratorRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    [v99] Cute Newbie

    So, I had to make everything when I am going GMS-Like...

    10940.js
    Code:
    //credits to kevintjuh93
    
    var status = -1;
    
    function start(mode, type, selection) {
        if (mode == -1) {
            qm.dispose();
        } else {
            if (mode > 0)
                status++;
            else
                qm.dispose();
            if (status == 0)
                qm.sendAcceptDecline("Hello, #h0#. Welcome to Maple World. It's currently event season, and we're welcome new characters with a gift. Would you like your gift now?");
            else if (status == 1) {
                qm.gainItem(2430191, 1);
                qm.forceStartQuest();
                qm.forceCompleteQuest();
    	    qm.sendOk("Open your inventory and double-click on it! These gifts will make you look stylish. Oh, one more thing! You'll get another gift at level 30. Good luck!");
    	    qm.dispose();
            }
        }
    }
    consume_2430191.js
    Code:
    //credits: kevintjuh93
    function start(is) {
    	is.gainItem(1003192);
    	is.gainItem(1040154);
    	is.gainItem(1060145);
    	is.gainItem(5130003);
    	is.gainItem(5450003);
    	is.gainItem(1142263);
    	is.gainItem(2430191, -1);
    }
    Oh and it's male only :$
    Credits to me for sniffing - lolnexon


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

    Re: [v99] Cute Newbie

    No. You're not doing this to show off.
    But good job.
    Last edited by Kars; 17-07-11 at 07:21 PM.

  3. #3
    Alpha Member XxОsirisxX is offline
    MemberRank
    Aug 2009 Join Date
    2,727Posts

    Re: [v99] Cute Newbie

    Looks like a lame NPC. However, you should really use the canHold, no one ever uses it there days.

  4. #4
    warp(california, "home"); LameJacob is offline
    MemberRank
    Sep 2008 Join Date
    CaliforniaLocation
    537Posts

    Re: [v99] Cute Newbie

    Quote Originally Posted by XxОsirisxX View Post
    Looks like a lame NPC. However, you should really use the canHold, no one ever uses it there days.
    Yeah, should be:
    Code:
    var status = -1;
    
    function start(mode, type, selection) {
        if (mode == -1) {
            qm.dispose();
        } else {
            if (mode > 0)
                status++;
            else
                qm.dispose();
            if (status == 0)
                qm.sendAcceptDecline("Hello, #h0#. Welcome to Maple World. It's currently event season, and we're welcome new characters with a gift. Would you like your gift now?");
            else if (status == 1) {
                if (qm.canHold(2430191)) {
                    qm.gainItem(2430191, 1);
                    qm.forceStartQuest();
                    qm.forceCompleteQuest();
    	        qm.sendOk("Open your inventory and double-click on it! These gifts will make you look stylish. Oh, one more thing! You'll get another gift at level 30. Good luck!");
    	        qm.dispose();
                } else {
                    qm.playerMessage("Please make sure you have room in your Use tab in your inventory.");
                    qm.dispose();
                }
            }
        }
    }
    and:
    Code:
    function start(is) {
        if (is.canHold(1003192) && is.canHold(1040154) && is.canHold(1060145) && is.canHold(5130003) && is.canHold(5450003) && is.canHold(1142263)) {
    	is.gainItem(1003192);
    	is.gainItem(1040154);
    	is.gainItem(1060145);
    	is.gainItem(5130003);
    	is.gainItem(5450003);
    	is.gainItem(1142263);
    	is.gainItem(2430191, -1);
        } else {
            is.playerMessage("Please make sure you have room in your Eqp tab in your inventory.");
        }
    }
    Last edited by LameJacob; 17-07-11 at 08:30 PM.

  5. #5
    may web.very maple.pls. iAkira is offline
    MemberRank
    Aug 2009 Join Date
    somewhere..Location
    2,378Posts

    Re: [v99] Cute Newbie

    cmon kevin, for-loop the consume_2430191

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

    Re: [v99] Cute Newbie

    How would canHold be useful here? This is a beginner NPC. Like one of the first NPC's ever clicked? It's not possible to have a full inventory yet.

  7. #7
    DIGLETT MASTER - UG LDR blawgwarmzz is offline
    MemberRank
    Sep 2009 Join Date
    undagrounmdLocation
    297Posts

    Re: [v99] Cute Newbie

    Quote Originally Posted by Kars View Post
    How would canHold be useful here? This is a beginner NPC. Like one of the first NPC's ever clicked? It's not possible to have a full inventory yet.
    logic ftw
    gg bro

  8. #8
    Apprentice Spongeface is offline
    MemberRank
    Jul 2011 Join Date
    15Posts

    Re: [v99] Cute Newbie

    Good Job.

  9. #9
    while(true) spam(); kevintjuh93 is offline
    ModeratorRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    Re: [v99] Cute Newbie

    Rofl, it's indeed the first quest that you receive and click on.
    And the methods for gainItem aren't correct. It only should that you received the medal. Nothing else.
    And gtfo with loops.

  10. #10
    I have an ass and a hat. maplefreak26 is offline
    MemberRank
    Sep 2008 Join Date
    1,098Posts

    Re: [v99] Cute Newbie

    Is this implementable to us v83ers? ;D (I'm ignoring the fat v99 on the release thread).

    If possible. Where the pineapple does the consume_2430191.js go?

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

    Re: [v99] Cute Newbie

    Quote Originally Posted by maplefreak26 View Post
    Is this implementable to us v83ers? ;D (I'm ignoring the fat v99 on the release thread).

    If possible. Where the pineapple does the consume_2430191.js go?
    No. The items do not exist in v83.

  12. #12
    Infraction Banned Strobe is offline
    MemberRank
    Jul 2011 Join Date
    208Posts

    Re: [v99] Cute Newbie

    cool you pulled a sharpace

  13. #13
    Interesting... SharpAceX is offline
    MemberRank
    Oct 2008 Join Date
    2,011Posts

    Re: [v99] Cute Newbie

    Quote Originally Posted by Strobe View Post
    cool you pulled a sharpace
    Omg...seriously I feel so proud right now. This comment made my day.

  14. #14
    I have an ass and a hat. maplefreak26 is offline
    MemberRank
    Sep 2008 Join Date
    1,098Posts

    Re: [v99] Cute Newbie

    Quote Originally Posted by Kars View Post
    No. The items do not exist in v83.
    I know that. I was implying that if I used a way to add these items -cough cough, fart fart- would it be possible?

  15. #15
    Interesting... SharpAceX is offline
    MemberRank
    Oct 2008 Join Date
    2,011Posts

    Re: [v99] Cute Newbie

    Quote Originally Posted by maplefreak26 View Post
    I know that. I was implying that if I used a way to add these items -cough cough, fart fart- would it be possible?
    If you're talking about WZ editing then sure.



Advertisement