Jump to content

Xobot 2.4 Developement (Progress)


Neo
 Share

Recommended Posts

12 minutes ago, Neo said:

Bank.withdraw(id, Integer.MAX_VALUE);

Others sound like good suggestions :)

Noticed there were some new staff(Updated List):

Aleksandr
Leila
Danny
Julius
Ray
Melo
Alec
Jagex
Hunter
No Scopes
Hi Its Janae
Ali
Bartra
King kaiser
Benhammer
Jambita
Angel Ranger
Cedric
Fearless
Escape
Woah
Nexus
Leanbow
Trumps
Diamondfan

And how they detect bots is mostly if some1 Pm's any staff(Included all in the list, mods/supporters/developers/owner/admins) is that they will come and try to talk to you.

And thanks for that withdraw :)

Edited by Death Dead
Link to comment
Share on other sites

  • Replies 36
  • Created
  • Last Reply

Top Posters In This Topic

4 hours ago, Cyanic said:

Ran into an api issue Prayers isn't working
3976883ebd.png

 

Import cannot be found/Resolved

if you really need to use prayer you can use my class:
 

package pepsip77.pSlayer.methods.prayer;

import pepsip77.pSlayer.data.Data;
import pepsip77.pSlayer.methods.Methods;
import pepsip77.pSlayer.methods.SleepCondition;
import xobot.script.methods.Packets;
import xobot.script.methods.Settings;

public enum Prayer_ {
	/*do your stuff*/
	private enum MODERN {
		THICK_SKIN(1, 83, 5609),
		BURST_OF_STRENGTH(4, 84, 5610),
		CLARITY_OF_THOUGHT(7, 85, 5611),
		SHARP_EYE(8, 601, 18000),
		MYSTIC_WILL(9, 602, 18002),
		ROCK_SKIN(10, 86, 5612),
		SUPERHUMAN_STRENGTH(13, 87, 5613),
		IMPROVED_REFLEXES(16, 88, 5614),
		RAPID_RESTORE(19, 89, 5615),
		RAPID_HEAL(22, 90, 5616),
		PROTECT_ITEM(25, 91, 5617),
		HAWK_EYE(26, 603, 18004),
		MYSTIC_LORE(27, 604, 18006),
		STEEL_SKIN(28, 92, 5618),
		ULTIMATE_STRENGTH(31, 93, 5619),
		INCREDIBLE_REFLEXES(34, 94, 5620),
		PROTECT_FROM_SUMMONING(35, 609, 17900),
		PROTECT_FROM_MAGIC(37, 95, 5621),
		PROTECT_FROM_MISSILES(40, 96, 5622),
		PROTECT_FROM_MELEE(43, 97, 5623),
		EAGLE_EYE(44, 605, 18008),
		MYSTIC_MIGHT(45, 606, 18010),
		RETRIBUTION(46, 98, 683),
		REDEMPTION(49,99, 684),
		SMITE(52, 100, 685),
		CHIVALRY(60, 607, 18012),
		RAPID_RENEWAL(65, 612, 17906),
		PIETY(70, 608, 18014),
		RIGOUR(74, 610, 17902),
		AUGURY(77, 611, 17904);

		private final int level;
		private final int settingId;
		private final int action;
		
		MODERN(int level, int settingId, int action) {
			this.level = level;
			this.settingId = settingId;
			this.action = action;
		}
		
		public int getLevel() {
			return level;
		}
		
		public int getSettingId() {
			return settingId;
		}
		
		public int getAction() {
			return action;
		}
		
		public boolean isActive() {
			return Settings.get(getSettingId()) == 1;
		}
		
		public void activate() {
			if (!isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return isActive();
					}
				}, 1500);
			}
		}
		
		public void deactivate() {
			if (isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return !isActive();
					}
				}, 1500);
			}
		}
	}
	
	private enum ANCIENT {
        PROTECT_ITEM(50, 83, 22503),
        SAP_WARRIOR(50, 84, 22505),
        SAP_RANGER(52, 85, 22507),
        SAP_MAGE(54, 101, 22509),
        SAP_SPIRIT(56, 102, 22511),
        BERSERKER(59, 86, 22513),
        DEFLECT_SUMMONING(62, 87, 22515),
        DEFLECT_MAGIC(65, 88, 22517),
        DEFLECT_MISSILE(68, 89, 22519),
        DEFLECT_MELEE(71, 90, 22521),
        LEECH_ATTACK(74, 91, 22523),
        LEECH_RANGE(76, 103, 22525),
        LEECH_MAGIC(78, 104, 22527),
        LEECH_DEFENCE(80, 92, 22529),
        LEECH_STRENGTH(82, 93, 22531),
        LEECH_ENERGY(84, 94, 22533),
        LEECH_SPECIAL_ATTACK(86, 95, 22535),
        WRATH(89, 96, 22537),
        SOUL_SPLIT(92, 97, 22539),
        TURMOIL(95, 105, 22541);

		private final int level;
		private final int settingId;
		private final int action;
		
		ANCIENT(int level, int settingId, int action) {
			this.level = level;
			this.settingId = settingId;
			this.action = action;
		}
		
		public int getLevel() {
			return level;
		}
		
		public int getSettingId() {
			return settingId;
		}
		
		public int getAction() {
			return action;
		}
		
		public boolean isActive() {
			return Settings.get(getSettingId()) == 1;
		}
		
		public void activate() {
			if (!isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return isActive();
					}
				}, 1500);
			}
		}
		
		public void deactivate() {
			if (isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return isActive();
					}
				}, 1500);
			}
		}
	}
}

 

Link to comment
Share on other sites

10 hours ago, Cyanic said:

