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
Dclick deed inside container
Author Message
sco
Apprentice
*

Posts: 38
Likes Given: 0
Likes Received: 3 in 1 posts
Joined: Mar 2012
Reputation: 7

Elantharil

Post: #13
RE: Dclick deed inside container
Some itemtypes are doubleclickable in containers outside of your backpack, like books or other containers, but most of them are not.

There are some workarounds for that, but i prefer this one.
Enable Packetfiltering and add to your sphere.ini:
Code:
Packet6=f_precheck_dclick

And add a function to your scripts:
Code:
[function f_precheck_dclick]
return <uid.<hval (<local.1>*01000000)+(<local.2>*010000)+(<local.3>*0100)+<local.4>>.trigger @precheckdclick,<def.tat_as_args>,<local.char>>


Then add this trigger to your deed item:
Code:
[typedef t_always_dclickable]
on=@precheckdclick
trysrc <args> use 0
return 1
06-28-2014 07:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 3 users Like sco's post
Post Reply 


Messages In This Thread
Dclick deed inside container - Dataline - 06-24-2014, 12:22 AM
RE: Dclick deed inside container - Extreme - 06-24-2014, 04:14 AM
RE: Dclick deed inside container - Extreme - 06-24-2014, 05:50 AM
RE: Dclick deed inside container - Extreme - 06-24-2014, 08:50 AM
RE: Dclick deed inside container - XuN - 06-24-2014, 05:07 PM
RE: Dclick deed inside container - kn4tseb - 06-27-2014, 03:13 PM
RE: Dclick deed inside container - kn4tseb - 06-28-2014, 01:42 AM
RE: Dclick deed inside container - sco - 06-28-2014 07:27 AM

Forum Jump:


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