kolton / d2bot-with-kolbot

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

Classic CS team #460

Open Xirzz opened 6 years ago

Xirzz commented 6 years ago

I think classic need more love the current Diablo scripts aren't adapted for classic at all. can we do something about it?

noah- commented 6 years ago

Have you tried ClassicChaosAssistant.js with the normal diablo script?

Xirzz commented 6 years ago

Wait no I never tried, I just noticed that this script is in the bots folder but how can I activate it? there is nothing in the sorc script that says anything about that.

Also are you Noah that made a special classic script posted on blizzhacker forum??

DiaLover commented 6 years ago

noah- is god

Wiener93 commented 6 years ago

Im using AutoCs and AutoTaxi. dunno where i got it from i think from blizzhackers. i modified it tho and im doing 1/8 cs rund with a sorc that taxis and waits in town for pala to clear seal, then taxis next seal. easy hardcore classic solo fast dia. if you want i can pastebin it.

Xirzz commented 6 years ago

that sounds pretty good for a first script to use I would appreciate if you could pastebin it Wiener93

My ultimate goal would be to have taxi sorc + hammerdin + barb singer (just casting the fear warcry constantly) + bo barb of course, do you think I can make it work with your script?

noah- commented 6 years ago

Yeah, I would've mentioned AutoCS, but blizzhackers is down and I don't have a copy of it anymore.

Wiener93 commented 6 years ago

AutoTaxi: https://pastebin.com/biS11wuk AutoCS: https://pastebin.com/X2s03kT9 Installation Directions: https://pastebin.com/7Vsh0kCs

Noah´s Description ;)

Special thanks to Rayne for testing and validating these scripts for all characters available in classic Diablo II. All testing was handled purely by him, I never even had to run the script once!

What is AutoChaos? AutoChaos is a two script system AutoTaxi and AutoCS. AutoTaxi is a taxi style script, it creates a portal at each seal and does not kill monsters in between seals. AutoCS is a follow script, it will automatically determine a taxi leader and follow it through the various seals in CS.

How is AutoChaos different from existing scripts? AutoChaos does not use any form of in game messaging or out of game communication scheme. Think of AutoChaos as if a human player was joining a public cs game. You don't need to be told who the leader is, it's usually the highest level sorceress or a character that already has a tp up in cs. You don't need to be told when to go in the tp, when you see the leader making a new tp, you can make a good assumption that the next seal is up. AutoChaos uses these same rules to lead/follow cs runs. AutoChaos leverages in game data about portal GID and player locations to determine which seal you are at and what to do.

AutoChaos is meant to be a proof of concept: how to manage team games without knowing any info about the team before hand. The AutoCS script should be a compatible follower to any taxi based cs, whether it be human run or otherwise. It should be able to join any game and adapt to the current situation. Ideally with AutoChaos, people that don't have the ability to run full teams could run 1 character having them join public games that contain the name "Chaos" or "CS" or any of the other names for cs games and be able to form a team on the fly.

Features: AutoChaos is not meant to be the fastest most optimized cs script. It is however meant to be very reliable and consistent. These scripts are provided as is and without any guarantees. Also, I will not be adding any more feature updates, only bug fixes. Please do not make feature requests unless they are related to reliability/consistency of the script.

The AutoTaxi script is meant to be run by a sorceress, the AutoCS script can be run with any type of character. Builds that work really well with this setup include: cold sorceress, ce/ranged necro, javazon, hammerdin, ww barb (or bo barb) Other setups may require changes to the attack routines.

Maybe you´ll include it in the Master Branch someday? I could get a new clean install, implement it and share the changes if you like Noah.

Xirzz commented 6 years ago

thank you Wiener that's amazing. Yes I think we should add it directly to the core btw

is this your modified version that can be run with only a sorc and a pal?

noah- commented 6 years ago

I don't think it was ever extensively tested which is why I never added it to kolbot. Feel free to post your feedback and I will consider it.

Xirzz commented 6 years ago

btw in the Taxi script is the sorc attacking or she just do a tp and go town or back to star? I mean the original script. It is important as in HC you dont want the sorc to tp and stop in big pack of monsters it would make her chicken right away

3594302 commented 6 years ago

BH DOWN.

Xirzz commented 6 years ago

I'm trying to run the scripts but I keep getting this; Error in AutoCS (loader.js #132) Invalid script function name

