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
sight bug
Author Message
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Brick sight bug
[Image: sightbug.jpg]

Players positioned as the pics shows, can cast a field, or any spell(on other chars) on the red circle.

Is that right? After seeing that i tested many cases and I'm surprised what i've noticed...

Im using 2009 September build.
I tried many MagicFlags and Experimentals on sphere.ini settings and dind't fix

Any tip how to fix it (or it is normal?)?
I didnt see any sight improvement on revisions after my build. Maybe they fixed it but didnt logged?

Man this is so important on my server, can someone pleeease test on your sphere versions/configs and see what happens??
(This post was last modified: 12-24-2012 11:45 AM by ChaveS.)
12-24-2012 11:40 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: sight bug
As far as I know, this behaviour is normal and correct. If you can't see over a chest while being on a horse, then I would say you need to see an optometrist Smile

There are some settings that would affect it in sphere.ini

// Uses the new LoS algorithm
// ADVANCEDLOS_DISABLED 0x00 // Disabled, use the old method
// ADVANCEDLOS_PLAYER 0x01 // Enabled only for players
// ADVANCEDLOS_NPC 0x02 // Enabled only for NPCs
AdvancedLos=0

0 is default and should work like 55i did.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
12-25-2012 03:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: sight bug
It is already at 0

And ben, i cant cast my enemy if the wooden chest is right in front of him, only in this crazy diagonal set...

And for example, i found positions(in this case on TREES) that i CAN see him, and he CAN'T see me!

I made the video:
http://www.youtube.com/watch?v=vnSZfyJRc0k

Not leaving aside the problem with diagonals on the wooden chests (and any other blockable items)

I have a question someone got an sphere running without this problem? I need know if i can fix it someway
(This post was last modified: 12-25-2012 05:45 AM by ChaveS.)
12-25-2012 04:49 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: sight bug
Have you tried with AdvancedLOS=03?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
12-25-2012 07:10 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #5
RE: sight bug
Okay...
Now it fixed the tree bug, but i dont want to use advancedlos... if the item is blockable, then i want to be impossible to spell pass thought, its a old style shard.

http://www.youtube.com/watch?v=vnSZfyJRc0k This is still a bug, even if the advacedlos is set to 0, it should be fixed right? Do you know where do i ask for fixes or suggestions?


Thanks
(This post was last modified: 12-26-2012 10:19 AM by ChaveS.)
12-26-2012 09: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: #6
RE: sight bug
There is a bug tracker in the links at the top, that's where you report bugs... Now the problem here is, AdvancedLOS is "the fix".
So what you afre looking for is a half fix?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
12-27-2012 12:45 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #7
RE: sight bug
the way i think is:

AdvancedLos in fact is to make some environments like: See trough windows, see trough items you are taller, etc...
Not to make some line of sight different for each player like in the video.

So if i want a old style line of sight but with a good diagonal check it should be advancedlos=0

thanks!
(This post was last modified: 12-27-2012 01:06 AM by ChaveS.)
12-27-2012 12:51 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: #8
RE: sight bug
Before I do anything about this, you need to properly test it. I've noticed that in your video, when you target the other char in the first test, you are facing your target, but the second test, you are facing away from your target.

I still don't understand how you can request just a partial bug fix, when there is already a full fix available. You want old style, you have old style. OLD = BUGGY

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
12-27-2012 09:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #9
RE: sight bug
ChaveS, você quer que o player não consiga castar no outro jogador caso o outro jogador não consiga ver você?
Se sim, faz um check no @SPELLSELECT ou na trigger que é chamada antes do cast ou até mesmo no @SPELLEFFECT, que se um dos players não vê o outro, a magia falha.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-24-2013 07:03 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)