[RELEASE]npc that opens a shop if you are a certain job

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Member Bako is offline
    MemberRank
    Sep 2008 Join Date
    92Posts

    Cool [RELEASE]npc that opens a shop if you are a certain job

    i was bored so i made this i dono if it will work

    change the SUPERGM to the job you want it to open for and the SHOP ID HERE to the shop id



    PHP Code:
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.SUPERGM)) {
    cm.sendNext("Hi, GM!");
    cm.sendyesno("do you want to open the the cooleo shop")
    }
    if (
    selection == 0) {
    cm.openShop(SHOP ID HERE)
    }
    if (
    selection == 1) {
    cm.sendnext("your very nice")
    }
    cm.dispose()
    }
    }



  2. #2
    Alpha Member ch1nkayy is offline
    MemberRank
    Apr 2008 Join Date
    2,145Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    I don't think this will work.

  3. #3
    Member Bako is offline
    MemberRank
    Sep 2008 Join Date
    92Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    maybe not i just fooled around wit it in like 2 mins

  4. #4
    Member sotongx3 is offline
    MemberRank
    Oct 2008 Join Date
    72Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    lols wrong code.
    maybe i try to fix on this.

  5. #5
    Mother effin' clouds SaintsIan is offline
    MemberRank
    Apr 2008 Join Date
    fyrechat.netLocation
    2,809Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    its lacking all the premilnary bits, mode, status, etc. doubt it will even open right. I guess you can say this is a foundation scrip to play with. And im sure everyone is most aware of the...
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.SUPERGM)) {
    command.
    Minor release much ._.

  6. #6
    Infraction Banned XxOsirisxX is offline
    MemberRank
    Jul 2008 Join Date
    2,456Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    it will crash, since there are 2 conversations opening at the begin, and then, selection as default is 0, so 3.

  7. #7
    Mother effin' clouds SaintsIan is offline
    MemberRank
    Apr 2008 Join Date
    fyrechat.netLocation
    2,809Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    yeap, there are no mode and status, its like gonna run all at once o.o

  8. #8
    Account Upgraded | Title Enabled! DrFusion is offline
    MemberRank
    Jul 2008 Join Date
    PlayBoyMansionLocation
    691Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    PHP Code:


    // up top somewhere
    importPackage(net.sf.odinms.client);




    if (
    status == 0) {
    if (
    cm.getJob().equals(MapleJob.SUPERGM)) {
    cm.sendNext("Hi, GM!");
    }else if (
    status ==1){
    cm.sendYesNo("do you want to open the the cooleo shop? \r\n#L0#Yea sure w/e#l  \r\n#L1#Nah im coo#l")
    }else if (
    status == 2)
    if (
    selection == 0) {
    cm.openShop(SHOP ID HERE)
    }
    if (
    selection == 1) {
    cm.sendOk("Cya next time")
    }
    cm.dispose()
    }
    }


    note, its still missing a shit load

  9. #9
    Member sotongx3 is offline
    MemberRank
    Oct 2008 Join Date
    72Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    bako you should try the things you do before releasing it.
    btw good job.

  10. #10
    Burn the land, HydroBenZ is offline
    MemberRank
    Aug 2008 Join Date
    2,710Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    Bako, you phail. Stop releasing untested stuff.
    @DrFusion: Thank you for giving Bako the start of the "NPC that opens a shop if you are a certain job."

  11. #11
    Senior Clysse is offline
    MemberRank
    Feb 2008 Join Date
    2,869Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    this script is retarded

    there is no way this has a chance of even working

  12. #12
    Account Upgraded | Title Enabled! get31720 is offline
    MemberRank
    Jul 2008 Join Date
    972Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    Check the rules

    What does NOT go here.

    -Requests for files.
    Use search. If you do not find anything, its probably not released.
    -Requests for hacks.
    -Buying and selling of files.
    -Threads to do with. Development, Guides, Help, Advertisements.
    -Untested Releases.

  13. #13
    Account Upgraded | Title Enabled! bendanx3 is offline
    MemberRank
    Sep 2008 Join Date
    417Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    Wow Bako.. How many untested and not workin NPCs are you gonna release? O.o
    The NPCs that you released are freakin easy to do.. -.-

  14. #14
    Member shervintan is offline
    MemberRank
    Dec 2008 Join Date
    65Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    LOL i dun think is work -=.=-

  15. #15
    Infraction Banned viinnh is offline
    MemberRank
    Sep 2008 Join Date
    AustraliaLocation
    1,189Posts

    Re: [RELEASE]npc that opens a shop if you are a certain job

    fag yu jst bumped this ..



Page 1 of 2 12 LastLast

Advertisement