The sorc is waiting at river WP so it seems to be ok with her, it's just an issue with the ones running AutoCS also another question is now the BO is happening at river right? so I have to turn the first BO scripts to false?

EDIT; I found out why, Wiener you gave AutoTaxi 2 times instead of AutoCS on the second link

Wiener93 commented 6 years ago

Sry i edited the post. link to AutoCS should work now. ye noah i understand that. theres still work to do to make it worth for a public script. i´ll take a look if its worth it to fix it 100%. i know its not flawless. and @Xirzz sorc fights with the other chars with this normal AutoTaxi script.

you can take a look at my AutoTaxi script here: https://pastebin.com/XuNpu8Mg (wont work properly with standard autocs i think) if you want.

Xirzz commented 6 years ago

Wiener I tried everything but the barb doesnt seem to want to BO at river what should I do?

Wiener93 commented 6 years ago

its noahs script :/ i dont use a barb in cs. i use the normal BattleOrders.js for Bo barb except i use river of flames wp instead of Catacombs lvl 2 wp.

Xirzz commented 6 years ago

Pather.useWaypoint(35, true); // catacombs

What number is it for River of flames?

Wiener93 commented 6 years ago

Pather.useWaypoint(107, true); // catacombs // GEÄNDERT ZU AKT 4 CATA IST WP NR 35

german :D

Xirzz commented 6 years ago

thank you it works! but it's a very dangerous script.

You think we can modify this script and make it more efficient with some ideas I have? One of the things that would be very important is the sorc to ONLY make tps and never fight at seals she head to a seal make the tp at the boss location/pop the seal/go back to star and wait XX seconds/ if there is a monster attacking her she will randomly tp at the star/then head to next seal when boss is dead

this would be the most important thing that made it very safe for the sorc not to die and the rest is a big kill squad with hammerdin and barb that do the fear warcry so the monsters run around and they can focus on killing the seal boss

Do you see that like something possible to do?

Wiener93 commented 6 years ago

use this for your sorc https://pastebin.com/82Qb9BSf you´ll have to add the pala as leader in your char config tho. might confuse you to setup the invite/ accept options for party since when leader is set the sorc will only accept party from pala. so barb need to be set to accept too.

Xirzz commented 6 years ago

Ok I'm gonna try this one out.

Any idea on how I can make the AutoCS script wait longer before leaving a game if members of the squad are not detected? sometime it's a bit too fast and after a crash it needs time to reconnect and get back to the game (freaking eternal Checking Versions while wanting to connect...)

Xirzz commented 6 years ago

I get this with your script:

[Error(73)] File (kolbot/libs/bots/autotaxi.js:318) SyntaxError: missing } after function body Failed to include script: Autotaxi

What went wrong??

Wiener93 commented 6 years ago

try again. i updated the link to my custom Autotaxi.js. maybe its because i commented out the exp shrine getter.

Xirzz commented 6 years ago

yesssss it's working she goes in town after every seal popped this is very nice thank you Wiener93 I'm gonna do some test and see how it goes. she tries to always get a shrine when Diablo is being done so I'd like to remove that

How can I make the sorc fight at diablo with party? like choose if I want her to stay or not, for some xp it would be nice to bring her like lvl 90 Also how to extend the amount of time they wait in game before leaving when other member of the party are not there yet?

Wiener93 commented 6 years ago

Try these Taxi: https://pastebin.com/jpC4VDnh AutoCS: https://pastebin.com/rAF71wDm Sorc and Others shouldnt quit anymore. Sorc gets exp shrine when -1, kills dia when 0, gets exp shrine and kills diablo when 1 AutoCS stays town when -1, kills diablo when 0, takes exp shrine when 1

Dont let your sorc take the es. Set Config.ScanShrines = []; in your sorc config and Config.ScanShrines = [15]; in your pala config.

remember all changes i make needs testing. im not responsible for anything.

For barb change

failTimer = 5000,

in your BattleOrders.js to whatever you want (5000 is changed by me already).

Edit: also change in your char config the comment to stay updated what means what. Config.AutoTaxi.Diablo = -1; // -1 = tp at exp shrine, 0 = kill to death, 1 = tp at exp shrine and kill diablo Config.AutoCS.Diablo = 0; // -1 = go to town during diablo, 0 = kill to death, 1 = get exp shrine and kill diablo

