Lower Kurast script für NTbot

04/14/2009 09:03 ghostdlx#1
Ich suche für den NTBot ein Lower Kurast script. Ich habe zwar ein script gefunden jedoch teleportet er sich nur zu der ersten truhe macht ein tp und geht dann zum nächsten boss script.

Code:
function NTMain()
{
   Include("common/NTCommon.ntl");
   NTC_IncludeConfig();
   NTC_IncludeLibs();

   NT_LoadConfig();
   NTSI_LoadNIPFiles();

   NTA_Initialize();

   Print("ÿc3[Lower Kurast Script] - Load");

   if(!NTTM_CheckAct())
   {
      NTC_SendMsgToScript("default.ntj", "NTTM_CheckAct()");
      return;
   }

   NTTMGR_TownManager();

   if(!NTTM_TownMove("waypoint"))
   {
           NTC_SendMsgToScript("default.ntj", "NTTM_TownMove()");
           return;
   }

   if(!NTM_TakeWaypoint(79))
   {
           NTC_SendMsgToScript("default.ntj", "NTM_TakeWaypoint()");
           return;
   }

   NTP_DoPrecast();

   if(!NTM_MoveToObject(me.areaid, NTC_UNIT_OBJECT, 580))
   {
      NTC_SendMsgToScript("default.ntj", "NTM_MoveToObject()");
      return;
   }

   if(NTConfig_OpenChest)
   {
      var _chest;
      _chest = NTC_GetUnit(NTC_UNIT_OBJECT, "chest");
        if(_chest)
      {
         do
         {   
               if(NTM_MoveTo(_chest.areaid, _chest.x+2, _chest.y))
               {
                  if(NTC_OpenChest(_chest))
                     NTSI_PickItems();
               }
         } while(_chest.GetNext());
      }
   }
   
   NTC_SendMsgToScript("default.ntj", "SCRIPT_END");
}
04/14/2009 12:52 Medix#2
in deiner char config folgendes einstellen:

Code:
 
	NTConfig_OpenChest = true;	// Set to true to open chest
Ansonsten fragen zum d2nt bot in den anleitungsthread bitte :).

/Closed