Thread: [TuT] Train Mage on an Object!! [TuT]

Results 1 to 7 of 7
  1. #1 [TuT] Train Mage on an Object!! [TuT] 
    Ex Administrator

    Numbers's Avatar
    Join Date
    Jun 2006
    Age
    30
    Posts
    5,691
    Thanks given
    0
    Thanks received
    2,158
    Rep Power
    5000
    Purpose: To make An object be clickable so you can get EXP from it for a skill. This will stop rapid tellying, therefore means less lag.

    Difficulty: Depends.. If you are new, it might be 4/10 but if you are experienced probably 1-2/10. Copy and Paste Mostly..

    Requirements: Fedexers Global Object TuT : http://www.moparscape.org/smf/index....topicseen.html
    Even if you dont want to do my TuT i suggest you complete Fedexers because its VERY VERY UsefuLL!!

    Server Base: I used PiMpEdScApE (Pimpscape source). Should work with all other than P16 and Testscape (mabey they might work.. go for it )

    Classes Modified: Client.Java

    ALWAYS BACK UP THE FILE YOU ARE EDITING BEFORE DOING ANY UPDATES PLEASE!!!!



    1. Search for

    Code:
    public void NewObjects() {
    2. Look for

    Code:
    AddGlobalObject(3004, 3383, 2469, 0, 10);//portal
    3. This is the object Fedexer used to start you off right? Now... Add a new object under that one so it should look something like

    Code:
    AddGlobalObject(3253, 3436, 2469,0, 10);//mageportal
    This has added a Big red portal in the dummy room. You can change the 3253, 3436 to the Co-ords you want the Object to be located at.

    So all in all the newobjects should look like

    Code:
    public void NewObjects() {
    AddGlobalObject(3004, 3383, 2469, 0, 10);//portal
    AddGlobalObject(3253, 3436, 2469,0, 10);//mageportal
    4. Now we need to make a new case for our mage portal. So, search for

    Code:
    Case
    and go to the end of that case.

    5. Now for our new case, it will look like

    Code:
    case 2469:
    if(actionTimer == 0) {
    sendMessage(" You feel power rush through your body!! You Get Some Mage Exp.");
    actionTimer = 10;
    setAnimation(1110);
    addSkillXP((950*playerLevel[6]), 6);
    updateRequired = true; 
    appearanceUpdateRequired = true;
    }
    break;
    Put this case above or under any other case.
    -----------------------------------------------------

    Code:
    addSkillXP((950*playerLevel[6]), 6);
    950 is the amount of exp you get so you can change that to your liking. The [6], 6); part is the level to get exp for so you can change it to any other skill you want. 6 is mage.

    Code:
    setAnimation(1110);
    This is the animation I used. You look like you are doing the matrix.. LoL change it to what animation ID you want if you want to.. but it looks cool

    -------------------------------------------------------
    Don't wanna use my red portal??

    If you dont want to use my portal simply change the 2469 is the newobject void to your object id. Dont forget, you need to change the case number to the new object ID aswell if you do this.

    Creditz: 90% Me (Mod Chabbra) and 10% Fedexer for his 1337 TuT. This is my first Tutorial too!!!!!!

    Picture:






    Post if you used or please post comments
     

  2. #2  
    castlescapeowner
    Guest
    yes, it reduces lag, but, it defeates the popurse of having a p server, which is "having fun"
     

  3. #3  
    Ex Administrator

    Numbers's Avatar
    Join Date
    Jun 2006
    Age
    30
    Posts
    5,691
    Thanks given
    0
    Thanks received
    2,158
    Rep Power
    5000
    Well Castle I have two words for you. GET LOSt. Because all severs arent like yours or the ones u play on. These are mainly for pking servers understand? now get!
     

  4. #4  
    Mithblaz3
    Guest
     

  5. #5  
    Member
    Boomer's Avatar
    Join Date
    Sep 2006
    Posts
    1,282
    Thanks given
    309
    Thanks received
    795
    Rep Power
    1111
    Quote Originally Posted by Mithblaz3 View Post
    I think he is him and the other guy posted after him.


    Osiris ||| FightScape | InnerFantasy | PkIsle | Paragon | Enkrona | 2006Scape
     

  6. #6  
    Ex Administrator

    Numbers's Avatar
    Join Date
    Jun 2006
    Age
    30
    Posts
    5,691
    Thanks given
    0
    Thanks received
    2,158
    Rep Power
    5000
    Are you guys talking about Mc131313 because thats me no this isnt leeched... i made it

    [edit]

    If you think its leeched though.. it must be good?
     

  7. #7  
    Ex Administrator

    Numbers's Avatar
    Join Date
    Jun 2006
    Age
    30
    Posts
    5,691
    Thanks given
    0
    Thanks received
    2,158
    Rep Power
    5000
    Noone used it =(
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 0
    Last Post: 01-30-2011, 09:45 PM
  2. object train timer
    By startcode in forum Help
    Replies: 4
    Last Post: 08-24-2010, 08:21 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •