The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hit Cross Wall of Stone
Author Message
ForesteR
Apprentice
*

Posts: 45
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #1
Hit Cross Wall of Stone
How can i make players hit and cast cross diagonal on wall like X...
Whitout turn advancedlos on, because this make another troubles.

56b
(This post was last modified: 05-08-2015 08:32 AM by ForesteR.)
05-08-2015 08:13 AM
Find all posts by this user Like Post Quote this message in a reply
ForesteR
Apprentice
*

Posts: 45
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #2
RE: Hit Cross Wall of Stone
Like that photo... i want o hit the guy, but i can't.. how to make player attack and cast in that positions?


Attached File(s) Thumbnail(s)
   
05-09-2015 05:26 PM
Find all posts by this user Like Post Quote this message in a reply
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #3
RE: Hit Cross Wall of Stone
i'm not too sure. But, in the sphere.ini there is

Code:
// EF_NoDiagonalCheckLOS        00000001
05-10-2015 12:25 PM
Find all posts by this user Like Post Quote this message in a reply
ForesteR
Apprentice
*

Posts: 45
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #4
RE: Hit Cross Wall of Stone
thx u reply!
in my ini this flag is EF_DiagonalWalkCheck = 00000001
i tryed this (EF_DiagonalWalkCheck = 00000001) but dont work...
05-11-2015 06:13 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #5
RE: Hit Cross Wall of Stone
56b is a really old version and we cannot make changes on it, should you try to test this in lastest nightly.
05-11-2015 04:19 PM
Find all posts by this user Like Post Quote this message in a reply
ForesteR
Apprentice
*

Posts: 45
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #6
RE: Hit Cross Wall of Stone
i do not want to migrate for 56c.. i need just that fix, also the others settings is stable for me. Sad
05-16-2015 10:14 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #7
RE: Hit Cross Wall of Stone
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
05-19-2015 08:08 AM
Find all posts by this user Like Post Quote this message in a reply
ForesteR
Apprentice
*

Posts: 45
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #8
RE: Hit Cross Wall of Stone
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
05-26-2015 02:50 AM
Find all posts by this user Like Post Quote this message in a reply
danielmuller
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0



Post: #9
RE: Hit Cross Wall of Stone
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
08-04-2016 09:24 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)