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-nmm7 (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-nmm7 (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-nmm7 (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
[Suggestion] LOS and boats
Author Message
Coruja
Sphere Developer
*****

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

Dimension Shard

Post: #1
[Suggestion] LOS and boats
on sphere theres no way to get LOS through the water, unless you use AdvancedLOS (maybe)

for many years we lost something interesting: pvp on boats. If I'm standing on my boat and a "enemy boat" appears, all we can do is say hi and go away because there's no way to attack each other (LOS out of range)

here on my server I doesn't use AdvancedLOS and can't enable it because even it is better, no one likes this playstyle with spells passing through items, etc

so the idea is: allow LOS through water even with AdvancedLOS disabled. I think there's no need to completely rewrite all the LOS code, maybe just make a few changes to allow LOS through some boats and water tiles
03-02-2014 07:43 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: [Suggestion] LOS and boats
And what are we suppose to call this? PartialAdvandedLOS?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
03-03-2014 01:43 AM
Visit this user's website 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: #3
RE: [Suggestion] LOS and boats
nah, its not a new feature, just a "small" change on the default LOS to allow ppl cast spells through boats Tongue
03-04-2014 07:57 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #4
RE: [Suggestion] LOS and boats
do you at least have COMBAT_ALLOWHITFROMSHIP on?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
03-06-2014 06:11 AM
Visit this user's website 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: #5
RE: [Suggestion] LOS and boats
yea, COMBAT_ALLOWHITFROMSHIP is enabled
after some tests I here, found that the "problem" is not really on water tiles, because if I put 2 chars directly on the water they have LOS to each other and can cast spells without problems. So probably the LOS is being blocked by the ship multi, not by the water
03-06-2014 07:48 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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