Jump to content

iJodix

Trade With Caution
  • Posts

    1025
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by iJodix

  1. I was busy for a while .. that doesn't mean i am ignoring, that is not nice of you to post a dispute without even waiting a reply from me on skype.

     

    Anyways, the information i gave you is 100% correct, you also have the information about the account/you own it right now, how am i now supposed to take it back if you have the information of the account .. ?

  2. I think the first question is, what did you do to make it not listen to keys when unfocused. The bot runs fine minimized by default

     

    What i am trying to achieve here is that when i press a key, it'll perform something.

    So for example if i have 10 bot clients open, not minimized but on screen and i press a key, i want all 10 to listen to the key.

  3. So if i have current loaded region tiles loaded into a list, how am i supposed to generate a straight path(ignoring objects) to npc using those tiles ?

    Someone told me to use A* algorithm but i have no ideas where to start, welps ?

  4. okay yea i didnt know, but kinda guessed, that walking event works only in the loaded areas. and i think WebWalkEvent is exactly what i needed, ill try to implement it, but what does it take in? and do i have to create like a web or something for it to work?

     

    paths seem like a simple and efficient way to do things but im trying to make something that walks from anywhere to a certain spot and i dont think i would be able to do that.

    Generate a path with INodeRouteFinder, then add those positions to a list and you're done but you'd have to add object/npc/teleport interacting your own then.

  5.     1. Pictures of the account stats

    e85098219e53827961dbff90893a56d6.png

        2. Pictures of the login details

    54c7e8305c3e6841aaf07b709d7bea68.png

        3. Pictures of the total wealth (if there is any)

    d60e0b8b5e78ff12498cbeaefbde1d97.png

        4. Pictures of the quests completed

    67dfd845620dd8e5832eb7e1baae32ae.png

        5. The price you will be starting bids at 40m

        6. The A/W (Auto-win) for your account 150m

        7. The methods of payment you are accepting 07 gp, pp if trusted

        8. Your trading conditions -  negotiable

        9. Pictures of the account status

    5f71253bc73208e3951e9f3865499bd4.png

       10. Original/previous owners AND Original Email Address 

           I am the OO and email will be changed to buyers

  6. public RS2Object getClosestObject(Script script, Position position) {
    	List<RS2Object> allObjects = script.objects.getAll();
    	if (allObjects.size() == 0) {
    		script.log("No objects found");
    		return null;
    	} else if (allObjects.size() == 1) {
    		return allObjects.get(0);
    	}
    	allObjects.sort(new Comparator<RS2Object>() {
    		@Override
    		public int compare(RS2Object obj1, RS2Object obj2) {
    			return obj1.getPosition().distance(position) - obj2.getPosition().distance(position);
    		}
    	});
    	return allObjects.get(0);
    }

    If it returns the furthest object, reverse the operation in the Comparator.

     

    thanks

×
×
  • Create New...