D2nT Mausoleum Problem

04/13/2010 08:09 Sparxxi#1
Tag da die Problemthreads ja untergehn durch das gespamme versuch ichs mal so.

würde gerne mauso botten lassen problem hierbei ist....sobald er das mausoleum betritt öffnet sichn tp und er beendet das script

das mausoscript sieht so bei mir aus ( habs nicht bearbeitet )

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

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

	NTA_Initialize();

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

	NTTMGR_TownManager();

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

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

	NTP_DoPrecast(true);

	if(NTConfig_KillBloodRaven)
	{
		if(!NTM_MoveToStair(17, 19, 0, 20))
		{
			NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToStair()");
			return;
		}

		NTA_KillMonster(GetLocaleString(3111));

		if(NTConfig_ClearPosition)
			NTA_ClearPosition();

		NTSI_PickItems();
	}

	if(!NTM_MoveToStair(17, 19))
	{
		NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToStair()");
		return;
	}

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

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

	NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
danke für eure hilfe
04/13/2010 08:16 Sub#2
Haben sie noch andere skripte, die haben NTA_ClearLevel() dass nicht funktionieren?
04/13/2010 08:39 Sparxxi#3
irgendwo noch aber kA mehr wo genau^^ und darfst mich ruhig dutzen :P denke sind ja nicht alle vom alter her mit großem unterschied ^^
04/13/2010 11:40 kal_el#4
wenn du nix verändert hast wird das original sein, das jeder hat.. bei mir gehts
da kannst ja vergleichen
und gleich ma closed
Quote:
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");

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

NTA_Initialize();

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

NTTMGR_TownManager();

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

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

NTP_DoPrecast(true);

if(NTConfig_KillBloodRaven)
{
if(!NTM_MoveToStair(17, 19, 0, 20))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToStair()");
return;
}

NTA_KillMonster(GetLocaleString(3111));

if(NTConfig_ClearPosition)
NTA_ClearPosition();

NTSI_PickItems();
}

if(!NTM_MoveToStair(17, 19))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToStair()");
return;
}

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

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

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