Wanted Posted December 9, 2011 Share Posted December 9, 2011 (edited) https://github.com/OSI1/OSI1/commit/0269fc870ead19eb025ce27d729cc0571b11a533 https://github.com/OSI1/OSI1/commit/a8b7bd4e42a2399d2a7e4cea1a7ed8e3ef6aa23c Horay for a productive day and I still have another 5 hours to do more productive things for OSI! We now have plenty of MM Dot functions that work super accurate! Here's a test: (43ms even on world 2 GE) and if that's not good enough for you there's one that accounts for some (very very rare) overlapping in Extended\Map.scar (x2 as slow but still! ) List of new Map.scar stuff * function FindMMDotsEx(ColorDiffs: TIntegerArray): T2DPointArray; By: Wanted * function FindMMDots(cldDot: Integer): TPointArray; By: Wanted * function CountMMDotsEx2(ColorDiffs: TIntegerArray): TIntegerArray; By: Wanted * function CountMMDotsEx(ColorDiffs: TIntegerArray): Integer; By: Wanted * function CountMMDots(cldDot: Integer): Integer; By: Wanted + The Overlap one in Extended. Here's the globals you can use with them cldWhiteDot = 1907997; // December 8, 2011 Wanted 688 cldYellowDot = 4369; // December 8, 2011 Wanted 688 cldRedDot = 23; // December 8, 2011 Wanted 688 cldGreenDot = 5376; // December 8, 2011 Wanted 688 //cldBlueDot = 1907997; // December 8, 2011 Wanted 688 // FIX //cldPurpleDot = 1907997; // December 8, 2011 Wanted 688 // FIX or your own custom numbers . I still need to collect the data for Blue and purple dot =/ ... but who uses those ? For those of you who like to use ClickMouse or ClickMouseMid in SMART you now can thanks to the added wrappers I put in there. Lastly, here are some dtm/bmp inventory functions * function FindInvItemsDTM(dtm: Integer): TIntegerArray; By: Wanted * function CountInvItemsDTM(dtm: Integer): Integer; By: Wanted * function FindInvItemsBMP(bmp, Tol: Integer): TIntegerArray; By: Wanted * function CountInvItemsBMP(bmp, Tol: Integer): Integer; By: Wanted These return slot index(es) so you can use them easily with things like DepositExclude, DropItems(FindInvItemsDTM(....)) etc.. this is a new very powerful structure for script writing I have been planning for quite some time Enjoy all these updates and more like it soon to follow! Now working on some object and bank stuff. Edited December 9, 2011 by Wanted Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted December 9, 2011 Share Posted December 9, 2011 (edited) https://github.com/OSI1/OSI1/commit/0269fc870ead19eb025ce27d729cc0571b11a533https://github.com/OSI1/OSI1/commit/a8b7bd4e42a2399d2a7e4cea1a7ed8e3ef6aa23c Well there goes an afternoon's work writing these same functions for a script. Good job! Edited December 9, 2011 by Wanted Dont' make such long quotes xD Quote Link to comment Share on other sites More sharing options...
Wanted Posted December 9, 2011 Author Share Posted December 9, 2011 Well there goes an afternoon's work writing these same functions for a script. Good job! Lol , you should get on the IRC more often so you know what I'm doing. Quote Link to comment Share on other sites More sharing options...
wyn10 Posted December 11, 2011 Share Posted December 11, 2011 Banking....Banking....Banking. Quote Link to comment Share on other sites More sharing options...