Everything posted by xlDino
-
Advice on structuring large scripts?
this might help you get started, PM with any questions
-
[Dev Build] OSBot 2.6.68
Would this fix wilderness ditch warning with webwalking? or do i need my own handler
-
Ban waves?
Not true. Post amazon prime bot cleanup day
- Removed
- Dual home IP
-
Finding player orientation
Found this out after hahahahaha
-
Finding player orientation
This method finds what direction the player is facing based on the previous tile, and assigns it to the 'direction' string. private void checkPlayerDirection() { int currentX = myPlayer().getX(); int currentY = myPlayer().getY(); int deltaX = currentX - previousX; int deltaY = currentY - previousY; if (deltaX == 0 && deltaY == 0) { direction = previousDirection; // Use the previous direction when not moving } else if (deltaX == 0) { direction = deltaY > 0 ? "North" : "South"; } else if (deltaY == 0) { direction = deltaX > 0 ? "East" : "West"; } else if (deltaX > 0) { direction = deltaY > 0 ? "North-East" : "South-East"; } else { direction = deltaY > 0 ? "North-West" : "South-West"; } if (!direction.equals(previousDirection)) { log("Player is facing: " + direction); previousDirection = direction; } } onStart previousX = myPlayer().getX(); previousY = myPlayer().getY(); onLoop checkPlayerDirection(); previousX = myPlayer().getX(); previousY = myPlayer().getY(); Variables int previousX; int previousY; String direction; String previousDirection; Usage if(direction == "North") { //do something }
-
Check which way the player is facing? Not the compass, the player.
- projectile/animation based prayer switching
public void projectilePrayerSwitch() { for (Projectile p : projectiles.getAll()) { if (p.getId() == 2176) { log("NPC attacked with magic!"); prayer.set(PrayerButton.PROTECT_FROM_MAGIC, true); } else if (p.getId() == 2178) { log("NPC attacked with ranged!"); prayer.set(PrayerButton.PROTECT_FROM_MISSILES, true); } } } and animations public void animationPrayerSwitch() { // Iterate over all NPCs for (NPC npc : npcs.getAll()) { // Get the current animation ID of the NPC int animationId = npc.getAnimation(); // Check if the NPC is attacking with magic if (animationId == 711) { log("NPC attacked with magic!"); // Activate Protect from Magic prayer.set(PrayerButton.PROTECT_FROM_MAGIC, true); } // Check if the NPC is attacking with ranged else if (animationId == 249 || animationId == 250) { log("NPC attacked with ranged!"); // Activate Protect from Missiles prayer.set(PrayerButton.PROTECT_FROM_MISSILES, true); } } }- Accounts
- Got banned after 2:50 Hours of Agility
Yea, not the average rs player. Bot to simulate the average player, not the top 0.1% and your bans WILL decrease- Got banned after 2:50 Hours of Agility
Currently 70+ agility on multiple accounts. Bans are at an all time low using stealth mode + new mouse. If botting agility you should babysit and only bot 20-30mins at a time, with frequent breaks. Would you sit and do 3 hours of agility irl?- Fury AIO Looter
- Stealth Quester
Any chance to add family crest for goldsmith gauntlets?- Fruity Zulrah Killer
Got it figured out, script is running flawlessly now! Not using ibans- Getting back into botting, what script should I make?
Long term user here, I'm looking to make a script. It will be fully open source, and community lead. So for starters, are there any niche's that could be filled? What would be a good start that's not been done to death? Hopefully this is the start of something great!- Fruity Zulrah Killer
No support for ibans staff/rune pouch?- Czar Guardians of the Rift
Does script support the agility shortcut?- Perfect Pest Control
Script is taking a long time to startup. Wont show correct XP gained in combat skill, and wont alch cause it thinks im out of nature runes (they're in my rune pouch)! Just thought i'd let you know- Perfect Pest Control
Could I get a trial please?- ezCannon
- 👑 Perfect Czar Free Trials & Demos 👑 MOST POPULAR 👑 HIGHEST QUALITY 👑 MOST TOTAL USERS 👑 LOWEST BAN-RATES 👑 24/7 SUPPORT 👑 SINCE 2015 👑 MANY SKILLS 👑 MOST VIEWS 👑 MOST REPLIES 👑
Oh sweet, I'll report back here in a few days!- 👑 Perfect Czar Free Trials & Demos 👑 MOST POPULAR 👑 HIGHEST QUALITY 👑 MOST TOTAL USERS 👑 LOWEST BAN-RATES 👑 24/7 SUPPORT 👑 SINCE 2015 👑 MANY SKILLS 👑 MOST VIEWS 👑 MOST REPLIES 👑
- PC username login osrs acc/hunter alt
- Selling 50m OSRS for $25 Interac e-transfer
Title says it all! willing to use a middleman looking for $25 CAD pm me on discord xlDino#8544 - projectile/animation based prayer switching