September 12, 20187 yr Hey guys I'm trying to do some automated trading but I'm having problems with spam trading on occasion. Sometimes it keeps doing right-click -> Trade with. Account trading other account: Player trading = getPlayers().closest(this.trading_name); if (trading != null && !getTrade().isCurrentlyTrading()) { if (trading.interact("Trade with")) { new ConditionalSleep(12000, 1000) { @Override public boolean condition() throws InterruptedException { return getTrade().isCurrentlyTrading(); } }.sleep(); } } Receiving end: Player request = getTrade().getLastRequestingPlayer(); if (request != null && !getTrade().isCurrentlyTrading()){ if (request.interact("Trade with")){ new ConditionalSleep(5000, 500) { @Override public boolean condition() throws InterruptedException { return getTrade().isCurrentlyTrading(); } }.sleep(); } }
September 12, 20187 yr trading.interact("Trade with"); Sleep.sleepUntil(() -> getTrade().isFirstInterfaceOpen(), 5000); Always seems to work for me.
August 28, 20205 yr 1 hour ago, JordanAvery said: Hi there! I'm fairly new to automatic trading and besides that, I have a lot of other questions about that. Where do I find more information about that, or how can I learn more about automatic trading. Any specific forums, or any tips for a newbie? I would appreciate the help, as I'm really interested in trading and I find it very addictive. Also, any good trading platforms for a newbie out there? I keep bumping into investous.com and I like it a lot, but I'm open to other recommendations as well. Wrong type of trading my friend.
Create an account or sign in to comment