Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Sun Dec 22, 2024 6:57 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Sun Apr 01, 2012 7:46 am 
Offline
Mortal

Joined: Fri Sep 30, 2011 12:27 pm
Posts: 87
Quote:
You slash Tobias Durol's jaw, breaking it with a loud *SNAP*
Tobias Durol slams into you and sends you sprawling!
Tobias Durol's bash knocks the wind out of you.
Tobias Durol punches at your chest, you start to cough up blood!
Tobias Durol punches at your left arm, tearing open a big bleeding wound!
You parry Tobias Durol's bare fist!
You slash at Tobias Durol's right arm, cutting a painful wound across it!
Tobias Durol is stunned, but will probably recover.

[HP: 36%] [ME: 22%] [PE: 69%]
The wailing screams of past sacrifices echo into your ears.
Tobias Durol regains consciousness and rises unsteadily to his feet.

[HP: 39%] [ME: 24%] [PE: 69%]
l

Before a large rickety wooden wall with vines intertwined
Weakened by prolonged submersion in the murky waters of the surrounding
swamp, this cypress wall looks to be more for show than actual use as a
defensive position. Thick dark vines entwine their way through the gaps and
holes in the structure giving it a surprising amount of its structural
integrity, without which it might not stand at all. The surrounding ground
is still completely damp despite the apparent receding of the flood water.
Various muddy footprints and markings litter the ground from the new found
traffic treading through the area.
It's raining lightly, hot, and breezy.
Obvious exits: e w
(Charmed) A silver-winged pegasus stands here looking majestic.
A pale male human is here expounding on the virtues of his slaves.

[HP: 39%] [ME: 24%] [PE: 69%]
Tobias Durol counters your attack!
Tobias Durol's counterstrike devastates you.
You slash Tobias Durol's head. Tobias Durol falls with a blank look on his face!
Tobias Durol is DEAD!!
Tobias Durol's head is skillfully severed from his body.
You get 4 gold coins from a corpse of Tobias Durol.
You get 9 silver coins from a corpse of Tobias Durol.
You get 7 copper coins from a corpse of Tobias Durol.
You junk a corpse of Tobias Durol.

[HP: 27%] [ME: 24%] [PE: 69%]


The code must make the player attack, instead of the angry NPCs, after the latter comes to.

I'm not sure if this is a bug, or if it has been reported before, but alas. Here you go!


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Sun Apr 01, 2012 1:49 pm 
Offline
Mortal

Joined: Mon May 19, 2008 5:06 am
Posts: 1447
Location: Seattle
SK Character: Theodoric
That is very wierd. I've had the opposite happen to me recently (my barb's counterattacked NPCs that rise unsteadily to their feet and engage him after being stunned) so I wonder if it's just something to do with Tobias.


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Mon Apr 02, 2012 9:41 pm 
Offline
Mortal

Joined: Thu Apr 14, 2011 4:51 am
Posts: 442
Ayero wrote:

[HP: 36%] [ME: 22%] [PE: 69%]
The wailing screams of past sacrifices echo into your ears.
Tobias Durol regains consciousness and rises unsteadily to his feet.

[HP: 39%] [ME: 24%] [PE: 69%]


I believe that here's your answer. A tick happened, and since the NPC was stunned during the tick, it considers it being out of combat now. Thus, he is able to counter your attack, since it's an attack that you started anew (considering he was out of combat).


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Tue Apr 03, 2012 8:21 am 
Offline
Mortal

Joined: Sat Mar 02, 2002 4:00 pm
Posts: 1444
Location: New York
Quote:
I believe that here's your answer. A tick happened, and since the NPC was stunned during the tick, it considers it being out of combat now. Thus, he is able to counter your attack, since it's an attack that you started anew (considering he was out of combat).


Sure he's out of combat, he's stunned. But the question for me is how is it that the NPC initiated the comabt (PC seems to have made no active effort to type "kill NPC") and still got the counterstrike?

And it's probably because the NPC can technically initiate combat with 0% PE, but since he got no attacks, the counterstrike trigger remains set and fires when the PC swings back.

Alternatively, the PC was on mode kill here and still managed to stun the NPC before striking the killing blow. Then with the tick happenening between those two events, the pc's attempt to finish off the NPC would result in a counterstrike like Shadow said.


Last edited by jhorleb on Tue Apr 03, 2012 8:25 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Tue Apr 03, 2012 8:25 am 
Offline
Mortal

Joined: Fri Jul 09, 2004 8:43 am
Posts: 5614
Location: Columbia, South Carolina
SK Character: Pilnor, Surrit, Berr, Rall
Actually, he probably just was unlucky enough to stun him on the combat round right before the tick and was thus still in combat the entire time, indicated by the fact that he was on mode kill.


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Tue Apr 03, 2012 8:26 am 
Offline
Mortal

Joined: Sat Mar 02, 2002 4:00 pm
Posts: 1444
Location: New York
Edoras wrote:
Actually, he probably just was unlucky enough to stun him on the combat round right before the tick and was thus still in combat the entire time, indicated by the fact that he was on mode kill.


Jerk. I just edited my post while you were proving me wrong.


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Tue Apr 03, 2012 9:13 am 
Offline
Mortal

Joined: Mon Dec 01, 2008 2:01 pm
Posts: 3527
Location: I'm in a glass case of emotion!
SK Character: Retired Troll
Jhorleb wrote:
And it's probably because the NPC can technically initiate combat with 0% PE, but since he got no attacks, the counterstrike trigger remains set and fires when the PC swings back.


Jhorleb I don't know if you took a close look at the log but the tick happens right as the NPC is stunned. It looks to me like the game never took the PC out of combat. He wouldn't be taken out of combat considering that he was on mode kill. The NPC got the chance to counterstrike because having been stunned, he had been taken out of combat (unlike the PC). Also notice that the PC gains no PE at the tick, suggesting that the game considers him to still be in combat. You're offering an incredibly unlikely and complicated explanation here involving 0% PE. How would this NPC wind up with 0% PE anyways? Do you think it took the PC 50 rounds to kill him?

I think you are wrong on this one Jhorleb.


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Tue Apr 03, 2012 10:02 am 
Offline
Mortal

Joined: Sat Mar 02, 2002 4:00 pm
Posts: 1444
Location: New York
You guys are mean.


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Tue Apr 03, 2012 10:59 am 
Offline
Mortal

Joined: Mon Dec 01, 2008 2:01 pm
Posts: 3527
Location: I'm in a glass case of emotion!
SK Character: Retired Troll
<3


Top
 Profile  
Reply with quote  
 Post subject: Re: BUG: Barb NPCs counterattacking automatically after stun
PostPosted: Tue Apr 03, 2012 11:30 am 
Offline
Mortal

Joined: Fri Sep 30, 2011 12:27 pm
Posts: 87
Thanks for the input, folks. I hadn't considered the tick having an effect on things.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 74 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group