Hi all and esp. Muddy (who I hope will help me clean up)
I have been searching and searching trying to find a working script that will do Lower Kurast, Kurast Bazaar, and Upper Kurast killing everything and opening every chest, looting every body, and basket.
I found several but I think they are all out dated as the code would not run-(only sits in town until game times out)
So I decided to make one from the basic code already in place (I actually used the code from flayer jungle as my guide)
First and foremost I do not guarantee this code will work for you, nor do I take any responsibility of anything going wrong or crashing on your end. This script is a work in progress and like any other script should be used with caution, care, and at your own risk.
This will make your bot so it opens all chests and loots all bodies and baskets.
Save and close your Char Config file
This adds the area so your char will kill everything in the area
Save and close your ntconfig file
This will be your .ntj file
Paste the following into that file
What I need is help cleaning up the code to be neater.
Also I would like to make this similar to the super chest script where I can choose from a list of area to do.
My list would be:
Lower Kurast
Kurast Bazzaar
Upper Kurast
The following scripts are already included but I would like to have them as one script like super chest but opening all chests and killing everything (clearing the area)
Kurast sewers
Kurast Temples
Where now I can have one script for them all and a line in char config like this:
Just a thought and any assistance would be greatly appreciated.
I have been searching and searching trying to find a working script that will do Lower Kurast, Kurast Bazaar, and Upper Kurast killing everything and opening every chest, looting every body, and basket.
I found several but I think they are all out dated as the code would not run-(only sits in town until game times out)
So I decided to make one from the basic code already in place (I actually used the code from flayer jungle as my guide)
First and foremost I do not guarantee this code will work for you, nor do I take any responsibility of anything going wrong or crashing on your end. This script is a work in progress and like any other script should be used with caution, care, and at your own risk.
Code:
Open: "scripts => NTBot => char_configs => NTConfig_CLASS_CHAR-NAME.ntl" Find: => // Select which containers shall be looted. 0: None; 1: Super Chests, 2: All MWConfig_OpenContainerMode = 2; ensure mode=2
Code:
Find: => // ***************** Current schedule ****************** On line after, add => MWConfig_Script.push(["NTKurast.ntj", 0]);
Code:
Open: scripts => NTBot => char_configs => NTConfig.ntl Find=> MWConfig_ClearAreaSpectypes.FlayerJungle = 0x01; On line after, add => MWConfig_ClearAreaSpectypes.Kurast = 0x01;
Save and close your ntconfig file
Code:
Open: scripts => NTBot => bots Find => "NTIcyCellar.ntj" COPY PASTE rename copy => "NTKurast.ntj" delete all content of this new file.
Code:
Open "NTKurast.ntj"
Code:
/** * This file was modified by Caspert_ghost * http://www.elitepvpers.com/forum/private.php?do=newpm&u=4741454 * from flayerjungle.ntj 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: 10/18/2012 * */ 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(79)) { NTC_SendMsgToScript("MWBotGame.ntj", NTM_TakeWaypoint, NTM_TakeWaypoint, 32, 79); return; } NTP_DoPrecast(true); NTA_ClearLevel(true, 2, MWConfig_ClearAreaSpectypes.Kurast); 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(80)) { NTC_SendMsgToScript("MWBotGame.ntj", NTM_TakeWaypoint, NTM_TakeWaypoint, 32, 80); return; } NTP_DoPrecast(true); NTA_ClearLevel(true, 2, MWConfig_ClearAreaSpectypes.Kurast); 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(81)) { NTC_SendMsgToScript("MWBotGame.ntj", NTM_TakeWaypoint, NTM_TakeWaypoint, 32, 81); return; } NTP_DoPrecast(true); NTA_ClearLevel(true, 2, MWConfig_ClearAreaSpectypes.Kurast); NTC_SendMsgToScript("MWBotGame.ntj", "SCRIPT_END"); }
Also I would like to make this similar to the super chest script where I can choose from a list of area to do.
My list would be:
Lower Kurast
Kurast Bazzaar
Upper Kurast
The following scripts are already included but I would like to have them as one script like super chest but opening all chests and killing everything (clearing the area)
Kurast sewers
Kurast Temples
Where now I can have one script for them all and a line in char config like this:
Code:
MWConfig_Script.push(["NTKurast.ntj", 0]); MWConfig_Areas = ["Lower Kurast", "Kurast Bazaar", "Upper Kurast", "Kurast Sewers", "Kurast Temples"];