I have everything up to date, and the most recent version 1.41
Starts, opens bank and looks for food, can't find food then script stops.
Food is visible in first tab, tried it with Tuna and Herring and same thing happened.
I have everything up to date, and the most recent version 1.41
Starts, opens bank and looks for food, can't find food then script stops.
Food is visible in first tab, tried it with Tuna and Herring and same thing happened.
Hooks are wrong.
In hooks.simba, change
toCode:hook_static_GetInterfaces = 'cea.N';
Code:hook_static_GetInterfaces = 'hk.yb';
alright changing the hook worked great, but now it doesn't cook anything.
Grabs food, walks to the stove or what ever it is, sits there for a few seconds, then walks back up and banks the raws.
does this over and over
Wow, yeah a stupid error on my part...
I told the script to count raws instead of cooked...
Yeah I updated it... Sorry guys im making the most practical mistakes.
http://www.mediafire.com/lumbridgecooker
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
i am currently using this script for the first time right now. i will edit this later with a proggy.
some things i have noticed:
1. very unhuman-like wait after every time the character runs. (example: from bank to the top staircase; it stops, views the scenery, then decides to click on the stairs.)
- will update if i seem more oddities -
EDIT: manually stopped:
*----------------------------------------------------------------*
| Lumbridge Cooker v1.4 |
| By: Yago |
|----------------------------------------------------------------|
| Overall Progress Report |
| |
| Total Players : 1 |
| Total Time Running : 58 min 16 sec |
| Total Food Cooked : 784 |
| Total Experience Gained : 78400 Experience |
| Total Levels Gained: 0 |
| |
|----------------------------------------------------------------|
| Individual Report: |
| |
| Player[0]:************ |
| |
| Reason : |
| Time Active : 57 min 44 sec |
| FoodType : Tuna |
| Loads Done : 28 |
| Loads Per Hour : 30 |
| Raw Tuna Cooked : 784 |
| Raws Per Hour : 815 |
| Experience Gained : 78400 |
| Experience Per Hour : 81471 |
| Cooking Levels Gained : 0 Level(s) |
| |
*----------------------------------------------------------------*
Last edited by x[Warrior]x3500; 04-22-2011 at 10:01 PM.
Yeah I'm currently trying to eliminate as much waits as possible that I implemented due to failsafes... Thanks for the feedback though. Hopefully next version It could be a lot quicker...
What do you think about the anti-ban?
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Noticed a few things - occasionally it starts cooking but burns things until the cooking checks are over so it doesn't detect it. Causes problems with the cooking part, eg. it clicks a raw sword that is about to get cooked then tries to click range, fails, and so quits. Also it sometimes doesn't detect that it is finished cooking if you burned things. Easy enough fix to this is to add
to line 1133 (the until in R_IsCooking). But for the started cooking detection, it would be good to detect cooking has started if things burn alsoSimba Code:or (RawCount = 0)but otherwise, seems very solid, just some small things like that and the waits before clicking stairs.
Thanks for catching that bug. I added the RawCount check.
I'm going to add a burner check to the cooking checks to stop that problem. That should fix the clicking cooked food errors.
I'm still trying to make the walking as fast as possible but with failsafes(for lagg and stuff).
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Ok. I just Released Version 1.42
Changes includes:
- Added SMART Paint.
- Added R_FindChatButton.
- Improved Walking To Make It Faster.
- Fixed Cooking Detection Bugs.
Enjoy
Edit: Can someone confirm that there are no more burning food errors?
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Progress Report:Cont [True] URL [http://download550.mediafire.com/4ha.../lc+paint.bmp] %INCLUDEPATH%\LCookPaint.bmp Cont [True] File [C:\Simba\Includes\LCookPaint.bmp] Exception: Error while reading stream: Wrong image format at line 361 The following DTMs were not freed: [SRL - Lamp bitmap, 1] The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, 2, 3]
keep getting this, everything seems to be updated
@ doublex8, seems he forgot to include a bitmap that he uses for painting to SMARTJust disable it for now. Testing script now (with swordies), from watching for 1 load it seems fine, also detected the burnt swordfish in first inv slot. Will edit later with prog/findings.
Its supposed to download the bitmap and save it in your includes folder. I have no idea why it isn't doing this. It works perfect for me... Try opening the image in the link and see if it opens...
Does the paint work for you any_one?
Thanks for checking the burnts
The walking has given you no errors so far right? Its getting me a lot more experience than before. Thanks for the walking suggestion![]()
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Yeah I did it that and it worked on my computer. Try replacing this and tell me if it works:
Simba Code:function BitmapFromWeb(Web: string): integer;//Dgby714
var
Data: string;
FileNum: integer;
begin
Data := GetPage(Web);
if (FileExists(ScriptPath + 'LCookPaint.bmp')) then
FileNum := RewriteFile(ScriptPath + 'LCookPaint.bmp', True)
else
FileNum := CreateFile(ScriptPath + 'LCookPaint.bmp');
WriteFileString(FileNum, Data);
CloseFile(FileNum);
Result := LoadBitmap(ScriptPath +'LCookPaint.bmp');
end;
procedure PrintOnSmart(TP: TStringArray; Placement: TPoint; Colour, Shadow: integer);//Not Mines
var
mx, my, Pic, I, B, H, TPH, Numb, Chat: Integer;
TTP: TPointArray;
Canvas: TCanvas;
begin
SmartSetDebug(True);
GetClientDimensions(mx,my);
Pic := BitmapFromString(mx,my,'');
TPH := High(TP);
for I := 0 to TPH do
begin
TTP := LoadTextTPA(TP[i], SmallChars, H);
for B := 0 to High(TTP) do
begin
Numb := ((I + 1) * 13);
FastSetPixel(Pic, TTP[b].x + 1, TTP[b].y + Numb + 1, Shadow);
FastSetPixel(Pic, TTP[b].x + 1, TTP[b].y + Numb, Colour);
FastSetPixel(Pic, TTP[b].x, TTP[b].y + Numb, Colour);
end;
end;
Chat := BitmapFromWeb('http://download550.mediafire.com/urahoi7ac74g/cg6emw6idw54crq/LC+Paint.bmp');
Canvas := TCANVAS.Create;
Canvas.Handle := SmartGetDebugDC;
SetTransparentColor(Pic, 0);
FastDrawTransparent(Placement.x,Placement.y,Pic,Chat);
DrawBitmap(Chat,Canvas, 0, 0);
FreeBitmap(Pic);
FreeBitmap(Chat);
end;
I changed it so that it would save in the scripts folder and get the image from a different link.
Edit: I just noticed I forgot to uncomment these lines:
Simba Code:Result := WaitFuncEx('FindDTMWrap', Param1, RandomRange(30, 70), 2000) or WaitFuncEx('FindTextWrap', Param2, RandomRange(30, 70), 2000);
FreeDTM(RawDTM);
if not Result then
which should be lines 1145-47. Due to this it might click twice on the food sometimes
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
it doesnt run anymore at my pc. gives the error:
Exception: Error while reading stream: Wrong image format at line 398:
[script]
Result := LoadBitmap(IncludePath +'LCookPaint.bmp');
[/script]
Yes, Sorry I haven't updated this in a long while. School is currently killing me ... In the new version I have a death walk and breaks and stuff. But im still ("trying") to work out some errors im getting with the limited time I have... Ill be sure to post a stable version up soon (hopefully)
Edit: OK. Breaks are working great. Just a bit more testing (I need to test a level up) then I'm set for release. Sorry it took this long for the next version
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
I set [script]PaintToSMART = False; [/script] and downloaded his bmp and renamed it then it worked for me.
There is also a small problem with levelling. After the pause for the level up screen, the script will sometimes try to click the raw fish still left to be done, but since the range is still cooking it will deselect them before it can click the range again, thus making it unable to 'find fish' and will log out. Using the last raw fish in the inventory instead will fix this (unless you were done)
I noticed there was an error with the leveling up, I'm just trying to create my own procedure to handle the leveling up and then to test it![]()
Thanks for the feedback.
Its quite simple to fix I think. Once I'm done ill test it with an account close to leveling up.
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Update. Lumbridge Cooker Version 1.5
Changes includes:
- Edited SMART Paint.
- Changed AntiBan.
- Added Breaks. (Multiplayer Breaks Are Untested But Should Work)
- Fixed Leveling Up Bugs.
- Sped Up Cooking Minutely.
- Added Relocation (Death-Walk). You Can Start Anywhere In Runescape.
- Some more stuff...
Enjoy
Can Someone Test Multiplayer Breaks?
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Update. Lumbridge Cooker v1.7
Changes includes:
- Tweaked Minor Things
- Completely Reflection. No Color Used At All(Except For Essentials) So That People May Save System Resources By Sliding Down The FPS Bar...
- Updated To Reflection 2
Enjoy
Anyone Want To Get Me A Good Progress Report?
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Script works very well to me. I'll try to cook 2k lobsters today with your script. If your script will manage to cook 2k of my lobsters i will post proggy![]()
280/2000 are already cooked![]()
Great!!! Notice any errors?
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
There are currently 1 users browsing this thread. (0 members and 1 guests)