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

Solved Locked Doors

7th Jaff

New Member
Joined
Jul 28, 2013
Messages
15
Reaction score
0
Location
Sweden
Hello, I've stumbled across a problem which I've been trying to solve for quite some time, but my solutions doesn't seem to work. Some advice on how to solve this would be great.

As I changed server engine, the doors on the whole game map stopped to work properly, the before 'closed doors' suddenly became 'locked doors'. IF I were about to fix this, I could change every door manually through the map editor, but I'm wondering if there's a more flexible way to solve this?

Thanks,
7th Jaff
 
Check your global.lua in data, it declares which door ids are locked or open etc. which version of tfs are you using? In newer tfs the items.xml and global.lua handles all of the door things pretty sure. If you do need to change alot of doors in your map, just take the incorrect door item and do “replace all” with the door that is working properly, shouldn’t take long, it can do 500 at a time.
I already solved it. I'm on TFS 1.4.0. While researching, I found that the port system changed from 1.3.0 to 1.4.0. Now the system has three ports... open, closed, locked... before it was just open and closed...

I adapted the files and the systems, and now everything works in TFS 1.4.0. I made hundreds of corrections, to be honest hahaha I even put the file here for download, but unfortunately the moderator didn't approve it, and now I'm too lazy to write the whole thread again xD

But I successfully adapted the map tfs 1.3.0 and all the systems to 1.4.0. Specifically, the ports were adapted in global.lua.

Anyway, thank you very much for your attention ;)
 

Attachments

Back
Top