TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 8 hours ago, whipz said: thats simple after you have done your trade to mules do clay = 0; in that method public void onMessage(Message message) throws InterruptedException { if (message.getType() == Message.MessageType.GAME && message.getMessage().contains("form 4 cannonballs")) { itemsMade = itemsMade + 4; } } Ya I tried that brother! still doesn't reset it. Let me make this clear to you guys, I do know java. The method provided by Whiz was just weird, I tried to add the closing bracket right away. I know syntax errors, I was just having issues with this. I also let Pseudo look at it and now the scripts broken, thankfully I had a new copy :0 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 8 hours ago, whipz said: thats simple after you have done your trade to mules do clay = 0; in that method public void onMessage(Message message) throws InterruptedException { if (message.getType() == Message.MessageType.GAME && message.getMessage().contains("form 4 cannonballs")) { itemsMade = itemsMade + 4; } } I have done ClayCount= 0, ive even done ClayCount =- Expgained.. I just cant get it to reset, does anyone know why? Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 8 hours ago, whipz said: thats simple after you have done your trade to mules do clay = 0; in that method public void onMessage(Message message) throws InterruptedException { if (message.getType() == Message.MessageType.GAME && message.getMessage().contains("form 4 cannonballs")) { itemsMade = itemsMade + 4; } } Dude... your methrod is wack, I cant even get it to stay without errrors... Are you sure you're knowing what you're posting? Gets pretty annoying seeing people try and help and end up completely fucking shit up. Quote Link to comment Share on other sites More sharing options...
whipz Posted March 25, 2017 Share Posted March 25, 2017 (edited) 12 minutes ago, TheGreatests said: Dude... your methrod is wack, I cant even get it to stay without errrors... Are you sure you're knowing what you're posting? Gets pretty annoying seeing people try and help and end up completely fucking shit up. you just dont know how to script mate im not helping you again. it gets pretty annoying having some who doesnt know shit complain when people are trying to help them as well... just saying. Edited March 25, 2017 by whipz Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 9 minutes ago, whipz said: you just dont know how to script mate im not helping you again. it gets pretty annoying having some who doesnt know shit complain when people are trying to help them as well... just saying. 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? Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 14 minutes ago, whipz said: you just dont know how to script mate im not helping you again. it gets pretty annoying having some who doesnt know shit complain when people are trying to help them as well... just saying. And I know my fucking shit bro, I forgot things that I should have remembered. If I didn't know anything about scripting, I wouldn't be 98% done with my damn script. If I simply just needed someone to make me the script, I would pay somebody 30.00 to get it made and move on with it. However, I aint doing that... I am frustrated when you give me a method that has a syntax error in it and I cant get it fixed. These type of errors are easy to do I cant get this one though man.. Take a second bro if you would, and you actually wanna help me and add me on Skype, and show me what exactly it is that you know more then me? Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 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...? Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 I mean come on dude... It's like you're purposely trying to troll me, or what the fuck are you doing? You wanna actually help me dude? FUCKING HELP ME THEN. Don't fucking post your method that has syntax errors that I cant fix nor could anyone.. That extra bracket, or simple things you don't think I know I have done. I have added the claycount = 0; you don't think ive tried this bro? If you're above me in scripting and know way more. FUCKING FIX THE DAMN SCRIPT THEN. don't talk about it, be about it. I tried your method when I first started to get it to reset. That was the first thing I tried to do... IT DONT WORK... again... if you wanna help me, fucking get to it. 9 hours ago, whipz said: thats simple after you have done your trade to mules do clay = 0; in that method public void onMessage(Message message) throws InterruptedException { if (message.getType() == Message.MessageType.GAME && message.getMessage().contains("form 4 cannonballs")) { itemsMade = itemsMade + 4; } } I tried this simple thing... It was the very first thing I tried bro. It doesn't reset the clay counter... Quote Link to comment Share on other sites More sharing options...
IDontEB Posted March 25, 2017 Share Posted March 25, 2017 20 minutes ago, TheGreatests said: I mean come on dude... It's like you're purposely trying to troll me, or what the fuck are you doing? You wanna actually help me dude? FUCKING HELP ME THEN. Don't fucking post your method that has syntax errors that I cant fix nor could anyone.. That extra bracket, or simple things you don't think I know I have done. I have added the claycount = 0; you don't think ive tried this bro? If you're above me in scripting and know way more. FUCKING FIX THE DAMN SCRIPT THEN. don't talk about it, be about it. I tried your method when I first started to get it to reset. That was the first thing I tried to do... IT DONT WORK... again... if you wanna help me, fucking get to it. I tried this simple thing... It was the very first thing I tried bro. It doesn't reset the clay counter... If you knew how to script you wouldnt have you clay counter based on your mining xp. Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 4 minutes ago, zenitftw said: If you knew how to script you wouldnt have you clay counter based on your mining xp. Lol... you dont think I do?? I actually have it, so ya... keep going... you wanna fix it since you know so much more now? Then me scripting? I mean obviously if you know how to script you shoul know how to reset a variable right? My clay miner counts the clay from the experience gained. It has always done this... Do you wanna show me how to reset the counter though? I'lll give u a part code Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 I can post part of the code, however, I want post the full code. There is pretenders in this topic that pretend to know how to script but clearly don't. Quote Link to comment Share on other sites More sharing options...
Hel Posted March 25, 2017 Share Posted March 25, 2017 I think the funniest thing about this post is that you claimed to have this script "completely finished apart from muling" on another thread, where you were trying to get source code for muling lol. You can't even reset a variable like oml 1 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 27 minutes ago, zenitftw said: If you knew how to script you wouldnt have you clay counter based on your mining xp. Here bro, since you know much more. Reset the variable, lets see who is the pretender here, and who is real. Here is my onpaint where I use my counter public void onPaint(Graphics2D g) { currentExp = skills.getExperience(org.osbot.rs07.api.ui.Skill.MINING); expGained = (currentExp - startExp); claycount = (expGained / 4); int x = getMousegetPositionx; int y = getMousegetPositiony; g.drawLine(0, y, 765, y); g.drawLine(x, 0, x, 503); DrawUpdate(g); } Here is where it needs to be added if (trade.isSecondInterfaceOpen()) { RandomSleep(); trade.acceptTrade();sleep(150, 300); while ((isTrading()) && (!trade.didOtherAcceptTrade())) {} claycount -= (this.expGained = -expGained); //claycount = 0; Doesnt work, first thing tried! } 3 minutes ago, Slut said: I think the funniest thing about this post is that you claimed to have this script "completely finished apart from muling" on another thread, where you were trying to get source code for muling lol. You can't even reset a variable like oml Listen man, you don't know where I am at in scripting. I don't got fucking time to sit here and argue with you about it. Clearly, you aint got nothing but abunch of cock sucking 12 year old comments in you Read the post above, if you can reset the claycounter, my script is 100% complete. I don't give one cent if you don't think it is. I am sitting right infront of my script and ive literally watched the script run for 20+ hours, with me having to manually restart the script (it accepts the trades on both sides, my mule accepts the trade) So yes, It has full support... If you don't believe me, lets bet on it! You give 100.00 to a Middleman, if my script doesn't have mule support, i'll give you 100.00 Quote Link to comment Share on other sites More sharing options...
TheGreatests Posted March 25, 2017 Author Share Posted March 25, 2017 6 minutes ago, Slut said: I think the funniest thing about this post is that you claimed to have this script "completely finished apart from muling" on another thread, where you were trying to get source code for muling lol. You can't even reset a variable like oml Mule support is 100% working, and it has been working for months now. The only thing that doesn't work is the feature that the API doesn't even have which is reading private messages.... Lets see what you two have to offer. Quote Link to comment Share on other sites More sharing options...
IDontEB Posted March 25, 2017 Share Posted March 25, 2017 Just now, TheGreatests said: Here bro, since you know much more. Reset the variable, lets see who is the pretender here, and who is real. Here is my onpaint where I use my counter public void onPaint(Graphics2D g) { currentExp = skills.getExperience(org.osbot.rs07.api.ui.Skill.MINING); expGained = (currentExp - startExp); claycount = (expGained / 4); int x = getMousegetPositionx; int y = getMousegetPositiony; g.drawLine(0, y, 765, y); g.drawLine(x, 0, x, 503); DrawUpdate(g); } Here is where it needs to be added if (trade.isSecondInterfaceOpen()) { RandomSleep(); trade.acceptTrade();sleep(150, 300); while ((isTrading()) && (!trade.didOtherAcceptTrade())) {} claycount -= (this.expGained = -expGained); //claycount = 0; Doesnt work, first thing tried! } Damn dude, thats a lil complex for me but I think this should work though. have you tried: if(claycount != 0){ claycount = 0; } Quote Link to comment Share on other sites More sharing options...