Thread: Special Restore [Simple Copy and Paste!]

Results 1 to 8 of 8
  1. #1 Special Restore [Simple Copy and Paste!] 
    PKXLord
    Guest
    Purpose: Creating special restore [works only when the players are in the wilderness]

    Difficulty: 1/10 So easy...

    Assumed Knowledge: Copy and pasting

    Server Base: Project Czar

    Classes Modified: Client.java

    Procedure
    Step 1: Open up client.java

    Step 2: search for
    Code:
    blood blitz
    2 Times

    Step 3: replace the WHOLE blood blitz spell with this
    Code:
                if (spellID == 12911) // blood blitz (lvl 80 spell)
                            {
                    if (playerLevel[6] >= 99) {
                        if ((playerHasItemAmount(564, 75) == false)
                                || (playerHasItemAmount(557, 150) == false)
                                || (playerHasItemAmount(563, 120) == false)) {
                            sendMessage(
                                    "You do not have enough runes to cast this spell.");
                            sendMessage(
                                    "You need 75 " + getItemName(564) + ", 150 "
                                    + getItemName(557) + " and 120 "
                                    + getItemName(563));
                        } else if ((playerHasItemAmount(564, 75) == true)
                                && (playerHasItemAmount(557, 150) == true)
                                && (playerHasItemAmount(563, 120) == true)) {
                            startAnimation(1978);
                            castOnPlayer.specialAmount = 100;
                            inCombat();
                            stillgfx(336, absY, absX);
                            stillgfx(465, castOnPlayer.absY, castOnPlayer.absX);
                            castOnPlayer.sendMessage("You Have Been Spec Restored!");
                            deleteItem(564, getItemSlot(564), 75); 
                            deleteItem(557, getItemSlot(557), 150); 
                            deleteItem(563, getItemSlot(563), 120); 
                        sendMessage("You Spec Restore you Team Mate..");
                            teleportToX = absX;
                            teleportToY = absY;
                        }
                    } else if (playerLevel[6] <= 89) {
                        sendMessage(
                                "You need a magic level of 99 to cast this spell.");
                    }           
                }
    save and compile! post any errors

    this is declaring that you must require 120 law runes, 150 earth runes, 75 cosmic runes, and 99 magic to cast the spell

    you can tinker around with the spell u want spec restore on along with the runes and level requirements.

    Note : spec restore will only work if the 2 players are in PVP zone


    Credits:

    75% to RunePimp for creating this
    25% to Me for posting this and re editing it a bit
     

  2. #2  
    Optimist

    Vice's Avatar
    Join Date
    Nov 2007
    Age
    25
    Posts
    3,263
    Thanks given
    3
    Thanks received
    59
    Rep Power
    2536
    erm one point on project czar there is already a special restore... but i suppose if you cba to log out and in or kick yourself it works...
    well done to RUNEPIMP
    meh... i cant say anything but nice... so
    Jack
    Scotland
    Undergraduate - BSc Computing Science
     

  3. #3  
    PKXLord
    Guest
    Quote Originally Posted by Rulezstinky View Post
    erm one point on project czar there is already a special restore... but i suppose if you cba to log out and in or kick yourself it works...
    well done to RUNEPIMP
    meh... i cant say anything but nice... so
    lol @ my idiotic self, what spell is it on
     

  4. #4  
    Registered Member
    Join Date
    Oct 2007
    Posts
    286
    Thanks given
    0
    Thanks received
    3
    Rep Power
    12
    I think its leeched. But yeah, if I, too, say anything but 'nice', I will probably be accused of flaming, so yeah.
    ŁØŁШØT
     

  5. #5  
    PKXLord
    Guest
    Quote Originally Posted by War Man View Post
    I think its leeched. But yeah, if I, too, say anything but 'nice', I will probably be accused of flaming, so yeah.
    its not leeched, i search on mopar about this, found nothing on it as well with rune-server.

    also, everything got changed up a bit
     

  6. #6  
    foz50
    Guest
    Quote Originally Posted by PKXLord View Post
    lol @ my idiotic self, what spell is it on
    Its not on a spell, he said that if you logout and back in it restores.
     

  7. #7  
    Registered Member m0nkeymadd's Avatar
    Join Date
    Oct 2007
    Age
    26
    Posts
    295
    Thanks given
    0
    Thanks received
    0
    Rep Power
    57
    I've made one, [Only registered and activated users can see links. ], theres url, could been leechd from me idk, but just showin' you i made one.
    [Only registered and activated users can see links. ]
     

  8. #8  
    Donator


    Join Date
    Oct 2007
    Posts
    1,052
    Thanks given
    113
    Thanks received
    32
    Rep Power
    573
    Code:
     } else if (playerLevel[6] <= 89) {
                        sendMessage(
                                "You need a magic level of 99 to cast this spell.");
    That would be

    Code:
     } else if (playerLevel[6] <= 99) {
                        sendMessage(
                                "You need a magic level of 99 to cast this spell.");
     


Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •