ArrowRandom pastbin codes

Posts 115 of 65 · Page 1 of 5
Random pastbin codes
sometimes when im bored i go to pastebin and read some of the posted code's sometimes there's chat logs that are really funny or just programming codes or hack source codes i search there sometimes looking for codes so i decided to make a bot to download the newest posted code and post it on this topic so have fun going threw the pages and reading or if your looking for something like programming code then the search button should be able to tell you if and what page the code is on in this thread

my bot will post a new post every minute


here are some example of what it will post like
Random Pastebin Posts, Always Fun to read
Code:
phobos_anomaly: Hi, is this Kate?
+17859697857: Yes
phobos_anomaly: I was given your # and told I should text you sometime. 
phobos_anomaly: How are you tonight?
+17859697857: Well anon it seems you were not personally given my number. But all is well with me, and for youself?
phobos_anomaly: You are perceptive. I'm doing ok. I take it you are fully aware of the thread?
+17859697857: Very aware. The person that posted was a dolt. He knows that I frequent /b/. But I do not mind
phobos_anomaly: What did you do to piss that person off?
+17859697857: No idea. Probably just a virgin that has taken to cyber stalking
phobos_anomaly: Seems like alot of them do that these days. I'm not anon, the name is Garrett. Nice to meet you. 
phobos_anomaly: Have you received alot of these messages tonight?
+17859697857: Your not anon huh? Well thats a change
+17859697857: Only about 20 lol

phobos_anomaly: Do you mind if I ask what the others have said?
17859697857: They have all demanded nudes from the start. Well one was polite and started conversation. I have even recieved nudes
phobos_anomaly: lol must have been a shock. 
+17859697857: Nah. I am on /b/ all the time so the nudes were nothing new. And my number has been put up before
phobos_anomaly: Self post?
+17859697857: Nope. Not on at the moment
phobos_anomaly: I ment the instance you were referring to before this one. 
+17859697857: Nah. A friend put pics and number up then. Call bombed all night
phobos_anomaly: That must have been aggravating. Do you mind if I ask what you do for fun?
+17859697857: Not at all. I tend to troll the internet, sad as it is.
phobos_anomaly: Nothing better to do?
phobos_anomaly: or just don't want to do anything else?
+17859697857: Both somewhat. I dont like going out much. Gets boring
phobos_anomaly: It does get boring sometimes. What do you do besides troll the net?
+17859697857: Well I do camwhore on ocasion. Ima Wowfag sadly. Work.. Just normal stuff
phobos_anomaly: At least you have a hobby. Why the sadly bit? And atleast you have work. Not many do these days. 
+17859697857: And what about you?
phobos_anomaly: play games, work, browse ***** once in a while. Not really that much else to do. 
+17859697857: What sort of games?
phobos_anomaly: Doom, Quake, Command and Conquer, sometimes warcraft 3. 
+17859697857: Ah nice
phobos_anomaly: I guess. Its something to kill time. 
phobos_anomaly: How old are you?
+17859697857: 17
phobos_anomaly: Still in High School?
+17859697857: No. 
phobos_anomaly: Out on your own?
+17859697857: Yeah been for awhile now. You?
phobos_anomaly: Been living on my own for the last 8 years. 
+17859697857: And how old does that make you?
phobos_anomaly: I'm 25
+17859697857: Ah 
phobos_anomaly: Would like you talk again sometime?
+17859697857: Sure I am enjoying myself
phobos_anomaly: Alright. I don't know if you are being billed for this, so I thought I might cut it short. If you are, I'm on yahoo and aim all the time
phobos_anomaly: If not, I'm happy to talk to you in this.
Random Pastebin Posts, Always Fun to read
Code:
-- Advanced gundealer
-- Mad cows Gun for TEAM_ADVGUN
AddCustomShipment(".357_magnum", "models/Weapons/W_357.mdl", "weapon_mad_357", 5000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment(".50_deagle", "models/weapons/w_pist_deagle.mdl", "weapon_mad_deagle", 5000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("4.6mm_mp7", "models/weapons/w_smg1.mdl", "weapon_mad_mp7", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_famas", "models/weapons/w_rif_famas.mdl", "weapon_mad_famas", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_galil", "models/weapons/w_rif_galil.mdl", "weapon_mad_galil", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_m249", "models/weapons/w_mach_m249para.mdl", "weapon_mad_m249", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_m4", "models/weapons/w_rif_m4a1.mdl", "weapon_mad_m4", 12000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_sg550", "models/weapons/w_snip_sg550.mdl", "weapon_mad_sg550", 15000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_sg552", "models/weapons/w_rif_sg552.mdl", "weapon_mad_sg552", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_aug", "models/weapons/w_rif_aug.mdl", "weapon_mad_aug", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.7mm_five-seven", "models/weapons/w_pist_fiveseven.mdl", "weapon_mad_57", 5000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.7mm_p90", "models/weapons/w_smg_p90.mdl", "weapon_mad_p90", 7000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_awp", "models/weapons/w_snip_awp.mdl", "weapon_mad_awp", 19000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_ak47", "models/weapons/w_rif_ak47.mdl", "weapon_mad_ak47", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_g3", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_g3", 19000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_scout", "models/weapons/w_snip_scout.mdl", "weapon_mad_scout", 14000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_dual_elites", "models/weapons/w_pist_elite.mdl", "weapon_mad_dual", 6000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_glock", "models/weapons/w_pist_glock18.mdl", "weapon_mad_glock", 4000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_mp5", "models/weapons/w_smg_mp5.mdl", "weapon_mad_mp5", 12000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm usp_match", "models/weapons/w_pist_p228.mdl", "weapon_mad_usp_match", 3750, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_p228", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_p228", 14000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_tmp", "models/weapons/w_smg_tmp.mdl", "weapon_mad_tmp", 9000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("m3", "models/weapons/w_shot_m3super90.mdl", "weapon_mad_m3", 15000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("xm1014", "models/weapons/w_shot_xm1014.mdl", "weapon_mad_xm1014", 10000, 10, false, nil, false, {TEAM_ADVGUN})
 
-- Ammo for guns
AddEntity("ent_mad_ammo_357", "ent_mad_ammo_357", "models/Items/357ammo.mdl", 75, 3, "/mad_ammo_357")
AddEntity("ent_mad_ammo_45", "ent_mad_ammo_357", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_45")
AddEntity("ent_mad_ammo_50", "ent_mad_ammo_357", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_50")
AddEntity("ent_mad_ammo_46mm", "ent_mad_ammo_46mm", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_46mm")
AddEntity("ent_mad_ammo_556mm", "ent_mad_ammo_556mm", "models/Items/BoxMRounds.mdl", 100, 3, "/mad_ammo_556mm")
AddEntity("ent_mad_ammo_57mm", "ent_mad_ammo_57mm", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_57mm")
AddEntity("ent_mad_ammo_762mm", "ent_mad_ammo_762mm", "models/Items/BoxMRounds.mdl", 100, 3, "/mad_ammo_762mm")
AddEntity("ent_mad_ammo_9mm", "ent_mad_ammo_9mm", "models/Items/BoxSRounds.mdl", 50, 3, "/mad_ammo_9mm")
AddEntity("ent_mad_ammo_shotgun", "ent_mad_ammo_shotgun", "models/Items/BoxBuckshot.mdl", 150, 3, "/mad_ammo_shotgun")       
AddEntity("ent_mad_ammo_bolt", "ent_mad_ammo_bolt", "models/Items/CrossbowRounds.mdl", 200, 3,
// Special item dealer

// TEAM TEAM_SPCSELL  ( make some changes here)
AddCustomShipment("Mad c4", "models/weapons/w_c4.mdl", "weapon_mad_c4", 40000, 5, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Charge", "models/weapons/w_slam.mdl", "weapon_mad_charge", 5000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Flare gun", "models/weapons/w_pistol.mdl", "weapon_mad_flare", 7000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Flashs", "models/weapons/w_eq_flashbang.mdl", "weapon_mad_flash", 3000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Grenades", "models/weapons/w_eq_fraggrenade.mdl", "weapon_mad_grenade", 15000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Spas", "models/weapons/w_shotgun.mdl", "weapon_mad_spas", 3750, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Grenadelauncher", "models/weapons/w_shotgun.mdl", "weapon_mad_grenadelauncher", 10000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad crossbow", "models/weapons/w_crossbow.mdl", "weapon_mad_crossbow", 5000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Incendiary", "models/weapons/w_eq_smokegrenade.mdl", "weapon_mad_incendiary", 3750, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad knifes", "models/weapons/w_knife_t.mdl", "weapon_mad_knife", 2000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad RPGs", "models/weapons/w_rocket_launcher.mdl", "weapon_mad_rpg", 35000, 5, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad smokenades", "models/weapons/w_eq_smokegrenade.mdl", "weapon_mad_smoke", 5000, 10, false, nil, false, {TEAM_SPCSELL})



Random Pastebin Posts, Always Fun to read
Code:
#include "Base.h"
#include "Menu.h"
#pragma comment( lib, "d3dx" )
cBase Base; 

DWORD dwHSDevicePointer;

#define HOOKD3DAPI(a, b) \
    if(*(DWORD*)GetAddressPtr(b) != (DWORD)&hk##a) { \
        p##a = (a##_t) *(DWORD*)GetAddressPtr(b); \
        *(DWORD*)GetAddressPtr(b) = (DWORD)&hk##a; \
        *(DWORD*)GetD3DHSApi(b) = (DWORD)&hk##a; \
    }
void __cdecl cBase::PushToConsole( const char* szCommand )
{
	DWORD *LTClient = ( DWORD* )( 0x37775D68 );
	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
 
	__asm
	{
		push szCommand;
		call CONoff;
		add esp, 4;
	}
}	

//Every Frame
void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
{
	if( !Base.bSet.bInit )
	{
		D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.pFont);
		Base.bSet.bInit = true;
	}

	if( Directx.pFont == NULL )
		Directx.pFont->OnLostDevice();
	else
	{
		Directx.DrawString(10, 185, D3DCOLOR_ARGB(255, 190, 0, 0), Directx.pFont, "MPGH Combat Arms Clan");
		Menu.RenderMenu();
	}
}


//4x Per Second
void cBase::Update(void)
{
	while(1)
	{
		if( Menu.mOpt[1].nopt > 0 )//3D Box's
		{
			this->PushToConsole( "ModelDebug_DrawBoxes 1" );
			this->PushToConsole("SkelModelStencil 1");
	}else{
			this->PushToConsole("ModelDebug_DrawBoxes 0");
			this->PushToConsole("SkelModelStencil 0");
		}
		Sleep(300);

		if( Menu.mOpt[2].nopt > 0 )//Full Bright
			this->PushToConsole("FullBright 1");
		else
			this->PushToConsole("FullBright 0");
		
		Sleep(300);

		if( Menu.mOpt[3].nopt > 0 )//No Fog
			this->PushToConsole( "FogEnable 0" );
		else
			this->PushToConsole( "FogEnable 1" );

		Sleep(300);

		if( Menu.mOpt[4].nopt > 0 )//Less Spread
		{
			this->PushToConsole("PerturbRotationEffect  0.000000"); 
			this->PushToConsole("PerturbIncreaseSpeed 0.000000"); 
			this->PushToConsole("PerturbWalkPercent 0.000000"); 
			this->PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
		}else{
			this->PushToConsole("PerturbRotationEffect 3.000000");
			this->PushToConsole("PerturbIncreaseSpeed 3.000000");
			this->PushToConsole("PerturbDecreaseSpeed 9.000000");
			this->PushToConsole("PerturbWalkPercent 0.500000");
		}

		Sleep(300);

		if( Menu.mOpt[5].nopt > 0 )//No Sway
			this->PushToConsole("WeaponSway 0");
		else
			this->PushToConsole("WeaponSway 1");

		Sleep(300);

		if( Menu.mOpt[6].nopt  > 0 )//Tracers
			this->PushToConsole("ShowFirePath 1");
		else
			this->PushToConsole("ShowFirePath 0");

		Sleep(300);

		if( Menu.mOpt[7].nopt > 0 )//Fps
			this->PushToConsole( "ShowFps 1");
		else
			this->PushToConsole( "ShowFps 0");

		Sleep(300);
	}
}

DWORD cBase::GetPointer(int index)
{
	DWORD* devicePtr = ***(DWORD****)0x9096F8;

	if( devicePtr == NULL ) 
		return 0;

	return devicePtr[index];
}

bool cBase::IsGameReadyForHook(void)
{
    if( GetModuleHandle( "d3d9.dll"     ) != NULL 
     && GetModuleHandle( "ClientFX.fxd" ) != NULL 
     && GetModuleHandle( "CShell.dll"   ) != NULL )
        return true;

    return false;
}

bool bCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
	for(;*szMask;++szMask,++pData,++bMask)
		if(*szMask=='x' && *pData!=*bMask)   return 0;
	return (*szMask) == NULL;
}

DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
	for(DWORD i=0; i<dwLen; i++)
		if (bCompare((BYTE*)(dwAddress+i),bMask,szMask))  return (DWORD)(dwAddress+i);
	return 0;
}

DWORD dwHSDevicePointer = FindPattern((DWORD)GetModuleHandleA("EHSvc.dll"), 0x90000, (PBYTE)"\x8B\x84\x11\x00\x00\x00\x00\x8B\x8D\xCC\xFD\xFF\xFF\x8B\x95", "xxx????xxxxxxxx");

	if(dwHSDevicePointer) 
	{
        dwHSDevicePointer = *(DWORD*)(dwHSDevicePointer+3);
        dwHSDevicePointer += 0x10;
	}

DWORD dwTempDevicePointer = FindPattern((DWORD)GetModuleHandle(0), (DWORD)0xFFFFFFFF, (PBYTE)"\xA1\x00\x00\x00\x00\x89\x45\xF8\x8D", "x????xxxx");
	
	if(dwTempDevicePointer != NULL) 
	{
        dwDevicePointer = *(DWORD*)(dwTempDevicePointer+1);
    }

DWORD GetAddressPtr(int index)
{
    DWORD dwBase = *(DWORD*)dwDevicePointer;
    if(dwBase == 0) return 0;

    dwBase = *(DWORD*)dwBase;
    if(dwBase == 0) return 0;

    dwBase = *(DWORD*)dwBase;
    if(dwBase == 0) return 0;

    return dwBase+4*index;
}

DWORD GetD3DHSApi(int index)
{
    DWORD dwVA = dwHSDevicePointer;

    if(IsBadReadPtr((void*)dwVA, 4)) return 0;
    
    dwVA = *(DWORD*)dwVA;
    
    if(!dwVA || IsBadReadPtr((void*)dwVA, 0x200)) return 0;
    
    return dwVA + (4*index);
}




DWORD WINAPI HookD3DApis(LPVOID)
{
    bool bValid = false;
    while(true) {
        bValid = GetAddressPtr(0) > 0;

        if(bValid) {
            HOOKD3DAPI(Reset, 16)
            HOOKD3DAPI(EndScene, 42)
            HOOKD3DAPI(DrawIndexedPrimitive, 82)
            HOOKD3DAPI(SetStreamSource, 100)
        }
        
        Sleep(300);
    }

    return 1;
}



DWORD WINAPI dwMainThread(LPVOID)
{
	while ( !Base.IsGameReadyForHook() )
		Sleep(iWaitTime);

	Directx.Hook();

	return 0;
}
	
DWORD WINAPI dwHackThread(LPVOID)
{
	while( !Base.IsGameReadyForHook() )
		Sleep(iWaitTime);

	Base.Update();

	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);

	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		#ifdef LOG
			DeleteFile(LogPath); 
		#endif

		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
		CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
	}
	return TRUE;
}
Random Pastebin Posts, Always Fun to read, and to find what your looking for
96
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
function NT_Diablo()
{
	print("Starting ÿc4Diablo Script");

    NTTM_CheckAct();
    NTTMGR_TownManager();

    NTTM_TownMove("waypoint");
    if (!NTM_UsePortal("Waypoint", 107))
    {
        NTM_TravelTO(107);
        NTM_GotoWaypoint(107, true, 10000);
    }

    NTP_DoPrecast();

    if(NTM_MoveTo(7797, 5609))
    NTM_TeleportTo(7797, 5590);

var i;
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);

    NTM_MoveTo(7794, 5335);
    ClearRadius();
ClearTP();
if((_target.x < 7823) && (_target.x > 7794) && (_target.y < 5368) && (_target.y > 5321)) {
	do
	{
ClearTP();
	}while(_target.getNext());
}
    NTSI_PickItems();
if(me.x != 7794 || me.y != 5335)
    NTM_MoveTo(7794, 5335);
if((_target.x < 7823) && (_target.x > 7766) && (_target.y < 5368) && (_target.y > 5321))
ClearTP();
    NTSI_PickItems();
if(me.x != 7794 || me.y != 5335)
    NTM_MoveTo(7794, 5335);
            NTM_MakeTP();
if(ClearTP())
    NTSI_PickItems();
if(me.x != 7794 || me.y != 5335)
    NTM_MoveTo(7794, 5335);
	if (NTConfig_PublicMode) say(DiabloTPMsg);
            NTC_Delay(2000);
    NTP_DoPrecast();
if(ClearTP())
    NTSI_PickItems();

    NTM_MoveTo(7772, 5311);
ClearRadius(10);
    NTSI_PickItems();

    NTM_MoveTo(7764, 5303);
ClearRadius();
    NTSI_PickItems();

    NTM_MoveTo(7747, 5290);
    ClearRadius();
Clear2viz1();
for (i = 0; i < 13; i++) {
if((_target.x < 7764) && (_target.x > 7727) && (_target.y < 5313) && (_target.y > 5266))
Clear2viz1();
}
    NTSI_PickItems();
    NTM_MoveTo(7737, 5290);
    ClearRadius();
Clear2viz1();
if(me.x != 7737 || me.y != 5290)
    NTM_MoveTo(7737, 5290);
if((_target.x < 7764) && (_target.x > 7727) && (_target.y < 5313) && (_target.y > 5266))
Clear2viz1();
    NTSI_PickItems();

    NTM_MoveTo(7724, 5290);
    ClearRadius();
Clear2viz2();
for (i = 0; i < 3; i++) {
if((_target.x < 7747) && (_target.x > 7703) && (_target.y < 5322) && (_target.y > 5266))
Clear2viz2();
}
    NTSI_PickItems();

    NTM_MoveTo(7714, 5290);
    ClearRadius();
Clear2viz2();
if(me.x != 7714 || me.y != 5290)
    NTM_MoveTo(7714, 5290);
if((_target.x < 7747) && (_target.x > 7703) && (_target.y < 5322) && (_target.y > 5266))
Clear2viz2();
    NTSI_PickItems();

var _seal396 = NTC_GetPresetUnits(NTC_UNIT_OBJECT, 396);
if (_seal396[0].roomy * 5 + _seal396[0].y == 5275) {

if(me.x > 7691)
    NTM_MoveTo(7691, 5293);

if(Clear2viz3()) Clear2viz3();
    NTSI_PickItems();

if(me.x > 7673)
    NTM_MoveTo(7673, 5295);

if(Clear2viz4()) Clear2viz4();
    NTSI_PickItems();

if(me.x > 7673 || me.y < 5295)
    NTM_MoveTo(7669, 5295);

var seal395 = NTC_GetUnit(NTC_UNIT_OBJECT, 395);
if(seal395.mode != 2) {
                        if (getDistance(me, seal395) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 395);
if(Clear2viz5()) Clear2viz5();
    NTSI_PickItems();
        while(seal395.mode == 0) {
clickMap(0, 0, seal395);
NTC_Delay(500);
        }
}

if(me.y > 5315)
    NTM_MoveTo(7669, 5295);

var seal396 = NTC_GetUnit(NTC_UNIT_OBJECT, 396);
if(seal396.mode != 2) {
                        if (getDistance(me, seal396) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 396);
if(Clear2viz6()) Clear2viz6();
    NTSI_PickItems();
        while(seal396.mode == 0) {
clickMap(0, 0, seal396);
NTC_Delay(500);
        }
}

    NTM_MoveTo(7669, 5288);

	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2851)))
		{
			NTA_KillBoss(getLocaleString(2851));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
			break;
		}
	}
}
else
{

if(me.x > 7690)
    NTM_MoveTo(7690, 5314);
    ClearRadius();
Clear2viz7();
for (i = 0; i < 3; i++) {
if((_target.x < 7707) && (_target.x > 7646) && (_target.y < 5323) && (_target.y > 5304))
Clear2viz7();
}
    NTSI_PickItems();

if(me.x > 7656 || me.y > 5293)
    NTM_MoveTo(7656, 5293);
    ClearRadius();
if(Clear2viz8()) Clear2viz8();
    NTSI_PickItems();

if(me.y > 5303)
    NTM_MoveTo(7656, 5293);

var seal395 = NTC_GetUnit(NTC_UNIT_OBJECT, 395);
if(seal395.mode != 2) {
        while(seal395.mode == 0) {
                        if (getDistance(me, seal395) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 395);
clickMap(0, 0, seal395);
NTC_Delay(250);
        }
}

var seal396 = NTC_GetUnit(NTC_UNIT_OBJECT, 396);
if(seal396.mode != 2) {
        while(seal396.mode == 0) {
                        if (getDistance(me, seal396) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 396);
clickMap(0, 0, seal396);
NTC_Delay(250);
        }
}

    NTM_MoveTo(7669, 5314);

	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2851)))
		{
			NTA_KillBoss(getLocaleString(2851));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
			break;
		}
	}
}

    NTM_MoveTo(7727, 5303);
