Everything posted by imancity
-
Where to find looting bot?
Private bots, can confirm, have one myself.
-
Help me?
Sorry man this was tough to read and I can't imagine how it is to endure. I've been in a relationship for 4 years now and I'm lucky for everything to be okay, but had something like this happened everything people are saying to do would be a lot easier said than done. That being said, give yourself a day to cope and recover but don't be alone for too long. Go be with family/call some friends over, make a plan, and get on it. Try talking to her family/siblings and get them to see your side. Look into a lawyer for sure. Most of all keep your head up, it'll be okay. If you need anything else feel free to post/PM, the people of this forum are pretty nice. Good luck!
-
Any experienced scripter willing to help?
Haven't used Skype in ages, but I'll find my login and send you it later, appreciate it!
-
Any experienced scripter willing to help?
So I have a script I made (don't wanna say what it is just yet), but there's still a few kinks to work out. I feel like it'll be a good money-making script, and I haven't seen it before. This is only my third script and I've never coded before, so I am pretty bad at Java. If you are willing to help look over my code and help out, I would of course credit you when releasing it. I also want to see if it's worth figuring out how to submit to SDN or nah. Thanks!
-
LONG Dialogue Help!
Yess!!! perfect! my man, thanks so much. Its going! Hey, do you mind if I PM you a few questions and etc about my script. Its one I havent seen anywhere and if it runs good I wanna see what I should do with it. (never tried to release to SDN before)
-
LONG Dialogue Help!
Hmm I tried this and now he just clicks the NPC and doesn't go through the dialogue at all. Does anyone else have any ideas? I'm stumped.
-
LONG Dialogue Help!
So the final puzzle to my new script. This dialogue begins with 11 "Click to Continues", followed by a option 3, followed by 7 more "Click to Continues". In the middle of the last 7 the player receives an object at which point I have it set that my player automatically uses it, cutting off the dialogue like it should. My problem is that I've only gotten him to get through it once. First I had 19 different If/then statements in order, but that didn't work. I tried throwing in some while statements but no. He goes randomly 3 or 4 continues in and then just stops. Here is my latest attempt, I've changed the names until I finish the script, its a surprise (if you guess it, shh!). I'm not sure what to do. if ((AREA.contains(myPosition())) && (!getDialogues().inDialogue())) { npcs.closest("THEDUDE").interact("Talk-to"); new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return getDialogues().inDialogue(); } }.sleep(); if(dialogues.inDialogue()) { if (dialogues.isPendingContinuation() && (!getInventory().contains("THEITEM"))) { if(dialogues.clickContinue()) { sleep(random(100, 300)); } } else if (dialogues.isPendingOption()) { if(dialogues.selectOption(3)) { sleep(random(100, 300)); } } } Any help is appreciated! Will be back on tomorrow to fix it.
- Bank chest help!
-
Bank chest help!
Thank you!! Worked perfect. Any chance you're online atm and would be willing to look over my script over PM? I got it to do 80% of what I want, but one part is stumping me
-
Bank chest help!
How do I use em lol. I get my player right next to one. I just need it to open!
-
How do I interact two items in the inventory?
Thanks man!
-
How do I interact two items in the inventory?
I need to be able to use one item on another in the inventory. It isn't fletching or anything so it wont "make x" its just gonna use it once and then loop again. Let's say its using a "blue dye" on "goblin mail".
- VIP Payment Question!
-
VIP Payment Question!
It says VIP is a recurring payment, so if I pay 9.99 this month, will it auto renew or can I cancel that if I'll be gone for a few months this Summer.
-
iManCity's FREE KebabBuyer | Simple | Fast | 30k+/hr!
I'll be honest; it being my first time coding, I was not too sure how to do that in IntelliJ. Tried exporting/saving/compiling but didn't seem to work and it was late so I just wanted to put it up.
-
Looting Script Help!
I used bits and pieces from other open scripts to try to get an idea for how to write mine, and I hadn't finished up cleaning it completely. I know there is some useless stuff and definitely some stuff I did wrong, but it seemed to at least run which was good for a start for me lol. Thanks a ton for the help, I'm gonna sift through this and study and edit it to make this correctly, I appreciate it!
-
Looting Script Help!
Hello! So I had an idea to make a adamant arrow looting script. It would be good for low levels to run in the Edgeville wild in f2p worlds. So far the script runs to the wild, and it does loot, but it seems to take its time. It doesn't immediately jump at an arrow pile when it sees one. Also, how can i make it move around in 'search' of more arrows? Along with that, it'd be cool to add a loot counter and price calculator, would that be difficult? Only my second time coding scripts, any help is appreciated. Here is my current code, hopefully doesn't get my idea stolen :P import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.model.GroundItem; import org.osbot.rs07.script.Script; import org.osbot.rs07.api.map.Area; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(name="Edgeville Arrow Looter", author="iManCity", version=1.0, info="", logo="") public class EdgevilleArrowLooter extends Script { GroundItem arrows; private final Area edgevilleBank = new Area(3092, 3494, 3098, 3498); private final Area edgevilleWild = new Area(3070, 3527, 3100, 3548); int sleep; long startTime; boolean hasMoved = false; Thread tasks = new Thread(); public void onStart() { this.startTime = System.currentTimeMillis(); } public void onExit() { } public int onLoop() throws InterruptedException { this.sleep = EdgevilleArrowLooter.random((int)200, (int)400); this.arrows = (GroundItem)this.groundItems.closest(new String[]{"Adamant arrow"}); if (!edgevilleWild.contains(myPosition())){ getWalking().webWalk(edgevilleWild); } if (this.arrows.getAmount() <25 && this.arrows != null && this.groundItems.closest(new String[]{"Adamant arrow"}) != null) { if (this.map.canReach((Entity) this.arrows) && !this.arrows.isOnScreen() && !this.isPlayerAnimating()) { this.walking.walk((Entity)this.arrows); } if (!this.isPlayerAnimating()) { this.arrows.interact(new String[]{"Take"}); } } if (this.arrows.getAmount() >= 100) getWalking().webWalk(edgevilleBank); if (!getBank().isOpen()) { getBank().open(); } else { getBank().depositAll(); getBank().close(); } return EdgevilleArrowLooter.random((int)300, (int)600); } public boolean isPlayerAnimating() throws InterruptedException { int i = 0; while (i < 25) { if (this.myPlayer().isAnimating() || this.myPlayer().isMoving()) { return true; } EdgevilleArrowLooter.sleep((long)100); ++i; } return false; } public String format(long time) { StringBuilder string = new StringBuilder(); long totalSeconds = time / 1000; long totalMinutes = totalSeconds / 60; long totalHours = totalMinutes / 60; int seconds = (int)totalSeconds % 60; int minutes = (int)totalMinutes % 60; int hours = (int)totalHours % 24; if (hours > 0) { string.append(String.valueOf(hours) + "h "); } if (minutes > 0) { string.append(String.valueOf(minutes) + "m "); } string.append(String.valueOf(seconds) + "s"); return string.toString(); } public void onPaint(Graphics2D g) { Font font1 = new Font("Arial", 0, 12); Color color1 = new Color(255, 255, 255, 255); g.setFont(font1); g.setColor(color1); g.drawString("Runtime: " + this.format(System.currentTimeMillis() - this.startTime), 8, 335); } }
-
iManCity's FREE KebabBuyer | Simple | Fast | 30k+/hr!
Hello, OSBot! This is my first attempt at a very simple script. After following countless tutorials/bothering the amazing members of this forum, I made this. It will go and buy Kebabs from Karim in Al-Kharid for 1gp each which you can later resell for a nice profit. INSTRUCTIONS: Start in the Al-Kharid bank, the Kebab shop, or anywhere in between with coins in your inventory, the bot will do the rest. Once out of coins, it will log out. FEATURES: -Does a bad-ass job of walking to the store, buying a shit ton of Kebabs, and banking them. -Dope bright-green paint to tell you the run time and how many Kebab you've bought. -No special anti-ban, but it goes at about a human pace. THANKS! Please leave feedback, and enjoy the script. Definitely gonna work on more intricate ones as I learn more. DOWNLOAD LINK (just copy and paste all 4 of the files into your OSBot scripts folder) Here is a scan of the ".rar" with AVG showing it is clean: Proggies!
-
How do I make a loot counter?
Sweet! Thanks a ton. What exactly is the 'MetalDragonsMain'? Do I put whatever I like there or?
-
How do I make a loot counter?
It does! How would I do this message listener? Never heard of it tbh.
-
How do I make a loot counter?
Sorry for that question I meant more of walking-wise. Would webWalk work or should I split it up to go to the gate then to GE. I've never scripted such long distances.
-
How do I make a loot counter?
I made a simple Kebab Buying script, but how would I keep track of how many are bought? I've tried having it get the amount of the inventory but I can't seem to figure out how to keep it adding onto a number. I tried to do a KebabCount = KebabCount + 1 after the dialogue where the Kebab is bought but nope. ALSO, if you're reading this, what would be my best way of walking my player from Al Kharid to the GE so he can sell the Kebabs. Not planning on adding this yet but just wondering.
-
Dialogue Script Help!
Ohh! I see, that makes sense. So for webWalking do i need Areas? I wanted to use webWalking but couldn't figure it out too well.
-
Dialogue Script Help!
Thanks!! I was thinking to do something like that but didn't know how to word it. Appreciate it. For some reason my code is making the contains red, do I need to import something in the beginning in relation to it?
-
Dialogue Script Help!
So I followed some Java tutorials and explored a bit more and managed to get my script from earlier to run. Now my problem is that when the player talks to the NPC, he keeps on clicking the NPC (after the random sleep i set) and also keeps clicking the first dialogue button. Is there a way to have him complete on BUY before starting over? First time coding and scripting, I appreciate any help! case BUY: state = "Walking To Karim"; getWalking().walk(kebabstore); npcs.closest("Karim").interact("Talk-to"); sleep(random(300,400)); if (dialogues.isPendingContinuation()) { dialogues.clickContinue();} sleep(random(300,400)); if (dialogues.isPendingOption()) { dialogues.selectOption("Yes please.");} sleep(random(300,400)); break;