| Version 83 | 700x | 400x | 4x |


    Bram's Coder application

    Share

    bramdekkers
    Nublet
    Nublet

    Posts : 1
    Join date : 2010-10-24

    Bram's Coder application

    Post by bramdekkers on Sun Oct 24, 2010 12:15 am

    Name: Bram Dekkers

    IGN: Bram

    Age: 16

    Live/TimeZone: Holland, GMT +1

    Email: lol.kai@hotmail.com

    When Are You On/How long: I will be on very often for like 6 hours a day, no special times that I will be online

    Have you ever played retail maple: ofcourse Yes

    If yes how long have you've been playing: I have been playing global maplestory for 5years now and Maple Europa for half a year. And of course I have been playing pservers alot. So I know alot about what going on in the maple world

    I know this server needs a JumpQuest reward npc's so I thought let's explain how:

    To test your knowledge on coding scripts in java, write out a simple script that will make an npc say "Hello, Goodjob" and give out 20 tetris and take away 10,000,000mesos to/from the player. After, the NPC should close itself after pressing "ok". Remember to write out comments while coding (ie. //this is where item 4030005 is given out..) **remember to write out the shell**:

    Code:
    function start() {
    cm.sendok("Hello, Goodjob"); // you will see this when you open the NPC he will greet you
    cm.gainmeso("-10000000"); // At this part they will take of your 10 million mesos.
    cm.gainItem(4030005,20); // The npc's will give your 20 tetris.
    cm.dispose(); // Closes the NPC
    }

    Can you follow instructions and the GM rules: Yes I do, I never ever have broke some rules at pserver in my whole life. I'm someone you definitely can trust

    Will you quit this server if your application is denied? Be honest. No way, HellyMS till I die!

    Any Other Info:
    Previous Servers:
    ShineMS: Co-owner/Coder
    RydahMS: GM/EventGM
    Farmerstory: Coder/Co-owner
    Finalstory: Head-GM/Coder
    ReviveMS: Co-owner/Wz.editer
    Fapstory: GM


    1 More thing: I WILL DO ANYTHING TO MAKE THIS SERVER AS NICE AS POSSIBLE

    Greetings Bram

    Link
    Coder
    Coder

    Posts : 18
    Join date : 2010-10-22

    Re: Bram's Coder application

    Post by Link on Sun Oct 24, 2010 6:56 am

    cm.dispose(); // Closes the NPC

    Dispose command doesn't close the NPC. The NPC will close itself when you press Ok. Dispose command will unstuck character or refresh if you want.

    cm.gainmeso("-10000000"); // At this part they will take of your 10 million mesos.

    The command its cm.gainMeso(); not cm.gainmeso();. [This is ok, you can't know it because you didn't saw the functions yet]

    cm.gainmeso("-10000000");
    You don't have to add ", just cm.gainMeso(-10000000);

    By the way, Nice application and good luck!

    EDIT: If players don't have 10 millions mesos they will gain negative mesos. Also if they have their inventory full, they will just lose the Tetris.
    Try this:

    Code:
    if (cm.getPlayer().getMeso() < Mesos) { // Check if player has sufficient mesos
                        cm.sendOk("You do not have sufficient mesos."); // Pop up a message if player don't have sufficient mesos
                    } else // if player have sufficient mesos
                    if (cm.canHold(ITEM ID)) { // check if he can hold that item
                        cm.gainMeso(-Mesos); // Takes player mesos
                        cm.gainItem(ITEM ID); //give item to player
                    }
                } else { // if player don't have space
                    cm.sendOk("Please check if you have sufficient space."); // pop up message if player don't have space
                }
                cm.dispose(); // Dispose player

    2nd EDIT:
    cm.sendok("Hello, Goodjob"); // you will see this when you open the NPC he will greet you
    Should be
    Code:
    cm.sendOk("");
    avatar
    [Owner]Helly
    Admin
    Admin

    Posts : 38
    Join date : 2010-10-21
    Age : 24
    Location : Hell

    Re: Bram's Coder application

    Post by [Owner]Helly on Sun Oct 24, 2010 6:27 pm

    thanks for your application ill add your msn and we will talk on msn
    avatar
    [Owner]Helly
    Admin
    Admin

    Posts : 38
    Join date : 2010-10-21
    Age : 24
    Location : Hell

    Re: Bram's Coder application

    Post by [Owner]Helly on Thu Oct 28, 2010 7:07 pm

    Denied as a Coder!

    Sponsored content

    Re: Bram's Coder application

    Post by Sponsored content


      Current date/time is Fri Nov 24, 2017 3:23 pm