Jump to content

zachtucker

VIP
  • Posts

    38
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by zachtucker

  1. Also it looks like if your doing a task on a slayer master for example tureal i got ghouls but ghouls doesn't populate in its monster list but in Mazchna even though the profile is setup for that monster on Mazchna doesnt load its presets.

     

     

    Also when i recieved banshees as a task it went to buy earmuffs and just sat there swaping between the regular preset and the earmuffs

  2.  

    Here are some awesome, useful snippets:

     

    DistanceToPoint (Distance from character to point, can be used for finding the closest thing to the character at any distance):

    	private int distanceToPoint(int pointX,int pointY) {
    		return (int) Math.sqrt(Math.pow(this.client.getMyPlayer().getX() - pointX, 2) + Math.pow(this.client.getMyPlayer().getY() - pointY, 2));
    	} 

     Get XP for Level:

    	public int getXPForLevel(int level) {
    		int points = 0;
    		int output = 0;
    		for (int lvl = 1; lvl <= level; lvl++) {
    			points += Math.floor((double)lvl + 300.0 * Math.pow(2.0, (double)lvl / 7.0));
    			if (lvl >= level)
    				return output;
    			output = (int)Math.floor(points / 4);
    		}
    		return 0;
    	}
    

    Get Level for XP:

    	public int getLevelForXP(int exp) {
    		int points = 0;
    		int output = 0;
    		if (exp > 13034430)
    			return 99;
    		for (int lvl = 1; lvl <= 99; lvl++) {
    			points += Math.floor((double) lvl + 300.0
    					* Math.pow(2.0, (double) lvl / 7.0));
    			output = (int) Math.floor(points / 4);
    			if (output >= exp) {
    				return lvl;
    			}
    		}
    		return 0;
    	}
    

    ALL OF THIS IS USELESS

     

    Plus all of these snippets are from rsps servers

    • Like 1
  3. he is right tho, most scripts have flaws the creators just dont feel like fixing.

    And how many scripts have you made not hating but it takes time bud , and the osbot api is still developing , idk if anyone has noticed but this is still in beta soo everyone just calm down. I'm sure better non bugged scripts will come out.....

  4. We need to get somewhat decent scripts, not half asses scripts... Lets go people. All i see on the scripts page are half done scripts. If anyone can find me a script I can run 10+ hours with great anti-ban please link it below... Until then people lets go on finishing a script... For example, how do we not have a working rock crabs and/or aiofisher? 

    how about you go make your own scripts if your so damn worried...

×
×
  • Create New...