Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/21/14 in all areas

  1. Cause Eliot is a terrible mod who bans someone for calling out his shit attempt at being a mod but yet doesn't kick someone who posts p****bot links and ban evades. I'm done with corrupt and shit staff.
    4 points
  2. make every1 post pic of cock and then u pick whichever cock u like most
    3 points
  3. does it really matter if he liked power "alot" considering i can't recall 1 time where he abused said power.
    2 points
  4. its a client bug and has nothing to do wit "invisible randoms" i had it 100 times on older version of the client down at the flesh crawlers.
    2 points
  5. https://www.youtube.com/watch?v=S4lNgXQPyCg
    2 points
  6. private NPC getBestNpcToAttack(ArrayList<String> ourNames){ java.util.List<NPC> allNPCs= client.getLocalNPCs(); //all local npcs ArrayList<NPC> goodNPCs = new ArrayList<NPC>(); //all npcs with names we are looking for ArrayList<NPC> temp = new ArrayList<NPC>(); //A holder int[] currentBest = {-1,1000}; //Used in returning value //Find all npcs with names we are looking for for(int i = 0; i < allNPCs.size(); i++){ if(ourNames.contains(allNPCs.get(i).getName())){ temp.add(allNPCs.get(i)); } } //Make sure they exist, are alive, and attackable for(int i = 0; i < temp.size(); i++){ if((temp.get(i).exists())&&(temp.get(i).getHealth()>0)&&!temp.get(i).isUnderAttack()){ goodNPCs.add(temp.get(i)); } } if(goodNPCs.size()<1) return null; //No npcs you can fight else{ //Find out which npc is closest for(int i = 0; i < goodNPCs.size(); i++){ if(goodNPCs.get(i).getPosition().distance(myPlayer().getPosition())<currentBest[1]){ currentBest[0] = i; currentBest[1] = goodNPCs.get(i).getPosition().distance(myPlayer().getPosition()); } } if(currentBest[0]==-1) //Should never happen, just a check. return null; else{ return goodNPCs.get(currentBest[0]); //returns the closest npc } } } Usage: NPC openNPC = getBestNpcToAttack("NPC_NAME_HERE"); openNPC.interact("Attack"); Please post if you can improve it. I just threw this together really fast and thought it would be a good recourse for people new to scripting that want to make a combat script.
    1 point
  7. 1 point
  8. PM a mod a number between 1 and 1000 and whoever posts the correct number first wins. Only 1 post per day is allowed.
    1 point
  9. Admin or someone with access please remove my account.
    1 point
  10. 1 point
  11. it's actualy cyan. dat nostalgia
    1 point
  12. It was awesome. xD
    1 point
  13. The self adverts are real today aren't they
    1 point
  14. Why's it gotta be black? Black Black room Black roomscape RoomScape is Black Reported for racist slurs.
    1 point
  15. No, just because you're probably one of those post count fags that post useless shit no one needs to see.
    1 point
  16. 1 point
  17. 1 point
  18. Why? I love it and the handle is steel reinforced and is attacked to the entire frame. Super sturdy and large. Perfect case
    1 point
  19. Exactly! You've got the idea now. I see a safer, more secure, OSBot in the future.
    1 point
  20. 1 point
×
×
  • Create New...