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:
  • 5 Votes - 4.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Housing
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #161
RE: Housing
What
02-22-2014 08:36 AM
Find all posts by this user Like Post Quote this message in a reply
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #162
RE: Housing
Any idea why house commands wont work ? not getting any erros Sad
04-03-2014 08:14 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #163
RE: Housing
Is the event loaded?

[Image: 2nis46r.jpg]
04-04-2014 01:28 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #164
RE: Housing
Sorry I got it working, I had conflicting speech so had to add this end of spheretables to load it
04-10-2014 07:23 PM
Find all posts by this user Like Post Quote this message in a reply
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #165
RE: Housing
ok issue i have is House commands wont work on a reboot, I have to edit and then resync the house script, Do you know what could cause this?
04-11-2014 05:40 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #166
RE: Housing
Not a problem I have ever had. If the script is loaded the event should also be loaded.

[Image: 2nis46r.jpg]
04-12-2014 09:12 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #167
RE: Housing
I spent lots of time for using your script in flesh server but I didnt.

I am using 56c and unpack last scriptpack. I used your last script which is house24.scp but its nothing happened when I doubleclick to sign brass. not show d_house_menu.

What can I do for fixing this problem
06-01-2014 02:07 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #168
RE: Housing
Does it give any message at all?

Are you standing on the house's doorstep when you dclick it?

[Image: 2nis46r.jpg]
06-01-2014 03:32 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #169
RE: Housing
(06-01-2014 03:32 AM)Mordaunt Wrote:  Does it give any message at all?

Are you standing on the house's doorstep when you dclick it?

No there is no any messages on screen and yes standing on house's doorstep when I dclick.

But I write a sysmessage to understand where the problem is.
I wrote test messagea on the 3rd if loop and first test message appear on screen but the test 1 message not

I dont understand nothing Smile

(This post was last modified: 06-01-2014 05:54 AM by ograso.)
06-01-2014 05:52 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #170
RE: Housing
Code:
ON=@DClick
if (<link>!=04fffffff)
    if !(<def.can_decay>)
        if (<attr>&02)
            attr &~ 02
        endif
    else
        if !(<attr>&02)
            attr |= 02
        endif
    endif
endif

    if <QVAL <def.account_ownership>? (<src.acc_is_owner>):(<src.is_owner>)> || (<src.isgm>)
        if !(<more1>) || !(<region.tag0.sign>)
            f_initialise // <--- to do with initial set up of the house if there is no owner
            return 1
        endif
    endif
    if <QVAL <def.account_ownership>? (<src.acc_is_owner>):(<src.is_owner>)> || (<src.is_coowner>) || (<src.is_friend>) || (<src.isgm>)
        if (<src.region.uid>==<link>)
            dialog d_house_menu <--- check for owner/cowner/friend or GM and present house menu
            return 1        
        else
            src.sysmessage @32,,1 You must be standing on your doorstep to access the house menu. // <--- fires if not inside house region i.e. not on doorstepp
            return 1
        endif
    else
        if !<link.region.tag0.forsale>
            dialog d_house_visitor // <---- fires if NOT owner/coowner/friend or gm and house is not for sale
            return 1
        else
            dialog d_house_forsale  // <----- fires if house is for sale
            return 1
        endif
    endif


If none of this is firing then the event is not loaded which suggests either the script is not loaded or your houses are starting with something other than a brass sign.

[Image: 2nis46r.jpg]
06-02-2014 01:37 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: 10 Guest(s)