Author Topic: [D2NT] TheFreak Chaos Script  (Read 5693 times)

Offline TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
[D2NT] TheFreak Chaos Script
« on: August 13, 2010, 02:07:14 AM »
This is Now 'v2.50' There will be more updates as i get more time to work on it.

Quote
Script Includes:
- Choice to Tp at star, after Tping at Entrance, if Clear_From_Entrance is true.

- Choice to just start at star.

- Made it a little smaller by deleting extra lines of code.

- More attack positions to improve sustainability, and safety.

- Includes attacking after each seal to star, in-case a monster is missed on tha way to seal.

- Bo's after each seal boss, at star.

- Clear's star after each seal boss.

- Announces NG in game. It announces tha number, but when less than 10, it doesn't include 0 before 1-9.

First go to yur char config and add this:

Code: [Select]
//---------------------------------------------
// TheFreakChaos
//---------------------------------------------
//NTConfig_Script.push("Coords.ntj");
NTConfig_Script.push("TheFreakChaos.ntj");
RushSeals = false; // Fastmode.
Clear_From_Entrance = false; // Clear from front, Else from star.
PrecastBeforeSeis = true; // Precast after Vizier at star.
PrecastBeforeVenom = true; // Precast after Venom at star.
ClearTpSpot = 4; //1, 2, or 3. 1, will clear once tp'd. 2, will clear when tp'd and heading to seis. 3, will clear when tp'd, heading to sies, and heading to venom.
SomeOneHitSealMsg = "Fuckin nub's hit my seal's!";
NewTp_Star = true;
ClearEntrance_TpStarMsg = "New Tp At Star, Stay close."; // if Clear_From_Entrance, and NewTp_Star = true say this when new tp
EntranceMsg = "Tp up at entrance, Hurry";
StarMsg = "Tp up at star. Stay close to ensure safety";
ClearTpMsg = "Clearing Tp Spot";
DowningDiabloMsg = "Killing Big Dick Fucker";
FailSafeMsg = "Diablo Has not spawned. Checking to see if i missed something"; // If Dia doesnt spawn in 10 seconds of expected arrival time. Checks Seal's And bosses.

Now open NTConfig.ntl Located in NTBots-->char config

Anywhere inside that file add:

Code: [Select]
var gameAnnouncement      = ""; Close && Save

Now change tha in-game ng message inside tha main script.

Then make a new script in your bots folder called 'TheFreakChaos.ntj'

And copy this into it:

*v.2.00*
Code: [Select]
// ------------------------------------------------------------------------------------------------
// TheFreaks Chaos *v2.50*
// Yu downloaded this script from http://PureKaoz.com
// Do not distribute this script wit changes wit out consulting me beforehand.
//-------------------------------------------------------------------------------------------------

//-------------------------------------------------------------------------------------------------
// Variable's. Only adjust 'var gameAnnouncement'
//-------------------------------------------------------------------------------------------------
var gameAnnouncement      = "Next Game = %game%counter. Follow runz in channel\: \'OP Rip-Mori\'"; // leave blank not to post a channel announcement
var gameAnnouncementDelay   = 200;
var gameAnnouncementDelayRandom = 50;
var lastGameMade = GetTickCount();
var lastGameStatus = 0;
var nextGameMake = 0;

var gameText = gameAnnouncement;
    gameText = gameText.replace("%password", me.gamepassword);
    gameText = gameText.replace("%game", getGameName(me.gamename));
    gameText = gameText.replace("%counter", getGameCounter(me.gamename, true)); 

//---------------------------------------------------------------------------------------------------
// Script
//---------------------------------------------------------------------------------------------------
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");

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

NTA_Initialize();

NTTM_CheckAct(1);

NTTMGR_TownManager();

NTTM_TownMove("waypoint");

NTM_TakeWaypoint(107);

NTP_DoPrecast(true);

NTM_MoveTo(108, 7795, 5585);

var _ClearEntranceX = [7793, 7767, 7819, 7786, 7768, 7811, 7778, 7814, 7792];
var _ClearEntranceY = [5506, 5433, 5459, 5414, 5369, 5356, 5311, 5315, 5292];