Clear2viz2();
NTSI_PickItems();

    NTM_MoveTo(7753, 5303);
Clear2viz1();
NTSI_PickItems();

    NTM_MoveTo(7782, 5323);
    ClearRadius();
NTSI_PickItems();

    NTM_MoveTo(7808, 5323);
    ClearRadius();
NTSI_PickItems();

    NTM_MoveTo(7833, 5300);
    ClearRadius();
NTSI_PickItems();
Clear2Inf1();
NTSI_PickItems();

    NTM_MoveTo(7843, 5295);
    ClearRadius();
Clear2Inf2();
NTSI_PickItems();

var _seal392 = NTC_GetPresetUnits(NTC_UNIT_OBJECT, 392);
if (_seal392[0].roomx * 5 + _seal392[0].x == 7893) {

    NTM_MoveTo(7873, 5295);
if(Clear2Inf3()) Clear2Inf4();
    NTSI_PickItems();

if(me.x < 7882)
    NTM_MoveTo(7893, 5295);
Clear2Inf5();
    NTSI_PickItems();

    NTP_DoPrecast();

var seal392 = NTC_GetUnit(NTC_UNIT_OBJECT, 392);
if(seal392.mode != 2) {
                        if (getDistance(me, seal392) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 392);
        while(seal392.mode == 0) {
clickMap(0, 0, seal392);
NTC_Delay(250);
        }
}

    NTM_MoveTo(7907, 5295);

	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2853)))
		{
			if(me.classid == NTC_CHAR_CLASS_SORCERESS)
			NTA_KillBoss2(getLocaleString(2852));
			else
			NTA_KillBoss(getLocaleString(2853));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
  			Clear2Inf6();
  			NTSI_PickItems();
			break;
		}
	}

