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
babazar
Journeyman
*

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



Post: #1
Mordaunt housing script 2.0.7! Error also little change?
got this today
21:01:ERROR:(housing207.scp,2708)Can't resolve <ref7.type>
21:01:ERROR:(housing207.scp,2708)Undefined symbol .

Also is there a way to switch of decay and maintenance?
07-15-2013 06:06 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: #2
RE: Mordaunt housing script 2.0.7! Error also little change?
I'll have to try to take a look at that error when I get a few minutes, never had it occur myself.

As for maintenance and decay

in the defnames at the beginning of the script setting can_decay to 0 will turn off decay, setting maintenance_fee to zero will turn off maintenance.
It's all there in the notes, most features can be turned on/off with little trouble in the defname section...

[Image: 2nis46r.jpg]
07-15-2013 07:48 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: #3
RE: Mordaunt housing script 2.0.7! Error also little change?
ty m8
07-15-2013 08:47 AM
Find all posts by this user Like Post Quote this message in a reply
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
Mordaunt
Super Moderator
****

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



Post: #5
RE: Mordaunt housing script 2.0.7! Error also little change?
Yeah it's part of the door customization system. What are you doing when the error occurs babazar?

[Image: 2nis46r.jpg]
07-16-2013 12:11 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: #6
RE: Mordaunt housing script 2.0.7! Error also little change?
all i did was add a house in greenacres , just checking to see if it works ok, clicked on the sign before stepping on the stairs, then stood on the stairs etc. May have been when i tried to redeed the house, As it said GM dont pay to redeed but it said you lack sufficient gold Confused lol. all try it again later and let you know if u get the error and how i get it ..
(This post was last modified: 07-16-2013 01:30 AM by babazar.)
07-16-2013 01:29 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: #7
RE: Mordaunt housing script 2.0.7! Error also little change?
ok, found out how i got this error, By clicking on door recoding then restrict to owners/co-owners
07-16-2013 07:20 AM
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)