Firstly i need Niren7's abot source.
Then i need information how to turn c++ scripts to *d2h, or opposite.
Plus any information about creating d2hackit bots, would be nice
And one d2j script containing some kind of error(maybe):
Code:
function getBoughtItem(item) {
//scanning for the new one
newitem = getUnit(4,null,1);
delay(100);
// If we have a item, check if it is in the old list
if (newitem) { do {
var new_item=true;
for (var x=0; x<sellarray.length; x+=1) {
if (sellarray[x]==newitem.gid) { new_item=false; }
}
if (new_item) { return newitem; }
} while (newitem.getNext(null,1)); }
return false;