moin,
ja wie im Titel schon beschrieben geht es um das Mephisto moat script und zwar würde ich dieses script in ein anderes script mit einbauen aber leider hab ich davon null ahnung :D weswegen ich hier poste^^ was allerdings beachtet werden muss ist das dieses script in das das moat rien soll eine sorc steuert die von einem bo barb bo bekommt (falls das eine rolle spielt)
mephisto moat:
das script wo es rein soll:
habe es natürlich auch schon selber versucht wo aber leider ein syntaxerror bei rausgekommen ist :P
ja wie im Titel schon beschrieben geht es um das Mephisto moat script und zwar würde ich dieses script in ein anderes script mit einbauen aber leider hab ich davon null ahnung :D weswegen ich hier poste^^ was allerdings beachtet werden muss ist das dieses script in das das moat rien soll eine sorc steuert die von einem bo barb bo bekommt (falls das eine rolle spielt)
mephisto moat:
Code:
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();
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
return;
}
if(!NTM_TakeWaypoint(101))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}
NTP_DoPrecast(true);
if(!NTM_MoveToStair(me.areaid, 102))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToStair()");
return;
}
if(!NTM_TakeStair(102))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeStair()");
return;
}
if(!NTTMGR_CheckSafe(NTConfig_CheckSelfSafe, NTConfig_CheckMercSafe))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTMGR_CheckSafe()");
return;
}
if(!NTM_MoveTo(me.areaid, 17564, 8069))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveTo()");
return;
}
NTC_Delay(200);
NTM_MoveTo(me.areaid, 17560, 8072);
NTC_Delay(350);
NTM_WalkTo(17563, 8072)
NTC_Delay(350);
NTM_WalkTo(17585, 8095)
NTC_Delay(350);
NTM_MoveTo(me.areaid, 17611, 8085)
NTC_Delay(350);
if(!NTA_KillMonster(242))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTA_KillMonster()");
return;
}
NTSI_PickItems();
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
Code:
/////////////////////////////////////////
///////////////Meph//////////////////////
/////////////////////////////////////////
if(KillMephisto)
{
NTTMGR_TownManager();
NTTM_TownMove("waypoint");
NTM_TakeWaypoint(101);
NTM_MoveTo(me.areaid, me.x+5, me.y);
NTP_DoPrecast();
NTM_MoveToStair(me.areaid, 102);
NTM_TakeStair(102);
NTP_DoPrecast();
NTM_MoveTo(me.areaid, 17590, 8070);
NTA_KillMonster(242);
NTC_PingDelay(1000);
NTSI_PickItems();
}
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
Code:
/////////////////////////////////////////
///////////////Meph//////////////////////
/////////////////////////////////////////
if(KillMephisto)
{
NTTMGR_TownManager();
NTTM_TownMove("waypoint");
NTM_TakeWaypoint(101);
NTM_MoveTo(me.areaid, me.x+5, me.y);
NTP_DoPrecast();
if(!NTM_MoveToStair(me.areaid, 102))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToStair()");
return;
}
if(!NTM_TakeStair(102))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeStair()");
return;
}
if(!NTTMGR_CheckSafe(NTConfig_CheckSelfSafe, NTConfig_CheckMercSafe))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTMGR_CheckSafe()");
return;
}
if(!NTM_MoveTo(me.areaid, 17564, 8069))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveTo()");
return;
}
NTC_Delay(200);
NTM_MoveTo(me.areaid, 17560, 8072);
NTC_Delay(350);
NTM_WalkTo(17563, 8072)
NTC_Delay(350);
NTM_WalkTo(17585, 8095)
NTC_Delay(350);
NTM_MoveTo(me.areaid, 17611, 8085)
NTC_Delay(350);
if(!NTA_KillMonster(242))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTA_KillMonster()");
return;
}
NTSI_PickItems();
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}