Zodiakk93 Posted November 22, 2013 Share Posted November 22, 2013 (edited) I am getting 'Unknown Identifier 'Holdmouse''. I also get it on'ActivateClient' and 'FindColorTolerance' but not 'FindColor'. For the record, this same script runs just fine on my primary laptop which runs 3.12. I tried running it on 3.12 on my new Secondary laptop and got no compilation errors, but it will not click. Anyone know what may be going on here? Also, here is the current script (it is not for RS, its for another game called Oz) program cast; var x, y: Integer; begin Repeat if (FindColor(x, y, 4367103, 75, 190, 75, 190))then //if fish detected begin x := 82; y := 184; wait(random(100)+8000) HoldMouse(x,y,true); wait(random(300)+120); releasemouse(x,y,true); wait(random(200)+9000) end; until false end. EDIT: I see now that 'FindColorTolerance' is now just 'FindColorTol', maybe there are other functions(is that the right term?) that have been renamed. Edited November 22, 2013 by Zodiakk93 Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 22, 2013 Share Posted November 22, 2013 The API has changed a lot since version 32.12, the script has to be updated. Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 22, 2013 Share Posted November 22, 2013 https://github.com/OSI1/OfficialSCARInclude/blob/master/Divi/Human/Mouse.scar Quote Link to comment Share on other sites More sharing options...
Zodiakk93 Posted November 22, 2013 Author Share Posted November 22, 2013 Thank you very much guys! Quote Link to comment Share on other sites More sharing options...