Jump to content

Satire

Scripter I
  • Posts

    416
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Satire

  1. I should seriously stop posting at night! Yea, that was my bad. I see now, I will check it out now and hopefully it'll work. I will start searching for widgets!
  2. So much memories. Back in the day when movies were good!
  3. OSBot Version (do NOT put "current version", be specific) 2.4.102 2. A description of the issue. Include relevant logs. So first of all I thought it was my code but then I realized it wasn't. No matter what widget I use, it still doesn't do anything. Using https://puu.sh/sSe3M/c432cb5bcc.png 465,23,10 Using https://puu.sh/sSe58/b54609158b.png 465, 24,50 Both of them don't seem to work. I called them both with widgets.interact(465,23,10,"-5%"); and widgets.interact(465,24,50,"-5%"); Then it goes all weird, the mouse goes crazy then it sells the item without decrementing the price (and it waits there endlessly as it doesn't sell). So I'm not sure what's up with that, am I doing something wrong? If you want to know, I use Slot_2 for selling my items. If you want a video about it, I can supply. But If you try it on your own, you'll see that it screws up. I tried with "5%", "-5%" and "%" (just for the lulz to see if it would change) and nothing changed. I'm still not sure what's wrong though. 3. Are you receiving any errors in the client canvas or the logger? Nope 4. How can you replicate the issue? by calling widgets.interact(465,23,10,"-5%"); or widgets.interact(465,24,50,"-5%"); 5. Has this issue persisted through multiple versions? If so, how far back? Not sure, only tried it with 2.4.102
  4. Yes, 3D counts as graphics. EDIT: Lol, that's pretty neat! Nice.
  5. Why do they spam though? Is there a post count limit to using the bot or something? or is it just for their "Fun"/getting trusted on the forum... EDIT: Fly had answered it. That's so freaken sad lol. What a bunch of kids.
  6. Or give them a post limit of 5 until the member has a total of 24 hours signed up or has been signed up for 1 week total. And then ban the spammers if it continues?
  7. Added GE sell item. After spending 30mins writing a function...... GGWP
  8. It depends, will it be cheaper? What are your rates and stuff?
  9. Must have no more than 40 defense(pref 1). Give me an offer.
  10. I'll take a look into this then. Damn this is gonna take a while to fix up. Thank you!
  11. You legend! You just saved main from going to 3k+ lines.
  12. Ok before anyone laughs, I'm new to Java and I seriously have no idea what's wrong. This should work, works very well in c#. I have a class here http://pastebin.com/UPUdfhdx And I wanted to call the function by making a new instance of that class MakeMoneyHandler moneyhandler = new MakeMoneyHandler(); moneyhandler.Mining(0); However, when I run it, I get this [ERROR][bot #1][12/13 03:50:13 PM]: Error in script executor! java.lang.NullPointerException at org.osbot.rs07.script.MethodProvider.log(lp:841) at MakeMoneyHandler.Mining(MakeMoneyHandler.java:22) at main.onLoop(main.java:824) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(qi:31) at java.lang.Thread.run(Unknown Source) There is nothing wrong with the code as I copied it to main and it all worked 100% fine. Don't worry about the code itself and say "this check is wrong", I know there are some errors and I'm re-writing it as I post this. I just wanted a seperate class that handles my functions. Also don't worry about the while loop, It was there for another test.
  13. You have the right to ask for a ban request. I haven't been on this forum for a while until now. However, if you want to return then just leave this website and come back when you want to. Unless you don't have self control over a website? Regarding new alias, you can just get a name change if you buy vip, I think(I could when I was VIP years back, but I never did).
  14. :xcate: You're a goddess! Very good support and updates, best botclient ever!
  15. Lmfao yep, it was. Commented the whole paint line out and boom, no lagg. By all means, what does NPE mean? I've never heard of NPE. NPC Entity? (sorry if it's wrong) Null Pointer Exception, took me a while to realize (was too busy focusing on my script). But why did it only occur with adamant scims and nothing else? Super weird. g.setColor(Color.WHITE); //Time Drawn on the Screen timeRan = System.currentTimeMillis() - this.timeBegan; g.drawString(ft(timeRan), 125, 392); //Drawing Numbers of the Screen currentXPAttack = skills.getExperience(Skill.ATTACK); xpGainedAttack = currentXPAttack - beginningXPAttack; currentLevelAttack = skills.getStatic(Skill.ATTACK); levelsGainedAttack = currentLevelAttack - beginningLevelAttack; g.drawString("" + xpGainedAttack + " (" + levelsGainedAttack + ")", 136, 440); currentXPStrength = skills.getExperience(Skill.STRENGTH); xpGainedStrength = currentXPStrength - beginningXPStrength; currentLevelStrength = skills.getStatic(Skill.STRENGTH); levelsGainedStrength = currentLevelStrength - beginningLevelStrength; g.drawString("" + xpGainedStrength + " (" + levelsGainedStrength + ")", 140, 465); currentXPHitpoints = skills.getExperience(Skill.HITPOINTS); xpGainedHitpoints = currentXPHitpoints - beginningXPHitpoints; currentLevelHitpoints = skills.getStatic(Skill.HITPOINTS); levelsGainedHitpoints = currentLevelHitpoints - beginningLevelHitpoints; g.drawString("" + xpGainedHitpoints + " (" + levelsGainedHitpoints + ")", 140, 413); g.drawString("Status:",27,53); g.drawString(getState().toString(),75,53); This is the whole onPaint code. It lags when I have it on and I want to keep it on. I'm assuming its the time ran which is causing it to go all crazy. How would I solve it without having to remove it? Edit found the problem "g.drawString("Status:",27,53); g.drawString(getState().toString(),75,53);" I had this in there temp for debugging purposes as I like to use the console for the actual loops.... I guess I'll have to find another way.
  16. Tried with strings too, still the same result. There's a bug with the method somewhere. I'm not sure if it's only for the addy scim. I will test it out for the other scims too! I always have the logger opened. I tried with condition sleeps and without condition sleeps and even normal sleeps, still the same thing... No null pointer exception. I declare it, a bug...
  17. So I have no idea wtf is happening. I thought I coded something wrong, maybe it's just my computer. So I have an id for all the scimitars in the game. When I call getBank().withdraw(idname, 1); My client lags so god damn hard like something is going to shit. So I tried it with food, strangely enough no lag. Could this be a bug with my code or this certain ID? So I have int idname = theid; in this case its 1331. Now when I call it on purpose this happens https://puu.sh/sJik7/fb7c80c853.mp4 notice when I pushed stop the mini map stops lagging and everything goes well. Now if I was to recreate this with food, this is the result https://puu.sh/sJios/0194facc6e.mp4 So I'm not sure what is exactly happening.... Forcing both of them the exact same way, is it a bug? EDIT3: Solved, if this occurs for you then it's your OnPaint method somewhere. I fixed it by removing a line.
  18. Satire

    Stealth Quester

    Was looking at a quest bot for 7 qp's and saw this. Damn it looks sexy and nice! Congrats on making a very awesome bot XD How long did it take to make, I'm curious. "40 quests supported" would seem like a very long time...
  19. I have a check before hand for the inventory. But I see what you mean for that second check. I've added that in. But it doesn't matter because I still get the errors for whatever reason...
  20. That won't work without very detailed arguments. Let's say I started the script with a full inventory of food or let's say I finished buying an item from GE, it doesn't want to walk back to the designated area. Ontop of that, something is causing my web walking to go null.... Here is my Walktoarea private void walkToDArea(){ if(selectedArea.equals("Edgeville Rats")){ getWalking().walk(new Position(3237,9866,0)); }else if(selectedArea.equals("Chickens")){ getWalking().webWalk( new Position(3189,3278,0)); } It should walk back but it doesn't.... It throws me an error or just stands and says waiting. It gets called when the state is Walking (if inv is full of food)
  21. So I was thinking about doing if(!area.contains(myplayer()) it'll walk back to the area. For some random reason, banking works fine but when I play my script at a bank with a full inv of food, when the check should be true, it just stays there on waiting.... Let's say I finished a task that is in lumby and my fighting area was in edgeville or varrock, after the task is complete, it should walk back to where it was fighting. Also how would I use webwalking without getting [ERROR][bot #1][12/07 10:59:49 PM]: Error in script executor! java.lang.NullPointerException at main.Banking(main.java:108) at main.onLoop(main.java:370) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(qh:103) at java.lang.Thread.run(Unknown Source) This only happens when it keeps spamming the webwalker. It says "your destination is complete" , opens the bank then spams that error. I think it's because I have a state called WALKING and it keeps spamming the webwalker. I thought the webwalker is a whole function that walks to the area then stops then continues running down the lines and completeing the task. For example getWalking().webWalk(banks); if(!getBank().open()){ getBank().open(); sleep(2500); getBank().depositAll(); } getWalking().webWalk(trainingarea); Works like a charm but when I do this my check if(inventoryisfull && playerisnotinarea){ return State.WALKING; -------------------------------------------------------- //when case = walking if(selectedArea.equals("Edgeville Rats")){ getWalking().walk(new Position(3237,9866,0)); then it calls walkToDArea(); which basically walks to an area which contains string of x so I think the 2 webwalking instances are clashing on another or something. I can tell that everything works without webwalking (cause I've tested it). It's only when webwalking is called, this happens. EDIT: Seems like WalkToDArea is the cause of those errors. I will re-write it and hopefully it'll work.... EDIT2: Seems to be happening when banking is called. No idea what's wrong with that, as banking was working yesterday! EDIT3: SOLVED!
  22. I guess you are more experienced. I may take it out after finishing this method.
  23. I meant to say that maybe there's a time that I didn't get banned because of it. You'll never know because it depends on how they handled it. A normal player checks for exp but they also don't at the same time because of OSBuddy. So you may be right. I just can't be bothered taking it out.
×
×
  • Create New...