[Fixed?] Character automatically turns in direction 7 during combat
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Character automatically turns in direction 7 during combat
Using UOX3 0.98-3.6b, whenever I'm fighting something my character keeps automatically turning northwest (direction 7), no matter the actual direction my target is in.
Last edited by Xuri on Sun Jun 25, 2006 12:04 pm, edited 1 time in total.
-= Ho Eyo He Hum =-
-
Grimson
- Developer
- Posts: 802
- Joined: Sat Jun 04, 2005 1:52 am
- Location: Germany
- Has thanked: 0
- Been thanked: 0
Strange, combat doesn't change the direction of player chars at all, only the direction of NPCs is adjusted and that works here.Xuri wrote:Using UOX3 0.98-3.6b, whenever I'm fighting something my character keeps automatically turning northwest (direction 7), no matter the actual direction my target is in.
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
I have noticed that there is a client packet sent to automatically turn the character in the direction of its target. For some reason this target is not always the one you are hitting (standing right next to you).
For instance, I have my GM and player logged on. Player is in combat mode fighting an orc, but consistently turns SE facing away from the orc. The GM is to the SE of the character (though off the screen) and is not only invulnerable, but has done nothing but use the 'heal command on the player. Upon killing the orc I return the player to nearby the GM character and move around him in circles, no matter where the GM character is, player always turns to face him. Upon debugging this scenario, I noticed that the direction change was being instructed by the client, not by any automation within UOX3.
For instance, I have my GM and player logged on. Player is in combat mode fighting an orc, but consistently turns SE facing away from the orc. The GM is to the SE of the character (though off the screen) and is not only invulnerable, but has done nothing but use the 'heal command on the player. Upon killing the orc I return the player to nearby the GM character and move around him in circles, no matter where the GM character is, player always turns to face him. Upon debugging this scenario, I noticed that the direction change was being instructed by the client, not by any automation within UOX3.
Scott
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Hm. My character keeps turning northwest shortly after entering combat mode no matter what I do. I restart the client, login and enter combat mode - and my character turns northwest.
I attack NPCs south, east, west, north of me - and my character turns northwest. I exit and re-enter combat mode, and my character turns northwest
Weird.
I attack NPCs south, east, west, north of me - and my character turns northwest. I exit and re-enter combat mode, and my character turns northwest
Weird.
-= Ho Eyo He Hum =-
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Hm. When testing combat in 0.98-3.7b, both using my first character (with serial 0 0 0 0) and normal player character (with a higher serial), my character keeps switching direction (multiple times during a fight) between northwest and the direction of the target.
It does not switch direction towards target (or northwest) if the character is auto-defending against attack without entering combat mode. Not until entering combat-mode does he change direction, in other words.
It does not switch direction towards target (or northwest) if the character is auto-defending against attack without entering combat mode. Not until entering combat-mode does he change direction, in other words.
-= Ho Eyo He Hum =-