Jump to content

sirskitzo

Trade With Caution
  • Posts

    21
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by sirskitzo

  1. @Juggles Thanks but that was not my question.
    @Deceiver Not about being anti-ban. Might be a waste of time, yes, but just a feature -> practicing coding.
    @Jammer @I am not a @dreameo I like these methods they now are implemented and works fine thanks!

    Any more ideas would be appreciated. I will keep my post updated with more information and a screen of chat later once there is an improvement. Also, I would like to ask if anyone has any suggestions on the way to handle incoming messages? What I mean is I now have a list of expected incoming messages and then when I get a message in-game I search if one of them equals to it, if not check if it consists. You know people can type something like "What ya doing","what r u doin?". Thanks again!

  2. @Fibonacci @nvrsince haha yeah that is true. I am still thinking of a good way to determine whether the message is to me or not. If I find a good way, I will share the code with you guys! Currently, it has the ability to answer almost most of messages being asked and interacts with chat.

  3. If I am about to implement an auto chat responder to my script, how do I know if the chat was directed to me? I will start by adding something. Maybe

    • If they call the character name
    • If my character and the messager positions are close
    • If they say hi/bot/lvl, what else?

    Questions:

    What are good auto chat responder ideas and ways to deal with it?

    How to handle incoming text?
     

    I have my own ideas and I would like to hear your suggestions guys.

    After every update, I am uploading progress logs. Currently in a JFrame for debugging as still under development. Any other suggestions/notes are welcome and muchly appreciated.

    Spoiler

    Spoiler for logs

    Screenshot_2.jpg.a0072262b20dc0d34735eca764afad8e.jpg

     

     
     

    Thanks to everyone!

     

     

  4. I read the rules like a few minutes back and wonder if I could post that I want to sell something in the spam topic at buyer's responsibility since it is not allowed to pst in the market if you are under 100 pc.

  5. 18 minutes ago, Alek said:

    Well, what are you doing right now?

    Someone is coding me a private script and I don't want the pain of downloading the new jar everytime he codes an update for me and then go and replace it with the old version. I just want it to be ready(up to date).

  6. I have 2 files, main file and another one that I would like imported.

     

    Main file code:

    import org.osbot.rs07.script.Script;
    import org.osbot.rs07.script.ScriptManifest;
    
    @ScriptManifest(author = "SirSkitzo", info = "", logo = "", name = "FirstScript", version = 1)
    
    public class test extends Script {
    
        public void onStart() throws InterruptedException {
            another a = new another();
            a.test();
        }
    
        public int onLoop() throws InterruptedException {
            return 0;
        }
    }

    and on the another class

    import org.osbot.rs07.script.Script;
    
    public class another {
      
    	protected Script script;
    	public another init(Script script){
    		this.script = script;
    		return this;
    	}
    	
    	public void test() {
    		script.log("A message");
    	}
        
    }

    It doesn't work and I keep getting errors from the client. What am I doing wrong and how can I fix this?

×
×
  • Create New...