Post Reply 
 
Thread Rating:
  • 4 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Housing
Author Message
richm
Journeyman
*

Posts: 58
Likes Given: 4
Likes Received: 4 in 3 posts
Joined: Aug 2014
Reputation: 0



Post: #191
RE: Housing
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.
03-22-2015 11:26 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

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



Post: #192
RE: Housing
Hmm yes closing the dialog on region exit would be a better way lol...

I'll amend the script

[Image: 2nis46r.jpg]
03-23-2015 02:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,149
Likes Given: 220
Likes Received: 86 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #193
RE: Housing
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

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
03-24-2015 10:26 AM
Find all posts by this user Like Post Quote this message in a reply
Shamino
Noob Scripter
*

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0

Exilio UO

Post: #194
RE: Housing
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

"My world is hell for the infidels. My blood pleasure of the immortals"
[Image: 2ec003662b15c61da117767a59bb99bao.jpg]
04-23-2015 06:49 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Shamino's post
Shamino
Noob Scripter
*

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0

Exilio UO

Post: #195
RE: Housing
Fixed, change to:

src.targetf, f_add_list ban

"My world is hell for the infidels. My blood pleasure of the immortals"
[Image: 2ec003662b15c61da117767a59bb99bao.jpg]
04-26-2015 10:51 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Shamino's post
Mordaunt
Super Moderator
****

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



Post: #196
RE: Housing
@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

[Image: 2nis46r.jpg]
08-30-2015 11:35 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
dafty
Apprentice
*

Posts: 6
Likes Given: 6
Likes Received: 0 in 0 posts
Joined: Sep 2015
Reputation: 0



Post: #197
RE: Housing
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.
(This post was last modified: 09-11-2015 11:03 PM by dafty.)
09-11-2015 11:02 PM
Find all posts by this user Like Post Quote this message in a reply
dafty
Apprentice
*

Posts: 6
Likes Given: 6
Likes Received: 0 in 0 posts
Joined: Sep 2015
Reputation: 0



Post: #198
RE: Housing
Any help?
09-22-2015 02:07 AM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 179
Likes Given: 36
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #199
RE: Housing
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

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
11-02-2015 10:48 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

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



Post: #200
RE: Housing
@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

[Image: 2nis46r.jpg]
11-03-2015 06:45 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: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.