futurepasts Posted January 3, 2016 Share Posted January 3, 2016 First of all thanks for guys who helped me with webwalking it now works perfectly. But now i'm in trouble with 1 thing im trying to make Cooks assistant bot for so i don't need to complete this on shit ton of my accounts But i face problem to go from current state to next. Example. If my character contains area ( Lumbridge Cook's kitchen) then talk to Cook it talks to cook then finish dialog and then stands cuz i don't know how to move to other state since i don't get any items in my inventory The other state must be go to Chicken's near lumbridge cows and pick egg. But how to do it? Im trying this but it isn't working if (getDialogues().toString().contains("Text that cook's says")) return State.WALK_TO_CHICKENS; And another question so i don't need to create multiple threads Is it possible to change to other character from some kind of list and login to runescape? Thanks for guys who helps me Quote Link to comment Share on other sites More sharing options...
Farming Posted January 3, 2016 Share Posted January 3, 2016 You could check out configs, every quest has its own which changes upon quest progression 1 Quote Link to comment Share on other sites More sharing options...
Explv Posted January 3, 2016 Share Posted January 3, 2016 The simplest way to create any quest script is to use configs. When you perform some activity during a quest, a value in the configs will change. You can use these values to determine your progress in the quest, and then perform the relevant action. To see the configs, go into the Settings -> Options -> Debug -> Configs You will then see a list of numbers on your screen: The number of the left is the config ID, and the number on the right, is its current value. The value on the right will update at various points in the quest. Lets say for example, the config ID is 200, before you start the quest the value would be 200 : 0. After you talk to the cook, the config might be 200 : 20. Once you know the config value you need, you can then setup a switch in your onLoop like this: switch(getConfigs().get(200)){ case 0: talkToCook(); break; case 20: walkToCows(); break; } 2 Quote Link to comment Share on other sites More sharing options...
futurepasts Posted January 3, 2016 Author Share Posted January 3, 2016 Omg thanks EXPLV it works now ;) Quote Link to comment Share on other sites More sharing options...