Help with AutoTP

I am looking for help or advice on getting autotp

Currently I do some 1/8 runs an it would speed up a lot if the sorceress could instantly make a town portal an go back to town rather then fighting off units.

which scripts are you trying to use for leader/leechers?

Sorry for my lack of clarity. I would actually like to run it as a manual an just be able to hit a “hot key” that would make the character insta-town.

In tools/ToolsThead.js you have a function keyEvent, add the following case:

  case 116: //f5
  	Pather.makePortal(true);
  	break;

Then when you press f5 your char will make a tp and take it. You can obviously change the key code (116) by any other key.

1 Like

So expanding on this, how can I make it so the character automatically makes the tp when I hit “f5”, but I don’t want them to actually take the tp, just to create the tp?

Pather.makePortal();

or

Pather.makePortal(false);

Did you try to check the description of the makePortal function from Pather.js ?
https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/libs/common/Pather.js#L1024-L1025