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
timer locking door?
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
timer locking door?
Code:
[7853]
ID=06a5
//wooden door
NAME=Office Door
TYPE=4
//MORE=6562

ONTRIGGER=DCLICK
IF <SRC.RESTEST 1 07854>
SRC.CONSUME 1 07854
LINK=<SERIAL>
TYPE=3
SRC.SYSMESSAGE The key magically disappears...
TIMER=1
ELSE
SRC.SYSMESSAGE You Have No Key...
RETURN 1
ENDIF

ONTRIGGER=TIMER
EMOTE click
TYPE=4
LINK=0

CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=Crap
DESCRIPTION=Office Door

[7854]
ID=100e
//Copper Key
NAME=Office Key
TYPE=0
WEIGHT=1
COLOR=048
//LINK=6562
//MORE=6562
BUYVALUE=60-100
SELLVALUE=9998-9999

ONTRIGGER=DCLICK
SRC.SYSMESSAGE Try double clicking the door...
RETURN 1

CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=Crap
DESCRIPTION=Office Key


how? cant get the timer to relock the door... =/

Dragons of Time 2000-2020
http://dragonsoftime.com
04-12-2013 05:53 PM
Find all posts by this user Like Post Quote this message in a reply
Mulambo
Apprentice
*

Posts: 22
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 0

Dark Paradise

Post: #2
RE: timer locking door?
first of all: link=0 means that it will link it on item 01, u have to link it to 04fffffff (dont know why u even have link there)
second: opening door will activate 60 sec timer and the basic action after that is to close those doors. So it may be that your door will still lock but u have to wait or redo your doors to move 1 space to left for example and after timer move 1 right (north / south; west / east)

Wars come and go, but my soldiers stay ethernal.

I broke the dam

Czech Shard Dark Paradise
(This post was last modified: 04-13-2013 12:45 AM by Mulambo.)
04-13-2013 12:41 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #3
RE: timer locking door?
huh?

*confused*

i just want the door to go back to type=4 after it opens

Dragons of Time 2000-2020
http://dragonsoftime.com
04-13-2013 07:37 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #4
RE: timer locking door?
what is the right way?

Dragons of Time 2000-2020
http://dragonsoftime.com
04-14-2013 04:32 PM
Find all posts by this user Like Post Quote this message in a reply
Adidas-=420=-
Unregistered

 



Post: #5
RE: timer locking door?
Whats the point of this script? Why do you want it to do this?
05-09-2013 01:51 AM
Quote this message in a reply
Post Reply 


Forum Jump:


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