SphereCommunity
Hit Cross Wall of Stone - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Hit Cross Wall of Stone (/Thread-Hit-Cross-Wall-of-Stone)



Hit Cross Wall of Stone - ForesteR - 05-08-2015 08:13 AM

How can i make players hit and cast cross diagonal on wall like X...
Whitout turn advancedlos on, because this make another troubles.

56b


RE: Hit Cross Wall of Stone - ForesteR - 05-09-2015 05:26 PM

Like that photo... i want o hit the guy, but i can't.. how to make player attack and cast in that positions?


RE: Hit Cross Wall of Stone - dagger4k - 05-10-2015 12:25 PM

i'm not too sure. But, in the sphere.ini there is

Code:
// EF_NoDiagonalCheckLOS        00000001



RE: Hit Cross Wall of Stone - ForesteR - 05-11-2015 06:13 AM

thx u reply!
in my ini this flag is EF_DiagonalWalkCheck = 00000001
i tryed this (EF_DiagonalWalkCheck = 00000001) but dont work...


RE: Hit Cross Wall of Stone - XuN - 05-11-2015 04:19 PM

56b is a really old version and we cannot make changes on it, should you try to test this in lastest nightly.


RE: Hit Cross Wall of Stone - ForesteR - 05-16-2015 10:14 AM

i do not want to migrate for 56c.. i need just that fix, also the others settings is stable for me. Sad


RE: Hit Cross Wall of Stone - Coruja - 05-19-2015 08:08 AM

indeed 56b is too old and it's not supported anymore
but anyway, wall of stone acts in the same way on 56c because that's not really a bug, but a fix

the correct behavior is not hit trough spots which you doesn't have LOS, and you char doesn't have LOS to someone trapped between 2 walls, so you can't hit him

on pre-historic sphere builds (55i, 55r, etc) you can hit someone on this situation because as I said, that's a bug. These old builds doesn't have a reliable LOS code so they allow you hit someone even without a clear LOS. But luckly this problem got fixed on 56b (about ~8 years ago) when the LOS code got improved


RE: Hit Cross Wall of Stone - ForesteR - 05-26-2015 02:50 AM

im trying to make an fix for advanced los to not hit cross table and other light height itens, any ideia for improve this events?

on=@spellcast
if !(<src.canseelos <act>>)
src.sysmessage Cant see.
return 1
endif

on=@hittry
if !(<canseelos <src>>)
sysmessage Cant see.
return 1
endif

on=@spellsuccess
if !(<src.canseelos <act>>)
src.sysmessage Cant see.
SRC.SKILL FAIL
return 1
endif


RE: Hit Cross Wall of Stone - danielmuller - 08-04-2016 09:24 AM

hello friends , get get around this bug in a simple and dynamic way : put the timer on the i_wall_stone_7 sphere_item_building_walls .. follow the script:

[ITEMDEF i_wall_evol]
ID=i_wall_stone_8
TYPE=T_WALL

ON=@TIMER
REMOVE
RETURN 1

[ITEMDEF 07a]
DEFNAME=i_wall_stone_7
TYPE=T_WALL
RESOURCES=100 i_rock_plain
CATEGORY=Buildings - Walls
SUBSECTION=Stone Wall 3
DESCRIPTION=@
DUPELIST=07b,07c,07d,07e,07f,080,081,082,083,084,085,086,087,088,089,08a,08b,08c​,08d,08e,08f,0364,0365

ON=@CREATE
TIMER=1

ON=@TIMER
SERV.NEWITEM=i_wall_evol
NEW.TIMER={60 70}
NEW.p=<p>
REMOVE
Return 1

Thats it.. work! Bye fellows