i dont understand how to fix the npc colour error :\
Printable View
i dont understand how to fix the npc colour error :\
Has anyone been having issues with loading the mine since the update? I can't run this script anymore because I get a "Loading... 50%" issue in the SMART browser right when the game tries to load the mine area.
Would it give you more xp per hour if you have it drop instead of banking..??
I've looked at this before, and it does give more xp/hour, but at a price.
These are based upon tests with the same code; one banking the other dropping. I always lean towards profit + xp rather than pure xp if I can. It's all about preference though.Code:Powermining: ~16 loads/hour
Powermining: 2.4k more xp/hour
Banking: ~13.5 loads/hour
Banking: 40k more gp/hour
It's tough to say... With all of the bots mining clay right now it's no accident the prices are so low. I have no clue how long it would take for the prices to come back up / if they even will. I doubt it's worth the time to make it into soft clay though, the price will have dropped even more by the time you finished doing all 30k :p
Maybe I should just mine iron and use that superheat thing you were talking about to gain smithing/magic/mining levels.
What the hell is clay used for?
I definitely recommend it, that method makes alot of money and you get great xp in every aspect. With the release of my clay crafting script, it sort of made iron mining the only viable choice for this script since clay isn't worth much right now.
Mostly construction afaik. It's also used for pie dishes and urns.
if you could add dragon pick support for p2p or pm how to do so that would be very much appreciated<3
I've sent you a PM, but I'll post it here as well so others can use this fix if they want. First, locate the SetupPlay() procedure in the script:
Simba Code:procedure SetupPlay;
var
Vex, Kin: array of Integer;
PickDTM, x, y: Integer;
begin
if not LoggedIn then Exit;
Vex := [572, 291, 600, 318];
Kin := [683, 371, 713, 386];
Currently('Setting up player...');
GameTab(tab_EQUIP);
if (ColorWait(2000, 9784898, Vex[0], Vex[1], Vex[2], Vex[3]) and ColorWait(2000, 3162439, Kin[0], Kin[1], Kin[2], Kin[3])) then
Currently('Found vexillum and ring of kinship!')
else
Error('Equip clan vexillum and ring of kinship!');
GameTab(tab_INV);
PickDTM := DTMFromString('mwQAAAHic42RgYHBgYmCwg2JbIHYFYi8g9oGyQfL3gOoeAvELIH4DxHeA+C6UvgHE14BYU16IwUhVlMHbQoHBRlcKKMKEgfmBJDLGBhiJwHAAAMTjDIY=');
Wait(250+Random(500));
if FindDTM(PickDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
Currently('Found pickaxe!')
else
begin
FreeDTM(PickDTM);
Error('Have pickaxe in first slot of inventory!');
end;
FreeDTM(PickDTM);
end;
Select the entire procedure and replace it with this:
Simba Code:procedure SetupPlay;
var
Vex, Kin: array of Integer;
PickColor, x, y: Integer;
Slot: TBox;
begin
if not LoggedIn then Exit;
PickColor := 123456;
Vex := [572, 291, 600, 318];
Kin := [683, 371, 713, 386];
Currently('Setting up player...');
GameTab(tab_EQUIP);
if (ColorWait(2000, 9784898, Vex[0], Vex[1], Vex[2], Vex[3]) and ColorWait(2000, 3162439, Kin[0], Kin[1], Kin[2], Kin[3])) then
Currently('Found vexillum and ring of kinship!')
else
Error('Equip clan vexillum and ring of kinship!');
GameTab(tab_INV);
{PickDTM := DTMFromString('mwQAAAHic42RgYHBgYmCwg2JbIHYFYi8g9oGyQfL3gOoeAvELIH4DxHeA+C6UvgHE14BYU16IwUhVlMHbQoHBRlcKKMKEgfmBJDLGBhiJwHAAAMTjDIY=');
Wait(250+Random(500));
if FindDTM(PickDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
Currently('Found pickaxe!')
else
begin
FreeDTM(PickDTM);
Error('Have pickaxe in first slot of inventory!');
end;
FreeDTM(PickDTM);}
Slot := InvBox(1);
if ColorWait(2000, PickColor, Slot.x1, Slot.y1, Slot.x2, Slot.y2) then
Currently('Found pickaxe!')
else
Error('Have pickaxe in first slot of inventory!');
end;
Then use the color picker to find a prominent color on the pickaxe:
Progress Report:Picked colour: 397977 at (724, 403) (This is just an example color)
Take that color and paste it over the PickColor placeholder at the top of the new SetupPlay() procedure:
Simba Code:procedure SetupPlay;
var
Vex, Kin: array of Integer;
PickColor, x, y: Integer;
Slot: TBox;
begin
if not LoggedIn then Exit;
PickColor := 123456;
// ^ This is to be changed
// Using the example color, it would look like this afterward:
// PickColor := 397977;
Vex := [572, 291, 600, 318];
Kin := [683, 371, 713, 386];
Currently('Setting up player...');
That should solve your problem :)
Nice!! script works great
Great script :p
hey i got an error
Code:Runaways v0.6!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 0 Seconds
| Ores Mined: 0 iron
| Banked: 0 loads
| Mining XP gained: 0 XP
<=---------------------------------------------=>
ERROR: NPC color not found! See thread for fix.
Successfully executed.
edit: nvm, read all of first page
Is there a way to have it bank all the items at once instead of clicking every one individually?
script not working it says ERROR: NPC color not found! See thread for fix. And i tryed swithing the codes..
Dont worry Im teaching him how to do it on TV right now :)
Run...which NPC does it click on first??? Havent used the script cuz Im sticking with the crafter till 99 craft then Ill mine.
Can you make it detect rocks faster and Bank at dung fast cause it waste 30 secounds just to bank at dung banker
So far the script hasn't worked for me. It keeps teleporting to the clan area. Walks a couple steps, thinks its lost, then teleports again.
i think colors are messed up again
I've updated this and greatly improved the mining/banking process for v0.7!
Yep, I guess they have. I will be updating the colors in the v0.7 update; Expect v0.7 later today!
E: @ncore, which part of the walking to the mine is broken? I guess a better way to ask it would be, how many walk path points does it click before breaking?
v0.7 has been released! Check out the "Update Log" on the first post to see what has been changed!
More reliable walking, better mining methods, and world hopping :) Also, I have no issues with colors after testing it for a good hour or so. Let me know if the issue persists.
Testing this now
Progress Report:Runaways v0.7! <=----------- Rimmington Tele-Banker ----------=> | Running for: 1 Hours, 32 Minutes and 1 Seconds | Ores Mined: 61 gold | Banked: 3 loads | Mining XP gained: 3965 XP <=---------------------------------------------=>
going fine so far, it would be at ~3 hours, but was stopped because of a system update.
Everything I do is for shits and giggles.
Anyways, here's the final thing. It failed because I (embarrassingly) have no more bank space.
Progress Report:<=----------- Rimmington Tele-Banker ----------=> | Running for: 2 Hours, 20 Minutes and 45 Seconds | Ores Mined: 97 gold | Banked: 4 loads | Mining XP gained: 6305 XP <=---------------------------------------------=> ERROR: Failed to bank some items!
It waits fine, btw.
E: After watching iron for awhile, I've noticed that rock detection/checking if we're done mining is a bit slow.
Heh okie, whatever floats your boat :)
How slow is a bit slow? When I run it, the script recognizes that it has successfully mined an ore between 100-500 ms after it's happened. That's about the fastest I've been able to get it since I have to check for people stealing it.
Several seconds. I just tested on one ore, and it took 5 seconds. Higher than usual, i think, but still really slow.
Progress Report:Runaways v0.7! <=----------- Rimmington Tele-Banker ----------=> | Running for: 1 Hours, 51 Minutes and 13 Seconds | Ores Mined: 0 iron | Banked: 17 loads | Mining XP gained: 0 XP <=---------------------------------------------=> ERROR: Failed to hop world! Successfully executed.
Tried to join a members world. You do know, there's a function for changing worlds, right?
Simba Code:begin
ExitToLobby;
Changeworld(RandomWorld(Players[currentplayer].Member, false));
end;
What the...
It's not recognizing the iron ore in your inv for some reason. I tested it only on iron which doesn't make much sense though... It waits a maximum of 5 seconds if it doesn't detect the ore in your inventory, the "no ore available" text, or if you don't get the "swing your pickaxe" text. So the inventory ore is the obvious culprit since it's saying you didn't mine any ore.
I don't know why the colors are so off for you, my custom world picker should never be clicking on a members world (tested it for like 3 hours straight). Also, I made a custom one because SelectWorld and ChooseWorld weren't working for me. And when I tried to use LoginPlayer it gave me an error. So I just said **** it and made my own :p
I'll look into the color issues. Maybe they've updated inventory ores to change colors. I always wondered why bars change so much and ores don't change at all >.<
Hey man, I made a huge mistake lol. I thought the latest version was at the top of the list, and I forgot to read the numbers. I downloaded the FIRST version of the script. So that would explain why it didn't work :duh:
I just downloaded the latest version and will be testing it shortly
Thank you for being an amazing script writer!
Hey, I ran it for a tiny bit. I had 3 accounts running the bot at once, all of which are around level 71-75 mining. I have the report of only 1 account though. The other two sometimes got stuck at the entrance to the Rimmington mine. They got stuck and kept trying to find ores. And easy way to get them unstuck (if you are at the computer) was to simply enter into the mine, then they found the ores and went right to work.
Also, I think it would be a cool feature to add if there was an option to prioritize mining or picking up iron ore. I saw a lot of power miners dropping 30-40 iron ore. Its a huge waste of money. With an option of making picking up iron more important than mining it, banking would go a lot faster, and I am sure progress reports would look a lot more appealing.
But right now, in my opinion, the speed of the bot is flawless. It mined the ores quickly without hesitation. Teleportation and travel was smooth, except for the instance where the bot got caught at the entrance of the mine. I think a good failsafe would be to have the bot auto teleport back to the clan site if it doesn't find an iron ore within five minutes. I think that would really fix a lot, and if that same concept could be used when trying to find the dungeoneering banker (I heard about this issue but haven't experienced it), I think that will work well too.
Overall, this is an amazing bot and you have done an amazing job. Here is a short progress report. I will try running 3 at once tonight and see how it works out in the morning.
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 31 Minutes and 13 Seconds
| Ores Mined: 358 iron
| Banked: 15 loads
| Mining XP gained: 12530 XP
<=---------------------------------------------=>
EDIT:
So I ran 3 bots last night on your script. One ended at 29 minutes, but here is the other two progress reports:
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 19 Minutes and 48 Seconds
| Ores Mined: 296 iron
| Banked: 12 loads
| Mining XP gained: 10360 XP
<=---------------------------------------------=>
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 4 Hours, 18 Minutes and 26 Seconds
| Ores Mined: 1460 iron
| Banked: 57 loads
| Mining XP gained: 51100 XP
<=---------------------------------------------=>
It used to teleport back to daemonheim if it couldn't find the banker for (20 or 30) seconds and the same with walking to the mine. Maybe I accidentally changed something when I updated the code. I'll have to check that out.
As for the wierd errors you've been getting, it could either be colors that are changing more than I've anticipated or lag. Try upping the SMART slider on the right for each one and see if that changes anything.
Ok I will try that. What exactly is that slider and what does it do? After all the time I have had simba, I never knew what that did lol