-
Posts
548 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
100%
Everything posted by Abuse
-
Hi, I've been wondering for a while if it is possible to improve the performance/stability of multiple OSBot instances, more particularly stealth injection. I am currently running 4 dedicated servers with each having around 20 clients sitting at 70-90% CPU load, however some clients tend to randomly freeze (Black screen) after a few hours of runtime, this seems to be dependent on the amount of running bots, 10 usually don't cause any issues. I've tried both Linux and Windows with the same results, however linux struggled with more than 10 clients In terms of resource usage, my dedi boxes run at around 60% memory usage, 512mb dedicated to each instance so that doesn't seem to be the issue - Abuse
-
java.lang.NoSuchMethodError: org.osbot.rs07.api.Walking.webWalk(Lorg/osbot/rs07/api/map/Position;) webWalk(position) was deprecated and now removed. You might want to update to webWalk (Area) or similar Best wishes
-
Getting Entity camera degrees in relation to the player?
Abuse replied to Abuse's topic in Scripting Help
FrostBug, it indeed wasn't too bad Position chest = getObjects().closest(dispenserID).getPosition(); Position player = myPlayer().getPosition(); double deltaX = player.getX() - chest.getX(); double deltaY = player.getY() - chest.getY(); double angleInDegrees = Math.atan2(deltaY, deltaX) * 180 / Math.PI; angleInDegrees = (angleInDegrees + 360) % 360; Just found out that the position always seems to be offset by 90 degrees. A similar solution might be worth including in the position API? Regards -
Hi, I'd like to make use of the camera.movePitch(deg) and camera.moveYaw(deg) threaded functions for asynchronous camera movement. I am however currently stuck with getting the correct degree value in relationship to the player, is there any built-in API way to do this or do I need to do the calculations myself using getPosition()? Currently I am using this, but I'd prefer to use the above mentioned methods for stability reasons private void rotateCamera(Position pos){ if(!turningCam){ Runnable r = new Runnable() { //Position p = pos; public void run() { turningCam = true; camera.getCamera().toPosition(pos); turningCam = false; } }; new Thread(r).start(); } } Regards
-
@@Khaleesi Does it also freeze your script until you pause/restart it? If so, I made a workaround by pausing/resuming the script in a separate thread every x minutes getBot().getScriptExecutor().pause(); and getBot().getScriptExecutor().resume();
-
This indeed does solve the problem Mind me asking how bank and getBank() differ from each other? Does it have something to do with syncing of the script thread and the OSBot thread? edit: The same issue still persists with getBank()
-
Once in a while a widget API call will fail resulting in: [ERROR][Bot #1][02/11 10:40:58 PM]: Failed to wrap : class client.YR java.lang.RuntimeException: Could not initiate wrapper : RS2Widget at org.osbot.core.api.Wrapper.wrap(bg:159) at org.osbot.rs07.api.Widgets.getWidgets(gg:120) at org.osbot.rs07.api.Widgets.isVisible(gg:3) at org.osbot.rs07.api.Bank.isOpen(fn:471) at blastFurnace$10.condition(blastFurnace.java:471) at org.osbot.rs07.utility.ConditionalSleep.sleep(ed:70) at blastFurnace.openBank(blastFurnace.java:473) at blastFurnace.depositAll(blastFurnace.java:501) at blastFurnace.takeBars(blastFurnace.java:388) at blastFurnace.onLoop(blastFurnace.java:210) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ff:33) at java.lang.Thread.run(Unknown Source) Sometimes bank.isOpen() will return true when the banking interface is not visible, and has not been accessed in a few seconds I cannot accurately reproduce the bug, however it occurs more often when my system is under higher load I'm using Java JDK 8 (64bit only), latest client. This only occurs in Mirror mode The function in question is private boolean openBank() throws InterruptedException{ Entity chest = objects.closest(chestID); if(bank.isOpen()){ return true; } else { widgets.closeOpenInterface(); if(widgets.get(28, 107) != null && widgets.get(28, 107).isVisible()){ clickMiniMapPosition(chest.getPosition()); new ConditionalSleep(random(1000,3000)) { @Override public boolean condition() throws InterruptedException { return myPlayer().isMoving(); } }.sleep(); } if(chest != null){ if(myPlayer().getPosition().distance(chest.getPosition()) < 4 && myPlayer().isMoving()){ sleep(random(100,250)); return false; } if(chest.interact("Use")){ new ConditionalSleep(random(1000,3000)) { @Override public boolean condition() throws InterruptedException { return bank.isOpen(); } }.sleep(); log("Chest is open"); } } } return false; } The error occurs in the ConditionalSleep at "return bank.isOpen();"
-
Alek, everything starts with a .PSD, thats why i'm asking for opinions before I start cutting it out into css/html 1 - Thanks for your feedback, i'll see what I can do about it 2- Same as above 3. Footer will be added once I start cutting it out, some basic 40px high box will be sufficient Thanks for your feedback!
-
I've just finished designing a UI for a rather high traffic site, I'd like to hear some opinions on it before I start cutting it out into a live website (Please c:) http://i4.minus.com/iblQScmsUrniaZ.jpg Regards
-
BOT OFFLINE:Bank tabs broke banking, fix coming soon!
Abuse replied to
Laz's topic in News & AnnouncementsThanks laz! 108 user(s) are reading this topic The amount of leechers is too damn high. -
Aight, let me guide you through this. Do you have a mouse attached to your computer and if so, is it working? JkJk, welcome!!
-
And most importantly: Check dates, if last feedback is > 2 weeks old, user might: - Scam quit - Be hijacked
-
I kind of agree ... But PM traps can be done many different ways, some won't even be recognized as a PM trap at all eg: "hey RoomScape, I was wondering if you can MM for us, if so can pm userx to say that you're mming for him? Cheers" Action: roomscape pm's something Result: roomscape's imposter successfully verified his fake identity
-
Hobgoblin "An ugly, smelly creature." Huehue
-
[$10] Need some help with setting up vBulletin 5 forums
Abuse replied to JoopiiRS's topic in Web Development
Talking to you on skype right now. -
Also, I find them rather cheap
-
Dude, just use proxies ...
-
Looking for some good audio quality and stylish headphones.
Abuse replied to Arctic's topic in Spam/Off Topic
For personal use I'm running Audio Technica ath-m50's, perhaps no the best looking, but outperforms 100-300$ headphones by miles. I rather pick sound quality over design but don't get me wrong, these headphones are not bad looking. Regards -
The idea in disallowing them comes from these occurrences: - Selling outdated guides - Promising more than it actually is worth - High buyer expectations It would just add more Q_Q'ing overall unless its properly administrated, and that would add more workload on the staff
-
I don't want to argue, but inner glows at 1-2 px width are used across the whole website. The glows you used on the buttons are way overdone Bevels? well, every button on this site has one, and the gradients: Yes, it is easy to have a gradient in css, you just make a 1px wide x px high image that gradients and repeat it horizontally. Regards
-
The truth has been said. Give that guy a medal!
-
Not to offend you, but it does look pretty bad. The scripts background (and especially the black border) look terrible It needs: gradients, glows and bevels Too much grey.
-
I fully agree with NotoriousPP, Getting your script premium (Paid) is way too easy. Premium should be a place for high-quality work A simple vote system could solve a lot
-
PM'd you about something ^^ Regards
-
I'm not fond of the new skin either, but you can change it back at the bottom of the website (Change Theme)