Jump to content

dreameo

Scripter II
  • Content Count

    365
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

dreameo last won the day on February 22

dreameo had the most liked content!

Community Reputation

162 Steel

About dreameo

  • Rank
    Black Poster

Profile Information

  • Gender
    Male

Recent Profile Visitors

1558 profile views
  1. https://osbot.org/forum/topic/155962-botting-and-probability/
  2. dreameo

    Dream Server

    I would suggest having the server send to every client and tell the client to shutdown. The server shouldn't be closing for any reason (especially prior to any client closing). It's the central place to where all communication happens.
  3. dreameo

    Dream Server

    You'd be the first.
  4. @Czar - He's still new to java and can learn beside you.
  5. dreameo

    Drop Methods

    it has always been deprecated but meant to be used. Minor either way - but you do 2 loops anyhow + extra work of having to reverse. Just noticed that whole method is shift dropping.
  6. dreameo

    Drop Methods

    Some thoughts if your interested: Should extend MethodProvider and exchange context Reverse should not actually reverse the item positioning, you should just be starting at the end (i = 27 for ex) "script.getKeyboard().releaseKey(16)" shouldn't be exposed in the wild. Why can't it be a member of drop()?
  7. If you're interested, I've recently added user data tracking - http://dreamhs.ml/api/user/?Dreameo - replace 'Dreameo' with your name. This is new so as of now, there is no data until you bot.
  8. should be fine now
  9. https://osbot.org/forum/topic/156505-dream-server/ Try to use that - if it's to difficult then you are most likely not at the right level to try this. It's better to learn some more fundamentals. And don't use a database to do inter-process communication.
  10. 1. there are 256^3 (~16 million) possible colors. Of course the one you pick (even if it's closely resembles) will not match. It must be exact! 2. Color color = getColorPicker().colorAt(yourX, yourY); You must import java.awt.color; https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html
  11. And just like a NPE, this thread is dead, don't try to access it
  12. dreameo

    Dream Server

    Interesting to see if anyone can create a nice protocol. Word of advice, the client should be the driver for the protocol. The server is the central place where information is held and decisions are returned to the client should they ask for direction.
  13. dreameo

    Dream Server

    Here's a very nice and easy to use Client/Server program. You must define you're own protocol and modify the onMessage functions to then support your protocol. MessageParser.java and Message.java must be altered to reflect your protocol (such that you can extract the required data). Note: Not fully tested, could be some problems. Let me know. https://gist.github.com/DreamLean/61b215bad3c8f839ac4c84536d67c804
  14. I looked quickly but just 2 quick comments: Your task class could extend methodProvider instead of passing the reference throughout all the sub-classes. Your util to grab the cost of an item is probably costly (guessing a second or so). There's a json api that lets you grab the costs - https://osbot.org/forum/topic/146793-ge-data/
×
×
  • Create New...