Author Topic: syntec error  (Read 745 times)

Offline jrb_fishy

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 6
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
syntec error
« on: August 31, 2010, 03:43:06 PM »
i have put these 2 files in and get the error when loading
this is from file NTBot/baalleech file
 

Code: [Select]
function NTMain()
{
   
   Include("libs/common/NTCommon.ntl");
   NTC_IncludeLibs();
   NTC_IncludeConfig("NTBot/char_configs");

   NT_LoadConfig();
   NTSI_LoadNIPFiles("NTBot/item_configs");

   NTA_Initialize(); // 10

   var _leader = "jrb_beatdown"; // Name of leader's character in game (exactly)
   
   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(_leader))
         break;

      Delay(200);
   }   

   while(me.areaid == 109 && NTC_InMyParty(_leader))
   {
      NTM_UsePortal("BluePortal", 131, _leader); // 50
      Delay(5000);
     
   }
   
   NTP_DoPrecast(true);

   while(NTC_InMyParty(_leader))
   {
      Delay(1000);
   }


   NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");

}

and this one is the one from the other file in scripts
Code: [Select]
function NTMain()
{
   
   Include("libs/common/NTCommon.ntl");
   NTC_IncludeLibs();
   NTC_IncludeConfig("NTBot/char_configs");

   NT_LoadConfig();
   NTSI_LoadNIPFiles("NTBot/item_configs");

   NTA_Initialize(); // 10

   var joinChannelInChat = ""; // leave blank to not join a private channel

   var leaderAccountName = "jrb_fishy7"; // Account name on friends list

   var gamepassword = '22'; // Game password if using one

   in case 28: // game does not exist
   Delay(20000); Edit this number accordingly, 1000 = 1 second 
   
   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(_leader))
         break;

      Delay(200);
   }   

   while(me.areaid == 109 && NTC_InMyParty(_leader))
   {
      NTM_UsePortal("BluePortal", 131, _leader); // 50
      Delay(5000);
     
   }
   
   NTP_DoPrecast(true);

   while(NTC_InMyParty(_leader))
   {
      Delay(1000);
   }


   NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
« Last Edit: August 31, 2010, 04:31:24 PM by cooptheking »

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

syntec error
« on: August 31, 2010, 03:43:06 PM »

cooptheking

  • Guest
Re: syntec error
« Reply #1 on: August 31, 2010, 04:36:31 PM »
Both those scripts are garbage..literally.
What exactly are you wanting your bot to do?
Follow your other character and just leech (not fight..but just chill in the corner and get lvls??)
or what.?
Be descriptive. The more you help me, the more i can help you!
And i'll post the appropiate file(s) that you need.

As far as getting the screen shot..
once you hit print screen you have to open the program "Paint"
then goto edit----->paste   (or just right click in teh white area nad click paste)
it'll "paste your "print screen".. (this is how you get an image of your desktop (or whatevers on your monitor!

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: syntec error
« Reply #1 on: August 31, 2010, 04:36:31 PM »

Offline jrb_fishy

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 6
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: syntec error
« Reply #2 on: September 01, 2010, 12:47:57 PM »
i dont really care to much on weather or not the leech bot fights or not i just want to be able to lvl chars with my high lvl bot and also to lvl him so he is not doing runs alone

cooptheking

  • Guest
Re: syntec error
« Reply #3 on: September 01, 2010, 02:49:18 PM »
http://purekaoz.com/index.php/topic,57.msg93.html#msg93

:) this is for both the leech, and leech fight scripts
For just leech (not fighting) goto the link provided, then the first link it provides ..

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: syntec error
« Reply #3 on: September 01, 2010, 02:49:18 PM »

Offline jrb_fishy

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 6
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: syntec error
« Reply #4 on: September 01, 2010, 03:31:45 PM »
it is still doing the same thing the error message says it has to to with the NtBotLeech.ntj and when you post on this site and i try and copy and paste it does not past in notepad very nice it stays in the fist 3 lines and its all at the damn top if you could be so kind as to email me the proper Ntbotleech and NtbaalLeechfight and diabloleechfight files to my email i would really like that my email is big_pappa_dana_fish@hotmail.com thanks

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: syntec error
« Reply #4 on: September 01, 2010, 03:31:45 PM »