if(Clear_From_Entrance)
{
if(NTConfig_PublicMode)
{
NTM_MoveTo(me.areaid, 7791, 5568);
NTA_ClearPosition(15);
NTM_MoveTo(me.areaid, 7791, 5568);

NTM_MakeTP();

Say(EntranceMsg);
}
for(var e = 0; e < _ClearEntranceX.length; e++)
{
NTM_MoveTo(108, _ClearEntranceX[e], _ClearEntranceY[e], null, 2);
}

if(NewTp_Star && NTConfig_PublicMode)
{
NTM_MoveTo(me.areaid, 7792, 5292, null, 2)

NTM_MakeTP();

if(ClearEntrance_TpStarMsg != "")
Say(ClearEnteramce_TpStarMsg);
}

}
else if(Clear_From_Entrance != true)
{
NTM_MoveTo(me.areaid, 7792, 5292);

if(NTConfig_PublicMode)
{
NTM_MakeTP();
Say(StarMsg);
if(ClearTpSpot == 1 || 2 || 3 || 4)
{
Say(ClearTpMsg);
NTA_ClearPosition(15);
NTM_MoveTo(me.areaid, 7792,5292, null, 2);
NTA_ClearPosition(10);
}
}
}

NTP_DoPrecast(true);

Discover_Map();

if(RushSeals)
{
Fast_Pop();
}
else
{
if(NTConfig_PublicMode)
{
if(ClearTpSpot == 2 || 3 || 4)
{
Say(ClearTpMsg);
NTA_ClearPosition(25);
NTM_MoveTo(me.areaid, 7792, 5292, null, 2)
NTA_ClearPosition(30);
Delay(200);
Say("Heading to Vizier");
}
else
{
if(ClearTpSpot == 0 || 1)
Say("Heading to Vizier");
}
}

Kill_Viz();

if(PrecastBeforeSeis)
{
NTM_MoveTo(me.areaid, 7792, 5292);
NTP_DoPrecast(true);
}

if(NTConfig_PublicMode)
{
if(ClearTpSpot == 3 || 4)
{
Say(ClearTpMsg);
NTA_ClearPosition(25);
NTM_MoveTo(me.areaid, 7792, 5292, null, 2)
NTA_ClearPosition(30);
Delay(200);
Say("Heading to Seis");
}
else
{
if(ClearTpSpot == 0 || 1 || 2)
Say("Heading to Seis");
}
}

Kill_Seis();

if(PrecastBeforeVenom)
{
NTM_MoveTo(me.areaid, 7792, 5292, null, 2);
NTP_DoPrecast(true);
}

if(NTConfig_PublicMode)
{
if(ClearTpSpot == 4)
{
Say(ClearTpMsg);
NTA_ClearPosition(25);
NTM_MoveTo(me.areaid, 7792, 5292, null, 2)
NTA_ClearPosition(30);
Delay(200);
Say("Heading to Venom");
}
else
{
if(ClearTpSpot == 0 || 1 || 2 || 3)
Say("Heading to Venom");
}
}
Kill_Venom();

if(NTConfig_PublicMode)
{
Say(DowningDiabloMsg);
}
Kill_Dia();
}

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

}

// ----------------------
// Normal Dia Functions
// ----------------------

function Pop_Seal(classid, x, y)
{
NTM_MoveTo(108, x, y);

var seal = NTC_FindUnit(NTC_UNIT_OBJECT, classid, 10);

if(seal.mode !=0)
{
Say(SomeOneHitSealMsg);
}
else
{
NTA_ClearPosition(40);

for(var i = 0; i < 4; i++)
{
if((i % 2) == 0)
{
if(GetDistance(me, seal) > 2) NTM_MoveTo(seal.areaid, seal.x+4, seal.y);

NTC_DoClick(NTC_CLICK_LDOWN, NTC_SHIFT_NONE, seal);
}

NTC_Delay(200);
}
}
return seal.mode > 0 ? 1 : 0;
}

