Jump to content

help with chat message /widgets? Looki


TheGreatests

Recommended Posts

I hate to see people struggling so I'll give my 2 cents.

I don't see why this wouldn't work.

 

  public void onPaint(Graphics2D g)
  {
    currentExp = skills.getExperience(org.osbot.rs07.api.ui.Skill.MINING);
    expGained = (currentExp - startExp);
    claycount = ((currentExp - expOnReset) / 4);
    int x = getMousegetPositionx;
    int y = getMousegetPositiony;
   
    g.drawLine(0, y, 765, y);
    g.drawLine(x, 0, x, 503);
   
    DrawUpdate(g);
  }
//New integer called expOnReset, in your onStart.
int expOnReset = *cbf getting it but your current mining xp.*;

if (trade.isSecondInterfaceOpen()) {
        RandomSleep();
        
        trade.acceptTrade();sleep(150, 300);
        while ((isTrading()) && (!trade.didOtherAcceptTrade())) {}
        expOnReset = *cbf getting it but your current mining xp.*;
      }
Edited by Slut
pleb probably doesn't know default value of expOnReset..
Link to comment
Share on other sites

10 minutes ago, Slut said:

I hate to see people struggling so I'll give my 2 cents.

I don't see why this wouldn't work.

 


  public void onPaint(Graphics2D g)
  {
    currentExp = skills.getExperience(org.osbot.rs07.api.ui.Skill.MINING);
    expGained = (currentExp - startExp);
    claycount = ((currentExp - expOnReset) / 4);
    int x = getMousegetPositionx;
    int y = getMousegetPositiony;
   
    g.drawLine(0, y, 765, y);
    g.drawLine(x, 0, x, 503);
   
    DrawUpdate(g);
  }

//New integer called expOnReset, in your onStart.
int expOnReset = *cbf getting it but your current mining xp.*;

if (trade.isSecondInterfaceOpen()) {
        RandomSleep();
        
        trade.acceptTrade();sleep(150, 300);
        while ((isTrading()) && (!trade.didOtherAcceptTrade())) {}
        expOnReset = *cbf getting it but your current mining xp.*;
      }

Doesn't work.

Link to comment
Share on other sites

