slavedriver 1 Share Posted June 17, 2017 If someone has a cow or some low level monster killer script you could PM me so I can look at the structure of the code to try to semi write my own attempt here. I would be greatly in debt. Not to mention if there is any noob friendly scriptwriters to bounce some code back and forth to once I have a version 1.0? Link to comment Share on other sites More sharing options...
Polymorphism 48 Share Posted June 17, 2017 PM your skype, I will not give you a source for such script but I will certainly assist you with your efforts in creation of such scripts. This is of course, you have a basic understand of java and will take criticism given its provided to you. Link to comment Share on other sites More sharing options...
slavedriver 1 Author Share Posted June 17, 2017 I actually think we have talked over at another site before your name rings a bell, I don't use skype too often Poly you mind if I toss you a discord link @Polymorphism Link to comment Share on other sites More sharing options...
Polymorphism 48 Share Posted June 17, 2017 I actually think we have talked over at another site before your name rings a bell, I don't use skype too often Poly you mind if I toss you a discord link @Polymorphism Polymorphism#0476 Link to comment Share on other sites More sharing options...
None 227 Share Posted June 19, 2017 If someone has a cow or some low level monster killer script you could PM me so I can look at the structure of the code to try to semi write my own attempt here. I would be greatly in debt. Not to mention if there is any noob friendly scriptwriters to bounce some code back and forth to once I have a version 1.0? @Override public int onLoop() { NPC chicken = getNpcs().closest(f -> f != null && !f.isInCombat() && f.getName().equals("Chicken")); GroundItem knife = getGroundItems().closest("Iron knives"); if (!getLocalPlayer().isInCombat()) { if (knife != null) { if (knife.interact()) sleepUntil(() -> !knife.exists(), 4000); } else { if (getMap().canReach(chicken)) if (chicken.interact("Attack")) sleepUntil(() -> getLocalPlayer().isInCombat(), 300); } }else { sleep(1000); } return Calculations.random(200,400); } check the scripting tutorial section there are examples there.. you can change chicken to cow, and remove knives if u dont need them Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.