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
Mordaunt housing script 2.0.7! Error also little change?
Author Message
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #4
RE: Mordaunt housing script 2.0.7! Error also little change?
i have tried my best to reproduce this error and cannot

ref7 is looking for type t_door or t_door_locked, its being used in 4 functions and is supplied by argo, apparently its not passing the argument correctly for him, maybe he is trying to call the function like a command in game?

here is where his issue is:

Code:
[FUNCTION f_restrict]
ref7=<argo>
if (<ref7.tag0.uidonly>) || (<ref7.tag0.guild>)
    src.sysmessage @,,1 You must reset this door before recoding.
    return 1
endif
if (<ref7.type>==t_door) && (<ref7.region.uid>==<src.region.uid>) // <--- this is line 2708
    ref7.tag0.restricted=<args>
    ref7.resendtooltip
    if (<args>==1)
        src.sysmessage @,,1 Only the owner & co-owners can open this door.
    elif (<args>==2)
        src.sysmessage @,,1 Only the owner, co-owners & friends of the house can open this door.
    endif
endif
src.dialog d_secure

[Image: matts_siggy.gif]
07-15-2013 05:05 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Mordaunt housing script 2.0.7! Error also little change? - Rattlehead - 07-15-2013 05:05 PM

Forum Jump:


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