olha a todos
muito bom esse forum, aprendi a ligar o bot do d2 aki
to usando uma versao do d2nt daki, que eu modifiquei com outr de um amigo meu, ta rodando blz
so que agora to jogando num servidor private que tem full rejuvenation na loja
eu queria comprar a fullrefuvenation, mas nao sei como faço isso algum pode me ajudar,
colocando o scripit pramim? pelo que li nos foruns gringos é no arquivo ntttown
se puderem dar uma olhada nesse link
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]o meu arquivo nessa parte ai ta assim
function NTT_GetPotionAtNPCInt(type, npc)
{
var _items;
if(!type)
return null;
if(type == "hp" || type == "mp")
{
_items = npc.GetItems();
if(_items)
{
var n;
for(var i = 0 ; i < _items.length ; i++)
{
for(n = 5 ; n > 0 ; n--)
{
if(_items[i].code == (type+n))
return _items[i];
}
}
}
}
else
{
if(type == "rv")
return null;
_items = npc.GetItems(type);
if(_items && _items.length > 0)
return _items[0];
}
return null;
}
function NTT_BuyPotionsFastInt(npc)
{
var i, n;
var _insert, _potion;
var _typearray = new Array();
for(i = 0 ; i < 4 ; i++)
{
if(_NTT_BeltColNeeded[i] > 0)
{
if(_typearray.length == 0)
_typearray.push(NTConfig_BeltColType[i]);
else
{
_insert = true;
for(n = 0 ; n < _typearray.length ; n++)
{
if(_typearray[n] == NTConfig_BeltColType[i])
_insert = false;
}
if(_insert)
_typearray.push(NTConfig_BeltColType[i]);
}
}
}
for(i = 0 ; i < _typearray.length ; i++)
{
if(_typearray[i] == "rv")
continue;
_potion = NTT_GetPotionAtNPCInt(_typearray[i], npc);
if(_potion)
{
if(NTT_ShopItem(_potion, npc, 3))
continue;
else
return false;
}
else
return false;
}
return true;
}
podem me ajudar?