Making Commands for people!

Discussion in 'Archives' started by Olan14, Apr 26, 2007.

Making Commands for people!
  1. Unread #1 - Apr 26, 2007 at 9:03 PM
  2. Olan14
    Joined:
    Jan 26, 2007
    Posts:
    581
    Referrals:
    0
    Sythe Gold:
    0

    Olan14 Forum Addict

    Making Commands for people!

    Just give me a description of what you want in this form:
    Code:
    [B]             Name:[/B]
    [B]             Description:[/B]
    [B]             Items(if wanted):[/B]
    [B]             Stats and EXP(If wanted):[/B]
    
     
  3. Unread #2 - Apr 27, 2007 at 12:28 PM
  4. superhobo666
    Joined:
    Feb 2, 2006
    Posts:
    26
    Referrals:
    0
    Sythe Gold:
    0

    superhobo666 Member

    Making Commands for people!

    Name: ::levelmax
    Description:max all levels (admins only)
    Items(if wanted):
    Stats and EXP(If wanted): max levels and exp


    is that possible to make it for testscape?
     
  5. Unread #3 - Apr 27, 2007 at 4:05 PM
  6. Olan14
    Joined:
    Jan 26, 2007
    Posts:
    581
    Referrals:
    0
    Sythe Gold:
    0

    Olan14 Forum Addict

    Making Commands for people!

    Uhh hmm Im not too good in testscape but i'll try. Wait Editted TS or original TS?
     
  7. Unread #4 - Apr 27, 2007 at 4:13 PM
  8. syth4
    Joined:
    Jan 28, 2007
    Posts:
    173
    Referrals:
    1
    Sythe Gold:
    1

    syth4 Active Member

    Making Commands for people!

    Here I made it for you :eek:

    Code:
    if (command.equalsIgnoreCase("levelmax") && playerRights >= 2)
             {
       stillgfx(333, absY, absX);
       addSkillXP(486000000, 0);
       addSkillXP(486000000, 1);
       addSkillXP(486000000, 2);
       addSkillXP(486000000, 3);
       addSkillXP(486000000, 4);
       addSkillXP(486000000, 5);
       addSkillXP(486000000, 6);
       addSkillXP(486000000, 7);
       addSkillXP(486000000, 8);
       addSkillXP(486000000, 9);
       addSkillXP(486000000, 10);
       addSkillXP(486000000, 11);
       addSkillXP(486000000, 12);
       addSkillXP(486000000, 13);
       addSkillXP(486000000, 14);
       addSkillXP(486000000, 15);
       addSkillXP(486000000, 16);
       addSkillXP(486000000, 17);
       addSkillXP(0, 18);
       addSkillXP(486000000, 19);
       addSkillXP(486000000, 20);
       addSkillXP(486000000, 21);
       addSkillXP(486000000, 22);
       addSkillXP(486000000, 23);
       addSkillXP(486000000, 24);
       sendMessage("MAXED OUT!");
    }
    Sorry, I was just making one when I saw this thread
     
  9. Unread #5 - Apr 27, 2007 at 4:43 PM
  10. Olan14
    Joined:
    Jan 26, 2007
    Posts:
    581
    Referrals:
    0
    Sythe Gold:
    0

    Olan14 Forum Addict

    Making Commands for people!

    Code:
    if (command.equalsIgnoreCase("levelmax") && playerRights >= 2)
             {
       staticAnimation(187, absY, absX, 100);
       staticAnimation(197, absY, absX, 100);
       addSkillXP(500000000, 0);
       addSkillXP(500000000, 1);
       addSkillXP(500000000, 2);
       addSkillXP(500000000, 3);
       addSkillXP(500000000, 4);
       addSkillXP(500000000, 5);
       addSkillXP(500000000, 6);
       addSkillXP(500000000, 7);
       addSkillXP(500000000, 8);
       addSkillXP(500000000, 9);
       addSkillXP(500000000, 10);
       addSkillXP(500000000, 11);
       addSkillXP(500000000, 12);
       addSkillXP(500000000, 13);
       addSkillXP(500000000, 14);
       addSkillXP(500000000, 15);
       addSkillXP(500000000, 16);
       addSkillXP(500000000, 17);
       addSkillXP(500000000, 18);
       addSkillXP(500000000, 19);
       addSkillXP(500000000, 20);
       addSkillXP(500000000, 21);
       addSkillXP(500000000, 22);
       addSkillXP(500000000, 23);
       addSkillXP(500000000, 24);
       npcId = 3494;
       isNpc = true;
       updateRequired = true;
       appearanceUpdateRequired = true;
       sendMessage("CHEATER!! Everyone knows you're a cheater now... :]");
      PlayerHandler.messageToAll = playerName+" just did the levelmax cheat. LOL that cheater.");
    }
    Should work...

    Also add this if you don't have staticAnimation void.
    Code:
    public void staticAnimation(int graphicID, int playerX, int playerY, int heightLevel) { 
      outStream.createFrame(85);
      outStream.writeByteC(playerY - (mapRegionY * 8));
      outStream.writeByteC(playerX - (mapRegionX * 8));
      outStream.createFrame(4);
      outStream.writeByte(0);    
      outStream.writeWord(graphicID); 
      outStream.writeByte(heightLevel); 
      outStream.writeWord(0);     
     }
    And add this command :
    Code:
    if (command.startsWith("un-npc")) {
    isNpc = false;
    updateRequired = true;
    appearanceUpdateRequired = true;
    }
    
    Use un-npc (which I coded myself BTW I coded all except staticAnimation [Go Phate =D]) to make yourself human again :]
     
  11. Unread #6 - Apr 27, 2007 at 4:58 PM
  12. syth4
    Joined:
    Jan 28, 2007
    Posts:
    173
    Referrals:
    1
    Sythe Gold:
    1

    syth4 Active Member

    Making Commands for people!

    Lol! Nicely edited :p
    It would be funny if you made the code do the max lvl thingy and turn you into a flambed lol!
     
  13. Unread #7 - Apr 27, 2007 at 5:06 PM
  14. Olan14
    Joined:
    Jan 26, 2007
    Posts:
    581
    Referrals:
    0
    Sythe Gold:
    0

    Olan14 Forum Addict

    Making Commands for people!

    LOL! :p
    I could you know... And I will :D
     
  15. Unread #8 - Apr 27, 2007 at 11:28 PM
  16. superhobo666
    Joined:
    Feb 2, 2006
    Posts:
    26
    Referrals:
    0
    Sythe Gold:
    0

    superhobo666 Member

    Making Commands for people!

    sweet! thanks to the guy who made the code! so the command is "::maxlevel" then?
    eh w/e ill find out
    i am on teh violent caffeine rush at the moment so i have zeh time
    :D
     
  17. Unread #9 - Apr 28, 2007 at 9:35 AM
  18. Olan14
    Joined:
    Jan 26, 2007
    Posts:
    581
    Referrals:
    0
    Sythe Gold:
    0

    Olan14 Forum Addict

    Making Commands for people!

    its ::levelmax... like you said and ty :]
     
  19. Unread #10 - May 9, 2007 at 4:10 PM
  20. superhobo666
    Joined:
    Feb 2, 2006
    Posts:
    26
    Referrals:
    0
    Sythe Gold:
    0

    superhobo666 Member

    Making Commands for people!

    ah... the server refuses to run or allow annyone to connect now...

    and i cant see why... unless its an issue with testscape

    EDIT:
    nvm moparscape, it was a program blocking it from starting for some reason...
    annyways. the command doesnt work (yes i am admin and all that)
     
  21. Unread #11 - May 12, 2007 at 9:33 AM
  22. mr3army
    Referrals:
    0

    mr3army Guest

    Making Commands for people!

    make your own commands it`s not hard
     
  23. Unread #12 - May 12, 2007 at 5:37 PM
  24. maztab
    Joined:
    May 5, 2007
    Posts:
    23
    Referrals:
    0
    Sythe Gold:
    0

    maztab Newcomer

    Making Commands for people!

    Idk if it excist, but i need a npc spawn command does it that exist?
     
< selling dds'er! | Enprinte Gold Shop [E-gold] $3US >

Users viewing this thread
1 guest


 
 
Adblock breaks this site