Jump to content

Chazler

Members
  • Posts

    15
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Chazler's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. EDIT: Looking back I see I posted this in the wrong section, if someone would be so kind to tell how to move/delete a post that would be wicked. So in my spare time I'm working on a cowkilling script. Now this works up to the part that it attacks a cow. After a kill or when the player is not currently under attack i'd like it to pick up cowhides. Now am I curious as to where my code falters and does not pick up the cowhides either not looted by others or gained from a kill. Cheers, Chazler
  2. Quick and on the spot as always, much obliged!
  3. So I'm trying to get the player to interact with a trapdoor when it does not have a bucket in its inventory to try out player interaction with entities. only Entity.closest(arg) gives an error simply because closest is not a valid method as seen below. Now my question is, how would one make a player interact with a certain entity in the way described above. Also I'm rather curious as to how one would implent the use of x and y coordinates so that there is no mistake, in the unlikley event of there being mutiple trapdoors, to which trapdoor the player has to interact with. Cheers, Chazler
  4. Not at all! Thanks to the both of you, it really helped me out a bunch!
  5. So I'm trying to build my own cow killing script with bank support to familiarize myself with java and scripting. Currently I use this to attack cows: case KILL: Player player = myPlayer(); NPC cow = npcs.closest("Cow"); if ((!player.isMoving()) && (!player.isUnderAttack()) && (!inventory.isFull()) && (cow != null)) { cow.interact("Attack"); } And it works, the player won't try to attack anohter cow whilest it is fighting a cow yet will try to attack cows that are in combat with another player. I've tried to look for an answer in the api but I'm probably too obvlious to find a solution. If anyone could help me specify to attack only cows that are not under attack that would be brilliant! Cheers, Chazler
  6. Chazler

    BETA v1.7.44

    You had some bad luck my friend, the bot wasn't working properly 2 days ago and now it doesn't work due to a recent update. Have a little patience and you'll be botting like before in no time. Edit: Fixed a typo
  7. People posting that they have the same issues doesn't help anyone. Just wait it out lads.
  8. Chazler

    CHAT ERROR

    Same problem here, refreshed multiple times, used the popup window, waited several minutes. Nothing seems to work. Would be great if someone knows something that might fix it.
×
×
  • Create New...