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

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



Post: #1
Static Housing
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

[Image: 2nis46r.jpg]
09-10-2012 06:46 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Onirim
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #2
RE: Static Housing
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
01-12-2013 04:49 AM
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: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



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

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

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #4
RE: Static Housing
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
-_-'
(This post was last modified: 01-12-2013 09:06 AM by Onirim.)
01-12-2013 08:25 AM
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: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



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

[Image: 2nis46r.jpg]
01-12-2013 09:32 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #6
RE: Static Housing
Most of those errors would be caused by not using OF_FileCommands.
Just set that flag in sphere.ini and it should work.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
01-12-2013 10:18 AM
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: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Static Housing
Ah yes, that too!
Congratulations Ben.. you're not wrong........ this time

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

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #8
RE: Static Housing
It run well with the good flag in Sphere.ini, thanks a lot =)
01-12-2013 09:34 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
tleilax
Journeyman
*

Posts: 56
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2012
Reputation: 0



Post: #9
RE: Static Housing
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?
05-30-2013 04:56 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #10
RE: Static Housing
Yea ctag was introduced on 56b
05-30-2013 05:23 AM
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)