Ran into an api issue Prayers isn't working
3976883ebd.png

 

Import cannot be found/Resolved

Are you adding latest jar into your eclipse lib? if it's still not working try import xobot.script.methods.tabs.Prayer.*; or import xobot.script.methods.tabs.Prayer;

Link to comment
Share on other sites

11 minutes ago, Neo said:

Are you adding latest jar into your eclipse lib? if it's still not working try import xobot.script.methods.tabs.Prayer.*; or import xobot.script.methods.tabs.Prayer;

import xobot.script.methods.tabs.Prayer;

is already added

Link to comment
Share on other sites

6 hours ago, pepsip77 said:

if you really need to use prayer you can use my class:
 


package pepsip77.pSlayer.methods.prayer;

import pepsip77.pSlayer.data.Data;
import pepsip77.pSlayer.methods.Methods;
import pepsip77.pSlayer.methods.SleepCondition;
import xobot.script.methods.Packets;
import xobot.script.methods.Settings;

public enum Prayer_ {
	/*do your stuff*/
	private enum MODERN {
		THICK_SKIN(1, 83, 5609),
		BURST_OF_STRENGTH(4, 84, 5610),
		CLARITY_OF_THOUGHT(7, 85, 5611),
		SHARP_EYE(8, 601, 18000),
		MYSTIC_WILL(9, 602, 18002),
		ROCK_SKIN(10, 86, 5612),
		SUPERHUMAN_STRENGTH(13, 87, 5613),
		IMPROVED_REFLEXES(16, 88, 5614),
		RAPID_RESTORE(19, 89, 5615),
		RAPID_HEAL(22, 90, 5616),
		PROTECT_ITEM(25, 91, 5617),
		HAWK_EYE(26, 603, 18004),
		MYSTIC_LORE(27, 604, 18006),
		STEEL_SKIN(28, 92, 5618),
		ULTIMATE_STRENGTH(31, 93, 5619),
		INCREDIBLE_REFLEXES(34, 94, 5620),
		PROTECT_FROM_SUMMONING(35, 609, 17900),
		PROTECT_FROM_MAGIC(37, 95, 5621),
		PROTECT_FROM_MISSILES(40, 96, 5622),
		PROTECT_FROM_MELEE(43, 97, 5623),
		EAGLE_EYE(44, 605, 18008),
		MYSTIC_MIGHT(45, 606, 18010),
		RETRIBUTION(46, 98, 683),
		REDEMPTION(49,99, 684),
		SMITE(52, 100, 685),
		CHIVALRY(60, 607, 18012),
		RAPID_RENEWAL(65, 612, 17906),
		PIETY(70, 608, 18014),
		RIGOUR(74, 610, 17902),
		AUGURY(77, 611, 17904);

		private final int level;
		private final int settingId;
		private final int action;
		
		MODERN(int level, int settingId, int action) {
			this.level = level;
			this.settingId = settingId;
			this.action = action;
		}
		
		public int getLevel() {
			return level;
		}
		
		public int getSettingId() {
			return settingId;
		}
		
		public int getAction() {
			return action;
		}
		
		public boolean isActive() {
			return Settings.get(getSettingId()) == 1;
		}
		
		public void activate() {
			if (!isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return isActive();
					}
				}, 1500);
			}
		}
		
		public void deactivate() {
			if (isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return !isActive();
					}
				}, 1500);
			}
		}
	}
	
	private enum ANCIENT {
        PROTECT_ITEM(50, 83, 22503),
        SAP_WARRIOR(50, 84, 22505),
        SAP_RANGER(52, 85, 22507),
        SAP_MAGE(54, 101, 22509),
        SAP_SPIRIT(56, 102, 22511),
        BERSERKER(59, 86, 22513),
        DEFLECT_SUMMONING(62, 87, 22515),
        DEFLECT_MAGIC(65, 88, 22517),
        DEFLECT_MISSILE(68, 89, 22519),
        DEFLECT_MELEE(71, 90, 22521),
        LEECH_ATTACK(74, 91, 22523),
        LEECH_RANGE(76, 103, 22525),
        LEECH_MAGIC(78, 104, 22527),
        LEECH_DEFENCE(80, 92, 22529),
        LEECH_STRENGTH(82, 93, 22531),
        LEECH_ENERGY(84, 94, 22533),
        LEECH_SPECIAL_ATTACK(86, 95, 22535),
        WRATH(89, 96, 22537),
        SOUL_SPLIT(92, 97, 22539),
        TURMOIL(95, 105, 22541);

		private final int level;
		private final int settingId;
		private final int action;
		
		ANCIENT(int level, int settingId, int action) {
			this.level = level;
			this.settingId = settingId;
			this.action = action;
		}
		
		public int getLevel() {
			return level;
		}
		
		public int getSettingId() {
			return settingId;
		}
		
		public int getAction() {
			return action;
		}
		
		public boolean isActive() {
			return Settings.get(getSettingId()) == 1;
		}
		
		public void activate() {
			if (!isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return isActive();
					}
				}, 1500);
			}
		}
		
		public void deactivate() {
			if (isActive()) {
				Packets.sendAction(169, -1, -1, getAction());
				Methods.conditionalSleep(new SleepCondition() {
					@Override
					public boolean isValid() {
						return isActive();
					}
				}, 1500);
			}
		}
	}
}

 

Thanks mate

Link to comment
Share on other sites

35 minutes ago, Cyanic said:

Incorrect because prayer.prayers isn't found 

may have to push the updated Client  

got renamed from obfuction to Prayer$Prayers will fix it in next release :)

Edited by Neo
Link to comment
Share on other sites

  • Neo locked and unpinned this topic
Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...