Jump to content

My script is working differently for me


AresScripts

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

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...