Thread: [PI]InsidiaX, correct mining emotes.

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 [PI]InsidiaX, correct mining emotes. 
    Registered Member
    Join Date
    Feb 2012
    Posts
    14
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Hello guys, today I noticed that in InsidiaX, the mining emote is for rune pickaxee and it doesn't matter what pickaxe you have.
    And now, we're gonna fix that.

    1.Open up Mining.java and find this:
    Code:
    private final int EMOTE = 624;
    Change it to:
    Code:
    private int EMOTE;
    2. Find:
    Code:
    public void startMining(int oreType, int levelReq, int exp) {
    And add this under it:
    Code:
    if (c.playerEquipment[c.playerWeapon] == 13661) {//inferno adze
    	EMOTE = 10222;
    	} else if (c.playerEquipment[c.playerWeapon] == 15259) {//dragon
    	EMOTE = 12169;
    	} else if (c.playerEquipment[c.playerWeapon] == 1265) {//bronze
    	EMOTE = 6747;
    	} else if (c.playerEquipment[c.playerWeapon] == 1267) {//iron
    	EMOTE = 6748;
    	} else if (c.playerEquipment[c.playerWeapon] == 1269) {//steel
    	EMOTE = 6749;
    	} else if (c.playerEquipment[c.playerWeapon] == 1273) {//mithril
    	EMOTE = 6751;
    	} else if (c.playerEquipment[c.playerWeapon] == 1271) {//Adamant
    	EMOTE = 6750;
    	} else if (c.playerEquipment[c.playerWeapon] == 1275) {//rune
    	EMOTE = 6746;
    	}
    This includes inferno adze and dragon pickaxe, to add it make comma 13661 and comma 15259after:
    Code:
    private final int VALID_PICK[] = {1265,1267,1269,1273,1271,1275(,13661,15259 here)};
    And comma 61 and comma 71 behind:
    Code:
    private final int[] PICK_REQS = {1,1,6,21,31,41(,61,71 here)};
    Congratz, you now have the correct emotes for Mining!

    I don't want credits as it's so simple.

    Thanks is appreciated anyways.

    NOTEon't flame, it's my first tut.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,830
    Thanks given
    893
    Thanks received
    1,439
    Discord
    View profile
    Rep Power
    2924
    Gj, but........... InsidiaX v2
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    26
    Posts
    9,736
    Thanks given
    1,754
    Thanks received
    3,102
    Rep Power
    5000
    sorta common sense, but thanks for sharing mate
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  4. #4  
    Registered Member
    Freezia's Avatar
    Join Date
    Feb 2011
    Posts
    5,869
    Thanks given
    1,145
    Thanks received
    757
    Rep Power
    1309
    thx for share broski! already fixed it on my server thou


    Click above to get the cheapest WEB HOSTING options! We also provide VIRTUAL PRIVATE SERVERS (VPS)! Now equipped with DDOS Protection.


    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2012
    Posts
    14
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Freezia View Post
    thx for share broski! already fixed it on my server thou
    Yeah, pretty simple code ha.I just wanted to release it as it was my first piece of code I have written alone and I was so proud
    Reply With Quote  
     

  6. #6  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    25
    Posts
    2,888
    Thanks given
    416
    Thanks received
    884
    Rep Power
    856
    Code:
    if (c.playerEquipment[c.playerWeapon] == 13661) {//inferno adze
    	EMOTE = 10222;
    	} else if (c.playerEquipment[c.playerWeapon] == 15259) {//dragon
    	EMOTE = 12169;
    	} else if (c.playerEquipment[c.playerWeapon] == 1265) {//bronze
    	EMOTE = 6747;
    	} else if (c.playerEquipment[c.playerWeapon] == 1267) {//iron
    	EMOTE = 6748;
    	} else if (c.playerEquipment[c.playerWeapon] == 1269) {//steel
    	EMOTE = 6749;
    	} else if (c.playerEquipment[c.playerWeapon] == 1273) {//mithril
    	EMOTE = 6751;
    	} else if (c.playerEquipment[c.playerWeapon] == 1271) {//Adamant
    	EMOTE = 6750;
    	} else if (c.playerEquipment[c.playerWeapon] == 1275) {//rune
    	EMOTE = 6746;
    	}
    Why would u do it like that...

    gj tho


    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2012
    Posts
    14
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by 01053 View Post
    Code:
    if (c.playerEquipment[c.playerWeapon] == 13661) {//inferno adze
    	EMOTE = 10222;
    	} else if (c.playerEquipment[c.playerWeapon] == 15259) {//dragon
    	EMOTE = 12169;
    	} else if (c.playerEquipment[c.playerWeapon] == 1265) {//bronze
    	EMOTE = 6747;
    	} else if (c.playerEquipment[c.playerWeapon] == 1267) {//iron
    	EMOTE = 6748;
    	} else if (c.playerEquipment[c.playerWeapon] == 1269) {//steel
    	EMOTE = 6749;
    	} else if (c.playerEquipment[c.playerWeapon] == 1273) {//mithril
    	EMOTE = 6751;
    	} else if (c.playerEquipment[c.playerWeapon] == 1271) {//Adamant
    	EMOTE = 6750;
    	} else if (c.playerEquipment[c.playerWeapon] == 1275) {//rune
    	EMOTE = 6746;
    	}
    Why would u do it like that...

    gj tho
    It checks what hatchet you wield and then sets the correct gfx/emote.
    Reply With Quote  
     

  8. #8  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    25
    Posts
    2,888
    Thanks given
    416
    Thanks received
    884
    Rep Power
    856
    Quote Originally Posted by ComplexLH View Post
    It checks what hatchet you wield and then sets the correct gfx/emote.
    I know.. I asked why do it that way when you can simply handle it in an array.. a lot easier imo.


    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2012
    Posts
    14
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by 01053 View Post
    I know.. I asked why do it that way when you can simply handle it in an array.. a lot easier imo.
    I'm to nooby for that.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Oct 2015
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    this is what i get :/ [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. [PI]InsidiaX, correct Woodcut emotes.
    By ComplexLH in forum Snippets
    Replies: 3
    Last Post: 03-05-2012, 08:03 AM
  2. [PI] Correct Mining Animations!
    By stanford in forum Tutorials
    Replies: 2
    Last Post: 01-31-2012, 05:31 AM
  3. [PI] Correct animation mining?
    By stanford in forum Requests
    Replies: 3
    Last Post: 01-31-2012, 01:12 AM
  4. Mining emotes:
    By Kastro in forum Snippets
    Replies: 11
    Last Post: 11-17-2009, 10:44 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
  •