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
Players and invis items
Author Message
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #1
Players and invis items
how to force a plevel 1 to use (open,dclick for example) an invis object near to him on into the backpack?

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 10-09-2017 01:43 AM by massis87.)
10-09-2017 01:16 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
evening
Journeyman
*

Posts: 138
Likes Given: 0
Likes Received: 14 in 9 posts
Joined: Apr 2012
Reputation: 1

Finally Land

Post: #2
RE: Players and invis items
can use removefromview
10-09-2017 02:02 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Players and invis items
Try the useitem itemuid command, it doesn't check line of sight
10-09-2017 02:11 AM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #4
RE: Players and invis items
(10-09-2017 02:02 AM)evening Wrote:  can use removefromview

(10-09-2017 02:11 AM)darksun84 Wrote:  Try the useitem itemuid command, it doesn't check line of sight

dont work Confused

There are worse ways to understand the sense of the word: no. Ranting
10-09-2017 02:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Players and invis items
can you post the script?
What message the player get?
10-09-2017 02:49 AM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #6
RE: Players and invis items
there's no way. i try a lot with a lot of commands.

There are worse ways to understand the sense of the word: no. Ranting
10-09-2017 10: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: #7
RE: Players and invis items
try change the item ATTR without call UPDATE on it, maybe this will make sphere accept the dclick without let the client know that the item is visible

something like this
Code:
ATTR &= ~attr_invis
SRC.DCLICK <UID>
ATTR |= attr_invis
10-25-2017 02:03 AM
Find all posts by this user Like Post Quote this message in a reply
massis87
Journeyman
*

Posts: 82
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jan 2017
Reputation: 0

D&W 8thAge

Post: #8
RE: Players and invis items
i do that.
but when attr return invis, you will lose the view of it.
for example: u can open a container, but if u drop an item into that container, the item disappear. u have to reopen for see it. if u click or dclick the item disappear. etc.
for do that we need a new item flag. like use_invis

There are worse ways to understand the sense of the word: no. Ranting
(This post was last modified: 10-26-2017 12:13 AM by massis87.)
10-26-2017 12:10 AM
Visit this user's website 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)