Blizzhackers

Return of the Jedi

* Login   * Register    * FAQ    * Search

Join us on IRC: #bh@irc.synirc.net (or Mibbit Web IRC)


MuleFactory


It is currently Fri May 24, 2013 12:07 pm


All times are UTC [ DST ]





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: script problem
PostPosted: Thu May 03, 2012 7:58 pm 
 
User
User

Joined: Thu May 03, 2012 7:44 pm
Cant get this script to work... My sorc only stands in town for mb 10secs then leaves the game. Anyone know what the problem might be?

Running on oog 1.4.1 d2bs ntscripts.


Quote:
function NT_Mephisto2()
{
var _area;
var _exits;
var _destx, _desty;
var i;

print("ÿc3Starting Mephisto Script");

if (!NTTM_CheckAct())
throw new Error();

NTTMGR_TownManager();

print("ÿc8Going to Durance of Hate Level 2");
if (!NTTM_TownMove("waypoint"))
throw new Error();

if (!NTM_UsePortal("Waypoint", 101))
{
print("ÿc8Seems we do not have the waypoint, Lets go get it! Traveling to Durance of Hate Level 2");
NTM_TravelTO(101);

print("ÿc8Interacting with Waypoint as we don't have it.");
NTM_GotoWaypoint(101, true, 10000);
}

print("ÿc5Precasting");
NTP_DoPrecast();

print("ÿc8Going to Durance of Hate Level 3");
NTM_TravelTO(102);

if (NTConfig_CheckSafe)
{
if (!NTTMGR_CheckSafe(2))
{
print("Mephisto Safe Check = Failed!");
throw new Error();
}
}

if (NTConfig_Moattrick)
{
NTM_MoveTo(17563, 8071);
delay(1150);
NTM_WalkTo(17581, 8083);
delay(1200);
NTM_MoveTo(17597, 8088);
delay(600);
NTM_MoveTo(17609, 8086);
delay(7000);

var _Target;
_Target = NTC_GetUnit(NTC_UNIT_MONSTER, 242);

for (i = 0; i < 300; i += 1) {

if( _Target.hp > 0) {

NTC_DoCast(59, NTC_HAND_RIGHT, _Target);
} else {
i = 333
NTM_MoveTo(17597, 8088);
}
}
//NTA_KillBoss(242); //Mephisto
//NTM_MoveTo(17609, 8086);
}



if (NTConfig_ClearPosition)
NTA_ClearPosition();

NTSI_PickItems();

return true;
}

Top
 Profile  
 Post subject: Re: script problem
PostPosted: Thu May 03, 2012 8:50 pm 
 
User
User

Joined: Fri Jun 17, 2011 8:40 pm
what does it say in console after you run it?

Top
 Profile  
 Post subject: Re: script problem
PostPosted: Thu May 03, 2012 9:39 pm 
 
User
User

Joined: Thu May 03, 2012 7:44 pm
lol umm wheres the console?

Top
 Profile  
 Post subject: Re: script problem
PostPosted: Thu May 03, 2012 10:02 pm 
 
User
User

Joined: Thu May 03, 2012 7:44 pm
is it the log or is it at the top when youre ingame?

Top
 Profile  
 Post subject: Re: script problem
PostPosted: Sat May 05, 2012 6:20 am 
 
User
User

Joined: Fri Jun 17, 2011 8:40 pm
at the top - you hit the home key to show it

you can hit alt + home to type things into it like stop, reload, ect...

i imagine you don't have the way points or you've got a silly error somewhere in there which the console print out would
tell immediately

Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron