Everything posted by Pug
-
Walker With Basic Obstacle Handling
love how i post the initial idea and then the blue pixels come along and re-do it. lol. Maybe i should post more basic concepts for OSB2 and then we might actually get back to somewhere close of a decent community of free scripts.
-
Path Walking [OSB2]
if useless means then it cant be used to walk from A to B across 50% of runescape without encountering an obstacle then yes you are right lol. 99% of my scripts need this. It can also be adapted very easily to handle any obstacle when in range. But for those just starting out with a script that needs to make it walk, its just the job ;)
-
Path Walking [OSB2]
thanks for the responses guys! all good comments, i want to see lots of free scripts getting put out and re-build this community for the wide range of scripts we had in OSBot1.
-
path walking
thanks posted it here: http://osbot.org/forum/topic/55010-path-walking-osb2/?p=613279 hope you don't mind, thanks again.
-
Path Walking [OSB2]
needed this and @Pandemic was kind enough to donate his. So in the interest of the community and for new scriptwriters to learn the art of walking in there script which is pretty pivotal im posting an example here so everyone can use it in the future of OSB2. feel free to post improvements. import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.util.LocalPathFinder; import org.osbot.rs07.input.mouse.MiniMapTileDestination; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.Area; @ScriptManifest(name="name", author="author", info="info", logo="", version=0.1D) public final class walker extends Script { // area declarations private static final Area vWestBank = new Area(3186, 3433, 3180, 3437); private static final Area vEastBank = new Area(3256,3420,3250,3423); // walking path ( walks from varrock west to varrock east bank private final Position[] pathToWalk = { new Position(3182, 3436,0), new Position(3189, 3430,0), new Position(3200, 3429,0), new Position(3211, 3428,0), new Position(3223, 3429,0), new Position(3233, 3430,0), new Position(3244, 3429,0), new Position(3254, 3428,0), new Position(3254, 3420,0) }; @Override public int onLoop() throws InterruptedException { if(!vEastBank.contains(myPlayer())) { log("not in east bank, walking"); walkPath(pathToWalk); } if(vEastBank.contains(myPlayer())) { log("made it!"); stop(); } return 300; } //walking methods public void walkPath(Position[] path) throws InterruptedException { for (Position p : path) { if (myPosition().distance(p) > 16 || myPosition().distance(p) < 3) continue; boolean success; do { success = walkTile(p); } while (!success); } } public boolean walkTile(Position p) throws InterruptedException { if (myPosition().distance(p) > 13) { Position pos = new Position(((p.getX() + myPosition().getX()) / 2) + random(-3, 3), ((p.getY() + myPosition().getY()) / 2) + random(-3, 3), myPosition().getZ()); walkTile(pos); } mouse.click(new MiniMapTileDestination(bot, p), false); int fail = 0; while (myPosition().distance(p) > 2 && fail < 10) { sleep(500); if (!myPlayer().isMoving()) fail++; } return fail != 10; } }
-
path walking
does anyone have a smooth path walking system for OSB2 that they would like to share with the community to become common use for all scripts. I had one for my rcer in osb1 but doesnt work very well in the new client. flames & abuse from people shall be reported ;)
- ★___Sean's Bonds/Upgrades Buying & Selling Store ___★
-
Interacting with bank in OSBot 2
client.getBank().depositAll(); also using : bank.depositAll(); is quicker
-
PUG - Buying Lumbridge Tele Tabs ! - PUG
hey guys need lots of tele tabs now and for the foreseeable future. current needs: Amount: 500+ Price Ea: 1100 PM Here or add my Skype: live:pugscripting
-
Selling cheap non flagged VPS's
bought package 2, thanks. Recommend to everyone.
-
{Lifetime Sponsor}[Global Trust Seller]Theresas 07Scape Selling Shop [PP][MB][Wu][Btc][Long-Term Supplier+Trust At Market]
vouch bought from site. It's legit.
-
[Sponsor][100+ fb] Proto's Bond Selling Shop [100+ fb][Sponsor]
thanks dude have a vouch bought a bond, waited for me to load rs for about 5 minutes. tyvm.
-
selling law runes
selling lots of laws pm me here or add my skype to buy amount: 7400 price: 269 ea
-
Ban after ban after ban after ban
idk why all of you change IP's id like to see some evidence that IP's get flagged by jagex. I have had three accounts banned over the last 2-3 months. But since ive started using my new method it seems to be ok. I bot on the same world every day even after the client closes, il open it back up and use the same world. I also turn the bot off a few hours before i go to bed. I then put it back on before i go to work. Ive been doing this for 3 weeks and no ban touch wood.
-
So I got a new car...
beautiful motor mate. We dont have them here in England which is a shame because i would love one. Also agree the rims in the above pic suit the car perfectly.
-
Things that give bots away?
ive just been turning it off when i go to bed for 6 hrs. when ive ran out of ess, gone to sell my runes and buy more ess, generally stand around abit/ log out fuck about then put the bot back on... done that for about a month now and no ban.
- 9000 Law runes - 276 Each
-
Quick Equipment Class for newest update
i decided to test your class out tonight and it worked when i tried it in a test script that returned whether or not there is an item in the ring slot. I implemented it into my script. tested it. didnt work. re-ran the test script and that is also not working now. It doesnt return the item in question just a 6 alphanumeric combination that changes between three combinations upon reading the item in the slot. so it never reads null. After retestign a few times ive discovered that after you wear the ring and have it test for a ring for it to come back true. If you then change tab to inventory and re-open equipment tab take off the ring and go back to inventory again and re-test its not updating the players items being worn. If you logout and then back in and retest it will work once more. any suggestions? code: // upon arriving in bank i call: checkRing(); // check ring method (horrible i know) public void checkRing() throws InterruptedException { log("open inventory tab."); selectInterfaceOption(548, 50, "Inventory"); sleep(1000 + random(100,200)); log("checking if wearing ring"); if(currentTab() != Tab.EQUIPMENT) { log("open equipment tab."); this.equipmentTab.open(); log("sleeping"); sleep(1000 + random(100,120)); log("checking ring."); } if(Equipment.getItemInSlot(client, EquipmentSlot.RING) != null) { log("Have a Ring"); havering = true; } if(Equipment.getItemInSlot(client, EquipmentSlot.RING) == null) { log("No Ring"); havering = false; } } i have my paint display what item your method is churning out and it shows this now:
-
Pug Runecrafter Promo Vid [$]
hello there all you talented graphics people. I am looking for a talented individual to step up and make a promo vid for my runecrafting script. I have the intro done already and it can be found on youtube here: Im looking for something action packed with engaging soundtrack that shows the full range of my script and its money making potential. You will get bonus points if you can make something sound up for the intro to. I can provide the original after fx file or the .mp4 file of the intro if needed. Not fussed about what software you use to achieve the end promo vid, go wild. The script is freely available so if you can get your own raw footage that would be good, however if you cant make the upper level runes i can provide footage in your chosen file format and frame size. not sure if im aloud to pay you for your time/services. If i am then im more than willing to giving you rsgp go wild.
-
How much would I expect to pay for a law crafter?
kind of off topic but look out for my script, il be adding pouches and potions this week, dont be buying a script if you dont need to ;)
- Post your speed here!
- READ
-
2 day ban and police at my goor
smell that? smells like bullshit.
-
Pug - Play sound when mod is near
do you even use the java libraries? you should have a look at the java docs and extend your knowledge, you will find you dont need tool kits then.
-
sotw
without sounding like a gfx wanker, i actually prefer the first one, feels like it has alot more depth?