SphereServer BugTracker - SphereServer
View Issue Details
0001952SphereServerexecutable - windows buildpublic29-04-11 18:0402-05-11 17:59
Shaklaban 
 
normalminoralways
newopen 
win32windowswin 7
 
 
Automated (specify build number)
None
None
1442
0001952: EF_FixCanSeeInClosedConts on another players backpack
EF_FixCanSeeInClosedConts returns 1 when cansee function used on item which is in the another players backpack, and backpack is not opened by the other player (with stealing etc.).
No tags attached.
Issue History
29-04-11 18:04ShaklabanNew Issue
30-04-11 00:40MirravinNote Added: 0001046
30-04-11 23:23ShaklabanNote Added: 0001047
30-04-11 23:26ShaklabanNote Edited: 0001047bug_revision_view_page.php?bugnote_id=0001047#r281
30-04-11 23:27ShaklabanNote Edited: 0001047bug_revision_view_page.php?bugnote_id=0001047#r282
01-05-11 00:07MirravinNote Added: 0001048
01-05-11 00:08MirravinNote Edited: 0001046bug_revision_view_page.php?bugnote_id=0001046#r284
02-05-11 00:48MrSugarCubeNote Added: 0001050
02-05-11 12:25DavideReiNote Added: 0001053
02-05-11 17:59ShaklabanNote Added: 0001054

Notes
(0001046)
Mirravin   
30-04-11 00:40   
(edited on: 01-05-11 00:08)
[Deleted]

(0001047)
Shaklaban   
30-04-11 23:23   
(edited on: 30-04-11 23:27)
when this flag enabled, cansee must return 0 on items, which is in the container client has not opened.

_FixCanSeeInClosedConts = 00020000 // Change CANSEE to return 0 for items inside containers that a client hasn't opened

for example:

ref1=player 1
ref2=player 2
ref3=a katana in the backpack of player 1

if (<ref2.cansee <ref3>>)
    i can see the katana
else
    i can't see the katana
endif

ref2 always can see the katana, without opening the backpack of player 1.

(0001048)
Mirravin   
01-05-11 00:07   
A... Yes, I'm sorry. :)
(0001050)
MrSugarCube   
02-05-11 00:48   
Did ref2 previously have player 1's backpack open?
(0001053)
DavideRei   
02-05-11 12:25   
I found the same bug, but only if ref2 has previously opened player 1's backpack. If he did, the flag does not work.
(0001054)
Shaklaban   
02-05-11 17:59   
i just tested it again, its only occurs when ref2 has previously opened player 1's backpack.