Clear2Inf6();
NTSI_PickItems();

var seal393 = NTC_GetUnit(NTC_UNIT_OBJECT, 393);
if(seal393.mode != 2) {
                        if (getDistance(me, seal393) > 2)
if(NTM_MoveToObject(NTC_UNIT_OBJECT, 393))
if(Clear2Inf7())
NTSI_PickItems();
        while(seal393.mode == 0) {
clickMap(0, 0, seal393);
NTC_Delay(500);
       		}
	}
}
else
{
if(me.x < 7915)
    NTM_MoveTo(7905, 5280);
    ClearRadius(40);
    NTSI_PickItems();

var seal393 = NTC_GetUnit(NTC_UNIT_OBJECT, 393);
if(seal393.mode != 2) {
        while(seal393.mode == 0) {
                        if (getDistance(me, seal393) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 393);
clickMap(0, 0, seal393);
NTC_Delay(250);
        }
}

    NTP_DoPrecast();

var seal392 = NTC_GetUnit(NTC_UNIT_OBJECT, 392);
if(seal392.x > 7911)
   if(NTM_MoveTo(7933, 5292))
    if(ClearRadius(40))
    NTSI_PickItems();
if(seal392.mode != 2) {
        while(seal392.mode == 0) {
                        if (getDistance(me, seal392) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 392);
clickMap(0, 0, seal392);
NTC_Delay(250);
        }
}
	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2853)))
		{
			if(me.classid == NTC_CHAR_CLASS_SORCERESS)
			NTA_KillBoss2(getLocaleString(2852));
			else
			NTA_KillBoss(getLocaleString(2853));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
			break;
		}
	}
}

            var _attackposd = [7873, 5295, 7835, 5300, 7791, 5245, 7797, 5195, 7788, 5153];
            for (var i = 0; i < _attackposd.length; i += 2)
            {
                NTM_MoveTo(_attackposd[i], _attackposd[i + 1], 1, true);
                ClearRadius(40);
                NTSI_PickItems();
            }

   if(me.x > 7899 || me.x < 7877)
      NTM_MoveTo(7788, 5153);
var seal394 = NTC_GetUnit(NTC_UNIT_OBJECT, 394);
if(seal394.mode != 2) {
        while(seal394.mode == 0) {
                        if (getDistance(me, seal394) > 2)
NTM_MoveTo(seal394.x - 5, seal394.y + 5);
clickMap(0, 0, seal394);
NTC_Delay(500);
        }
}

   if(me.x > 7810 && me.x <= 7825)
      NTM_MoveTo(7777, 5160);
else
      NTM_MoveTo(7777, 5200);

		for (var n = 0; n < 10; n++)
		{
			NTC_Delay(500);
			if (NTC_FindMonster(getLocaleString(2852)))
			{
				if(me.classid == NTC_CHAR_CLASS_SORCERESS)
				NTA_KillBoss2(getLocaleString(2852));
				else
				NTA_KillBoss(getLocaleString(2852));
  				NTSI_PickItems();
   				if(ClearRadius(0x08)) ClearRadius(30);
  				NTSI_PickItems();
				break;
			}
		}

		NTM_MoveTo(7792, 5292);

	if (NTConfig_PublicMode) say(KillingDiabloMsg);

		for (var d = 0; d < 33; d++)
		{
			NTC_Delay(886);
			if (NTC_FindMonster(243))
			{
				NTA_KillBoss(243);
  				NTSI_PickItems();
				break;
			}
		}
	return true;
}

function ClearTP()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7823) && (_target.x > 7766) && (_target.y < 5368) && (_target.y > 5321))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7764) && (_target.x > 7703) && (_target.y < 5313) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz1()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7764) && (_target.x > 7727) && (_target.y < 5313) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz2()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7747) && (_target.x > 7703) && (_target.y < 5322) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz3()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7707) && (_target.x > 7664) && (_target.y < 5300) && (_target.y > 5284))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz4()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7680) && (_target.x > 7664) && (_target.y < 5322) && (_target.y > 5267))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz5()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7669) && (_target.x > 7647) && (_target.y < 5322) && (_target.y > 5302))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz6()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7665) && (_target.x > 7646) && (_target.y < 5283) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz7()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7707) && (_target.x > 7646) && (_target.y < 5323) && (_target.y > 5304))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz8()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7663) && (_target.x > 7646) && (_target.y < 5323) && (_target.y > 5265))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf1()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7833) && (_target.x > 7822) && (_target.y < 5323) && (_target.y > 5263))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf2()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7862) && (_target.x > 7822) && (_target.y < 5323) && (_target.y > 5263))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf3()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7943) && (_target.x > 7853) && (_target.y < 5303) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf4()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7903) && (_target.x > 7853) && (_target.y < 5303) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf5()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7903) && (_target.x > 7882) && (_target.y < 5323) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf6()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7943) && (_target.x > 7882) && (_target.y < 5303) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf7()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(IsValidTarget(_target) && (_target.x < 7921) && (_target.x > 7906) && (_target.y < 5303) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function NTA_KillBoss2(classid)
{
	var _target;

	if(NTConfig_AttackBoss < 1)
		return false;

	_target = NTC_FindMonster(classid);

	if(_target)
	{
		if(NTConfig_AttackFirst > 0 && NTA_GetResistance(_target, NTA_GetDamageType(NTConfig_AttackFirst)) < 100)
		{
			if(NTC_IsLeftSkill(NTConfig_AttackFirst))
				NTC_DoCast(NTConfig_AttackFirst, 2, _target);
			else
				NTC_DoCast(NTConfig_AttackFirst, NTC_HAND_RIGHT, _target);
		}

		return NTA_Attack2(_target, true, 100);
	}

	return false;
}

function NTA_Attack2(target, boss, maxattacks){
   var _attackprimary = boss ? NTConfig_AttackBoss : NTConfig_AttackOthers;
   var _maxattacks = 0;
   var _damagetype1 = NTA_GetDamageType(_attackprimary);
   var _prehp1, _prehp2;
   var _nohit = true;

   _prehp1 = target.hp;
   while(_maxattacks++ < maxattacks && NTA_IsValidTarget(target, true))
   {
_prehp2 = target.hp;
if(NTA_GetResistance(target, _damagetype1) < 100)
{
	if((_maxattacks % 2) == 1 && _nohit)
		if (getDistance(me, target) > 13)
			NTA_MoveCloseInt(target, 12);

	NTC_PutSkill(_attackprimary, NTC_HAND_LEFT);

if (getDistance(me, target) < 13 || target.hp != 0)
	clickMap(0, 1, target);
}
else if(NTConfig_AttackSecondary > 0 && NTA_GetResistance(target, _damagetype1) >= 100)
{
	if((_maxattacks % 2) == 1 && _nohit)
		if (getDistance(me, target) > 13)
			NTA_MoveCloseInt(target, 12);

	NTC_PutSkill(NTConfig_AttackSecondary, NTC_HAND_LEFT);

if (getDistance(me, target) < 13 || target.hp != 0)
	clickMap(0, 1, target);
}
_nohit = (target.hp >= _prehp2);
	delay(100);
   }
   NTSI_FastSnag();
   return true;
} 

function ClearRadius(range, spectype)
{
	var _target = NTC_GetUnit(NTC_UNIT_MONSTER);

	if(arguments.length < 1)
		range = 20;

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

	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (spectype == 0 || (_target.spectype & spectype)) && getDistance(me, _target) < range)
  				if(_target.classid == 693 && checkCollision(me, _target, 1) || checkCollision(me, _target, 3))
    					_target.getNext();
				else 
					NTA_Attack(_target, false, 20);	
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
			NTC_PingDelay(750);

	return false;
}

