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 - Mordaunt - 02-04-2013 12:58 AM

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


RE: Housing - Runcuks - 02-04-2013 10:17 PM

Mordaunt not working it only fires when i am in house territory ... Sad


RE: Housing - Mordaunt - 02-05-2013 02:01 AM

Sorry should have said... put that last peice of script into an event that is always on the player under @ItemDropOn_Ground


RE: Housing - Runcuks - 02-05-2013 03:47 AM

(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 ...


RE: Housing - Mordaunt - 02-08-2013 04:59 AM

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



RE: Housing - Runcuks - 02-09-2013 08:43 PM

(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 !!


RE: Housing - Mordaunt - 02-26-2013 01:32 PM

Patch: Reset button on sign coloriser was incorrectly assigned (reported by Soulless)


RE: Housing - Soulless - 02-26-2013 03:04 PM

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.


RE: Housing - Runcuks - 02-26-2013 10:46 PM

(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


RE: Housing - Mordaunt - 02-26-2013 11:39 PM

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.