function Kill_Viz(type)
{
var _WestX = [7756, 7752, 7725, 7726, 7706, 7718, 7718, 7684];
var _WestY = [5305, 5277, 5277, 5315, 5315, 5295, 5269, 5292];
var TheVizier = GetLocaleString(2851);

for(var v = 0; v < _WestX.length; v++)
{
NTM_MoveTo(108, _WestX[v], _WestY[v], null, 2);
}

for(var i = 0 ; i < 2 ; i++)
{
if(type == 1)
{
Pop_Seal(396, 7659, 5277);
NTA_ClearPosition();
Pop_Seal(395, 7654, 5310);
}
else
{
Pop_Seal(395, 7650, 5276);
NTA_ClearPosition();
Pop_Seal(396, 7651, 5310);
}
for(var i = 0; i < 4; i++)
{
KillMonster(TheVizier, 1);
NTA_ClearPosition();
}
}
return true;
}

function Kill_Seis(type)
{
var _NorthX = [7786, 7770, 7790, 7808, 7807, 7792, 7771, 7808, 7811, 7777];
var _NorthY = [5258, 5246, 5242, 5260, 5228, 5243, 5200, 5195, 5155, 5153];
var LordDeSeis = GetLocaleString(2852);

for(var s = 0; s < _NorthX.length; s++)
{
NTM_MoveTo(108, _NorthX[s], _NorthY[s], null, 2);
}


for(var i = 0 ; i < 2; i++)
{
if(type == 1)
{
Pop_Seal(394, 7769, 5157);
Delay(200);
}
else
{
Pop_Seal(394, 7810, 5156);
Delay(200);
}
        for(var i = 0; i < 4; i++);
{
KillMonster(LordDeSeis, 1);
NTA_ClearPosition();
}
}
return true;
}

function Kill_Venom(type)
{
var _EastX = [7819, 7824, 7847, 7854, 7866, 7931, 7929, 7907];
var _EastY = [5277, 5318, 5275, 5319, 5270, 5275, 5312, 5316];
var TheVenomLord = GetLocaleString(2851);

for(var v = 0; v < _EastX.length; v++)
{
NTM_MoveTo(108, _EastX[v], _EastY[v], null, 2);
}

for(var i = 0 ; i < 2 ; i++)
{
if(type == 1)
{
Pop_Seal(392, 7895, 5318);
NTA_ClearPosition();
for(var kill = 0; kill < 4; kill++);
{
KillMonster(TheVenomLord, 1);
NTA_ClearPosition();
}
NTA_ClearPosition();
Pop_Seal(393, 7915, 5280);
}
else
{

Pop_Seal(392, 7916, 5310);
NTA_ClearPosition();
for(var kill = 0; kill < 4; kill++);
{
KillMonster(TheVenomLord, 1);
NTA_ClearPosition();
}
NTA_ClearPosition();
Pop_Seal(393, 7905, 5277);
}
for(var kill = 0; kill < 2; kill++);
{
NTC_FindMonster(TheVenomLord);
KillMonster(TheVenomLord, 1);
NTA_ClearPosition();
}
}
return true;
}

function Kill_Dia()
{
var _DiaX = [7933, 7932, 7884, 7792];
var _DiaY = [5305, 5278, 5276, 5292];

for(var d = 0; d < _DiaX.length; d++)
{
NTM_MoveTo(me.areaid, _DiaX[d], _DiaY[d]);
}

NTP_DoPrecast(true);

while(!NTC_FindMonster("Diablo"))
{
var CurrentNumber = 2;
while(CurrentNumber <= 10)
{
  Delay(1000);
Print(CurrentNumber + " seconds");
  CurrentNumber = CurrentNumber + 1;
}

if(!KillMonster("Diablo"))
break;

if(CurrentNumber = 10)
break;
}

for(var i = 0; i < 1; i++);
{
if(KillMonster("Diablo"))
{
KillMonster("Diablo", 1);
NTSI_PickItems();
}
else
{
Say(FailSafeMsg);
while(CheckSeals())
{
if(NTC_FindMonster("Diablo"))
{
KillMonster("Diablo", 1);
Announce_NG();
Delay(200);
ExitGame();
}
}

}
}
NTSI_PickItems();

Announce_NG();

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

// ------------------------
// Fast Dia Functions
// ------------------------`

function Fast_Pop()
{

Fast_Viz();
if(PrecastBeforeSeis)
{
NTM_MoveTo(me.areaid, 7792, 5292);
NTP_DoPrecast(true);
}
Fast_Seis();
if(PrecastBeforeVenom)
{
NTM_MoveTo(me.areaid, 7792, 5292);
NTP_DoPrecast(true);
}

Fast_Venom();
Fast_Dia();
}

function Fast_Viz(type)
{
var _WestX = [7756, 7684];
var _WestY = [5305, 5292];
var TheVizier = GetLocaleString(2851);

for(var v = 0; v < _WestX.length; v++)
{
NTM_MoveTo(108, _WestX[v], _WestY[v]);
}
for(var i = 0 ; i < 2 ; i++)
{
if(type == 1)
{
Fast_Pop_Seal(396, 7659, 5277);
Fast_Pop_Seal(395, 7654, 5310);
}
else
{
Fast_Pop_Seal(395, 7650, 5276);
Fast_Pop_Seal(396, 7651, 5310);
}
for(var i = 0; i <1; i++)
{
NTC_FindMonster(TheVizier);
KillMonster(TheVizier, 1);
}
}
return NTM_MoveTo(me.areaid, 7792, 5292, null , 2);
}

function Fast_Seis(type)
{
var _NorthX = [7786, 7777];
var _NorthY = [5258, 5153];
var LordDeSeis = GetLocaleString(2852);

for(var s = 0; s < _NorthX.length; s++)
{
NTM_MoveTo(108, _NorthX[s], _NorthY[s]);
}


for(var i = 0 ; i < 2 ; i++)
{
if(type == 1)
{
Fast_Pop_Seal(394, 7769, 5157);
Delay(200);
}
else
{
Fast_Pop_Seal(394, 7810, 5156);
Delay(200);
}
        Delay(200);
for(var i = 0; i < 2; i++)
{
NTC_FindMonster(LordDeSeis);
KillMonster(LordDeSeis, 1);
}
}
return NTM_MoveTo(me.areaid, 7792, 5292, null, 2);
}

function Fast_Venom(type)
{
var _EastX = [7819, 7907];
var _EastY = [5277, 5316];
var TheVenomLord = GetLocaleString(2853);

for(var v = 0; v < _EastX.length; v++)
{
NTM_MoveTo(108, _EastX[v], _EastY[v]);
}

for(var i = 0 ; i < 2 ; i++)
{
if(type == 1)
{
Fast_Pop_Seal(392, 7895, 5318);
Fast_Pop_Seal(393, 7915, 5280);
}
else
{
Fast_Pop_Seal(393, 7905, 5277);
Fast_Pop_Seal(392, 7916, 5310);
}
for(var i = 0; i < 2; i++)
{
NTC_FindMonster(TheVenomLord);
KillMonster(TheVenomLord, 1);
}
}
return NTM_MoveTo(me.areaid, 7792, 5292, null, 2);
}

function Fast_Dia()
{
var _DiaX = [7933, 7792];
var _DiaY = [5305, 5292];

for(var d = 0; d < _DiaX.length; d++)
{
NTM_MoveTo(me.areaid, _DiaX[d], _DiaY[d]);
}

NTP_DoPrecast(true);

while(!NTC_FindMonster("Diablo"))
Delay(200);

KillMonster("Diablo");

NTSI_PickItems();

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

function Fast_Pop_Seal(classid, x, y)
{
NTM_MoveTo(108, x, y);

var seal = NTC_FindUnit(NTC_UNIT_OBJECT, classid, 10);

if(seal.mode > 0) return;

for(var i = 0; i < 4; i++)
{
if((i % 2) == 0)
{
if(GetDistance(me, seal) > 2) NTM_MoveTo(seal.areaid, seal.x+4, seal.y);

NTC_DoClick(NTC_CLICK_LDOWN, NTC_SHIFT_NONE, seal);
}

NTC_Delay(200);
}
}

function Spec_Kill_Dia()
{
var _DiaX = [7933, 7932, 7884, 7792];
var _DiaY = [5305, 5278, 5276, 5292];

for(var d = 0; d < _DiaX.length; d++)
{
NTM_MoveTo(me.areaid, _DiaX[d], _DiaY[d]);
}

NTP_DoPrecast(true);

KillMonster("Diablo");

NTSI_PickItems();

Announce_NG();

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

function KillMonster(classid, retry)
{
if(arguments.length < 2)
retry = 0;

var _target;

if(NTConfig_AttackSkill[1] < 1)
return false;

_target = NTC_FindUnit(NTC_UNIT_MONSTER, classid, retry);

if(!_target)
return false;

if(_target.IsAttackable())
{
var _attackcount = 0;

while(_attackcount < 300 && NTA_IsValidMonster(_target))
{
if(NTA_Attack(_target, (_attackcount%30) == 0) < 2)
break;

_attackcount++;
}
}

if(_target.hp <= 0 || _target.mode == 0 || _target.mode == 12)
return true;

}

function NTC_FindMonster(classid, spectype)
{
var _monster;

if(arguments.length < 1)
return false;

if(arguments.length < 2)
spectype = 0;

for(var i = 0 ; i < 2 ; i++)
{
_monster = GetUnit(NTC_UNIT_MONSTER, classid);

if(_monster)
{
if(spectype)
{
do
{
if(_monster.spectype & spectype)
return _monster;
} while(_monster.GetNext());
}
else
return _monster;
}

if(i < 1)
NTC_PingDelay(200);
}

return false;
}

function Discover_Map()
{
Print("?c5Map type's\:");

var _result = false;
var viztype, venomtype, seistype;


var pre = GetPresetUnits(108, NTC_UNIT_OBJECT);

for(var i = 0; i < pre.length; i++)
{
if(pre[i].id == 396)
{
if(pre[i].roomy*5 + pre[i].y == 5275 && pre[i].roomx*5 + pre[i].x == 7655)

viztype = 2;
else

viztype = 1;
}

if(pre[i].id == 394)
{
if(pre[i].roomx*5 + pre[i].x != 7773)
seistype = 1;
else
seistype = 2;
}

if(pre[i].id == 392)
{
if(pre[i].roomx*5 + pre[i].x == 7893)
venomtype = 2;
else
venomtype = 1;
}
}

Print("?c5Vizier Type: " + viztype);
Print("?c5Seis Type: " + seistype);
Print("?c5Venom Type: " + venomtype);

return _result;
}

function CheckSeals()
{
Fast_Viz();
NTM_MoveTo(me.areaid, 7792, 5292, null, 2);
if(KillMonster("Diablo", 1))
return Ending();

Fast_Seis();
NTM_MoveTo(me.areaid, 7792, 5292, null, 2);
if(KillMonster("Diablo", 1))
return Ending();

Fast_Venom();
NTM_MoveTo(me.areaid, 7792, 5292, null, 2);
Spec_Kill_Dia();
}

function getRandomString(_length)
{
_retString = "";
_charSet = "0123456789abcdefghijklmnopqrstuvwxyz";

while(_length--)
{
_retString += _charSet.charAt(Random(0, _charSet.length-1));
Delay(1);
}

return _retString;
}

function getGameName(lastGameString)
{
if(!lastGameString)
return "";
else
return (lastGameString.split("-")[0] + "-");
}

function getGameCounter(lastGameString, simple)
{
var myCount;
if(!lastGameString)
return "-1";
else
{
switch(lastGameString.split("-")[1])
{
case "08":
myCount = 9;
break;
case "09":
myCount = 10;
break;
default:
myCount = parseInt(lastGameString.split("-")[1]) + 1;
break;
}
if(!simple)
{
if(myCount <= 9)
return ('0' + myCount);
}
return myCount;
}
}

function Ending()
{
NTSI_PickItems();

Announce_NG();

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

function Announce_NG()
{
if(gameAnnouncement && me.gamename)

Say(gameText);
Delay(200);
}

}

LMK Feedback, throughout all my tests it clears ALL of The Chaos Sanctuary.

Change new game message at tha top of tha chaos script.

Also, there is no need to run a small script before this to not receive errors.
[/color]
« Last Edit: December 03, 2010, 12:01:34 PM by Justin »


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 TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: TheFreakChaos Script
« Reply #1 on: August 15, 2010, 11:08:56 PM »
This is my *v.1.00* I have added a fail safe, to tha normal mode(non fast), it will wait 7 seconds, for diablo to spawn, and if he doesnt, it will check all seals, and check for seal bosses, to get him to spawn, if someone else happened to kill diablo while yu werent in chaos sanc, yur screwed. It will just keep looping and looping and looping and looping. Maybe in my next version i will have it loop like 5 times, and it still hasnt killed him, end script. I have also added other things.

There are some things in it i am not including in this post, because yu need to pay to gain access. HINT HINT (Classic CS Team Bot)

New Version is up top.


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"

cooptheking

  • Guest
Re: TheFreakChaos Script
« Reply #2 on: August 16, 2010, 01:07:35 AM »
This is my *v.1.00* I have added a fail safe, to tha normal mode(non fast), it will wait 7 seconds, for diablo to spawn, and if he doesnt, it will check all seals, and check for seal bosses, to get him to spawn, if someone else happened to kill diablo while yu werent in chaos sanc, yur screwed. It will just keep looping and looping and looping and looping. Maybe in my next version i will have it loop like 5 times, and it still hasnt killed him, end script. I have also added other things.

There are some things in it i am not including in this post, because yu need to pay to gain access. HINT HINT (Classic CS Team Bot)

New Version is up top.

Nice :)
Btw just to throw it out there, having it loop check just once should be fine. If after 2 complete checks (original+loop) d still hasn't came/it missed something..it is a waste to check again and again considering it'd take the same time to just make new game and do again

purelypotato

  • Guest
Re: TheFreakChaos Script
« Reply #3 on: August 24, 2010, 09:58:40 PM »
hi i am new to this botting thing ^o^ so how do you copy paste to the notepad when i copy paste there the words were all cramp and weird not like yours neat and tidy and how to make the lobby time lower cause i always failed to create rooms and the lobby time is waiting too long :( please help.

Offline TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: TheFreakChaos Script
« Reply #4 on: August 24, 2010, 10:04:33 PM »
Use google chrome.


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"

purelypotato

  • Guest
Re: TheFreakChaos Script
« Reply #5 on: August 24, 2010, 10:26:49 PM »
can please explain in more details ? :( i don't understand

Offline TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: TheFreakChaos Script
« Reply #6 on: August 24, 2010, 11:26:11 PM »
Yu are most likely using internet explorer as yur browser, download google chrome, then come back and check if yu can c/p everything right.


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"

purelypotato

  • Guest
Re: TheFreakChaos Script
« Reply #7 on: August 24, 2010, 11:52:12 PM »
hell yeah ! it works (: thanks alot bro

tralawar

  • Guest
Re: TheFreakChaos Script
« Reply #8 on: December 01, 2010, 04:16:20 PM »
LIke a 3rd of the time the bot just stands at diablo once he spawns and wont attack him...until it chickens or dies.... the script is the same as thee one originally posted

Offline Obliviate

  • PK Novice
  • ***
  • Posts: 143
  • Reputation 1
  • PureKaoz.Com ROCKS!!
    • View Profile
    • Obliviate's D2 USEast Clan Op TORC
Re: [D2NT] TheFreak Chaos Script
« Reply #9 on: January 28, 2011, 09:34:51 AM »
         NTM_MoveTo(me.areaid, 7792, 5292, null, 2)
     
         NTM_MakeTP();
         
         if(ClearEntrance_TpStarMsg != "")
         Say(ClearEnteramce_TpStarMsg);
      }
   
   }
   else if(Clear_From_Entrance != true)


ERROR!!

Say(ClearEnteramce_TpStarMsg);
www.Obliviates-World.Webs.com ~~Clan In The Making~~

Offline Obliviate

  • PK Novice
  • ***
  • Posts: 143
  • Reputation 1
  • PureKaoz.Com ROCKS!!
    • View Profile
    • Obliviate's D2 USEast Clan Op TORC
Re: [D2NT] TheFreak Chaos Script
« Reply #10 on: January 28, 2011, 09:40:49 AM »
         ClearEntrance_TpStarMsg = "New Tp At Star, Stay close."; //

ERROR!!

Should Read:

TpStarMsg = <-- To Start From Star Only..

Also "TheFreak" Or ANYONE!
I Am Having Issues Such As,
The Bot Closes The Game After Chaos & Doesn't Do Baal..
Also I Made A Couple Of Fixes To The Runs.. Like He No Longer Misses Anyone Along His Path..
www.Obliviates-World.Webs.com ~~Clan In The Making~~

Offline Obliviate

  • PK Novice
  • ***
  • Posts: 143
  • Reputation 1
  • PureKaoz.Com ROCKS!!
    • View Profile
    • Obliviate's D2 USEast Clan Op TORC
Re: [D2NT] TheFreak Chaos Script
« Reply #11 on: January 28, 2011, 09:54:17 AM »
Also I Was Unable To Push TheFreakChaos.ntj
So I Pasted It All Into The Diablo.ntj

Works But Ends Game... :(

Please Help Fix.
www.Obliviates-World.Webs.com ~~Clan In The Making~~

Offline Obliviate

  • PK Novice
  • ***
  • Posts: 143
  • Reputation 1
  • PureKaoz.Com ROCKS!!
    • View Profile
    • Obliviate's D2 USEast Clan Op TORC
Re: [D2NT] TheFreak Chaos Script
« Reply #12 on: January 28, 2011, 09:56:31 AM »
         NTM_MoveTo(me.areaid, 7792, 5292, null, 2)
     
         NTM_MakeTP();
         
         if(ClearEntrance_TpStarMsg != "")
         Say(ClearEnteramce_TpStarMsg);
      }
   
   }
   else if(Clear_From_Entrance != true)


ERROR!!

Say(ClearEnteramce_TpStarMsg);
  It Should Read:
Say(ClearEntrance_TpStarMsg);
www.Obliviates-World.Webs.com ~~Clan In The Making~~

Offline Obliviate

  • PK Novice
  • ***
  • Posts: 143
  • Reputation 1
  • PureKaoz.Com ROCKS!!
    • View Profile
    • Obliviate's D2 USEast Clan Op TORC
Re: [D2NT] TheFreak Chaos Script
« Reply #13 on: January 28, 2011, 11:36:45 AM »
         ClearEntrance_TpStarMsg = "New Tp At Star, Stay close."; //

ERROR!!

Should Read:

TpStarMsg = <-- To Start From Star Only..

Also "TheFreak" Or ANYONE!
I Am Having Issues Such As,
The Bot Closes The Game After Chaos & Doesn't Do Baal..
Also I Made A Couple Of Fixes To The Runs.. Like He No Longer Misses Anyone Along His Path..
Nevermind!! I Fixed That Error By Just Moving Baal Before Chaos. Though I Would Still Like It If He Didn't Do Chaos 1st. I Love The Way The d2nt Is Set Up Now To Where Act1 Is 1st And Act 5 Is Last.. I Would Like To Keep It That Way.. Also After I Applied The Chaos Script My Char Picks Up Gold, Items, And Opens Some Chest Before Attaking The Monster/Boss, I Don't Like This I Keep Getting A Unable To Move To Monster Because My Douche-Bag Is Too Busy Picking Shit Up.. Please Help..

Thanks In Advanced,
Obliviate!
www.Obliviates-World.Webs.com ~~Clan In The Making~~

Offline cooptheking03

  • D2NT Specialist
  • Big Boss Man
  • PureKaoz HeRo
  • *******
  • Posts: 1656
  • Reputation 4
  • I Run This Chizz
    • View Profile
Re: [D2NT] TheFreak Chaos Script
« Reply #14 on: January 28, 2011, 05:35:51 PM »
Code: [Select]
      else
      {
         Say(FailSafeMsg);
         while(CheckSeals())
         {
            if(NTC_FindMonster("Diablo"))
            {
               KillMonster("Diablo", 1);
               Announce_NG();
               Delay(200);
               ExitGame();
            }
         }
           
      }
   }
   NTSI_PickItems();
   
   Announce_NG();
   
   NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}

make it look like this
Code: [Select]
      else
      {
         Say(FailSafeMsg);
         while(CheckSeals())
         {
            if(NTC_FindMonster("Diablo"))
            {
               KillMonster("Diablo", 1);
               Announce_NG();
               Delay(200);
            }
         }
           
      }
   }
   NTSI_PickItems();
   
   Announce_NG();
      NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
-----------------
If that doesn't work
take out the
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");

should work fine :)
I Do Not Do Support Via PM.
I Can Help Xfer Anycore/Anyrealm/Anytime.
PM me here or on JSP : TheAmazingShac0