Archery at 100.0% - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Archery at 100.0% (/Thread-Archery-at-100-0) |
Archery at 100.0% - Gil Amarth - 05-03-2012 03:34 AM 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. RE: Archery at 100.0% - Khaos - 05-03-2012 03:38 AM Is facing turned off in the INI? RE: Archery at 100.0% - WRWR - 05-03-2012 03:46 AM // COMBAT_NODIRCHANGE 00001 // Not rotate player when fighting (like was in 0.51a) RE: Archery at 100.0% - Khaos - 05-03-2012 04:03 AM Is it on or off though? That is the question. RE: Archery at 100.0% - darksun84 - 05-03-2012 04:43 AM 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 ? RE: Archery at 100.0% - Gil Amarth - 05-03-2012 07:48 AM 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! RE: Archery at 100.0% - darksun84 - 05-03-2012 08:01 AM 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 :/ RE: Archery at 100.0% - Khaos - 05-03-2012 09:08 AM I'd turn it off and just your weapon speed |