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

Fix/Patch How to fix tfs 0.3.6 house commands

Xaiman

New Member
Joined
Feb 27, 2010
Messages
94
Reaction score
0
I will show you how to fix the well known bug in tfs 3.6 where you invite *** to a house and it crashes the server.

Here it goes:

Open House.cpp and find:
Code:
	replaceString(outExp, "*", ".*");
	replaceString(outExp, "?", ".?");

and change it to:
Code:
	replaceString(outExp, "*", "");
	replaceString(outExp, "?", "");

Recompile and your done. Now when a person invites "*" to a house it will remain on the list and not crash the server.


You will need this: http://otland.net/f19/stians-dev-cpp-repack-0-2-crypto-64bit-62455/
and these (sources): [forgottenserver] Index of /tags/0.3.6pl1
When you goto get the sources (the link above) just goto the bottom of the page and hit "Download GNU tarball and that will download all of them.

Heres a tutorial about how to do a source edit (just do steps 1-3):
http://otland.net/f137/how-make-your-server-support-clients-8-54-8-57-pictures-included-82339/


Here is the working tfs 3.6 that i use and the house problem is 100% fixed: http://www.speedy*****malware.localhost/files/23020731/house_fix.exe (this is 32 bit gui)
 
Last edited:
Works 100% for me and for 2 other server that i know did this.

Be sure your not putting a space in this "replaceString(outExp, "*", "");" it should just be nothing.
 
it doesn't work, well it sorta does... but every time an NPC moves on the map it tells you in the console... lol
 
o_O did you edit something else? Because the house.cpp should have no effect on the npc's

Be sure your using the correct version of stians editor and all (32 or 64 bit)

Edit: i edited my post with a working version of 3.6 where the only thing edited in it is what i showed you here.
 
Last edited:
o_O did you edit something else? Because the house.cpp should have no effect on the npc's

Be sure your using the correct version of stians editor and all (32 or 64 bit)

Edit: i edited my post with a working version of 3.6 where the only thing edited in it is what i showed you here.
probably me borking it up knowing me lol

i'll double and triple check to make sure, but it's weird that it says "(NPC name) exited house" or something
 
Simple fix.. Download the latest allisow server in xtibia.com and not more house bug ;D.

THX Allisow and Comedinhasss for fix this faaking bug ;D
 
Back
Top