View Single Post
Old 10-09-2007, 09:34 PM   #1 (permalink)
kayen
BattleForums Newbie
 
Join Date: Jul 2005
Age: 21
Posts: 16
Niren7's abot - D2h mods.

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;

Last edited by kayen; 10-09-2007 at 10:45 PM.
kayen is offline   Reply With Quote