Keine Ahnung obs geht, sag dus mir.
Code:
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");
NT_LoadConfig();
NTSI_LoadNIPFiles("NTBot/item_configs");
NTA_Initialize();
RegisterEvent(EVENT_GAMEMSG, NT_GameMsgEvents);
if(!NTTM_CheckAct())
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_CheckAct()");
return;
}
if(me.areaid != 109)
{
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
return;
}
if(!NTM_TakeWaypoint(109))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}
}
NTTMGR_TownManager();
NTTM_TownMove("portalspot");
for(i = 0; i <= 200; i++)
{
if(NTC_InMyParty(NTConfig_Leader))
break;
Delay(200);
}
while(me.areaid == 109 && NTC_InMyParty(NTConfig_Leader))
{
if(NTConfig_LeechTPMsg == "")
NTM_UsePortal("BluePortal", 131, NTConfig_Leader); // 50
Delay(2000);
}
NTM_MoveTo(me.areaid, 15118, 5002);
NTP_DoPrecast(true);
while(NTC_InMyParty(NTConfig_Leader) && NTC_FindUnit(NTC_UNIT_MONSTER, 543))
Delay(500);
NT_CheckHydraInt();
NTP_DoPrecast(true);
var _portal = NTC_FindUnit(NTC_UNIT_OBJECT, 563, 2);
if(!_portal)
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTC_FindUnit()");
return;
}
NTM_MoveTo(me.areaid, 15095, 5028);
NTM_MoveTo(me.areaid, 15092, 5010);
if(!NTM_UsePortal("Portal", 132, null, _portal))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_UsePortal()");
return;
}
var _baal = NTC_FindUnit(NTC_UNIT_MONSTER, 544);
while(NTC_InMyParty(NTConfig_Leader) && NTA_IsValidMonster(_baal))
Delay(2500);
Delay(2000);
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
function NT_GameMsgEvents(msg, type)
{
if(type == 0 && msg.indexOf(NTConfig_Leader) != -1 && msg.indexOf(NTConfig_LeechTPMsg) != -1 && NTConfig_LeechTPMsg != "")
{
while(me.areaid == 109)
{
NTM_UsePortal("BluePortal", 131, NTConfig_Leader);
}
}
}
Und es heißt Bo, und nicht Boo. (Bo = Battle orders und nicht Battle orders oders)
Und er Spammt nicht Bo, sondern es heißt casten