[Release] White Scroll Maker NPC (OdinMS)

Page 1 of 3 123 LastLast
Results 1 to 15 of 34
  1. #1
    Member kirbyhood is offline
    MemberRank
    Jun 2008 Join Date
    84Posts

    [Release] White Scroll Maker NPC (OdinMS)

    Hey, I decided to make this for my server and I'll release it to you guys to.
    You can Make the Piece of Scroll (4001136) drop from anything you want.

    Code:
    // White Scroll Maker By Sawyer of LynnStory
    //High Preist John (9201002)
    importPackage(net.sf.odinms.client);
    var status = 0;
    
    
    
    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("Rawr!?");
    			cm.dispose();
    			return;
    		}
    		if (mode == 1)
    			status++;
    		else
    			status--;
    		if (status == 0) {
    				cm.sendNext("I am John and if you have all of the materials I will make you a White Jesus Scroll!!! You will need #b5 Pieces of Scroll#k, #bHoly Water#k, and #b10 Mill Mesos#k.  ");
    			}
    		else if (status == 1) {
    			if ((cm.haveItem(4001136, 5)) && (cm.haveItem(2050003)) && (cm.getMeso() >= 10000000)) {
    			cm.sendYesNo("It seems like you have the required materials, do you want me to make a #bWhite Scroll#k for you?");
    			}
    			else if (!cm.haveItem(4001136, 5)) {
    			cm.sendOk("You dont have the required items.");
    			cm.dispose();
    			}
    			else if (!cm.haveItem(2050003)) {
    			cm.sendOk("You dont have the required items.");
    			cm.dispose();
    			}
    			else if (!cm.getMeso() <= 10000000) {
    			cm.sendOk("You dont have the required items.");
    			cm.dispose();
    			}
    			
    		}
    		else if (status == 2) {
    			cm.gainMeso(-10000000);
    			cm.gainItem(4001136, -5);
    			cm.gainItem(2050003, -1);
    			cm.gainItem(2340000, 1);
                            cm.dispose();
    			
    }
    }
    }
    Last edited by kirbyhood; 21-07-08 at 11:08 PM.


  2. #2
    Account Upgraded | Title Enabled! PixmaDragon is offline
    MemberRank
    Apr 2008 Join Date
    Planet EarthLocation
    560Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    nice!!!!!!!!!!

  3. #3
    Enthusiast refusion is offline
    MemberRank
    Jun 2008 Join Date
    36Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    how to but this into my database?
    sorry for being so noob

  4. #4
    Valued Member Kaspar is offline
    MemberRank
    Jun 2008 Join Date
    144Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    You need to get a NPC id, and put that script into a notepad document(also change the "John" to the name of NPC) same it, with the title of the document as the number of the NPC. Now, go to your source folder(for me its on my desktop, seans) then go to scrips, NPC, and put the document there.

  5. #5
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    Question...how do u put the scrolls or w/e into the monster

  6. #6
    Account Upgraded | Title Enabled! metroix is offline
    MemberRank
    Apr 2008 Join Date
    389Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    npc dont talk o.o

  7. #7
    Valued Member cablord is offline
    MemberRank
    Jun 2006 Join Date
    azzaLocation
    129Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    It doesnt change anything to the shop...

  8. #8
    Account Upgraded | Title Enabled! BrooklynMan is offline
    MemberRank
    Jun 2008 Join Date
    Brooklyn, NYLocation
    399Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    Thank You. Added to my server already.

  9. #9
    Account Upgraded | Title Enabled! Tardilicious is offline
    MemberRank
    Jul 2008 Join Date
    Behind YouLocation
    206Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    Seems nice i'll try it latr

  10. #10

    Re: [Release] White Scroll Maker NPC (OdinMS)

    White Jesus Scroll. xD
    Love it. Thanks.

  11. #11
    Member Blazer9131 is offline
    MemberRank
    Nov 2007 Join Date
    85Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    I have a quick question, Why is it that I have to re-login to speak with him again? If I click on him again, he dosen't say anything just sits there. I re-login, and click, he works perfectly.

    This happens to Duey The skill maxer as well.

    ~Blaze

  12. #12
    Alpha Member Hitsu is offline
    MemberRank
    May 2005 Join Date
    Our WorldLocation
    1,170Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    Quote Originally Posted by Blazer9131 View Post
    I have a quick question, Why is it that I have to re-login to speak with him again? If I click on him again, he dosen't say anything just sits there. I re-login, and click, he works perfectly.

    This happens to Duey The skill maxer as well.

    ~Blaze
    Because it's not dispose properly

    just add
    PHP Code:
    cm.dispose(); 
    After
    PHP Code:
            else if (status == 2) {
                
    cm.gainMeso(-10000000);
                
    cm.gainItem(4001136, -5);
                
    cm.gainItem(2050003, -1);
                
    cm.gainItem(23400001); 

  13. #13
    Account Upgraded | Title Enabled! Regurgitate is offline
    MemberRank
    Apr 2008 Join Date
    1,113Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    Thanks, you gave me the ID for white scrolls!

  14. #14
    Account Upgraded | Title Enabled! elizool99 is offline
    MemberRank
    Apr 2008 Join Date
    294Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    Thank you very useful.
    I edited it a bit .

  15. #15
    Member Minseok is offline
    MemberRank
    May 2008 Join Date
    79Posts

    Re: [Release] White Scroll Maker NPC (OdinMS)

    What are the required items?



Page 1 of 3 123 LastLast

Advertisement