function IsValidTarget(monster)
{
	if(!monster || monster.type != NTC_UNIT_MONSTER)
		return false;

	if(monster.mode == 0 || monster.mode == 12 || monster.hp <= 0) // Dead
		return false;

	if (monster.getParent()) // Check if has owner
		return false;

	if(monster.classid >= 289 && monster.classid <= 292) // Necro's Golem
		return false;

	if((monster.classid >= 326 && monster.classid <= 330) || (monster.classid >= 410 && monster.classid <= 417)) // Traps
		return false;

	if(monster.classid >= 351 && monster.classid <= 353) // Hydra
		return false;

	if(monster.classid >= 420 && monster.classid <= 432) // Druid's friend
		return false;

	if(((monster.classid >= 110 && monster.classid <= 113) || monster.classid == 608) && monster.mode == 8) // Ignore flying scavengers
		return false;

	if(monster.classid == 68 && monster.mode == 14) // ignore burrowing maggots
		return false;

	if((monster.classid == 258 || monster.classid == 261) && monster.mode == 14) // ignore submerged WaterWatchers
		return false;

	if(monster.getStat(172) == 2 || monster.getState(105) == 0) // Check Monsters Alignment
		return false;

	if(monster.getState(53) || monster.getState(96)) // Conversion, Revive
		return false;

	var Mons = [366, 406, 266, 408, 516, 517, 518, 519, 522, 523, 543, 543, 545];
	for (ids in Mons) if (monster.classid == Mons[ids]) 
		return false;

  	if(monster.classid == 693 && checkCollision(me, monster, 1) || checkCollision(me, monster, 3))
    		return false;

	return true;
}
98
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
function NT_Diablo()
{
	print("Starting ÿc4Diablo Script");

    NTTM_CheckAct();
    NTTMGR_TownManager();

    NTTM_TownMove("waypoint");
    if (!NTM_UsePortal("Waypoint", 107))
    {
        NTM_TravelTO(107);
        NTM_GotoWaypoint(107, true, 10000);
    }

    NTP_DoPrecast();

    if(NTM_MoveTo(7797, 5609))
    NTM_TeleportTo(7797, 5590);

var i;
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);

    NTM_MoveTo(7794, 5335);
    ClearRadius();
ClearTP();
if((_target.x < 7823) && (_target.x > 7794) && (_target.y < 5368) && (_target.y > 5321)) {
	do
	{
ClearTP();
	}while(_target.getNext());
}
    NTSI_PickItems();
if(me.x != 7794 || me.y != 5335)
    NTM_MoveTo(7794, 5335);
if((_target.x < 7823) && (_target.x > 7766) && (_target.y < 5368) && (_target.y > 5321))
ClearTP();
    NTSI_PickItems();
if(me.x != 7794 || me.y != 5335)
    NTM_MoveTo(7794, 5335);
            NTM_MakeTP();
if(ClearTP())
    NTSI_PickItems();
if(me.x != 7794 || me.y != 5335)
    NTM_MoveTo(7794, 5335);
	if (NTConfig_PublicMode) say(DiabloTPMsg);
            NTC_Delay(2000);
    NTP_DoPrecast();
if(ClearTP())
    NTSI_PickItems();

    NTM_MoveTo(7772, 5311);
ClearRadius(10);
    NTSI_PickItems();

    NTM_MoveTo(7764, 5303);
ClearRadius();
    NTSI_PickItems();

    NTM_MoveTo(7747, 5290);
    ClearRadius();
Clear2viz1();
for (i = 0; i < 13; i++) {
if((_target.x < 7764) && (_target.x > 7727) && (_target.y < 5313) && (_target.y > 5266))
Clear2viz1();
}
    NTSI_PickItems();
    NTM_MoveTo(7737, 5290);
    ClearRadius();
Clear2viz1();
if(me.x != 7737 || me.y != 5290)
    NTM_MoveTo(7737, 5290);
if((_target.x < 7764) && (_target.x > 7727) && (_target.y < 5313) && (_target.y > 5266))
Clear2viz1();
    NTSI_PickItems();

    NTM_MoveTo(7724, 5290);
    ClearRadius();
Clear2viz2();
for (i = 0; i < 3; i++) {
if((_target.x < 7747) && (_target.x > 7703) && (_target.y < 5322) && (_target.y > 5266))
Clear2viz2();
}
    NTSI_PickItems();

    NTM_MoveTo(7714, 5290);
    ClearRadius();
Clear2viz2();
if(me.x != 7714 || me.y != 5290)
    NTM_MoveTo(7714, 5290);
if((_target.x < 7747) && (_target.x > 7703) && (_target.y < 5322) && (_target.y > 5266))
Clear2viz2();
    NTSI_PickItems();

var _seal396 = NTC_GetPresetUnits(NTC_UNIT_OBJECT, 396);
if (_seal396[0].roomy * 5 + _seal396[0].y == 5275) {

if(me.x > 7691)
    NTM_MoveTo(7691, 5293);

if(Clear2viz3()) Clear2viz3();
    NTSI_PickItems();

if(me.x > 7673)
    NTM_MoveTo(7673, 5295);

if(Clear2viz4()) Clear2viz4();
    NTSI_PickItems();

if(me.x > 7673 || me.y < 5295)
    NTM_MoveTo(7669, 5295);

var seal395 = NTC_GetUnit(NTC_UNIT_OBJECT, 395);
if(seal395.mode != 2) {
                        if (getDistance(me, seal395) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 395);
if(Clear2viz5()) Clear2viz5();
    NTSI_PickItems();
        while(seal395.mode == 0) {
clickMap(0, 0, seal395);
NTC_Delay(500);
        }
}

if(me.y > 5315)
    NTM_MoveTo(7669, 5295);

var seal396 = NTC_GetUnit(NTC_UNIT_OBJECT, 396);
if(seal396.mode != 2) {
                        if (getDistance(me, seal396) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 396);
if(Clear2viz6()) Clear2viz6();
    NTSI_PickItems();
        while(seal396.mode == 0) {
clickMap(0, 0, seal396);
NTC_Delay(500);
        }
}

    NTM_MoveTo(7669, 5288);

	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2851)))
		{
			NTA_KillBoss(getLocaleString(2851));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
			break;
		}
	}
}
else
{

if(me.x > 7690)
    NTM_MoveTo(7690, 5314);
    ClearRadius();
Clear2viz7();
for (i = 0; i < 3; i++) {
if((_target.x < 7707) && (_target.x > 7646) && (_target.y < 5323) && (_target.y > 5304))
Clear2viz7();
}
    NTSI_PickItems();

if(me.x > 7656 || me.y > 5293)
    NTM_MoveTo(7656, 5293);
    ClearRadius();
if(Clear2viz8()) Clear2viz8();
    NTSI_PickItems();

if(me.y > 5303)
    NTM_MoveTo(7656, 5293);

var seal395 = NTC_GetUnit(NTC_UNIT_OBJECT, 395);
if(seal395.mode != 2) {
        while(seal395.mode == 0) {
                        if (getDistance(me, seal395) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 395);
clickMap(0, 0, seal395);
NTC_Delay(250);
        }
}

var seal396 = NTC_GetUnit(NTC_UNIT_OBJECT, 396);
if(seal396.mode != 2) {
        while(seal396.mode == 0) {
                        if (getDistance(me, seal396) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 396);
clickMap(0, 0, seal396);
NTC_Delay(250);
        }
}

    NTM_MoveTo(7669, 5314);

	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2851)))
		{
			NTA_KillBoss(getLocaleString(2851));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
			break;
		}
	}
}

    NTM_MoveTo(7727, 5303);
