[Add-On] Learning NPC scripts (beginner's guide)

Page 15 of 22 FirstFirst ... 578910111213141516171819202122 LastLast
Results 211 to 225 of 328
  1. #211
    Valued Member iqasdfg is offline
    MemberRank
    Apr 2009 Join Date
    111Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)



    i get stuck at the character screen still
    i've done everything correctly, from mysql to wz files
    help please !

  2. #212
    Account Upgraded | Title Enabled! cihadpx68 is offline
    MemberRank
    Oct 2008 Join Date
    www.sixty8story.comLocation
    827Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    sorry for newb question
    but whats the command to check mesos?

  3. #213
    Account Upgraded | Title Enabled! Popozow1012 is offline
    MemberRank
    Jul 2008 Join Date
    Where it's nine in the afternoonLocation
    549Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    Quote Originally Posted by cihadpx68 View Post
    sorry for newb question
    but whats the command to check mesos?
    cm.getChar then cm.getMeso(amount)
    I think nfs

  4. #214
    Account Upgraded | Title Enabled! ex4life6pro is offline
    MemberRank
    Dec 2008 Join Date
    BelgiumLocation
    206Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    Thx this helped me alot!!!

  5. #215
    Novice ohmahroo is offline
    MemberRank
    Apr 2009 Join Date
    4Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    I was just wondering.... What do I do with the script?
    where does it go?
    I made it into a .cpp in Visual C++ but where do I save it to?
    aaand,
    How do I choose what the NPC looks like and where it's placed (Ex. Nana (H), location: FM)

  6. #216
    Member danielabuhav is offline
    MemberRank
    Aug 2008 Join Date
    72Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    Well worth my 20 mins reading this!

    Amazing guide!

    I will sure get into making a server some day. It looks fun.

    Ty again!

  7. #217
    Account Upgraded | Title Enabled! iloveyoumore is offline
    MemberRank
    Apr 2008 Join Date
    340Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    hope im not bumping an old thread. it was on the first page so i thought it was okay...
    I have a question. What if you are using cm.ModifyNX? how would you put that in a script?

  8. #218
    Apprentice Snuggles is offline
    MemberRank
    Feb 2009 Join Date
    23Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    Looks simple enough, nice job organizing it.

  9. #219
    Novice magisjay is offline
    MemberRank
    Feb 2009 Join Date
    1Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    How do I have it check more than one item in "if(cm.haveItem(itemcode));"?

  10. #220
    Account Upgraded | Title Enabled! macboy3000 is offline
    MemberRank
    Jan 2009 Join Date
    Nerds'r'Us MS!Location
    449Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    is there a npc command to give gp, cause i cant find it anywhere o.o

  11. #221
    Account Upgraded | Title Enabled! <XENON> is offline
    MemberRank
    Feb 2009 Join Date
    Titti TownLocation
    223Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    ARGHHH !

    whats wrong with it ???

    PHP Code:
    /* 
    Oh , look Staars :D *****
    */
    var status 0;

    function 
    start() {
        
    status = -1;
        
    action(100);
    }

    function 
    action(modetypeselection) {
        if (
    mode == -1) {
            
    cm.sendOk("Fuck You :D");
            
    cm.dispose();
        } else {
            if (
    status >= && mode == 0) {
                
    cm.sendOk("FUUUUUCK YOU :D    8==========>");
                
    cm.dispose();
                return;
            }
            if (
    mode == 1)
                
    status++;
            else
                
    status--;
            if (
    status == 0) {
                
    cm.sendYesNo("Stop clicking ... FCK YOU !");
            } else if (
    status == 1) {
                
    cm.sendNext("You suck ... same like your mom!");
            } else if (
    status == 2) {
                
    cm.warp(30);
                
    cm.sendNext("You shitty noob fail @ coding ! so ... FUCK YOU !");
                
    cm.dispose();
            }
        }

    How comes it always says "Fuck You" O= ?!
    Where can i change this ?
    HELP PLZZZzzzzZZZ !!!

  12. #222

    Re: [Tut] Learning NPC scripts (beginner's guide)

    You should be able to figure it out. Read the damn code.

  13. #223
    Account Upgraded | Title Enabled! CharlieBoy is offline
    MemberRank
    Mar 2009 Join Date
    SwedenLocation
    471Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    how'd i add a pic of a mob inside my NPC , like for skillz #s[skillid]# . is it #m[mobid]# for mobs then ?

  14. #224
    Apprentice nolandman829 is offline
    MemberRank
    Aug 2008 Join Date
    8Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    ok this is the nubist Q of the day im having issues DL C++ and or C# my comp is gay and it wont DL, is there another program i can use to code

  15. #225
    Account Upgraded | Title Enabled! Abubakr is offline
    MemberRank
    Apr 2008 Join Date
    Mississauga,Ontario,CanadaLocation
    240Posts

    Re: [Tut] Learning NPC scripts (beginner's guide)

    Great guide. Used this about a week ago and it helped me out a lot.



Advertisement