SphereCommunity
Housing - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Submissions (/Forum-Script-Submissions)
+--- Thread: Housing (/Thread-Housing)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


RE: Housing - richm - 03-22-2015 11:26 PM

lazarus that would do it i think.
i was abit overzealous with the trying to stop players exploiting on my server, so froze then in place also.

the region exit => close dialog seems fine.


RE: Housing - Mordaunt - 03-23-2015 02:58 AM

Hmm yes closing the dialog on region exit would be a better way lol...

I'll amend the script


RE: Housing - Extreme - 03-24-2015 10:26 AM

Ok, here is my quick fix.

Code:
[REGIONTYPE r_houses]
...
ON=@Exit
    IF (<SRC.ISDIALOGOPEN.d_house_menu>)
    src.dialog_close d_house_menu
    ENDIF
    IF (<SRC.ISDIALOGOPEN.d_house_forsale>)
    src.dialog_close d_house_forsale
    ENDIF
    IF (<SRC.ISDIALOGOPEN.d_house_commands>)
    src.dialog_close d_house_commands
    ENDIF
    IF (<SRC.ISDIALOGOPEN.d_house_visitor>)
    src.dialog_close d_house_visitor
    ENDIF
    IF (<SRC.ISDIALOGOPEN.d_demolish>)
    src.dialog_close d_demolish
    ENDIF
    src.events -e_house_player_events
    if (<src.isplayer>) && !(<region.tag0.noredeed>)
        src.events -e_fallfix
    endif

I want to ask you about a bug that is happening here..
Some houses is losing their owners, the more1 of the house worldgem is changing to 020001 010001, I don't know whats that.. Then the houses changes the owner to an ITEM lol thats crazy I know
Then I made another fix...

On I_BRASS_SIGN definitions..
Code:
ON=@DClick
IF (<LINK>)
IF (<LINK.MORE1>)
  REF1 <LINK.MORE1>
  IF (!<REF1.ISPLAYER>)
   REF2 <SRC>
   REF3 <UID>
   FORCONT <SRC>
    IF (<BASEID> == I_MEMORY)
     IF (<LINK> == <REF3.LINK>)
      REF4 <LINK>
      REF4.MORE1 <REF2>
      REF3.MORE1 <REF2>
      BREAK
     ENDIF
   ENDIF
  ENDIF
ENDIF
ENDIF

This checks if the MORE1 of the house worldgem is a player and check if the player that is opening the dialog is the house owner (checking his memories)

I don't know if it was already fixed, because I'm using an old version of your script
But I will update it, just need time because I changed all the dialog designs Big Grin


RE: Housing - Shamino - 04-23-2015 06:49 AM

Mordaunt on the script line 3013

ON=Ban Person

The function src.targetf, f_add_ban

F_ADD_BAN dont exist on the script, is a error?

Wink


RE: Housing - Shamino - 04-26-2015 10:51 PM

Fixed, change to:

src.targetf, f_add_list ban


RE: Housing - Mordaunt - 08-30-2015 11:35 PM

@Shamino - Not sure how that one slipped through fixed now

@Extreme - I haven't encountered that problem, though I haven't played around with UO in forever


RE: Housing - dafty - 09-11-2015 11:02 PM

always getting this error ERROR:(housing24.scp,231)Undefined keyword 'ref2.sysmessage' (using 56b version)

and when i use Convert into customizable house option i get this error ERROR:(housing24.scp,3896)Undefined symbol 'i_multi_foundation_14x14' (7x7 etc depend on house size i have)

Ps: i have the foundation_deeds.scp in the same folder. where the i_multi_foundation are.


RE: Housing - dafty - 09-22-2015 02:07 AM

Any help?


RE: Housing - Criminal - 11-02-2015 10:48 PM

Little fix to prevent put items underground or sky

Code:
[FUNCTION f_raise]
ref1=<src.region.tag0.sign>
if (<argo.uid>==<src.uid>) || (<argo.isplayer>)
    src.sysmessage @32,,1 You cannot raise that.
    return 1
elif (<argo.link>==<ref1.link>)
    src.sysmessage @32,,1 You cannot raise that.
    return 1
endif
if (<argo.topobj.ischar>)
    src.sysmessage @32,,1 You cannot raise that.
    return 1
endif
if (<ref1.region.tag0.sign>==<argo.region.tag0.sign>)
    ref8=<argo>
        IF <ref8.Z> < <SRC.Z>+17
                    ref8.Z=<ref8.Z>+1
                    RETURN 1
                ELSE
                    SRC.MESSAGE @32,,1 You cannot lift this any higher.
                    RETURN 1
        ENDIF
else
    src.sysmessage @32,,1 That's not in your house!
    return 1
endif

[FUNCTION f_lower]
ref1=<src.region.tag0.sign>
if (<argo.uid>==<src.uid>) || (<argo.isplayer>)
    src.sysmessage @32,,1 You cannot lower that.
    return 1
elif (<argo.link>==<ref1.link>)
    src.sysmessage @32,,1 You cannot lower that.
    return 1
endif
if (<argo.topobj.ischar>)
    src.sysmessage @32,,1 You cannot lower that.
    return 1
endif
if (<ref1.region.tag0.sign>==<argo.region.tag0.sign>)
    ref8=<argo>
        IF <ref8.Z> > <SRC.Z>
                    ref8.Z=<ref8.Z>+-1
                    RETURN 1
                ELSE
                    SRC.MESSAGE @32,,1 You cannot put this into the ground.
                    RETURN 1
        ENDIF
else
    src.sysmessage @32,,1 That's not in your house!
    return 1
endif



RE: Housing - Mordaunt - 11-03-2015 06:45 AM

@Dafty - Sounds to me as though you are either missing the foundations or they have a different name to whats in the script. The foundation deeds are only used when redeeding.

@Criminal - Have added that fix. Thanks