kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
345 stars 334 forks source link

Exp shrine. #2175

Open Evilpino opened 4 years ago

Evilpino commented 4 years ago

hi,

need help to config my follower to go act 1 and look for exp shrine, once he find-open tp and and wait for leader to take the shrine and continue exp.

gtoilet commented 4 years ago

I remeber seeing this code in some Baal script but I don't have it as I'm classic only install and removed all lod files

5noop commented 4 years ago

I got this https://pastebin.com/4dPRNeZ7

You just have add a function before return true to wait for your leader.

Evilpino commented 4 years ago

I got this https://pastebin.com/4dPRNeZ7

You just have add a function before return true to wait for your leader.

thank you for your answer:)

i am still little confused about the script, is it a seperate script or do i need to copy and paste inside my char config?

5noop commented 4 years ago

It's a separate script, save it under libs/bot/EsSearch.js and add Scripts.EsSearch = true; in your char config. It won't wait for your leader though so you'll have to add that part.

Evilpino commented 4 years ago

It's a separate script, save it under libs/bot/EsSearch.js and add Scripts.EsSearch = true; in your char config. It won't wait for your leader though so you'll have to add that part.

thx bro, its working. Only one question left in this topic, do you know how to let leader/leecher get the shrine and go to throne for leech exp?

5noop commented 4 years ago

Search for xp scripts, Im sure you can find some examples in them.

Edit: like https://pastebin.com/CCty0HXd around line 870-890, should be adapted of course