dad hab ich mir auch schon gedacht ^^
[Only registered and activated users can see links. Click Here To Register...]Quote:
Sadly it doesn't look like I'll have time to work on it anymore until the ladder reset, which is a pity because that is when this script has greatest chances of being useful. I'll post what I have so far and hopefully it'll help.
my files:
\d2nt\scripts\NTFollowerBot.ntj [Only registered and activated users can see links. Click Here To Register...]
If the original NTFollowerBot.ntj file works for you then use that one instead. This one has a fix where the bot kept trying to join a gamename containing the words "destruction game named" blahblah.... before the game name, so I added the line game = game.substring(24); in there to cut the first 24 strings from the intended gamename.
Remember to edit in the account name of the character your bots will be following (has to be mutual friends with your bot accounts).
You must set NTFollowerBot.ntj as your entry point in d2nt.
While we're at it, to me at least this file seems to have issues with reconnecting to games once it has left. But maybe it's just me with my d2nt 3.1...
\d2nt\scripts\NTBot\bots\NTFollower.ntj [Only registered and activated users can see links. Click Here To Register...]
My latest version with minor edits from the last one, namely added the suggestion from earlier about ignoring leader name capitalization, a bug fix regarding bot following you into other areas properly, and minor follow distance tweaks as well as leash ranges (still not too satisfied with those 2).
You must edit in your leader name, and optional main boer name (mainhelper) in case of multiple barbs.
\d2nt\scripts\libs\common\NTMove.ntl [Only registered and activated users can see links. Click Here To Register...]
This is slightly modified NTMove.ntl of d2nt version 3.1 file. (note it's possible this might cause crash on game start with version 3.0, not sure. If you experience crash on game start with this try using your original NTMove.ntl file instead, and edit in NTFollower.ntj variables var _earlybreak = false;). I highly recommend you get this working on your followbot and use _earlybreak = true as this will reduce bots getting stuck aimlessly by a huge margin.
To minimize problems while playing with follow bots I recommend you avoid giving simultaneous orders as much as possible. Also to minimize chances of bot losing track of you while switching areas, try not to go between areas while the bots are fighting mobs (may or may not have been fixed in my latest file).
Oh yeah, and dungeons with doors still present a sizable challenge for bot movements, take special care when taking your bots through those.
\d2nt\scripts\NTBot\char_configs\NTConfig_Paladin_ ILoveYouLongTim.ntl [Only registered and activated users can see links. Click Here To Register...]
Ultra simple example of a paladin follower bot character file. Goes melee and might aura. Make sure you capitalize your character name exactly as in game, and that you don't have NTconfig_paladin.ntl file in your char_configs folder unless you know what you're doing.
To make your bots able to melee you need to edit your \d2nt\scripts\libs\common\NTAttack.ntl file to know what is the range of melee attacks. Or just use this: [Only registered and activated users can see links. Click Here To Register...]
Happy new ladder season!