Thread: Auto Attacking

Results 1 to 7 of 7
  1. #1 Auto Attacking 
    Registered Member
    Join Date
    Jul 2013
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Hello I'm just developing a server for my team and I to play while were botting on 07scape and I'm having this problem where
    lets say I'm attack you with a whip then equip a staff of light it continues to attack with staff of light.

    Help would be appriciated.
    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    It's called auto retaliate, turn it off.

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2013
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Ninth Legion View Post
    It's called auto retaliate, turn it off.
    No It's not the auto retaliate I've already looked at that.
    There's no delays in between weapon switches
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Apr 2012
    Posts
    3,225
    Thanks given
    2,554
    Thanks received
    832
    Rep Power
    0
    Quote Originally Posted by Ninth Legion View Post
    It's called auto retaliate, turn it off.
    Nothing to do with auto-retaliate.

    OT: I assume you're using PI, if so;
    In WearItem class (.java), under;
    Code:
    int oldCombatTimer = c.attackTimer;
    There should be something similar to;
    Code:
    if (c.playerIndex > 0 || c.npcIndex > 0)
    Replace it with;
    Code:
    if ((c.playerIndex > 0 || c.npcIndex > 0) && c.wearId != 4153)
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2013
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Taurus View Post
    Nothing to do with auto-retaliate.

    OT: I assume you're using PI, if so;
    In WearItem class (.java), under;
    Code:
    int oldCombatTimer = c.attackTimer;
    There should be something similar to;
    Code:
    if (c.playerIndex > 0 || c.npcIndex > 0)
    Replace it with;
    Code:
    if ((c.playerIndex > 0 || c.npcIndex > 0) && c.wearId != 4153)
    That code was already on there:/
    The Current Code

    Code:
     int oldCombatTimer = c.attackTimer;
    		if ((c.playerIndex > 0 || c.npcIndex > 0) && c.wearId != 4153)
    			c.getCombat().resetPlayerAttack();
    		if (c.wearId >= 5509 && c.wearId <= 5515) {
    			int pouch = -1;
    			int a = c.wearId;
    			if (a == 5509)
    				pouch = 0;
    			if (a == 5510)
    				pouch = 1;
    			if (a == 5512)
    				pouch = 2;
    			if (a == 5514)
    				pouch = 3;
    			c.getPA().emptyPouch(pouch);
    			return;
    		}
    			//c.attackTimer = oldCombatTimer;
    		if (!c.inTrade) {
                c.getItems().wearItem(c.wearId, c.wearSlot);
    Reply With Quote  
     

  6. #6  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Quote Originally Posted by Taurus View Post
    Nothing to do with auto-retaliate.

    OT: I assume you're using PI, if so;
    In WearItem class (.java), under;
    Code:
    int oldCombatTimer = c.attackTimer;
    There should be something similar to;
    Code:
    if (c.playerIndex > 0 || c.npcIndex > 0)
    Replace it with;
    Code:
    if ((c.playerIndex > 0 || c.npcIndex > 0) && c.wearId != 4153)

    With the first explanation, it would seem like it would be. I saw him put a better explanation, I don't need you explaining that to me

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jul 2013
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Still need help on this one :x
    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. How can i make the npc auto attack?
    By deathhp in forum Help
    Replies: 19
    Last Post: 11-10-2009, 04:52 PM
  2. Czar auto attack action.
    By MkDallas in forum Help
    Replies: 2
    Last Post: 07-25-2009, 03:56 PM
  3. kbd auto attack
    By Kingdad38 in forum Help
    Replies: 2
    Last Post: 05-24-2009, 11:08 AM
  4. Kbd auto attack
    By Kingdad38 in forum Help
    Replies: 0
    Last Post: 05-02-2009, 10:14 AM
  5. [tut]make npc's auto attack you[tut]
    By Arvid in forum Tutorials
    Replies: 16
    Last Post: 02-16-2008, 08:49 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
  •