• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Owning multiple houses

hyperblau

New Member
Joined
Aug 17, 2012
Messages
6
Reaction score
0
Back again.
I'm using TFS 0.3.6 V5. Despite scouring the Internet, config.lua, all the scripts, and my database, I can't find a way to allow a player to buy multiple houses. My server is very small, and I want players to be able to own multiple houses. How do I do this? I tried editing ownership directly in the relevant Houses table in the database, but it reverts when I start the server.
Thanks in advance.
 
in config.lua

LUA:
	-- Houses
	buyableAndSellableHouses = true
	houseNeedPremium = true
	bedsRequirePremium = true
	levelToBuyHouse = 1000
	housesPerAccount = [COLOR="#800000"]0[/COLOR]
	houseRentAsPrice = false
	housePriceAsRent = false
	housePriceEachSquare = 1000
	houseRentPeriod = "never"
	houseCleanOld = 0
	guildHalls = false

Try to change that value into 5 or something like that.
 
Last edited:
@up
Yeahh easy config not?xd he don't copy and paste in font color haha, More easy and not
housesPerAccount = <font color="#800000">0</font>
font color.. dont see in code lua, need use in code not is 0 xd is 1.. for taken only 1 in account, remember..

@hyperblau
8408323 say you need open config.lua and search
Code:
housesPerAccount = 0
and changed for
Code:
[COLOR="#FF0000"]housesPerAccount = 1[/COLOR]
for only have peraccount 1 and shutdown for save changed.. Made by you have now players in 2 + perhouses
need delete in houses same id in other houses for houses free :p
 
Thanks for the suggestions guys. I have changed that value from 0 to 1, but players are still restricted to one house. The error is "You already rent another house."
Any other ideas I could try? Thanks again.
 
Nope, that didn't work either. I think that variable limits the houses per ACCOUNT instead of CHARACTER. So I guess I could have players make blank characters to be able to buy more houses, but that seems kinda silly. There must be some way to allow multiple houses per player. I'll keep looking, thanks for the help so far.
 
Yeah, I was afraid that might be the case. I guess that's what I'll do then. Thanks for your help.

Edit>It won't let me rep you again lol.
 
Back
Top