Thread: Summoning orb snippet.

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36
  1. #1 Summoning orb snippet. 
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,021
    Thanks given
    1,337
    Thanks received
    1,719
    Rep Power
    1598
    I've noticed that a lot of people are receiving errors for their summoning orb from Harlan's snippet. So I decided to post my version, which is simple, but I'm sure it can be useful for those who need a summoning orb base. Remember that this will only show the summoning level within the orb. The reason I'm releasing this is because I've modified my summoning orb and it's a lot more advanced.

    Here's a full spoon-feed.

    Firstly open the client class (client.java) client sided.

    and search for:

    Code:
    public void loadOrbs() {
    Once you've found that add this under under public void loadOrbs() {:

    Code:
    		drawSumm();
    Find a suitable place to put this:

    Code:
    	public void drawSumm() {
    		int sum = Integer.parseInt(RSInterface.interfaceCache[4030].message);
                    sumhover = new Sprite("Gameframe/Orbs/sumhover");
    		sumnormal = new Sprite("Gameframe/Orbs/sumnormal");
    		sumnormal.drawSprite(174, 127); //129
    		smallText.method382(0x00FF00, 217, ""+sum, 153, true);
    		if (super.mouseX >= 687 && super.mouseX <= 744 && super.mouseY >= 119 && super.mouseY < 157) {
    		sumhover.drawSprite(174, 127);
    		smallText.method382(0x00FF00, 217, ""+sum, 153, true); //155
    		}
    	}
    After that's done, remember to change the number, 4030, which has been highlighted in Red, to the number where you summoning skill is programmed to.

    You can find this under:

    Code:
    public void refreshSkill(int i) {
    in PlayerAssistant.java.

    Here's an example of mine:

    Code:
    			case 23: //summoning
    			sendFrame126("" + c.playerLevel[23] + "", 4030);
    			sendFrame126("" + c.playerLevel[23] + "", 4031);
    			break;

    Once that's done, declare the following in an appropriate area. (Preferably under another public Sprite, if you wish for it to be organised.)

    Code:
    	public Sprite sumhover;
    	public Sprite sumnormal;
    Once that's done, put these sprites in:

    Gameframe/Orbs/sumnormal. The directory can be changed if you edit or modify at the lines highlighted in white, within the drawSumm method.


    The sprites needed, can be downloaded here.

    Summoning Orb Sprites.rar

    Let me know how things go for you.
    Reply With Quote  
     


  2. #2  
    boolean value = 1;

    MuchMaxWow's Avatar
    Join Date
    Oct 2011
    Posts
    2,435
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    you forgot

    Code:
    sumhover = null;
    sumnormal = null;
    and it's ripped from FormationX ? just taked out off the Fullscreen shit?
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,021
    Thanks given
    1,337
    Thanks received
    1,719
    Rep Power
    1598
    Quote Originally Posted by 'Boss View Post
    you forgot

    Code:
    sumhover = null;
    sumnormal = null;
    and it's ripped from FormationX ? just taked out off the Fullscreen shit?
    Thanks, and actually did this myself to be honest.
    Reply With Quote  
     

  4. #4  
    Donator
    Ed17's Avatar
    Join Date
    Jun 2011
    Posts
    296
    Thanks given
    42
    Thanks received
    13
    Rep Power
    10
    works fine thx
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,021
    Thanks given
    1,337
    Thanks received
    1,719
    Rep Power
    1598
    Quote Originally Posted by Ed17 View Post
    works fine thx
    Don't say thanks, but use the button if you're actually thankful.
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    FUC*ING AMAZING


    Join Date
    May 2011
    Posts
    2,159
    Thanks given
    1,594
    Thanks received
    363
    Rep Power
    562
    Thank you, fixed my problem over teamviewer
    Reply With Quote  
     

  8. #7  
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,021
    Thanks given
    1,337
    Thanks received
    1,719
    Rep Power
    1598
    Quote Originally Posted by Smirnoff View Post
    Thank you, fixed my problem over teamviewer
    No worries =].
    Reply With Quote  
     

  9. #8  
    Miss you :(

    Tringan's Avatar
    Join Date
    Feb 2011
    Age
    17
    Posts
    2,052
    Thanks given
    360
    Thanks received
    321
    Rep Power
    275
    you dont need 2 null the sprites

    and if u are spoonfeeding this is no longer a snippet
    Reply With Quote  
     

  10. #9  
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,021
    Thanks given
    1,337
    Thanks received
    1,719
    Rep Power
    1598
    Quote Originally Posted by Tringan View Post
    you dont need 2 null the sprites

    and if u are spoonfeeding this is no longer a snippet
    Yeah, but I've clearly mentioned "if necessary", but I've added that without checking.

    Moderators can move this to the tutorial section if they find it right to do so.
    Reply With Quote  
     

  11. #10  
    Banned
    Join Date
    Jan 2012
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Nice Tut. Already did this though :P This will help others.
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

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

Similar Threads

  1. Summoning Orb ~ My Way
    By Knox in forum Show-off
    Replies: 14
    Last Post: 01-14-2012, 12:06 AM
  2. Replies: 7
    Last Post: 07-26-2010, 12:38 PM
  3. Summoning Orb
    By Cjay0091 in forum Snippets
    Replies: 10
    Last Post: 07-20-2010, 06:05 PM
  4. Summoning Orb
    By McDeshen in forum Requests
    Replies: 5
    Last Post: 03-28-2009, 08:22 PM
  5. Summoning orb.
    By Danno in forum Configuration
    Replies: 26
    Last Post: 09-30-2008, 09:40 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •