Skill Maxer/ Starter Pack

Results 1 to 9 of 9
  1. #1
    Acernis BLazeking558 is offline
    MemberRank
    May 2010 Join Date
    210Posts

    Skill Maxer/ Starter Pack

    Hello Everyone Its Me Again! I am back with a second release. This release is fairly simple. This is a NPC that will max you skills and give you a Starter Pack. Im pretty sure most of you can make this but this i guess you could say for people that are just getting started and need a push or something.Here is the Code.


    Code:
    function start() {
        cm.sendSimple ("Welcome to ShainaStory. I am the Skill Maxer. I will also give you a Starter Pack. Enjoy The Server! \r\n#L0##bMax My Skills#k#l");
    }
    
    function action(mode, type, selection) {
        if (selection > 5) {cm.sendSimple("Okay, I will wait for you."); cm.dispose();}
        else {
    	cm.gainMeso(13337);
    	cm.gainItem(1002140,1);
    	cm.gainItem(2022457, 100);
    	cm.gainItem(2022457, 100);
    	cm.gainItem(2022457, 100);
    	cm.gainItem(3010057, 1);
    	cm.gainItem(1112100, 1);
    	cm.gainItem(1072384, 1);
    	cm.gainItem(5072000, 20);
    	cm.gainItem(5076000, 10);
    	cm.gainItem(5211010, 1);
            switch(selection) {
                case 0: cm.getPlayer().maxAllSkills(); break;
            }
    	cm.warp(910000000,0);
            cm.getPlayer().maxAllSkills();
            cm.resetStats();
            cm.sendOk("Let the training begin!");
            cm.dispose();
        }
    }

    ScreenShot




    Again this is a very basic NPC. Sorry I haven't learn Arrays yet.

    Credits

    Blake

    RageZone


  2. #2
    Member xGxNuGG3Tx is offline
    MemberRank
    Nov 2008 Join Date
    California, USALocation
    70Posts

    Re: Skill Maxer/ Starter Pack

    what source are you using? im using agent source and it dosent work

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

    Re: Skill Maxer/ Starter Pack

    Ewwww, be right back I'm going to go cut off my hands.

  4. #4
    Subscriber and Mod! Piggy is offline
    MemberRank
    Jan 2009 Join Date
    AustraliaLocation
    4,379Posts

    Re: Skill Maxer/ Starter Pack

    Quote Originally Posted by -Daniel- View Post
    Ewwww, be right back I'm going to go cut off my hands.
    lol what?

  5. #5
    Account Upgraded | Title Enabled! ツ Ãlan™ is offline
    MemberRank
    Aug 2008 Join Date
    573Posts

    Re: Skill Maxer/ Starter Pack

    Quote Originally Posted by xGxNuGG3Tx View Post
    what source are you using? im using agent source and it dosent work
    You probably don't have the function maxallskills.

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

    Re: Skill Maxer/ Starter Pack

    Code:
    cm.sendSimple("Okay, I will wait for you.");
    This will d/c you.

    And what,
    Code:
     if (selection > 5) {
    there's only 1 sel.

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

    Re: Skill Maxer/ Starter Pack

    Quote Originally Posted by Saix View Post
    Code:
    cm.sendSimple("Okay, I will wait for you.");
    This will d/c you.

    And what,
    Code:
     if (selection > 5) {
    there's only 1 sel.
    This Works Fine for me. I don't DC at all

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

    Re: Skill Maxer/ Starter Pack

    Don't use sendSimple for one selection. There is no choice, so just use sendNext and remove the switch shit.

    Edit:
    PHP Code:
    var status;

    function 
    start() {
        
    status = -1;
        
    cm.sendNext("Welcome to FuckyouStory. I am the Skill Fucker. I will also give you a Fucker Pack. Enjoy The Fuck Server!");
    }

    function 
    action(modetypeselection) {
        
    status++;
        if (
    mode != 1) {
                
    cm.sendOk("Ok, fuck you.");
                
    cm.dispose();
                return;
        }
        if (
    status == 0) {
            
    cm.gainMeso(13337);
            
    cm.gainItem(1002140,1);
            
    cm.gainItem(2022457100);
            
    cm.gainItem(2022457100);
            
    cm.gainItem(2022457100);
            
    cm.gainItem(30100571);
            
    cm.gainItem(11121001);
            
    cm.gainItem(10723841);
            
    cm.gainItem(507200020);
            
    cm.gainItem(507600010);
            
    cm.gainItem(52110101);
            
    cm.warp(910000000,0);
            
    cm.getPlayer().maxAllSkills();
            
    cm.resetStats();
            
    cm.sendOk("Let the fuck begin!");
            
    cm.dispose();
        }
            

    Last edited by kevintjuh93; 07-08-10 at 05:19 PM.

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

    Re: Skill Maxer/ Starter Pack

    okay thanks



Advertisement