cooptheking

  • Guest
Re: syntec error
« Reply #5 on: September 01, 2010, 03:41:09 PM »
If your using Internet Explorer, please use a different web browser. Personally I recommend Firefox.
But the code boxes do have an "issue" with I.E. for some reason.

Offline jrb_fishy

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 6
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: syntec error
« Reply #6 on: September 01, 2010, 04:52:13 PM »
ok i got firefox but which file do i put in and save and ntbotleech.ntj file there are somethings i am still not understanding

cooptheking

  • Guest
Re: syntec error
« Reply #7 on: September 01, 2010, 09:28:13 PM »
This is for just the leeching (not fighting script)
Code: [Select]
function NTMain()
{
   
   Include("libs/common/NTCommon.ntl");
   NTC_IncludeLibs();
   NTC_IncludeConfig("NTBot/char_configs");

   NT_LoadConfig();
   NTSI_LoadNIPFiles("NTBot/item_configs");

   NTA_Initialize(); // 10

   var _leader = "iMake_Fg"; // Name of leader's character in game (exactly)
   
   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(_leader))
         break;

      Delay(200);
   }   

   while(me.areaid == 109 && NTC_InMyParty(_leader))
   {
      NTM_UsePortal("BluePortal", 131, _leader); // 50
      Delay(5000);
       
   }
   
   NTP_DoPrecast(true);

   while(NTC_InMyParty(_leader))
   {
      Delay(1000);
   }


   NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");

}

use this for leechfight script
Code: [Select]
function NTMain()
{
   
   Include("libs/common/NTCommon.ntl");
   NTC_IncludeLibs();
   NTC_IncludeConfig("NTBot/char_configs");

   NT_LoadConfig();
   NTSI_LoadNIPFiles("NTBot/item_configs");

   NTA_Initialize(); // 10

   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 <= 100; i++)
   {
      if(NTC_InMyParty(NTConfig_Leader))
         break;

      Delay(200);
   }   

   while(me.areaid == 109 && NTC_InMyParty(NTConfig_Leader))
   {
      NTM_UsePortal("BluePortal", 131, NTConfig_Leader); // 50
      Delay(1000);
       
   }
   
   NTP_DoPrecast(true);

   while(NTC_InMyParty(NTConfig_Leader))
   {


   NT_ClearThroneInt();

   while(1)
   {
      if(me.classid == NTC_CHAR_CLASS_PALADIN || me.classid == NTC_CHAR_CLASS_BARBARIAN)
         NTM_MoveTo(me.areaid, 15092, 5028);
      else
         NTM_MoveTo(me.areaid, 15092, 5040);

      if(me.GetState(2))
         NTC_PutSkill(109, NTC_HAND_RIGHT);

      for(i = 0 ; i < 6 ; i++)
      {
         _wave = NT_ThroneCheckInt();
         if(_wave > 0)
            break;

         NTC_Delay(500);
      }

      _starttick = GetTickCount();

      while(_wave == 0)
      {
         if(!NT_ThronePreAttackInt())
            NTC_Delay(200);

         if(GetTickCount()-_starttick > 15000)
         {
            NT_ClearThroneInt();

            _starttick = GetTickCount();
         }

         _wave = NT_ThroneCheckInt();
      }

      switch(_wave)
      {
      case 1:
         NTA_ClearPosition(40, true, 1);
         NTP_DoPrecast(true);
         break;
      case 3:
         NTA_ClearPosition(40, true, 2);
         break;
      case 4:
         NTA_ClearPosition(40, true, 2);
         break;
      case 5:
         NTA_ClearPosition(40, true);
         break;
      default:
         NTA_ClearPosition(40, true, 1);
         break;
      }

      if(_wave == 5)
         break;
   }

   if(NTConfig_KillBaal)
   {
      var _portal;

      if(!NTTMGR_CheckSafe(NTConfig_CheckSelfSafe|0x01, NTConfig_CheckMercSafe))
      {
         NTC_SendMsgToScript("NTBotGame.ntj", "NTTMGR_CheckSafe()");
         return;
      }

      NTM_MoveTo(me.areaid, 15092, 5010);

      NTP_DoPrecast(true);

      while(NTC_FindUnit(NTC_UNIT_MONSTER, 543))
         NTC_Delay(500);

      _portal = NTC_FindUnit(NTC_UNIT_OBJECT, 563, 1);

      if(!_portal)
      {
         NTC_SendMsgToScript("NTBotGame.ntj", "NTC_FindUnit()");
         return;
      }

      if(!NTM_UsePortal("Portal", 132, null, _portal))
      {
         NTC_SendMsgToScript("NTBotGame.ntj", "NTM_UsePortal()");
         return;
      }

      NTM_MoveTo(me.areaid, 15138, 5916);

      if(!NTA_KillMonster(544))
      {
         NTC_SendMsgToScript("NTBotGame.ntj", "NTA_KillMonster()");
         return;
      }

      NTSI_PickItems();
   }


   }


   NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");

}


