Jump to content

My script is working differently for me


Recommended Posts

Posted

yes its my Motherlode Miner script. When i run it it works like a charm but my users are reporing countless errors. What would i do to fix compatability issues(if it is one)

 

 

Get the errors and post them here. 

 

Go and auth yourself on the script via the sdn and then open OSBot and run the sdn version (not local version). See if it runs properly for you and post here with your findings. ^_^

  • Like 2
Posted (edited)

Already I can see a lot of thing are already wrong with it after running it for 10 seconds. Might be one little thing, but it will right click on the paydirt, then just sit there right clicked on it but not do anything, or it will after a good amount of time. What are you doing to interact with it? When I had mine, the only reason I couldn't finish it was because i had an issue where it would select paydirt through walls and I just gave up and couldn't figure it out. I literally had all the ID's listed under an entity named "pay" and it worked fine besides trying to click it through walls when rockfall was in the way.

Entity pay = objects.closest(26664,26662,26661,26663,26679,26680);
case MINE: {
			pay.interact("Mine");
			sleep(random(3000, 4000));
			break;
		}
			

That's gonna click through walls and all that, but that's what I had and it would mine it just fine.

Edited by twin 763
Posted

Already I can see a lot of thing are already wrong with it after running it for 10 seconds. Might be one little thing, but it will right click on the paydirt, then just sit there right clicked on it but not do anything, or it will after a good amount of time. What are you doing to interact with it? When I had mine, the only reason I couldn't finish it was because i had an issue where it would select paydirt through walls and I just gave up and couldn't figure it out. I literally had all the ID's listed under an entity named "pay" and it worked fine besides trying to click it through walls when rockfall was in the way.

Entity pay = objects.closest(26664,26662,26661,26663,26679,26680);
case MINE: {
			pay.interact("Mine");
			sleep(random(3000, 4000));
			break;
		}
			

That's gonna click through walls and all that, but that's what I had and it would mine it just fine.

If you promise to not steal my code ill send it to you through skype

Posted

If you promise to not steal my code ill send it to you through skype

 

Honestly I don't know if that would be much help, I know the api kind of decently now, but I still have a lot to learn. I'd send it to someone who has more experience with it than I do. That, and I don't want you to like worry that I might steal it and what not. I wouldn't do it because I actually enjoy writing my own scripts instead of buying them now. If you want you can just send me how you're interacting with paydirt, that might solve a lot of issues. I'm going to get a full inventory of paydirt and start at the center area and see how it handles that.

Posted (edited)

Honestly I don't know if that would be much help, I know the api kind of decently now, but I still have a lot to learn. I'd send it to someone who has more experience with it than I do. That, and I don't want you to like worry that I might steal it and what not. I wouldn't do it because I actually enjoy writing my own scripts instead of buying them now. If you want you can just send me how you're interacting with paydirt, that might solve a lot of issues. I'm going to get a full inventory of paydirt and start at the center area and see how it handles that.

When i run the same code locally it all works

Edited by AresScripts
Posted

When i run the same code locally it all works

 

Hmm, i've never had that issue before. I remember when isolate decompiled one of my scripts, all the states were backwards and what not. like my drop state contained what was supposed to be under the lay state, and things like that. I have no idea though.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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