Quote:
Originally Posted by Braumatic
bei Threshsocket noch nicht, er nutzt FindItem halt nicht, live getestet
NTThreshsocket.ntj:
die DelayZeile war von mir - brachte aber nix.
muss man noch eine Variable bei NTSI_PickItems() einfügen?
|
Ich seh da nix im Code der für find Items stehen könnte.
Probier mal das:
Code:
/**
* This file was modified by [Only registered and activated users can see links. Click Here To Register...]
* Check the programming section for updates and further scripts
* Last Update: 17:01 17.08.2011
*/
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");
NT_LoadConfig();
NTSI_LoadNIPFiles("NTBot/item_configs");
MWC_Initialize();
if(!NTTM_CheckAct(me.act, true))
{
NTC_SendMsgToScript("MWBotGame.ntj", NTTM_CheckAct, 18, me.act, true);
return;
}
NTTMGR_TownManager();
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("MWBotGame.ntj", NTTM_TownMove, 26, "waypoint");
return;
}
if(!NTM_TakeWaypoint(112))
{
NTC_SendMsgToScript("MWBotGame.ntj", NTM_TakeWaypoint, 32, 112);
return;
}
NTP_DoPrecast(true);
if(!NTM_MoveToStair(me.areaid, 113, 0, 0, MWConfig_ClearPathSpectypes.ThreshSocket > 0, MWConfig_ClearPathSpectypes.ThreshSocket))
{
NTC_SendMsgToScript("MWBotGame.ntj", NTM_MoveToStair, 40, me.areaid, 113, 0, 0, MWConfig_ClearPathSpectypes.ThreshSocket > 0, MWConfig_ClearPathSpectypes.ThreshSocket);
return;
}
if(!NTTMGR_CheckSafe(0x00, NTConfig_CheckMercSafe&0x01))
{
NTC_SendMsgToScript("MWBotGame.ntj", NTTMGR_CheckSafe, 46, 0x00, NTConfig_CheckMercSafe&0x01);
return;
}
if(!NTA_KillMonster(GetLocaleString(22498)))
{
NTC_SendMsgToScript("MWBotGame.ntj", NTA_KillMonster, 52, GetLocaleString(22498));
return;
}
if(NTConfig_ClearPosition)
NTA_ClearPosition();
MWL_FindItem();
NTSI_PickItems();
NTC_SendMsgToScript("MWBotGame.ntj", "SCRIPT_END");
}
Das MWL_FindItem(); sollte dein Problem beheben.
Edit: Zerspringt der beim Kill nicht wie eine Kadaverexplosion? Das würde das nicht looten auch erklären. Hab keinen Barb zur Hand sonst hätte ichs mal selber gestestet.