Clear2viz2();
NTSI_PickItems();

    NTM_MoveTo(7753, 5303);
Clear2viz1();
NTSI_PickItems();

    NTM_MoveTo(7782, 5323);
    ClearRadius();
NTSI_PickItems();

    NTM_MoveTo(7808, 5323);
    ClearRadius();
NTSI_PickItems();

    NTM_MoveTo(7833, 5300);
    ClearRadius();
NTSI_PickItems();
Clear2Inf1();
NTSI_PickItems();

    NTM_MoveTo(7843, 5295);
    ClearRadius();
Clear2Inf2();
NTSI_PickItems();

var _seal392 = NTC_GetPresetUnits(NTC_UNIT_OBJECT, 392);
if (_seal392[0].roomx * 5 + _seal392[0].x == 7893) {

    NTM_MoveTo(7873, 5295);
if(Clear2Inf3()) Clear2Inf4();
    NTSI_PickItems();

if(me.x < 7882)
    NTM_MoveTo(7893, 5295);
Clear2Inf5();
    NTSI_PickItems();

    NTP_DoPrecast();

var seal392 = NTC_GetUnit(NTC_UNIT_OBJECT, 392);
if(seal392.mode != 2) {
                        if (getDistance(me, seal392) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 392);
        while(seal392.mode == 0) {
clickMap(0, 0, seal392);
NTC_Delay(250);
        }
}

    NTM_MoveTo(7907, 5295);

	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2853)))
		{
			if(me.classid == NTC_CHAR_CLASS_SORCERESS)
			NTA_KillBoss2(getLocaleString(2852));
			else
			NTA_KillBoss(getLocaleString(2853));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
  			Clear2Inf6();
  			NTSI_PickItems();
			break;
		}
	}

Clear2Inf6();
NTSI_PickItems();

var seal393 = NTC_GetUnit(NTC_UNIT_OBJECT, 393);
if(seal393.mode != 2) {
                        if (getDistance(me, seal393) > 2)
if(NTM_MoveToObject(NTC_UNIT_OBJECT, 393))
if(Clear2Inf7())
NTSI_PickItems();
        while(seal393.mode == 0) {
clickMap(0, 0, seal393);
NTC_Delay(500);
       		}
	}
}
else
{
if(me.x < 7915)
    NTM_MoveTo(7905, 5280);
    ClearRadius(40);
    NTSI_PickItems();

var seal393 = NTC_GetUnit(NTC_UNIT_OBJECT, 393);
if(seal393.mode != 2) {
        while(seal393.mode == 0) {
                        if (getDistance(me, seal393) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 393);
clickMap(0, 0, seal393);
NTC_Delay(250);
        }
}

    NTP_DoPrecast();

var seal392 = NTC_GetUnit(NTC_UNIT_OBJECT, 392);
if(seal392.x > 7911)
   if(NTM_MoveTo(7933, 5292))
    if(ClearRadius(40))
    NTSI_PickItems();
if(seal392.mode != 2) {
        while(seal392.mode == 0) {
                        if (getDistance(me, seal392) > 2)
NTM_MoveToObject(NTC_UNIT_OBJECT, 392);
clickMap(0, 0, seal392);
NTC_Delay(250);
        }
}
	for (var n = 0; n < 10; n++)
	{
		NTC_Delay(500);
		if (NTC_FindMonster(getLocaleString(2853)))
		{
			if(me.classid == NTC_CHAR_CLASS_SORCERESS)
			NTA_KillBoss2(getLocaleString(2852));
			else
			NTA_KillBoss(getLocaleString(2853));
  			NTSI_PickItems();
   			if(ClearRadius(0x08)) ClearRadius(0x08);
			ClearRadius();
  			NTSI_PickItems();
			break;
		}
	}
}

            var _attackposd = [7873, 5295, 7835, 5300, 7791, 5245, 7797, 5195, 7788, 5153];
            for (var i = 0; i < _attackposd.length; i += 2)
            {
                NTM_MoveTo(_attackposd[i], _attackposd[i + 1], 1, true);
                ClearRadius(40);
                NTSI_PickItems();
            }

   if(me.x > 7899 || me.x < 7877)
      NTM_MoveTo(7788, 5153);
var seal394 = NTC_GetUnit(NTC_UNIT_OBJECT, 394);
if(seal394.mode != 2) {
        while(seal394.mode == 0) {
                        if (getDistance(me, seal394) > 2)
NTM_MoveTo(seal394.x - 5, seal394.y + 5);
clickMap(0, 0, seal394);
NTC_Delay(500);
        }
}

   if(me.x > 7810 && me.x <= 7825)
      NTM_MoveTo(7777, 5160);
else
      NTM_MoveTo(7777, 5200);

		for (var n = 0; n < 10; n++)
		{
			NTC_Delay(500);
			if (NTC_FindMonster(getLocaleString(2852)))
			{
				if(me.classid == NTC_CHAR_CLASS_SORCERESS)
				NTA_KillBoss2(getLocaleString(2852));
				else
				NTA_KillBoss(getLocaleString(2852));
  				NTSI_PickItems();
   				if(ClearRadius(0x08)) ClearRadius(30);
  				NTSI_PickItems();
				break;
			}
		}

		NTM_MoveTo(7792, 5292);

	if (NTConfig_PublicMode) say(KillingDiabloMsg);

		for (var d = 0; d < 33; d++)
		{
			NTC_Delay(886);
			if (NTC_FindMonster(243))
			{
				NTA_KillBoss(243);
  				NTSI_PickItems();
				break;
			}
		}
	return true;
}

