Everything posted by olstan
- PPOSB - AIO Hunter
-
Broke my own bot! PM handling
i think you'll find that was for trading and i solved that, without the method you suggested.
-
Bot making for 10m
Sort of. If action a (receives private message !help for example) then do action b I have already written action b i just need it to listen for the message and return true so the process will run
-
Bot making for 10m
I will pay 10mil for someone who can successfully help me with a few lines of code for my bot and make it work. PM me
-
Broke my own bot! PM handling
I never get a chance to go through all the log as i have to shut osbot down as even the logger crashes. I need to find out how to give it a value without getting errors in my code which i have struggled with since breaking it!
-
Broke my own bot! PM handling
Any idea how i can fix. This part is a key part for the whole Bot
-
Broke my own bot! PM handling
I have created my bot by doing each task as a separate class instead of using switches (never again!) Because i have done it this way i have to trigger the statement to be true on the can process. This is making it hard to use a message listener also as it always says the variables wrong. Here is the current code i have, it used to work, all i need it to do is become true when it receives a specific private message become true. The current code i have i cant even debug as it makes the bot run slowly (as if being ddossed) but i believe it keeps looping. import org.osbot.rs07.api.Chatbox.MessageType; import org.osbot.rs07.script.MethodProvider; public class Contact extends Task { private MessageType messageType; public Contact(MethodProvider api) { super(api); } public boolean canProcess() { return api.getChatbox().contains(messageType, "help me"); } @Override public void process() throws InterruptedException { api.log("we have just been asked for help"); } } This is just an example of what the bot will do should it receive that message.
- Debug
- Debug
- Debug
- Khal Wintertodt
-
Perfect Runecrafter AIO
can you run numerous ess runners with 1 master, or will the master only work with 1 slave
-
Perfect Fighter AIO
the loot over * option doesn't work :(, Is there any idea when the stop after slayer task will work?
-
Trading players
I am new to java scripting. This is a current task i am working on to listen for a trade. When a trade is received it starts this task. I am ok with the trading api. It is just the listening for a message to initiate the task. Can anyone help import javax.sound.midi.Receiver; import org.osbot.rs07.api.Trade; import org.osbot.rs07.api.ui.Message; import org.osbot.rs07.listener.MessageListener; import org.osbot.rs07.script.MethodProvider; public class trade extends Task { public trade(MethodProvider api) { super(api); } @Override public boolean canProcess() { return; } @Override public void process() { api.log("we have been traded"); } }
-
How to trade other players
I know wasn't trying to be rude. I have managed to search snippets of other peoples posts, and since then have progressed quite well. This is just a big part i am stuck with. @Override public boolean canProcess() { MessageListener MessageListener; api.getBot().addMessageListener(MessageListener); Message.MessageType.RECEIVE_TRADE; return true;
-
How to trade other players
is this close? @Override public boolean canProcess() { MessageListener MessageListener = null; api.getBot().addMessageListener(MessageListener); Message.MessageType.RECEIVE_TRADE; return true; The problem i have, is quite bad dyslexia, i had the same problems learning C with man pages. I struggle to interpret API But once i get to grips i find it easier
-
How to trade other players
is this the right command to listen for this? Message.MessageType.RECEIVE_TRADE; if so how do i set boolean to true?
-
How to trade other players
Hello, I am looking for a bit of help for player trading. i have this so far for the task import org.osbot.rs07.api.ui.Message; import org.osbot.rs07.script.MethodProvider; public class trade extends Task { public trade(MethodProvider api) { super(api); } @Override public boolean canProcess() { return Message.MessageType.RECEIVE_TRADE; (I need the right command to trigger the task, when it has seen that a player has traded do the task) } @Override public void process() { api.log("we have been traded"); (I need help with the bot clicking to start the trade, accepting both trade windows) } }
-
Require someone good with tasks
added to skype
-
Bot compiling but not being found
sorry, when i sent the last message i was out the house so could only give link, however i believe you made me aware of the issue
-
Require someone good with tasks
It's on that post
-
Bot compiling but not being found
I am able to export this bot with its tasks, but osbot is not finding it, Any ideas? bankwalk.java support2.java Task.java willowwalk.java
-
Require someone good with tasks
Hey, i have written my first bot, I am just having a small problem with the task system and an error being given. Anyone willing to have a look at the script on skype. it is 1 error
-
Scripting assistance needed
Hey, I am looking to start scripting bots, I have a basic understanding of java. I can code in C/C++ so i understand system calls, ints, chars, Boolean etc I would like if anyone was willing and knows how to script to maybe support me for a couple of hours on skype or anything. I have a great script idea and it is very basic for what i have seen It will consist of trading a player, banking and coming back that is all. Please PM me if able to help
-
Perfect Runecrafter AIO
Hey CZAR can you PM me? I have another idea would like to run by you