So I was testing out everything on my server and I tried out the range skill, so i got a bow and some bronze arrows, spawned an npc went to attack it and it kept repeating in the chatbox "No arrows left in your quiver" so I thought it might be the arrows, and then found out it happens when i use all arows apart from rune, when i use rune arrows its fine and it fires the rune arrows. so I went to try and fix it and found this method:
Code:
    public void CheckArrows() {
        for (int k = 880; k < 893; k++) {

            if (playerEquipment[playerArrows] == k) {
                HasArrows = true; 
            } else if (playerEquipment[playerWeapon] == 4214) {
                HasArrows = true;
            } else {
                HasArrows = false;
            }

        }
    }
This method is used in the combat() method, here is the code using the combat() method:
Code:
        if (UseBow) {
            inCombat();
            teleportToX = absX;   
            teleportToY = absY; 
            CheckArrows();
            CalculateRange();
            hitDiff = misc.random(20);

        } else {
            PkingDelay = 6;
            wepdelay = 6;

        }
I noticed how in the CheckArrows() method it sais if the arrows id is below 893 it should work, the id for a rune arrow is 892, and thats the only one working? if someone could make a remake or something of this i believe this will fix it.
Thanks