• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

house tiles bug

Devlinn

Member
Joined
Mar 25, 2015
Messages
295
Reaction score
6
hi i have problems from server .
i want put trainer in house but when i but i see trainers on rme but on game i not see when i add house tiles.


tfs 1.0
 
I think its because the house tiles are protection zone, you should make a zone in the house with no house tiles, just normal map, obiously inside the house. hope it works.
 
When you place a house tile, it creates a protection zone and house tile on that square.
Monsters are unable to spawn in/on protection zones.
This is why you are unable to see the trainers.
What other people have suggested is to create a room which is either;
Not attached to the main house, but gives access to the trainers. (Teleport to enclosed room perhaps?)
A trainer space only accessible from the house..
Or simply remove the trainers from the house altogether.

Here a couple of simple idea's that would work.
CHjHjpH.png
 
When you place a house tile, it creates a protection zone and house tile on that square.
Monsters are unable to spawn in/on protection zones.
This is why you are unable to see the trainers.
What other people have suggested is to create a room which is either;
Not attached to the main house, but gives access to the trainers. (Teleport to enclosed room perhaps?)
A trainer space only accessible from the house..
Or simply remove the trainers from the house altogether.

Here a couple of simple idea's that would work.
CHjHjpH.png
yes i know but i want fix it like 7.6 house where i can put house tiles and trainers
 
You can't fix what isn't broken.
Even if it was possible to place the trainers onto the tiles they would be unable to attack, move, or even change direction.

In the event this thought is still entertaining to you, go through the source code, find the code, replace it with your own, then recompile.
Maybe someone here can help you find the section(s) you'll need to edit.
 
If you want trainer in house you can make trainer.xml but into npc. Only npc can walk into protection zone, because its protected from fight.
You will never get code that makes monsters attack in protection zone, because its pointless to work tons of hours to make such a nonsense.
 
If you want trainer in house you can make trainer.xml but into npc. Only npc can walk into protection zone, because its protected from fight.
You will never get code that makes monsters attack in protection zone, because its pointless to work tons of hours to make such a nonsense.
nice but on proctection zone player cant attack (npc trainer.xml )

sure maybe i copy source from old version tfs 7.6?
 
7.6 code not gonna work with tfs 1.0 forget about it. I really wish you good luck with server but the thing you are asking for is impossible.

Look at Xikini picture. I think it's best idea to make a room inside or outside house connected to it with doors or teleport. If you place it outside house players will know that it isn't part of house and they wont place items there. Anyways it's obvious that items are not saving outside protection zone.
 
Last edited:
Something that just occurred to me. Maybe an old map editor could add only house tiles? I remember early versions you had to add the protection zones manually. But it would be trial and error.. and would limit your client version to like 8.1 at max. Which TFS 1.0+is not coded to work with. The hours/days spent on this trivial issue is kind of comical though.

Edit --
Fixed a typo.
 
Last edited by a moderator:
Something that just occurred to me. Maybe an old map editor could add only house tiles? I remember early versions you had to add the protection zones manually. But it would be trial and error.. and would limit your client version to like 8.1 at max. Which TFS 1.0+is not coded to work with. The hours/days spent on this trivial issue is kind of comical though.

Edit --
Fixed a typo.
maybe need only change on source on rme? i have it and tomorrow try change
 
Back
Top