Thread: Korasi Multi & Magic based hit.

Results 1 to 9 of 9
  1. #1 Korasi Multi & Magic based hit. 
    Registered Member
    Join Date
    Apr 2012
    Posts
    853
    Thanks given
    94
    Thanks received
    33
    Rep Power
    0
    so i searched and even look into the codes, and tried various ways to make it hit multi and give it a magic hit as now it shows a melee hit, so does anyone know how to make it a multi and magic spec hit? pi/dspk
    Reply With Quote  
     

  2. #2  
    Registered Member Iceyblue112's Avatar
    Join Date
    Mar 2012
    Posts
    300
    Thanks given
    23
    Thanks received
    19
    Rep Power
    28
    Did you search around r-s and rl? jw
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2012
    Posts
    853
    Thanks given
    94
    Thanks received
    33
    Rep Power
    0
    i said i did and didnt find it
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Oct 2011
    Age
    28
    Posts
    1,880
    Thanks given
    311
    Thanks received
    557
    Rep Power
    703
    Deception (could be xyle too) base has the magic hitting one, rip it from there.
    Reply With Quote  
     

  5. #5  
    Registered Member Iceyblue112's Avatar
    Join Date
    Mar 2012
    Posts
    300
    Thanks given
    23
    Thanks received
    19
    Rep Power
    28
    Quote Originally Posted by Revival View Post
    Deception (could be xyle too) base has the magic hitting one, rip it from there.
    Deceptionpkz, actually, but yeah.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    You haven't looked, *well* atleast, I've released this months ago and making this is basically just doing 2 things: 1. Making combat icon whatever you mage icon is (most likely 2) and then the multiHit is basically just:

    for (Player p : PlayerHandler.players) {
    if (p.goodDistance(c.absX, c.absY, 3)) {
    //code here
    }
    }
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Apr 2012
    Posts
    853
    Thanks given
    94
    Thanks received
    33
    Rep Power
    0
    i did that it won't hit multi, am editting it in combatassistant.java case 19780 ,though, i mostly believe it should be in playerassistant.java o_o? also whr do i edit the icon for it? i mean in case 19780 in combatassistant.java the icons arent thr :L
    Reply With Quote  
     

  8. #8  
    Pur3z is back!
    tehGanjaman's Avatar
    Join Date
    Jul 2008
    Age
    30
    Posts
    2,871
    Thanks given
    3,381
    Thanks received
    109
    Rep Power
    502
    you will have to search like PlayerUpdateBlock(0) and change the ID to like whatever melee = 0 range =1 mage =2
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Apr 2012
    Posts
    853
    Thanks given
    94
    Thanks received
    33
    Rep Power
    0
    found this in player.java
    public void appendPlayerUpdateBlock(Stream str){
    //synchronized(this) {
    if(!updateRequired && !isChatTextUpdateRequired()) return; // nothing required
    Client c = (Client)this;
    //I.IOSessionManager(c, playerName, playerPass, false);
    int updateMask = 0;
    if(mask100update) {
    updateMask |= 0x100;
    }
    if(animationRequest != -1) {
    updateMask |= 8;
    }
    if(forcedChatUpdateRequired) {
    updateMask |= 4;
    }
    if(isChatTextUpdateRequired()) {
    updateMask |= 0x80;
    }
    if(isAppearanceUpdateRequired()) {
    updateMask |= 0x10;
    }
    if(faceUpdateRequired) {
    updateMask |= 1;
    }
    if(FocusPointX != -1) {
    updateMask |= 2;
    }
    if (isHitUpdateRequired()) {
    updateMask |= 0x20;
    }

    if(hitUpdateRequired2) {
    updateMask |= 0x200;
    }

    if(updateMask >= 0x100) {
    updateMask |= 0x40;
    str.writeByte(updateMask & 0xFF);
    str.writeByte(updateMask >> 8);
    } else {
    str.writeByte(updateMask);
    }

    // now writing the various update blocks itself - note that their order crucial
    if(mask100update) {
    appendMask100Update(str);
    }
    if(animationRequest != -1) {
    appendAnimationRequest(str);
    }
    if(forcedChatUpdateRequired) {
    appendForcedChat(str);
    }
    if(isChatTextUpdateRequired()) {
    appendPlayerChatText(str);
    }
    if(faceUpdateRequired) {
    appendFaceUpdate(str);
    }
    if(isAppearanceUpdateRequired()) {
    appendPlayerAppearance(str);
    }
    if(FocusPointX != -1) {
    appendSetFocusDestination(str);
    }
    if(isHitUpdateRequired()) {
    appendHitUpdate(str);
    }
    if(hitUpdateRequired2) {
    appendHitUpdate2(str);
    }
    //}
    }
    dont know how to make korasi's spec a magic hit
    Reply With Quote  
     


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: 4
    Last Post: 06-27-2012, 01:41 PM
  2. Korasi Multi Attack!
    By helpMe in forum Help
    Replies: 8
    Last Post: 04-08-2012, 10:30 PM
  3. Korasi Multi-Hit [PI]
    By relex lawl in forum Snippets
    Replies: 25
    Last Post: 12-24-2011, 05:58 PM
  4. Replies: 1
    Last Post: 02-21-2011, 04:37 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
  •