Results 1 to 11 of 11

Thread: To Freddy and Yakman...and anyone else

  1. #1
    Join Date
    Jul 2007
    Posts
    1,055
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    To Freddy and Yakman...and anyone else

    Since you guys (Freddy and Yakman) seem to run Java around here I got a few questions for ya.

    Any ideas on moving the mouse (as we do in SRL)? And same for typing in keybored. Or even locating colors. (Not for runescape...just for general intreset - I'm way over rs).

    Also how do I do like an "or" statment,
    example:

    if (name.equals ("multiplaction"))
    OR
    if (name.equals ("*"))

    into one line?
    My guess:

    if (name.equals ("multiplaction") || ("*"))

    cause I heard || is or, but I'm not sure how correct that is...

    Freddy I expect a reply within 2 days or I'm double posting jk.


    Oh lastly. You guys know any really good java forms I can go to? I saw Yakman and Freddy are prety active here, and to be honest that is the only reason I posted, cause I doubt anyone else will respond with an answer.

    Thanks.

  2. #2
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    I'm not a Java person, but I assume that if (name.equals ("multiplaction") || name.equals ("*")) would work

  3. #3
    Join Date
    Aug 2006
    Location
    London
    Posts
    2,021
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    well you shouldnt really make threads addressed to specific people,

    and for double posting without good reason we would have the right to punish you :P

    also, to put it in a diplomatic way, freddy1990 much prefers delphi, he doesnt enjoy java very much

    you might want to include benland100 on your next uber spamming thread, he wrote smart in java (and c++)

    so do you enjoy making threads like these? how does it make you feel? important? special?
    you dont even have the capacity to use google for a bit.

    Quote Originally Posted by osmm View Post
    cause I heard || is or, but I'm not sure how correct that is...
    why dont you Try It And See
    you would:
    1. Learn the answer and
    2. Not make a thread like this


    For the keyboard-pressing, mouse-moving and color-finding, you might want to look at the Robot class

    which by the way is the first result when you google "java keyboard pressing"
    didnt think of that did you


    Quote Originally Posted by osmm View Post
    Oh lastly. You guys know any really good java forms I can go to?
    well in java, we generally call that a GUI, which is odd cause you cant really go to them, you can only click on them or look at them.

    unless you meant forums,
    so if you cant be asked to spell the word properly, look in a dictionary or something, why should we be asked to give you a proper answer?

    i've found that sloppy writing more-often-then-not leads to sloppy thinking, those java forums would better off without you.
    Join the Official SRL IRC channel. Learn how to Here.

  4. #4
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    As yakman said, I'm a delphi coder, however, I do know some java Yakman is right, maybe you should try yourself first before posting... Trial and error is the best way of learning...

    http://java.sun.com/docs/books/tutor...operators.html
    Logical OR operator: ||

    Not 100% sure, but I'd go with:
    if (name.equals("multiplaction") || name.equals("*"))

    (And I enjoy any language, I just prefer Delphi over any other )

  5. #5
    Join Date
    Apr 2008
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Unless you have a specific reason for using name.equals, I would just say:
    if(name == "multiplication" || name == "*");

    im not sure if you can macro with java though.

  6. #6
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Of course you could macro with Java. That's what most, if not all, bots are made in.

  7. #7
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by tankbf View Post
    Unless you have a specific reason for using name.equals, I would just say:
    if(name == "multiplication" || name == "*");

    im not sure if you can macro with java though.
    ever heard of iBot?

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


  8. #8
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    To move the mouse with java... you need to import Robot I think... I don't remember which package it is. But it lets you move the mouse and I think type stuff.

  9. #9
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by ShawnjohnSJ View Post
    To move the mouse with java... you need to import Robot I think... I don't remember which package it is. But it lets you move the mouse and I think type stuff.
    04-20-2008 10:59 PM
    Gravedig

  10. #10
    Join Date
    Mar 2008
    Location
    The Netherlands
    Posts
    1,395
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Mylesmadness View Post
    04-20-2008 10:59 PM
    Gravedig
    What he says


  11. #11
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Laur€ns View Post
    What he says
    You don't have to repeat it..!

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Freddy does Dragonball!
    By Freddy1990 in forum Semi Stupid Pictures
    Replies: 32
    Last Post: 12-20-2008, 12:39 PM
  2. Yakman can you fix this scrip plz , this is ess miner + banker
    By hakeris15 in forum RS3 Outdated / Broken Scripts
    Replies: 18
    Last Post: 03-14-2007, 04:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •