In you guys' experience How much tolerance is generally sufficient for finding a bitmap of an item in the inventory/bank etc?
Want it to always work, but also keep it as low as possible to stop it from finding wrong object.
In you guys' experience How much tolerance is generally sufficient for finding a bitmap of an item in the inventory/bank etc?
Want it to always work, but also keep it as low as possible to stop it from finding wrong object.
It all depends on how you make the bitmap really, the bitmap of bronze arrows I made for my RangeGuilder works since I first created it before the major recent update.
Simba Code:BronzeArrowsBmp := BitmapFromString(10, 33, 'meJytUssKwjAQDCsigg+qFbFQqF' +
'poEYWeLCheFC/ePHjx4B/5zy4duuRVwUcIZTKzM7slUerXRT5M9Td' +
'cbIRkDBCt90xO0iKIM6rKgKEuD1feo2Q1mM2pOgJDzU73pLxM8y1v' +
'qMBQW8Oom5/JnArL4hkUu6OobCSnGGVNgVBh1IuVYwRpdRcjyrwdG' +
'bj5/zJa6kdG+SOvUQbzGkG+N/bHD95NRpbandQ1YiTdiBxdDeMnjC' +
'JJLz0KpEjKjKI6Si7UilLmgxGVx3YfUi+4MemVlHYRX6wXd5Uwgw==');
WriteLn('Looking for arrows...');
if FindBitmapToleranceIn(BronzeArrowsBmp, x, y, MIX1, MIY1, MIX2, MIY2, 10) then
Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
{ MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }
When posting a bug, please post debug! Help us, help you!
I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.
SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.
I've been thinking, if the items are still shrinking and growing, we could create a function that would perhaps also incorporate shrinking and growing of bitmaps, but would not be as heavy as finddeformed.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Making bitmap for ores, planning to use a chunk of the middle piece of the ore (the one that's actually the color of the ore and not just 'rock color) and include a bit of the black outline color on one edge of the bitmap too.
Just don't want to confuse tin with silver or something like that.
E: Wizzup.
The VERY SMALL shrinking bug no longer happens that only happened for a few days.
Sometimes items are a bit deformed though (usually just the left side of them) seems as if there is a imaginary square around them and the left side is bunched up against the square. Jagex is aware of all of these weird little item display problems and is going to fix them.
You really don't need the black outline, just make a box around the color of the ore with the rest filled in with black. Should work very well.
Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
{ MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }
When posting a bug, please post debug! Help us, help you!
I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.
SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.
Seems like having a bit of the black outline would be nice.
Just having like a blob of the brown iron ore color seems like it could be confused for a lot of other items, but including a bit of the black outline will set it apart from others.
What do you mean rest filled black? Why not just like a 'square of brown' for iron ore?
Ore always has the same shape right? The only difference is the color. I would take one of the smaller pieces of ore color (The pieces that look broken up) and make a bitmap around that.
Your square idea might be even better though![]()
Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
{ MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }
When posting a bug, please post debug! Help us, help you!
I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.
SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.
I use 40 with 3 by 4 bitmaps.
There are currently 1 users browsing this thread. (0 members and 1 guests)