obviously pala can get exp shrine now if you want. try starting both with 0. simplest to find major faults in the code (if there are any :P)

updated far after your comment:

thank you wiener <3 starting the tests tomorrow after work. you rock.

Xirzz commented 6 years ago

thank you wiener <3 starting the tests tomorrow after work. you rock.

Xirzz commented 6 years ago

Hi wiener this error is back again with the last taxi script;

Error(133)] File (kolbot/libs/bots/autotaxi.js:196) SyntaxError: syntax error Failed to include script: Autotaxi

Wiener93 commented 6 years ago

Updated Taxi: https://pastebin.com/rV1f74a8

Xirzz commented 6 years ago

Error(133)] File (kolbot/libs/bots/autotaxi.js:241) SyntaxError: syntax error Failed to include script: Autotaxi

again :/

Wiener93 commented 6 years ago

sorry mate has been to messy. i started from the default autotaxi again. now it should work: https://pastebin.com/xHn379mN

tomorrow ill take a further look into the AutoCS.js

Wiener93 commented 6 years ago

sry mate busy tonight. ill let you know in the next few days. they should work kinda okay now? i´ll just be finetuning a bit. add the option to choose if sorc will fight or wait in town, optimize AutoCS etc.

Wiener93 commented 6 years ago

update is here @Xirzz : https://github.com/Wiener93/ClassicTeamCS-for-Kolbot

should work flawlessly now. you´ll have to set it up again since i changed the name of the scripts. take a look at the README.md if you need help. if you need help post in issues on my github.

bo barb is working with ClassicTeamCS too. no need for BattleOrders.js anymore and you can use him in cs too if Config.ClassicTeamCS.BO = false; is set to false;

Xirzz commented 6 years ago

woooow you rock dude thanks so much, with upcoming ladder reset it's gonna be amazing. I put these to test and come back for the feedbacks!! 👍

Xirzz commented 6 years ago

how do you make the barb bo at river without the BO.js script?? when using your script he just stays in town

also I'm getting this on the sorc whenever I ask her to kill diablo after finding the xp shrine for pala.

Error in ClassicTeamTaxi (classicteamtaxi.js line 217): Config.AutoCS is undefined

Also she will sometime miss the tp back to diablo if the paladin take it before her.

toosaa commented 6 years ago

hello, is there way run other other scripts after diablo is done? all players just quit game and go to next.

sez55 commented 6 years ago

@Wiener93

hey i have a problem with these scripts, Problem is that the sorce goes to viz makes tp open seals but goes diretctly to seis make a tp open seals and go directy to inf and make tp open seals and goes directy in middle of cs (Star) .... but why ? maybe you can help sorry for my english

ATragicEnding commented 6 years ago

Is there any way to implement what appears to be random Battle Orders from these scripts into the regular Chaos Helper script? I'd rather clear whole CS but the helper script apparently only BO every X minutes thus having the sorc chicken out because of the lack of Battle Order :-/

chojo31 commented 5 years ago

Sorry to necro this thread :

I tried both @Wiener93 and @noah- script and it doesn't work for me :(

My barb and paladin stay idle in town, my sorc goes to fiver of flames wp and she wait.

Paladin pastebin: https://pastebin.com/MpzR0B3a Boer pastebin: https://pastebin.com/ucgF40pC Sorc pastebin: https://pastebin.com/fRTRHBSL

I have put AutoTaxi, AutoCS, ClassicTeamCS and ClassicTeamTaxi in bots folder.

What I try to accomplish is my boer bo both my sorc and pal. After that my sorc tele, open each seal, open a tp and go to town. Then my pal goes through the TP and kill everything up to diablo.

Thank you in advance for your help,

ClassicBaby commented 5 years ago

this script working? same problem as @chojo31 sorcs sit at WP and everyone sits in town, will sometimes start and tp visior kill then afk till chicken

thanks for help

77920 commented 5 years ago

Not working... anyone got an update?

anime143 commented 4 years ago

bump, iso help. my setup is based on xpac style but i want it to be classic only.

i followed as instructed but doesn't seem to work unless i switch it to xpac config like mf helper/ diablo help.

noah- commented 4 years ago

Here is updated autochaos https://gist.github.com/noah-/2685fbeccc72fd595bbe89116aea272e