Hi, ich möchte hier ein Script releasen welches ermöglicht ,dass der Bot automatisch nach einem XP Shrine sucht in Act1 bevor er zum Baalrun geht und leecht.
Erstellt im Ordner bots ein neues script und wir nennen es NTExp.ntj
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");
NT_LoadConfig();
NTSI_LoadNIPFiles("NTBot/item_configs");
NTA_Initialize();
if(!NTTM_CheckAct())
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_CheckAct()");
return;
}
NTTMGR_TownManager();
const _MyCS_SHRINE = GetLocaleString(3255);
while(!me.GetState(137)){
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
return;
}
if(!NTM_TakeWaypoint(3))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}
NTP_DoPrecast(true);
getShrine();
NTM_MakeTP();
NTM_UsePortal("BluePortal");
if(me.GetState(137)){
break;
}
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
return;
}
if(!NTM_TakeWaypoint(4))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}
getShrine();
NTM_MakeTP();
NTM_UsePortal("BluePortal");
if(me.GetState(137)){
break;
}
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
return;
}
if(!NTM_TakeWaypoint(5))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}
getShrine();
NTM_MakeTP();
NTM_UsePortal("BluePortal");
break;
}
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
///////////////////////FUNCTIONS///////////////////////////////////////////////////
function getShrine()
{
const _MyCS_SHRINE = GetLocaleString(3255);
_unit = GetPresetUnits(me.areaid, NTC_UNIT_OBJECT);
if(_unit)
{
for(n = 0 ; n < _unit.length ; n++)
{
if(_unit[n].id == 2)
{
NTM_MoveTo(me.areaid, _unit[n].roomx*5+_unit[n].x, _unit[n].roomy*5+_unit[n].y);
_object = NTC_FindUnit(NTC_UNIT_OBJECT, _MyCS_SHRINE);
do
{
NTM_MoveTo(me.areaid, _object.x-3, _object.y);
} while(_object.GetNext() && !me.GetState(13));
}
}
}
}
nun geht ihr in eure char config und fügt folgendes VOR eurem Leechscript hinzu:
NTConfig_Script.push("NTExp.ntj");
Ihr benötigt folgende WPS: Kalte Ebene, Feld der Steine und Dunkelwald. Der Bot klappert die WPs nun nach einem XP shrine ab ;).
sry hab was vergessen: und zwar müsst ihr zuerst dieses Script von EON installieren sonst nimmt er die schreine nicht

You are not allowed to view links.
Register or
Login