Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Archery at 100.0%
Author Message
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #1
Archery at 100.0%
I am resuming the works in my server after a long time, and I have seen the same problems I had years ago.

At 99.9% (or less) of archery everything is okay, but when a player reach 100.0% of archery, suddenly the player tries to face the target at every step, and it is very difficult to get distance from the enemy.

I had test it in a freshly installed sphere, so no problems with any scripts. It´s a problem of the Sphere core.

My question is: Is it possible to fix this problem somehow?
Any workaround is welcomed. I had thought a lot of possibilites, but no one seems to work for me.

Thanks in advance. Smile
(This post was last modified: 05-03-2012 03:35 AM by Gil Amarth.)
05-03-2012 03:34 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #2
RE: Archery at 100.0%
Is facing turned off in the INI?
05-03-2012 03:38 AM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #3
RE: Archery at 100.0%
// COMBAT_NODIRCHANGE 00001 // Not rotate player when fighting (like was in 0.51a)
05-03-2012 03:46 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #4
RE: Archery at 100.0%
Is it on or off though? That is the question.
05-03-2012 04:03 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Archery at 100.0%
i think it's not the facing, every time the player(with archery 100.0) run around monsters the trigger @hittry get fired.

TRIGGER '@hittry' called 354 times, took 0.2126 msec average (0.1279 min, 0.9469 max), total: 75.3303 msec

After a quick run(without hitting nothing,1-2 sec passed)

TRIGGER '@hittry' called 364 times, took 0.2135 msec average (0.1279 min, 0.9469 max), total: 77.7706 msec

But looking in the sphereskills.scp, in the archery part , there is a :

[SKILL 31]
DEFNAME=Skill_Archery
KEY=Archery
TITLE=Archer
PROMPT_MSG=
DELAY=2.0,0.1 <-

Commenting the Delay field and restarting the server,the problem seems to be fixed.

Still , maybe the delay field it's needed for archery ? or it's just an error ?
(This post was last modified: 05-03-2012 04:48 AM by darksun84.)
05-03-2012 04:43 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #6
RE: Archery at 100.0%
It´s a fresh install of Sphere, so no Combatflags are activated (set to 0).

The character tries at every step to face his target, only at 100.0% of skill. If I activate the COMBAT_NODIRCHANGE flag, the effect is less noticeable, but still happens and it´s very anoying.
And the melee combat is also modified. It´s a pity to lose a cool feature (facing your enemy) only for this bug.


The solution of darksun84 works!
Commenting the line of delay in archery at sphere_skills.scp resolves the problem perfectly, but I don´t know if it would have any side effects. I´ll try.

Thank you very much! Veryhappy
(This post was last modified: 05-03-2012 07:50 AM by Gil Amarth.)
05-03-2012 07:48 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Archery at 100.0%
By the way it's not a bug, if we change the 2.0,0.1 to 2.0,10.0 at 100.0 archery the hittry trigger will be fired after 10 seconds.

So i tried with 2.0,2.0 and looks fine, but others combat skills doesn't have a delay so i don't know :/
(This post was last modified: 05-03-2012 08:07 AM by darksun84.)
05-03-2012 08:01 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #8
RE: Archery at 100.0%
I'd turn it off and just your weapon speed Smile
05-03-2012 09:08 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)