function ClearTP()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7823) && (_target.x > 7766) && (_target.y < 5368) && (_target.y > 5321))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7764) && (_target.x > 7703) && (_target.y < 5313) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz1()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7764) && (_target.x > 7727) && (_target.y < 5313) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz2()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7747) && (_target.x > 7703) && (_target.y < 5322) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz3()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7707) && (_target.x > 7664) && (_target.y < 5300) && (_target.y > 5284))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz4()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7680) && (_target.x > 7664) && (_target.y < 5322) && (_target.y > 5267))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz5()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7669) && (_target.x > 7647) && (_target.y < 5322) && (_target.y > 5302))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz6()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7665) && (_target.x > 7646) && (_target.y < 5283) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz7()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7707) && (_target.x > 7646) && (_target.y < 5323) && (_target.y > 5304))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2viz8()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7663) && (_target.x > 7646) && (_target.y < 5323) && (_target.y > 5265))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf1()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7833) && (_target.x > 7822) && (_target.y < 5323) && (_target.y > 5263))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf2()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7862) && (_target.x > 7822) && (_target.y < 5323) && (_target.y > 5263))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf3()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7943) && (_target.x > 7853) && (_target.y < 5303) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf4()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7903) && (_target.x > 7853) && (_target.y < 5303) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf5()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7903) && (_target.x > 7882) && (_target.y < 5323) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf6()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (_target.x < 7943) && (_target.x > 7882) && (_target.y < 5303) && (_target.y > 5286))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function Clear2Inf7()
{
var _target = NTC_GetUnit(NTC_UNIT_MONSTER);
	if(_target)
	{
		do
		{
			if(IsValidTarget(_target) && (_target.x < 7921) && (_target.x > 7906) && (_target.y < 5303) && (_target.y > 5266))
			{
				NTA_Attack(_target, false, 20);
			}
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
	{
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
		{
			NTC_PingDelay(750);
		}
	}
	return false;
}

function NTA_KillBoss2(classid)
{
	var _target;

	if(NTConfig_AttackBoss < 1)
		return false;

	_target = NTC_FindMonster(classid);

	if(_target)
	{
		if(NTConfig_AttackFirst > 0 && NTA_GetResistance(_target, NTA_GetDamageType(NTConfig_AttackFirst)) < 100)
		{
			if(NTC_IsLeftSkill(NTConfig_AttackFirst))
				NTC_DoCast(NTConfig_AttackFirst, 2, _target);
			else
				NTC_DoCast(NTConfig_AttackFirst, NTC_HAND_RIGHT, _target);
		}

		return NTA_Attack2(_target, true, 100);
	}

	return false;
}

function NTA_Attack2(target, boss, maxattacks){
   var _attackprimary = boss ? NTConfig_AttackBoss : NTConfig_AttackOthers;
   var _maxattacks = 0;
   var _damagetype1 = NTA_GetDamageType(_attackprimary);
   var _prehp1, _prehp2;
   var _nohit = true;

   _prehp1 = target.hp;
   while(_maxattacks++ < maxattacks && NTA_IsValidTarget(target, true))
   {
_prehp2 = target.hp;
if(NTA_GetResistance(target, _damagetype1) < 100)
{
	if((_maxattacks % 2) == 1 && _nohit)
		if (getDistance(me, target) > 13)
			NTA_MoveCloseInt(target, 12);

	NTC_PutSkill(_attackprimary, NTC_HAND_LEFT);

if (getDistance(me, target) < 13 || target.hp != 0)
	clickMap(0, 1, target);
}
else if(NTConfig_AttackSecondary > 0 && NTA_GetResistance(target, _damagetype1) >= 100)
{
	if((_maxattacks % 2) == 1 && _nohit)
		if (getDistance(me, target) > 13)
			NTA_MoveCloseInt(target, 12);

	NTC_PutSkill(NTConfig_AttackSecondary, NTC_HAND_LEFT);

if (getDistance(me, target) < 13 || target.hp != 0)
	clickMap(0, 1, target);
}
_nohit = (target.hp >= _prehp2);
	delay(100);
   }
   NTSI_FastSnag();
   return true;
} 

function ClearRadius(range, spectype)
{
	var _target = NTC_GetUnit(NTC_UNIT_MONSTER);

	if(arguments.length < 1)
		range = 20;

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

	if(_target)
	{
		do
		{
			if(NTA_IsValidTarget(_target) && (spectype == 0 || (_target.spectype & spectype)) && getDistance(me, _target) < range)
  				if(_target.classid == 693 && checkCollision(me, _target, 1) || checkCollision(me, _target, 3))
    					_target.getNext();
				else 
					NTA_Attack(_target, false, 20);	
		}
		while(_target.getNext());
	}
	if(me.classid == NTC_CHAR_CLASS_PALADIN)
		if((me.hp / me.hpmax * 100 < 80 || me.mp / me.mpmax * 100 < 60) && NTConfig_UseRedemption && NTC_PutSkill(124, NTC_HAND_RIGHT))
			NTC_PingDelay(750);

	return false;
}

function IsValidTarget(monster)
{
	if(!monster || monster.type != NTC_UNIT_MONSTER)
		return false;

	if(monster.mode == 0 || monster.mode == 12 || monster.hp <= 0) // Dead
		return false;

	if (monster.getParent()) // Check if has owner
		return false;

	if(monster.classid >= 289 && monster.classid <= 292) // Necro's Golem
		return false;

	if((monster.classid >= 326 && monster.classid <= 330) || (monster.classid >= 410 && monster.classid <= 417)) // Traps
		return false;

	if(monster.classid >= 351 && monster.classid <= 353) // Hydra
		return false;

	if(monster.classid >= 420 && monster.classid <= 432) // Druid's friend
		return false;

	if(((monster.classid >= 110 && monster.classid <= 113) || monster.classid == 608) && monster.mode == 8) // Ignore flying scavengers
		return false;

	if(monster.classid == 68 && monster.mode == 14) // ignore burrowing maggots
		return false;

	if((monster.classid == 258 || monster.classid == 261) && monster.mode == 14) // ignore submerged WaterWatchers
		return false;

	if(monster.getStat(172) == 2 || monster.getState(105) == 0) // Check Monsters Alignment
		return false;

	if(monster.getState(53) || monster.getState(96)) // Conversion, Revive
		return false;

	var Mons = [366, 406, 266, 408, 516, 517, 518, 519, 522, 523, 543, 543, 545];
	for (ids in Mons) if (monster.classid == Mons[ids]) 
		return false;

  	if(monster.classid == 693 && checkCollision(me, monster, 1) || checkCollision(me, monster, 3))
    		return false;

	return true;
}
100
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Modder>cd\

C:\>cd sdk

C:\sdk>cd tools

C:\sdk\tools>adb devices
List of devices attached
HT055HJ03481    device


C:\sdk\tools>adb push bootanimation.zip data/local
cannot stat 'bootanimation.zip': No such file or directory

C:\sdk\tools>adb push bootanimation.zip data/local
1719 KB/s (4674675 bytes in 2.655s)

C:\sdk\tools>adb push android_audio.mp3 data/local
1672 KB/s (132100 bytes in 0.077s)

C:\sdk\tools>adb shell
$ su
su
# reboot
reboot

C:\sdk\tools>
103
Random Pastebin Posts, Always Fun to read, and to find what your looking for
105
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
[root@ha2 ~]# crm resource stop keyserverfs
[root@ha2 ~]# crm configure edit
WARNING: resource keyserverfs is running, can't delete it
[root@ha2 ~]#
107
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
Add PlayStation_Network@playstation.sony.com  to your address book

=================================================================

PlayStation(R)Network

=================================================================

Dear Meh,

We are writing to provide you with notice of changes to the SCEA
Terms of Service and User Agreement, which will be effective
starting June 29, 2010.

Please visit http://playstation.innovyx.net/r?xPlPWqnEcnTHJqEHWvHvcTJWcPJ
to review the new terms. The revised Terms of Service and User
Agreement apply to PlayStation(R)Network account holders and
their Sub Accounts.

If you do not agree with the new Terms of Service and User
Agreement, please contact Customer Service to terminate your
PlayStation(R)Network account(s) and do not visit
PlayStation(R)Network or our websites. Continued use of your
PlayStation(R)Network accounts by you or your associated Sub
Accounts means that you agree to the new Terms of Service and
User Agreement.

If you have any questions or wish to terminate your accounts,
please contact Customer Service at
http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq

Sincerely,

PlayStation(R)Network

=================================================================

To ensure ongoing receipt of these emails, please add our "From"
address to your address book: PlayStation_Network@playstation.sony.com

UNSUBSCRIBE
You have received this email because you opted to receive
correspondence from us.

Please do not respond to this email. This is an automated mailbox.

Unsubscribe from the PlayStation(R) mailing list:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlTEHWvHvcTJWcPH&psu_number=0870716281&email=psomegid@gmail.com&promocode=AL201

Please note that the unsubscribe process may take up to ten (10)
business days to complete. If you receive additional emails
within this time period, your request is still being processed.
It is not necessary to unsubscribe again. If you continue to
receive emails after this period, please contact Consumer
Services on http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq
For more information on our Privacy Policy, click below:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlvEHWvHvcTJWcPc

LEGAL
"PlayStation" and the "PS" Family logo are registered trademarks
and "PS3" and "PlayStation(R)Network" are trademarks of Sony
Computer Entertainment Inc. (C) 2010 Sony Computer Entertainment
America LLC.

Sony Computer Entertainment America LLC
919 E. Hillsdale Blvd., Foster City, CA 94404
109
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
Add PlayStation_Network@playstation.sony.com  to your address book

=================================================================

PlayStation(R)Network

=================================================================

Dear Meh,

We are writing to provide you with notice of changes to the SCEA
Terms of Service and User Agreement, which will be effective
starting June 29, 2010.

Please visit http://playstation.innovyx.net/r?xPlPWqnEcnTHJqEHWvHvcTJWcPJ
to review the new terms. The revised Terms of Service and User
Agreement apply to PlayStation(R)Network account holders and
their Sub Accounts.

If you do not agree with the new Terms of Service and User
Agreement, please contact Customer Service to terminate your
PlayStation(R)Network account(s) and do not visit
PlayStation(R)Network or our websites. Continued use of your
PlayStation(R)Network accounts by you or your associated Sub
Accounts means that you agree to the new Terms of Service and
User Agreement.

If you have any questions or wish to terminate your accounts,
please contact Customer Service at
http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq

Sincerely,

PlayStation(R)Network

=================================================================

To ensure ongoing receipt of these emails, please add our "From"
address to your address book: PlayStation_Network@playstation.sony.com

UNSUBSCRIBE
You have received this email because you opted to receive
correspondence from us.

Please do not respond to this email. This is an automated mailbox.

Unsubscribe from the PlayStation(R) mailing list:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlTEHWvHvcTJWcPH&psu_number=0870716281&email=psomegid@gmail.com&promocode=AL201

Please note that the unsubscribe process may take up to ten (10)
business days to complete. If you receive additional emails
within this time period, your request is still being processed.
It is not necessary to unsubscribe again. If you continue to
receive emails after this period, please contact Consumer
Services on http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq
For more information on our Privacy Policy, click below:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlvEHWvHvcTJWcPc

LEGAL
"PlayStation" and the "PS" Family logo are registered trademarks
and "PS3" and "PlayStation(R)Network" are trademarks of Sony
Computer Entertainment Inc. (C) 2010 Sony Computer Entertainment
America LLC.

Sony Computer Entertainment America LLC
919 E. Hillsdale Blvd., Foster City, CA 94404
111
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
Add PlayStation_Network@playstation.sony.com  to your address book

=================================================================

PlayStation(R)Network

=================================================================

Dear Meh,

We are writing to provide you with notice of changes to the SCEA
Terms of Service and User Agreement, which will be effective
starting June 29, 2010.

Please visit http://playstation.innovyx.net/r?xPlPWqnEcnTHJqEHWvHvcTJWcPJ
to review the new terms. The revised Terms of Service and User
Agreement apply to PlayStation(R)Network account holders and
their Sub Accounts.

If you do not agree with the new Terms of Service and User
Agreement, please contact Customer Service to terminate your
PlayStation(R)Network account(s) and do not visit
PlayStation(R)Network or our websites. Continued use of your
PlayStation(R)Network accounts by you or your associated Sub
Accounts means that you agree to the new Terms of Service and
User Agreement.

If you have any questions or wish to terminate your accounts,
please contact Customer Service at
http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq

Sincerely,

PlayStation(R)Network

=================================================================

To ensure ongoing receipt of these emails, please add our "From"
address to your address book: PlayStation_Network@playstation.sony.com

UNSUBSCRIBE
You have received this email because you opted to receive
correspondence from us.

Please do not respond to this email. This is an automated mailbox.

Unsubscribe from the PlayStation(R) mailing list:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlTEHWvHvcTJWcPH&psu_number=0870716281&email=psomegid@gmail.com&promocode=AL201

Please note that the unsubscribe process may take up to ten (10)
business days to complete. If you receive additional emails
within this time period, your request is still being processed.
It is not necessary to unsubscribe again. If you continue to
receive emails after this period, please contact Consumer
Services on http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq
For more information on our Privacy Policy, click below:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlvEHWvHvcTJWcPc

LEGAL
"PlayStation" and the "PS" Family logo are registered trademarks
and "PS3" and "PlayStation(R)Network" are trademarks of Sony
Computer Entertainment Inc. (C) 2010 Sony Computer Entertainment
America LLC.

Sony Computer Entertainment America LLC
919 E. Hillsdale Blvd., Foster City, CA 94404
114
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
Add PlayStation_Network@playstation.sony.com  to your address book

=================================================================

PlayStation(R)Network

=================================================================

Dear Meh,

We are writing to provide you with notice of changes to the SCEA
Terms of Service and User Agreement, which will be effective
starting June 29, 2010.

Please visit http://playstation.innovyx.net/r?xPlPWqnEcnTHJqEHWvHvcTJWcPJ
to review the new terms. The revised Terms of Service and User
Agreement apply to PlayStation(R)Network account holders and
their Sub Accounts.

If you do not agree with the new Terms of Service and User
Agreement, please contact Customer Service to terminate your
PlayStation(R)Network account(s) and do not visit
PlayStation(R)Network or our websites. Continued use of your
PlayStation(R)Network accounts by you or your associated Sub
Accounts means that you agree to the new Terms of Service and
User Agreement.

If you have any questions or wish to terminate your accounts,
please contact Customer Service at
http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq

Sincerely,

PlayStation(R)Network

=================================================================

To ensure ongoing receipt of these emails, please add our "From"
address to your address book: PlayStation_Network@playstation.sony.com

UNSUBSCRIBE
You have received this email because you opted to receive
correspondence from us.

Please do not respond to this email. This is an automated mailbox.

Unsubscribe from the PlayStation(R) mailing list:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlTEHWvHvcTJWcPH&psu_number=0870716281&email=psomegid@gmail.com&promocode=AL201

Please note that the unsubscribe process may take up to ten (10)
business days to complete. If you receive additional emails
within this time period, your request is still being processed.
It is not necessary to unsubscribe again. If you continue to
receive emails after this period, please contact Consumer
Services on http://playstation.innovyx.net/r?xPlPWqnEcnTHlnEHWvHvcTJWclq
For more information on our Privacy Policy, click below:
http://playstation.innovyx.net/r?xPlPWqnEcnTHlvEHWvHvcTJWcPc

LEGAL
"PlayStation" and the "PS" Family logo are registered trademarks
and "PS3" and "PlayStation(R)Network" are trademarks of Sony
Computer Entertainment Inc. (C) 2010 Sony Computer Entertainment
America LLC.

Sony Computer Entertainment America LLC
919 E. Hillsdale Blvd., Foster City, CA 94404
116
Random Pastebin Posts, Always Fun to read, and to find what your looking for
119
Random Pastebin Posts, Always Fun to read, and to find what your looking for
121
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
[root@ha2 ~]# crm_resource --resource keyserverfs --set-parameter target-role --meta --parameter-value Stopped
[root@ha2 ~]# crm_resource --list | grep keyserverfs
 keyserverfs    (ocf::heartbeat:Filesystem) Started
[root@ha2 ~]#
123
Random Pastebin Posts, Always Fun to read, and to find what your looking for
Code:
[root@ha2 ~]# crm_resource --resource keyserverfs --set-parameter target-role --meta --parameter-value Stopped
[root@ha2 ~]# crm_resource --list | grep keyserverfs
 keyserverfs    (ocf::heartbeat:Filesystem) Started
[root@ha2 ~]#
125
Posts 115 of 65 · Page 1 of 5

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?