Post Reply 
 
Thread Rating:
  • 5 Votes - 4.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Housing
Author Message
Mordaunt
Super Moderator
****

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



Post: #31
RE: Housing
Ok, try this then, alongside the script I already gave:

Code:
if (<act.region.tag0.sign>)
    if (<isevents.e_house_player_events>)
        return 0
    else
        sysmessage To place an item inside a house region you must also be within the region
        act.bounce
        return 1
    endif
endif

It should not allow anyone to place an item within the house region if they are not themselves inside it. Then the other script will check for privs

[Image: 2nis46r.jpg]
02-04-2013 12:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #32
RE: Housing
Mordaunt not working it only fires when i am in house territory ... Sad
02-04-2013 10:17 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: #33
RE: Housing
Sorry should have said... put that last peice of script into an event that is always on the player under @ItemDropOn_Ground

[Image: 2nis46r.jpg]
02-05-2013 02:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #34
RE: Housing
(02-05-2013 02:01 AM)Mordaunt Wrote:  Sorry should have said... put that last peice of script into an event that is always on the player under @ItemDropOn_Ground

i already did that, but didnt work ...
02-05-2013 03:47 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: #35
RE: Housing
properly working version

Code:
ON=@ItemDropOn_Ground
if (<serv.map(<argv[0]>,<argv[1]>,<argv[2]>,<argv[3]>).region.tag0.sign>)
        if (<isevent.e_house_player_events>)
            return 0
        else
            sysmessage You must be within this house region to place an item inside it
            act.bounce
            return 1
        endif
endif

[Image: 2nis46r.jpg]
(This post was last modified: 02-08-2013 06:40 AM by Mordaunt.)
02-08-2013 04:59 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #36
RE: Housing
(02-08-2013 04:59 AM)Mordaunt Wrote:  properly working version

Code:
ON=@ItemDropOn_Ground
if (<serv.map(<argv[0]>,<argv[1]>,<argv[2]>,<argv[3]>).region.tag0.sign>)
        if (<isevent.e_house_player_events>)
            return 0
        else
            sysmessage You must be within this house region to place an item inside it
            act.bounce
            return 1
        endif
endif
Jup tyvm this is working perfecly !!
02-09-2013 08:43 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: #37
RE: Housing
Patch: Reset button on sign coloriser was incorrectly assigned (reported by Soulless)

[Image: 2nis46r.jpg]
02-26-2013 01:32 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 336
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #38
RE: Housing
im getting lots of these things during a player trying to place items in a custom house. my gm char can use it just fine though Sad

00:03:WARNING:Invalid item 029d being added to building 040087e7c by 0934e6.
00:03:WARNING:Invalid item 029d being added to building 040087e7c by 0934e6.
(This post was last modified: 02-26-2013 07:35 PM by Soulless.)
02-26-2013 03:04 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #39
RE: Housing
(02-26-2013 03:04 PM)Soulless Wrote:  im getting lots of these things during a player trying to place items in a custom house. my gm char can use it just fine though Sad

00:03:WARNING:Invalid item 029d being added to building 040087e7c by 0934e6.
00:03:WARNING:Invalid item 029d being added to building 040087e7c by 0934e6.

i had this problem to but i find out that i dont even have those items so i search for them, add to server and now all is working good Smile
02-26-2013 10:46 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: #40
RE: Housing
I assume this is occurring during custom house building given that item in question is:

Code:
[ITEMDEF 029d]
//marble wall
DUPEITEM=0291

That being the case this could well be an issue either with the item being missing from your scripts (which would be odd) or something else going on within sphere as the house building is is 99% hardcoded.

[Image: 2nis46r.jpg]
02-26-2013 11:39 PM
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)