Author Topic: Griswold Script help!  (Read 835 times)

Offline k2a1314

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 2
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Griswold Script help!
« on: September 02, 2010, 03:10:57 AM »
hey guys

was wondering if the tristram script can be set to only rush in and kill Gris instead of clearing?

i know i need to change sth with the clearlevel but i donno how i shoudl change it to make it kill griswold only :s

help!

thx =D


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();

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(4))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}

NTP_DoPrecast(true);

if(!NTM_MoveToPresetUnit(me.areaid, NTC_UNIT_MONSTER, 737, 10, 10))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToPresetUnit()");
return;
}

if(NTConfig_KillRakanishu)
{
if(!NTTMGR_CheckSafe(0x00, NTConfig_CheckMercSafe&0x01))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTMGR_CheckSafe()");
return;
}

if(NTA_KillMonster(GetLocaleString(2872)))
{
if(NTConfig_ClearPosition)
NTA_ClearPosition();

NTSI_PickItems();
}
}

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

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

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

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

Griswold Script help!
« on: September 02, 2010, 03:10:57 AM »

Offline mythosis

  • PK Pro
  • ****
  • Join Date: Aug 2010
  • Posts: 265
  • Reputation 0
  • USWest Channel: op pkbaal
    • View Profile
Re: Griswold Script help!
« Reply #1 on: September 03, 2010, 04:36:01 AM »
Go to NTConfig
add
Code: [Select]
var NTConfig_ClearTristram;
go to your character config
make it
Code: [Select]
NTConfig_Script.push("NTTristram.ntj"); NTConfig_KillRakanishu = true; NTConfig_ClearTristram = false;true: clear tristram, false just do griswold

Replace your Tristram file with this:
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();

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(4))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}

NTP_DoPrecast(true);

if(!NTM_MoveToPresetUnit(me.areaid, NTC_UNIT_MONSTER, 737, 10, 10))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToPresetUnit()");
return;
}

if(NTConfig_KillRakanishu)
{
if(!NTTMGR_CheckSafe(0x00, NTConfig_CheckMercSafe&0x01))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTMGR_CheckSafe()");
return;
}

if(NTA_KillMonster(GetLocaleString(2872)))
{
if(NTConfig_ClearPosition)
NTA_ClearPosition();

NTSI_PickItems();
}
}

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

//Kill Griswold
if(!NTM_MoveTo(me.areaid, 25140, 5180))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveTo()");
return;
}

NTC_Delay(200);

if(!NTA_KillMonster(365))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTA_KillMonster()");
return;
}
//End Kill Griswold

if(NTConfig_ClearTristram)
{
if(!NTA_ClearLevel())
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTA_ClearLevel()");
return;
}
}

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

tada

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

Re: Griswold Script help!
« Reply #1 on: September 03, 2010, 04:36:01 AM »

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Griswold Script help!
« Reply #2 on: September 03, 2010, 09:26:19 AM »
Confused how yu did that?

Yu just have it, if clear trist is true, kill griswald first, then clear trist?

I would have ended up doin it different lol.

Code: [Select]
function NTMain()
{
Everything..................
...................................

   if(NTConfig_ClearTristram)
   {
       NTA_ClearLevel();
   }
   else
   {
       NTM_MoveTo(me.areaid, 25140, 5180);
       NTA_KillMonster(365);
   }
   NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline k2a1314

  • Newbie
  • *
  • Join Date: Jul 2010
  • Posts: 2
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Re: Griswold Script help!
« Reply #3 on: September 03, 2010, 01:11:57 PM »
works great =] thanks guys !

just wondering, how do u guys get the area id and monster codes and stuff?

just wondering caz most the time i can have this done myself if i knew the codes and numbers =(

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

Re: Griswold Script help!
« Reply #3 on: September 03, 2010, 01:11:57 PM »

cooptheking

  • Guest
Re: Griswold Script help!
« Reply #4 on: September 03, 2010, 01:27:05 PM »
mpq folder and
sdk folder

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

Re: Griswold Script help!
« Reply #4 on: September 03, 2010, 01:27:05 PM »