yeah i would need to rewrite everything from scratch, to be honest it’s not something I really want to do.
self taught
source code is a real mess
-- code generated by Win32Lib IDE v0.21.1 Build Sept-29-2006 constant ThePro - Pastebin.com
it doesn't work anymore sad
Bot, get on skype, I want to continue this Autoloot conversation
I would need to decompile the 15.0 client swf, to get all the sprite sheets, and then use the items.xml to get the item images from the sprite sheets.
I could then use that information to automatically generate all the item images needed,
including the correct back ground colouring, blending, and have a set of red highlighted images to be used in a auto loot script.
No the script is completely outdated, not been updated for 6 months
---------- Post added at 09:36 PM ---------- Previous post was at 09:31 PM ----------
Sorry guys am just not really interested in continuing the auto loot script
Why are you guys using images? That's the most inefficient way to do it.
Matching using a unique color to that item is the fastest way to do it, less memory, less looping, less math
---------- Post added at 04:01 PM ---------- Previous post was at 04:00 PM ----------
Also, I dont understand the benefit of running 8 scripts, seizing most of the cpu cycles vs 1 efficient script.
each pixel in a image as 3 bytes , image width,height 34*34*3 ==3468
each r,g,b byte for each pixel is added together, each pixel is added to each pixel
thats gives the hash, The highest number it can be is 256*3468 ==887808
then mod the hash to be in a range of 1--2000 //2000 is assumed to be the total items in the game
The point is, there is no need to iterate over every item image in the game checking each pixel to find a match, a quick hash and array index can tell you everything, performance is one hash one index into a array per inventory slot it’s very quick, hashing collision can be resolved easy enough
The colour pallet for the items is small, in most case there are no unique colours to each item.
Last edited by Botmaker; 08-06-2013 at 03:36 PM.
Botmaker (08-06-2013)
/ Approved
[ ] [ ] [ ] [ ][ ]
Editor from 06142011 2014
Donator since 09162011
Minion from 10102011 01062011
Minion+ from 01062012 08082012
Moderator from 08082012 10062012
Global Moderator from 10062012 12052017
Staff Administrator from 12052017 05012019
Trusted Member since 07132019
Global Moderator since 09112020
Mhm...
Its say its work only with 64 Bit-Windoff.
Any suggetions?