D2jsp YAMB countess fix ideas

fattyxp

Member!
Joined
Feb 13, 2004
Messages
221
Reaction score
0
Website
shawnjcox.sh.funpic.org
I'm not sure how many people are aware of the bug that doesn't allow you to do countess without a teleporting character, but I think I might have come up with a couple possible solutions and I need help with some of the variables.

My first idea is to use the commPathing.GotoObject method and have it path out how to get to the treasure chest in the countess room. This is if that chest is a valid object and I would need the info on it if it is.

My second idea is to use the commPathing.GotoDest method with coords in her room depending on which way the level is setup.

Currently the countess script uses DM_MoveTo to move from the door to a safe place to detect countess immunes/placement. This function should call DM_WalkTo if the teleport skill is not available. So with the teleport skill definatly not being available on my barb there is either a problem with skill detection or pathing detection of the wall.
I'm not sure if anyone has tried to fix this yet or not, so I'm not sure what has been tried and what hasn't or if it's a problem with detecting the wall.

Ok as a first fix attempt In went into the CXP_FindCountess function and changed the DM_MoveTo's to DM_WalkTo's so that there is no chance that it is attempting to teleport and the bug is still happening. So this is obviously a problem with the pathing detecting the walls existance.(or with the original coords supplied) So now I'd like to attempt to figure out coords to move around the wall manually depending on level setup, a little help here would be appriciated. as I don't know the ranges of coords that are valid for this.
 

Trojan

Respected Member
Joined
Jun 15, 2004
Messages
3,545
Reaction score
2
Location
OG From '02
Well, the basic way the bot works is by pathing out waypoints, kinda like WC or SC holding shift. With that known, all you need to know is the packet and coord to send to get your char to move to that specific spot.
 

fattyxp

Member!
Joined
Feb 13, 2004
Messages
221
Reaction score
0
Website
shawnjcox.sh.funpic.org
Well at first to get to the "safe" place to check for countess it isn't using and pathing functions... just movements to certain rects. I'm going to try and have it use the .GotoDest method of the pather and see what happens. Of course I'll only use the last set of numbers as the pather will give me the correct way to get ther (hopefully)

Since changing it to use the pather it seems to be working but I've only gotten the level with the door built into the side wall for the last 12 runs so I really can't tell. I fixed it casting battlecry since I don't want it to(just commented out), maybe later I'll add a variable in the config and put an if statement there to have it cast if you want it to. I'm going to do some more testing to find out if this is actually working right or not... maybe I'll get the troublesome level setup sooner or later

wtf, I can't seem to get any other level setup than the one with the door built into the side wall now. for the last 30 runs thats all it's been.
 

NewPosts

New threads

Top