// Internal function
function NT_ClearThroneInt()
{
   var _attackpos = [15112, 5068, 15075, 5065, 15114, 5045, 15114, 5012, 15095, 5024, 15078, 5013, 15092, 5040];

   for(var i = 0 ; i < _attackpos.length ; i += 2)
   {
      NTM_MoveTo(me.areaid, _attackpos[i], _attackpos[i+1]);

      NTA_ClearPosition(25, true, 2);
   }
}

function NT_ThroneCheckInt()
{
   var _monster;

   if(!NTC_FindUnit(NTC_UNIT_MONSTER, 543))
      return 5;

   _monster = NTC_FindUnit(NTC_UNIT_MONSTER);

   if(_monster)
   {
      do
      {
         if(NTA_IsValidMonster(_monster))
         {
            if(_monster.classid == 23 || _monster.classid == 62)
               return 1;

            if(_monster.classid == 105 || _monster.classid == 381)
               return 2;

            if(_monster.classid == 557)
               return 3;

            if(_monster.classid == 558)
               return 4;

            if(_monster.classid == 571)
               return 5;
         }
      } while(_monster.GetNext());
   }

   return 0;
}

function NT_ThronePreAttackInt()
{
   if(me.classid == NTC_CHAR_CLASS_SORCERESS)
   {
      if(NTConfig_AttackSkill[3] == 56 || NTConfig_AttackSkill[3] == 59)
         return NTC_CastSkill(NTConfig_AttackSkill[3], 2, 15092, 5028);
   }
   else if(me.classid == NTC_CHAR_CLASS_PALADIN)
   {
      if(NTConfig_AttackSkill[3] == 112)
      {
         if(NTConfig_AttackSkill[4] > 0)
            NTC_PutSkill(NTConfig_AttackSkill[4], NTC_HAND_RIGHT);

         return NTC_CastSkill(NTConfig_AttackSkill[3], 2);
      }
   }

   return false;
}

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: syntec error
« Reply #7 on: September 01, 2010, 09:28:13 PM »

cooptheking

  • Guest
Re: syntec error
« Reply #8 on: September 01, 2010, 09:32:49 PM »
Also make sure in your character file
you add
NTConfig_Leader = "YourLeader_Name" // Your Leader name - CaSe sensitive

(change YOURLEADER_NAME part to your characters name in game).
then make sure your file names of your bot file
so if you named your "leech only script"
NTBaalLeech.ntj

make sure that the
character configuration has
   NTConfig_Script.push("NTBaalLeech.ntj");
under the boss configuration (spelled the same)
the same goes for the fight script

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: syntec error
« Reply #8 on: September 01, 2010, 09:32:49 PM »