[INFO][Bot #1][03/25 07:44:11 PM]: You've gained 4 XP, you've mined 1 clay since you last muled.
[INFO][Bot #1][03/25 07:44:13 PM]: You've gained 4 XP, you've mined 1 clay since you last muled.
[INFO][Bot #1][03/25 07:44:18 PM]: You've gained 4 XP, you've mined 0 clay since you last muled.
[INFO][Bot #1][03/25 07:44:19 PM]: You've gained 4 XP, you've mined 0 clay since you last muled.
[INFO][Bot #1][03/25 07:44:20 PM]: You've gained 4 XP, you've mined 0 clay since you last muled.

Just tried the code myself and it works fine. You seriously can't even get spoon-fed code. 


GO LEARN JAVA.

  • Like 1
Link to comment
Share on other sites

2 hours ago, TheGreatests said:

I know how to script bro.. It keeps giving me that issue. Well, techniqually I would appreciate your help bro if it was help. You basically telling me things, and even though you're giving me this method. Its not working? Its like giving someone a phone that doesn't work bro. I am frustrated also, considering I let Pseudo my code, and he tells me " I cant make you the mule support" Like my damn script is 98% done, nearly with everything but the hopping to specific world on messenger and he thinks I am trying to get him to simply make me the code. I literally gave him the code that's 98% done, and then when he edits my script he completely breaks it?

 

Its like hiring a fucking plumber to fix a toilet, and then he comes out with the toilet off... 

I am frustrated because nothing is being done with both of your guys help. Your on messeger is wrong, I cant even get it to stay without syntax error. Can you at least truly help? I would appreciate it all bro but how am I suppose to appreciate something that isn't even doing anything for me?

no my method is not wrong... your just doing it wrong.... you havent even said the error... you have proberly put the code in the wrong spot... like the guy above said have your spoon fed shit and with your muling why are you using sleep(random(150, 300) if your such a pro ? should be using conditional sleeps but uhh you know so much more than anyone.

2 hours ago, TheGreatests said:

Before on that  other post, you said "I can help" and then when I asked you 50 times what your skype was, you couldn't even at all try and add me or tell me it. But you sat there and told Juggoles "he couldn't even add me on skype"... Da fuck dude? if you're trying to troll me, I could  2 fucks.. I am here to get shit done, not to play these 12 year old tag game. If you wanna actually help me, test what you're posting to me, and maybe add comments? All I need a reasonable explanation of a method?  You wouldn't expect to know everything right away without explaining to others why you added your code.

 

Your code reads the chat messages I am assuming? Why not add a simple comment on where it could be used, or why you posted it...?

also I have responded to your PM with my skype you little nooblet... im not gonna keep sending you my skype when you cant read.

and it does read chat messages no shit sherlock considering it says messages... and the reason i posted it look at your title.... but hey i guess you didnt want help... And instead of raging at people for helping you why not ask where it goes ? 

did you ever no you didnt just said it doesnt work... didnt say an error or anything how can we help you when you dont seem to know exactly what you want help with ?

like i said the Title says 

help with chat message /widgets? 

Edited by whipz
Link to comment
Share on other sites

2 hours ago, TheGreatests said:

Before on that  other post, you said "I can help" and then when I asked you 50 times what your skype was, you couldn't even at all try and add me or tell me it. But you sat there and told Juggoles "he couldn't even add me on skype"... Da fuck dude? if you're trying to troll me, I could  2 fucks.. I am here to get shit done, not to play these 12 year old tag game. If you wanna actually help me, test what you're posting to me, and maybe add comments? All I need a reasonable explanation of a method?  You wouldn't expect to know everything right away without explaining to others why you added your code.

 

Your code reads the chat messages I am assuming? Why not add a simple comment on where it could be used, or why you posted it...?

XBoVIGc.png 

I didnt answer did i ? fucking nooblet

Link to comment
Share on other sites

57 minutes ago, Slut said:

Screenshot_12.png.256d7c4f314aa707961df1b40ae14fc1.png
Hand type your spoon-fed code.

strange... your code looks similar to mine.. but you didn't "spoon fed" shit. Just learn how to actually help with things. All you need to os is comment in there. I mean come on honestly... When you first learned Java did the person simply give you a method and tell you go right ahead.... no... majority of the java books have comments in them for understanding..

Link to comment
Share on other sites

14 minutes ago, TheGreatests said:

strange... your code looks similar to mine.. but you didn't "spoon fed" shit. Just learn how to actually help with things. All you need to os is comment in there. I mean come on honestly... When you first learned Java did the person simply give you a method and tell you go right ahead.... no... majority of the java books have comments in them for understanding..

Stop being negative and a pain in the ass, if someone doesnt write all the code and tell you where to put it you call them unhelpful

You should ask nicely instead of being rude and telling people they dont know what they are doing when the fault is yours, and after you are done accusing them and being rude to them you basically beg them and expect them to help you (?!)...

This thread should be locked

Edit::

I appreciate your hustle, you are just not going about it the right way

Edited by Aiban
  • Like 2
Link to comment
Share on other sites

13 minutes ago, Aiban said:

Stop being negative and a pain in the ass, if someone doesnt write all the code and tell you where to put it you call them unhelpful

You should ask nicely instead of being rude and telling people they dont know what they are doing when the fault is yours, and after you are done accusing them and being rude to them you basically beg them and expect them to help you (?!)...

This thread should be locked

Edit::

I appreciate your hustle, you are just not going about it the right way

Thank you 

  • Like 1
Link to comment
Share on other sites

1 hour ago, Slut said:

Screenshot_12.png.256d7c4f314aa707961df1b40ae14fc1.png
Hand type your spoon-fed code.

My current clays collected on start is 125 with this. So it's wrong... it doesn't work...

18 minutes ago, Aiban said:

Stop being negative and a pain in the ass, if someone doesnt write all the code and tell you where to put it you call them unhelpful

You should ask nicely instead of being rude and telling people they dont know what they are doing when the fault is yours, and after you are done accusing them and being rude to them you basically beg them and expect them to help you (?!)...

This thread should be locked

Edit::

I appreciate your hustle, you are just not going about it the right way

Oh, believe me, I am nice about it. Majority of the people that try to help out aren't really helping out. They don't have the solution for it, notice how they claim I don't know how to script but absolutely 100% of them don't even have script writer? What kind of help is it when you're telling the people they don't know this or that, yet don't know themselves? I haven't gotten any help, these posters really don't have the solution. I mean... literally, everything they've showed me has done nothing...

Link to comment
Share on other sites

All I simply am asking for in this community is someone to figure out why I cant reset my claycount variable?  I mean, you would think it would be the most basic shit that you've learned in Java, however, it isn't in this case. My Clay's collected counter wont reset no matter what I do with it!

Link to comment
Share on other sites

2 minutes ago, TheGreatests said:

All I simply am asking for in this community is someone to figure out why I cant reset my claycount variable?  I mean, you would think it would be the most basic shit that you've learned in Java, however, it isn't in this case. My Clay's collected counter wont reset no matter what I do with it!

rofl if you used what i showed you in the right spot.. all you would have to do is after trade do clay == 0;

its like talking to a brick wall... why arent you saying I havent responded to you about skype ? lol is it cause I have proof ? 

 

Edited by whipz
Link to comment
Share on other sites

7 hours ago, TheGreatests said:

My current clays collected on start is 125 with this. So it's wrong... it doesn't work...

Oh, believe me, I am nice about it. Majority of the people that try to help out aren't really helping out. They don't have the solution for it, notice how they claim I don't know how to script but absolutely 100% of them don't even have script writer? What kind of help is it when you're telling the people they don't know this or that, yet don't know themselves? I haven't gotten any help, these posters really don't have the solution. I mean... literally, everything they've showed me has done nothing...

Script writer rank doesnt mean anything, all you need is one script on SDN to get it I believe. Also, if you could script why cant you reset it to 0? Youve been working on this script since October 2016, and still arent done so I think maybe its time to just go learn Java!

  • Like 1
Link to comment
Share on other sites

6 hours ago, whipz said:

rofl if you used what i showed you in the right spot.. all you would have to do is after trade do clay == 0;

its like talking to a brick wall... why arent you saying I havent responded to you about skype ? lol is it cause I have proof ? 

 

wont start, ive tried yoir way. It doesn't even reset the actual clay count

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...