SphereCommunity
Static Housing - Printable Version

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

Pages: 1 2


Static Housing - Mordaunt - 09-10-2012 06:46 AM

Script originally created by Crius and modified by me to work with the new server builds.

This script allows staff to turn static buildings into buildings that players can use for their houses/shops/whatever.

Should run with any housing system (not included)

Static Housing


RE: Static Housing - Onirim - 01-12-2013 04:49 AM

I've a question about this script !

I love the original Sphere housing system, with its Deeds and Keys.
But what part of a script tell to the server: okay, now this multi is the property of player xxx ?

I think I need to create a small system to sell this houses Smile


RE: Static Housing - Mordaunt - 01-12-2013 04:59 AM

Indeed, this script only sets up the regions so that they can be used with a housing system.
It should work with any housing script that is available, I know that the original version of this script ran with several that I tried. All I did was update it so that the script ran on the newer sphereserver nightly releases.

The only script I am prepared to vouch for that works without any issues on this script is my own housing system, since that is the one I tested it with after updating


RE: Static Housing - Onirim - 01-12-2013 08:25 AM

The script give me an error, and I've the last Nightly Build:

Code:
23:06:ERROR:(static_housing.scp,237)Can't resolve <file.open scripts/static_multis.scp>
23:06:ERROR:(static_housing.scp,237)Undefined symbol ''
23:06:ERROR:(static_housing.scp,248)Undefined keyword 'FILE.CLOSE'
23:06:ERROR:(static_housing.scp,253)Can't resolve <file.open scripts/static_multis.scp>
23:06:ERROR:(static_housing.scp,253)Undefined symbol ''
23:06:ERROR:(static_housing.scp,256)Undefined keyword 'FILE.CLOSE'
23:06:ERROR:(static_housing.scp,253)Can't resolve <file.open scripts/static_multis.scp>
23:06:ERROR:(static_housing.scp,253)Undefined symbol ''
23:06:ERROR:(static_housing.scp,256)Undefined keyword 'FILE.CLOSE'
23:06:ERROR:(static_housing.scp,253)Can't resolve <file.open scripts/static_multis.scp>
23:06:ERROR:(static_housing.scp,253)Undefined symbol ''
23:06:ERROR:(static_housing.scp,256)Undefined keyword 'FILE.CLOSE'
23:06:ERROR:(static_housing.scp,253)Can't resolve <file.open scripts/static_multis.scp>
23:06:ERROR:(static_housing.scp,253)Undefined symbol ''
23:06:ERROR:(static_housing.scp,256)Undefined keyword 'FILE.CLOSE'
23:06:ERROR:(static_housing.scp,266)Can't resolve <file.open scripts/static_multis.scp>
23:06:ERROR:(static_housing.scp,266)Undefined symbol ''
23:06:ERROR:(static_housing.scp,274)Undefined keyword 'FILE.CLOSE'
23:06:WARNING:(static_housing.scp,275)'scripts/static_multis.scp' not found...
23:06:ERROR:(static_housing.scp,277)Undefined symbol 'i_deed_multi_h_temple_caerunos'

:/

Okay, It's because I need to add the flag // OF_FileCommands = 00000080
-_-'


RE: Static Housing - Mordaunt - 01-12-2013 09:32 AM

do you have this script? I don't recall if I added it to the static script or not, it's not one of mine:

Code:
[FUNCTION WRITEFILE]
IF !(<FILE.INUSE>)
FILE.MODE.CREATE=1
FILE.MODE.APPEND=1
FILE.MODE.WRITEFLAG=1
IF (<FILE.OPEN <STRARG <ARGS>>>)
FILE.WRITELINE <STREAT <ARGS>>
FILE.CLOSE
ENDIF
ENDIF



RE: Static Housing - Ben - 01-12-2013 10:18 AM

Most of those errors would be caused by not using OF_FileCommands.
Just set that flag in sphere.ini and it should work.


RE: Static Housing - Mordaunt - 01-12-2013 10:38 AM

Ah yes, that too!
Congratulations Ben.. you're not wrong........ this time


RE: Static Housing - Onirim - 01-12-2013 09:34 PM

It run well with the good flag in Sphere.ini, thanks a lot =)


RE: Static Housing - tleilax - 05-30-2013 04:56 AM

Hello, on 55r4.0.2 [win 32]:

Code:
20:52:ERROR:(static_housing.scp,93)Undefined keyword 'CTAG.MSH_SIGN.X'
20:52:ERROR:(static_housing.scp,94)Undefined keyword 'CTAG.MSH_SIGN.Y'
20:52:ERROR:(static_housing.scp,95)Undefined keyword 'CTAG.MSH_SIGN.Z'
20:52:ERROR:(static_housing.scp,96)Can't resolve <SRC.CTAG0.MSH_SIGN.X>
20:52:ERROR:(static_housing.scp,96)Can't resolve <SRC.CTAG0.MSH_SIGN.Y>
20:52:ERROR:(static_housing.scp,96)Can't resolve <SRC.CTAG0.MSH_SIGN.Z>

and so many more.

Is this because of it is compatible with 56b only? If so, is htere any chance of having older version compatible with 55 series?

Or was ctag introduced on 56b?


RE: Static Housing - darksun84 - 05-30-2013 05:23 AM

Yea ctag was introduced on 56b