abouhanafy87
-
Posts
118 -
Joined
-
Last visited
Posts posted by abouhanafy87
-
-
i need to check an item in bank without opening or going to bank so i try to use Bank.getBankHistoryCache() . but when i try to check it i found an empty list >
this is my try
public int onLoop() {
if(Bank.getBankHistoryCache().isEmpty()){
Logger.log("bank cache is empty");
}else {
for (Item item : Bank.getBankHistoryCache()) {
Logger.log("BankHCache " + item.getName() + " :: " + item.getAmount());
}
}return 500;
}
this is the results :
5:25:12 PM [SCRIPT] bank cache is empty
5:25:12 PM [SCRIPT] bank cache is empty
5:25:13 PM [SCRIPT] bank cache is empty
5:25:14 PM [SCRIPT] bank cache is empty
5:25:15 PM [SCRIPT] bank cache is empty
5:25:16 PM [SCRIPT] bank cache is empty
5:25:16 PM [SCRIPT] bank cache is empty
5:25:12 PM [SCRIPT] bank cache is empty
-
On 3/23/2024 at 8:06 PM, 2name said:
sometime you need download the new client
Im in the latest version
-
Can't login to new jagex account in windows 7 .
The launcher load some things like browser and freeze
-
Worlds 317,318 not target world
-
run dreambot lancher and then click patch and click unpatch
-
my scripts didn't work . didn't do any thing ?
yesterday it work fine . but today not !
is any client update come soon ?
-
21 hours ago, Sandman said:
Just keeps telling me I have given an incorrect pw or user for every new character I try to create, only ones that work are the first 3 I created...wtf? I'm dong the exact same thing on every character how do only 3 of them work??
same i
-
the client didn't run ?
2:24:36 PM: [INFO] Successfully loaded web nodes (latest)!
2:24:37 PM: [INFO] Connecting to server...
2:24:39 PM: [INFO] Starting new instance...
2:24:40 PM: [INFO] You have successfully been logged in as abouhanafy87!
2:24:40 PM: [INFO] Your current rank(s):
[VIP]
2:24:41 PM: [INFO] Attempting to connect to OSRS...
2:24:41 PM: [INFO] Connection successful!
2:24:41 PM: [INFO] Attempting to start new applet...
2:24:42 PM: [INFO] Downloading gamepack...
2:24:43 PM: [INFO] Downloading gamepack...
2:24:44 PM: [INFO] Downloading gamepack...
2:24:45 PM: [INFO] Downloading gamepack...
2:24:46 PM: [INFO] Downloading gamepack...
2:24:47 PM: [INFO] Downloading gamepack...
2:24:47 PM: [INFO] Preparing gamepack for start...
2:24:47 PM: [INFO] Gamepack downloaded successfully!
2:24:56 PM: [ERROR] Could not find method node for injectable projectilelistener, injection not attempted
2:24:56 PM: [ERROR] Could not find method node for injectable scripts, injection not attempted
2:24:56 PM: [ERROR] Could not find method node for injectable gamethread, injection not attempted
2:24:56 PM: [ERROR] Could not find method node for injectable updates, injection not attempted
2:24:56 PM: [ERROR] Could not find method node for injectable animate, injection not attempted
2:24:56 PM: [ERROR] Could not find method node for injectable drawModels, injection not attempted
2:24:56 PM: [ERROR] Could not find method node for injectable processuid, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable region, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable region, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable region, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable region, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable region, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable spawnlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable animationlistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable menu, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable menulistener, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable widgets, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable widgets, injection not attempted
2:24:57 PM: [ERROR] Could not find method node for injectable hitsplatslistener, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable experimental, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable menu, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable menulistener, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable region, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable itemListener, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable actionlistener, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable actionlistener, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable drawwidgets, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable messageListener, injection not attempted
2:24:58 PM: [ERROR] Could not find method node for injectable loginlistener, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable tick, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable animationlistener, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable spawnListener, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable spawnListener, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable loginlistener, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable fps, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable gamethread, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable loginlistener, injection not attempted
2:24:59 PM: [ERROR] Could not find method node for injectable widgets, injection not attempted
2:25:00 PM: [ERROR] Could not find method node for injectable loginlistener, injection not attempted
2:25:07 PM: [ERROR] Exception in thread "Game"
2:25:07 PM: [ERROR] java.lang.ClassFormatError: Method 0 in class re has illegal modifiers: 0x1
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.defineClass1(Native Method)
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
2:25:07 PM: [ERROR] at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
2:25:07 PM: [ERROR] at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.defineClass1(Native Method)
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
2:25:07 PM: [ERROR] at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
2:25:07 PM: [ERROR] at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
2:25:07 PM: [ERROR] at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
2:25:07 PM: [ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
2:25:07 PM: [ERROR] at org.dreambot.59.9(59.java)
2:25:07 PM: [ERROR] at org.dreambot.59.1(59.java)
2:25:07 PM: [ERROR] at org.dreambot.35.0(35.java)
2:25:07 PM: [ERROR] at org.dreambot.core.Instance.run(Instance.java)
2:25:07 PM: [ERROR] at java.base/java.lang.Thread.run(Thread.java:833)
2:29:59 PM: [INFO] [SYSTEM INFO] DreamBot Version: 3.23.14 / Script Running: None / Java: Oracle Corporation version 17.0.8 / OS: Windows 10 version 10.0 / Memory: 156.29MB used out of 222.00MB total -
can you make " hide account name or email " a choise in client settings ?
-
Hello dreambot admin. Any way to sell me vip for osrs gold. I dont have credit card 💳 and in Egypt denied to buy with dollar any solution for us .
-
On 2/13/2023 at 12:00 AM, Pandemic said:
Hey there, the default walker can actually take care of most of the work for what we have mapped (which is a fair bit). Generally if you want to walk somewhere you can just call Walking.walk(tile) and we'll handle the actual pathfinding and obstacle handling.
handle this => Walking .walk(Tzhaar_area);
@Pandemic I think it's time to make an example for walking a path .
thanks a lot .
-
On 2/13/2023 at 12:00 AM, Pandemic said:
Hey there, the default walker can actually take care of most of the work for what we have mapped (which is a fair bit). Generally if you want to walk somewhere you can just call Walking.walk(tile) and we'll handle the actual pathfinding and obstacle handling.
can not walking in Tzhaar area i think it's the time to .
-
Hey there, i try to Walking.walk(Tzhaar area tile ) and your walking.walk stopped and wasn't move any steps !
can you make it walking in Tzhaar
-
-
client 3.17.1 didn't load game !!
4:36:34 AM: [INFO] Connecting to server...
4:36:35 AM: [INFO] Successfully downloaded web nodes (latest)!
4:36:35 AM: [INFO] Starting new instance...
4:36:36 AM: [INFO] You have successfully been logged in as abouhanafy87!
4:36:36 AM: [INFO] Your current rank(s):
[VIP]
4:36:37 AM: [INFO] Attempting to connect to OSRS...
4:36:39 AM: [INFO] Connection successful!
4:36:39 AM: [INFO] Attempting to start new applet...
4:36:39 AM: [WARN] Failed to obtain the size of the gamepack. Launching like normal.
4:36:39 AM: [INFO] Preparing gamepack for start...
4:36:55 AM: [INFO] Successfully started new applet!
4:36:56 AM: [ERROR] Error loading worlds:
java.lang.ArrayIndexOutOfBoundsException: 8674
at org.dreambot.4i.3(4i.java:73)
at org.dreambot.api.methods.world.Worlds.0(Worlds.java:72)
at org.dreambot.api.methods.world.Worlds.all(Worlds.java:200)
at org.dreambot.api.methods.world.Worlds.all(Worlds.java:233)
at org.dreambot.api.methods.world.Worlds.getRandomWorld(Worlds.java:352)
at org.dreambot.4b.2(4b.java:98)
at org.dreambot.core.Instance.run(Instance.java:305)
at java.lang.Thread.run(Unknown Source)4:37:34 AM: [INFO] [SYSTEM INFO] DreamBot Version: 3.17.1 / Script Running: None / Java: Oracle Corporation version 1.8.0_333 / OS: Windows 10 version 10.0 / Memory: 220.22MB used out of 315.00MB total
-
If we can pay with osrs gold . Waw!
-
i decide to upgrade to vip lifetime but i didn't find it in the store ?!
where is it?
-
some times world list is freezing when i hop to world . but when i close the client and run it again it work well !
freezing meaning no worlds in world list = the widget is empty .
please help . 7 accounts is banned for now .
-
On 4/2/2023 at 11:09 PM, Presumptuous said:
My fishing script uses Bank.open() and has not had an issue reaching Lumbridge Bank from the swamp.
Are your script take this path : lumb entrance -> middle room -> lumb kitchen .
if it is . you can say "My fishing script uses Bank.open() and has not had an issue reaching Lumbridge Bank from the swamp.".
thank you.
-
14 hours ago, Presumptuous said:
Why not use Bank.open() or Bank.open(BankLocation.LUMBRIDGE), this will do the walking and open the bank if that is what you intend to do.
i think Bank.open() or Bank.open(BankLocation.LUMBRIDGE) will use Walking.walk(BankLocation.LUMBRIDGE) and if use this path =lumb entrance -> middle room -> lumb kitchen it will do the same thing => sleeping and can't do the next step to the ladder .
-
Walking to lumbridg bank .
Walking.walk(BankLocation.lumbridg);
it takes the steps like this : the problem in this way ->
lumb entrance -> middle room -> lumb kitchen : here it stand for 1 hour didn't move to the ladder .
it do this every time with this way !!
-
Bank.depositallitem
-
20 hours ago, hashbang said:
Nice first attempt.
There is a huge amount of repeated code in there, each case of the switch statement is basically the same code. One way you could simplify this is by storing a map of Skills & their corresponding WidgetChild Ids, then you can grab the child widget id as a variable and pass it into the widget interaction block.
static Map<Skill, Integer> SKILL_WIDGETID_MAP = new HashMap<>(){{ put(Skill.ATTACK, 2); put(Skill.STRENGTH, 3); put(Skill.RANGED, 4); //TODO: Add all other skills here }}; public void SolveGeniLamp(Skill skill) { Item item = Inventory.get(it-> it.getName().equals("Lamp") && it.hasAction("Rub")); if (item == null) { return; // Return early, nothing to do. } if (item.interact("Rub")) { Sleep.sleep(1000, 1500); / Widget chooseSkillWidget = Widgets.getWidget(240); if (chooseSkillWidget != null && chooseSkillWidget.isVisible()){ Integer childId = SKILL_WIDGETID_MAP.get(skill); if (childId == null) { Logger.error("Unknown Child Widget id for Skill " + skill.toString()); return; } WidgetChild wig = Widgets.getChildWidget(240, childId); WidgetChild widg = Widgets.getChildWidget(240, 26); if (wig != null && wig.isVisible()) { if (wig.interact()) { Sleep.sleep(500,1200); widg.interact(); } } else { Widgets.closeAll(); } } } }
good job man 👏
-
hi every one .
i hope this script help .
public void SolveGeniLamp(Skill skill){ Item item = Inventory.get(it-> it.getName().equals("Lamp") && it.hasAction("Rub")); if(item != null ){ if(item.interact("Rub")){ Sleep.sleep(1000,1500); Widget choiseSkill = Widgets.getWidget(240); if(choiseSkill != null && choiseSkill.isVisible()){ switch (skill){ case ATTACK: wig = Widgets.getChildWidget(240,2); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case STRENGTH: wig = Widgets.getChildWidget(240,3); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case RANGED: wig = Widgets.getChildWidget(240,4); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case MAGIC: wig = Widgets.getChildWidget(240,5); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case DEFENCE: wig = Widgets.getChildWidget(240,6); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case HITPOINTS: wig = Widgets.getChildWidget(240,7); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case PRAYER: wig = Widgets.getChildWidget(240,8); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case AGILITY: wig = Widgets.getChildWidget(240,9); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case HERBLORE: wig = Widgets.getChildWidget(240,10); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case THIEVING: wig = Widgets.getChildWidget(240,11); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case CRAFTING: wig = Widgets.getChildWidget(240,12); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case RUNECRAFTING: wig = Widgets.getChildWidget(240,13); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case SLAYER: wig = Widgets.getChildWidget(240,14); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case FARMING: wig = Widgets.getChildWidget(240,15); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case MINING: wig = Widgets.getChildWidget(240,16); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case SMITHING: wig = Widgets.getChildWidget(240,17); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case FISHING: wig = Widgets.getChildWidget(240,18); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case COOKING: wig = Widgets.getChildWidget(240,19); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case FIREMAKING: wig = Widgets.getChildWidget(240,20); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case WOODCUTTING: wig = Widgets.getChildWidget(240,21); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case FLETCHING: wig = Widgets.getChildWidget(240,22); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case CONSTRUCTION: wig = Widgets.getChildWidget(240,23); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; case HUNTER: wig = Widgets.getChildWidget(240,24); widg = Widgets.getChildWidget(240,26); if(wig != null && wig.isVisible()){ if(wig.interact()){ Sleep.sleep(500,1200); widg.interact(); } }else Widgets.closeAll(); break; default: Logger.log("ther is no widgit like this"); choiseSkill.close(); } } } } }
BankeCache is always empty
in Local Scripts
Posted
Any idea to read bank without opening like quest helper plugin in runelite