[Add-On]Simple Starter Pack

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Acernis BLazeking558 is offline
    MemberRank
    May 2010 Join Date
    210Posts

    [Add-On]Simple Starter Pack

    I couldn't find a starter pack that would work for my server so i just decided to make my own. This is my second release and NPC making... so please dont go to hard on me. I know theres lots of these out there, but hey you never know whose looking.

    Code:
    //By Blake
    //Starting Npc - Sera
    function start() {
    cm.sendSimple ("Welcome to BleachStory BETA,Choose a Starter Pack.\r\n#L0##i2041211##bSoul Reaper#k #l#L1##i2041200##bHollow#k");
    }
    
    function action(mode, type, selection) {
    cm.dispose();
             if (selection == 0) {
    	cm.gainItem(1002317, 1);     //Grey HeadBand
    	cm.gainItem(1052049, 1);   //Yang In
    	cm.gainItem(1072236, 1);   //Guan Yu Shoes
    	cm.gainItem(1702031, 1);   //Liu Bei Sword
    	cm.gainItem(1702034, 1);   //Guan Yu Spear
    	cm.gainItem(1012030, 1);   //Eye Scar
    	cm.gainItem(2000005, 500);  //Power Elixir
    	cm.gainItem(2022121, 200);   //Gelt Chocolate
    	cm.gainItem(1002140,1);  //GM Hat
    	cm.gainMeso(100000000); //Player Gains 100,000,000
    cm.warp(100000000, 0);
            cm.getPlayer().maxAllSkills();
    	cm.dispose();
    }
             if (selection == 1) {
    	cm.gainItem(1012029, 1);     //Jester Mask
    	cm.gainItem(1082079, 1);   //Black Bandage
    	cm.gainItem(1050057, 1);   //Ghost Uniform
    	cm.gainItem(2000005, 500);  //Power Elixir
    	cm.gainItem(2022121, 200);   //Gelt Chocolate
    	cm.gainItem(1002140,1);  //GM Hat
    	cm.gainMeso(100000000); //Player Gains 100,000,000
    cm.warp(100000000);
    cm.sendOk("Enjoy Our server");
            cm.getPlayer().maxAllSkills();
    	cm.dispose();
    }
    }

    Yes! It does say Soul Reaper and Hollow. You can change what ever you would like. :D I couldnt find any hollow type items. So i just used those. This is noobish enough I hope. :D


    Thanks everyone I will add ScreenShots Later!!
    Last edited by Shawn; 05-04-11 at 09:37 PM.


  2. #2
    Alpha Member Soulfist is offline
    MemberRank
    Dec 2010 Join Date
    a hovelLocation
    1,835Posts

    Re: Simple Starter Pack

    Code:
    function action(mode, type, selection) {
    cm.dispose();
    What?

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

    Re: Simple Starter Pack

    Quote Originally Posted by Soulfist View Post
    Code:
    function action(mode, type, selection) {
    cm.dispose();
    What?
    What's wrong with that?

  4. #4
    Account Upgraded | Title Enabled! Sharky is offline
    MemberRank
    Dec 2010 Join Date
    Ur Mom's Pants.Location
    927Posts

    Re: Simple Starter Pack

    Nice job, keep on learning =)

  5. #5
    Alpha Member Soulfist is offline
    MemberRank
    Dec 2010 Join Date
    a hovelLocation
    1,835Posts

    Re: Simple Starter Pack

    Quote Originally Posted by BLazeking558 View Post
    I couldn't find a starter pack that would work for my server so i just decided to make my own. This is my second release and NPC making... so please dont go to hard on me. I know theres lots of these out there, but hey you never know whose looking.

    Code:
    //By Blake
    //Starting Npc - Sera
    function start() {
    cm.sendSimple ("Welcome to BleachStory BETA,Choose a Starter Pack.\r\n#L0##i2041211##bSoul Reaper#k #l#L1##i2041200##bHollow#k");
    }
    
    function action(mode, type, selection) {
    cm.dispose();
             if (selection == 0) {
    	cm.gainItem(1002317, 1);     //Grey HeadBand
    	cm.gainItem(1052049, 1);   //Yang In
    	cm.gainItem(1072236, 1);   //Guan Yu Shoes
    	cm.gainItem(1702031, 1);   //Liu Bei Sword
    	cm.gainItem(1702034, 1);   //Guan Yu Spear
    	cm.gainItem(1012030, 1);   //Eye Scar
    	cm.gainItem(2000005, 500);  //Power Elixir
    	cm.gainItem(2022121, 200);   //Gelt Chocolate
    	cm.gainItem(1002140,1);  //GM Hat
    	cm.gainMeso(100000000); //Player Gains 100,000,000
    cm.warp(100000000, 0);
            cm.getPlayer().maxAllSkills();
    	cm.dispose();
    }
             if (selection == 1) {
    	cm.gainItem(1012029, 1);     //Jester Mask
    	cm.gainItem(1082079, 1);   //Black Bandage
    	cm.gainItem(1050057, 1);   //Ghost Uniform
    	cm.gainItem(2000005, 500);  //Power Elixir
    	cm.gainItem(2022121, 200);   //Gelt Chocolate
    	cm.gainItem(1002140,1);  //GM Hat
    	cm.gainMeso(100000000); //Player Gains 100,000,000
    cm.warp(100000000);
    cm.sendOk("Enjoy Our server");
            cm.getPlayer().maxAllSkills();
    	cm.dispose();
    }
    }

    Yes! It does say Soul Reaper and Hollow. You can change what ever you would like. :D I couldnt find any hollow type items. So i just used those. This is noobish enough I hope. :D


    Thanks everyone I will add ScreenShots Later!!

    @OP: Be sure to include your maxAllSkills method. Unless you want me to post it. (v83 updated).

    @Osiris He is disposing for what reason?

  6. #6
    8===D Hubba is offline
    MemberRank
    Jan 2009 Join Date
    CanadaLocation
    1,009Posts

    Re: Simple Starter Pack

    I like it :D keep it up bro!

  7. #7
    Banned BasmosD is offline
    BannedRank
    Mar 2011 Join Date
    InternetLocation
    216Posts

    Re: Simple Starter Pack

    Nice release. (:

  8. #8
    Account Upgraded | Title Enabled! LuckySage is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    518Posts

    Re: Simple Starter Pack

    I guess this is pretty nice, though I prefer to put the starter-pack inside createcharhandler.

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

    Re: Simple Starter Pack

    Quote Originally Posted by Soulfist View Post
    @OP: Be sure to include your maxAllSkills method. Unless you want me to post it. (v83 updated).

    @Osiris He is disposing for what reason?
    He is disposing because he needs to dispose the NPC?

  10. #10
    Acernis BLazeking558 is offline
    MemberRank
    May 2010 Join Date
    210Posts

    Re: Simple Starter Pack

    Im disposing cause it wasnt working if i didnt put dispose and thanks everyone it took me forever to get this :D and yes i will keep on learning lol soon enough to make my own repack :D i doubt it but hey a boy can dream :P

  11. #11
    Account Upgraded | Title Enabled! LuckySage is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    518Posts

    Re: Simple Starter Pack

    Quote Originally Posted by BLazeking558 View Post
    Im disposing cause it wasnt working if i didnt put dispose and thanks everyone it took me forever to get this :D and yes i will keep on learning lol soon enough to make my own repack :D i doubt it but hey a boy can dream :P
    Good luck on your "possible" future repack, but please don't just add random crap released on RageZone. Make your own stuff so it will be more unique.

  12. #12
    Acernis BLazeking558 is offline
    MemberRank
    May 2010 Join Date
    210Posts

    Re: Simple Starter Pack

    Quote Originally Posted by LuckySage View Post
    Good luck on your "possible" future repack, but please don't just add random crap released on RageZone. Make your own stuff so it will be more unique.
    I sure will lol thanks for the supprot Sage

  13. #13
    Account Upgraded | Title Enabled! Sharky is offline
    MemberRank
    Dec 2010 Join Date
    Ur Mom's Pants.Location
    927Posts

    Re: Simple Starter Pack

    Quote Originally Posted by LuckySage View Post
    Good luck on your "possible" future repack, but please don't just add random crap released on RageZone. Make your own stuff so it will be more unique.
    I'd like to respectfully disagree here. Of course you'll want to make your repack unique, but putting a taboo on everything released on Ragezone? The point of releasing things here is for somebody else to make use of it. But I also agree, because while throwing 'random crap released on Ragezone' into your repack isn't a good idea, you should pick and choose what you want to include in your repack (perhaps some of the older things people have forgotten?) and trying to improve it or use it in a new way. Just my 2 cents.
    Good luck

  14. #14
    Account Upgraded | Title Enabled! LuckySage is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    518Posts

    Re: Simple Starter Pack

    Quote Originally Posted by Sharky View Post
    I'd like to respectfully disagree here. Of course you'll want to make your repack unique, but putting a taboo on everything released on Ragezone? The point of releasing things here is for somebody else to make use of it. But I also agree, because while throwing 'random crap released on Ragezone' into your repack isn't a good idea, you should pick and choose what you want to include in your repack (perhaps some of the older things people have forgotten?) and trying to improve it or use it in a new way. Just my 2 cents.
    Good luck
    Did I say "don't use anything released on RageZone"? :o Like I (and you) already said, don't use random crap.

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

    Re: Simple Starter Pack

    I will show you one thing though, to help you learn. Read the comments I put on your script.

    PHP Code:
    function start() {
    cm.sendSimple("Welcome to BleachStory BETA,Choose a Starter Pack.\r\n#L0##i2041211##bSoul Reaper#k #l#L1##i2041200##bHollow#k");
    }

    function 
    action(modetypeselection) {
        
    cm.dispose(); /* Doing this disposes the NPC for all selections since it is a single "status" NPC.
                        If there was another status, then having cm.dispose up here would ruin it since it would dispose the NPC
                        and prevent it from going to the next status. */
        
    if (selection == 0) {
            
    cm.gainItem(10023171);
            
    cm.gainItem(10520491);
            
    cm.gainItem(10722361);
            
    cm.gainItem(17020311);
            
    cm.gainItem(17020341);
            
    cm.gainItem(10120301);
            
    cm.gainItem(2000005500);
            
    cm.gainItem(2022121200);
            
    cm.gainItem(1002140,1);
            
    cm.gainMeso(100000000);
            
    cm.warp(1000000000);
            
    cm.getPlayer().maxAllSkills();
            
    cm.dispose(); // Isn't needed, like I explained above.
        
    } else if (selection == 1) {
            
    cm.gainItem(10120291);
            
    cm.gainItem(10820791);
            
    cm.gainItem(10500571);
            
    cm.gainItem(2000005500);
            
    cm.gainItem(2022121200);
            
    cm.gainItem(1002140,1);
            
    cm.gainMeso(100000000);
            
    cm.warp(100000000);
            
    cm.sendOk("Enjoy Our server");
            
    cm.getPlayer().maxAllSkills();
            
    cm.dispose(); // Isn't needed, like I explained above.
        
    }

    Other than that, good job for your attempt. Although there have been a bunch of these released, with the only real thing changed being the items given... maybe this wasn't a good idea as your first release.



Page 1 of 2 12 LastLast

Advertisement