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

How do I add SetTownID to clean SVN?

ziggy46802

Active Member
Joined
Aug 19, 2012
Messages
418
Reaction score
27
I am using OTServ 8.60 r.6052 and it does not come with the function to change the players town id via teleport. I noticed that it is just a simple movement script and I added it to my server but when it wouldnt work I realized its because my OTServ does not have the function "doPlayerSetTown".

So how do I add this simple function to my server? (doPlayerSetTown)

Nevermind the script just did not work because i do not have the function "getTownID" or something like that, so it works, but I just cant make it say what town your a resident of without further editing, which Im okay with. So it is

resolved.
 
Last edited:
The tile you have the teleport on should have actionid "8463" then you have set the town id to that place, and then you just need to do like that in all towns.
The real town posistion will now be that tile you have the tp on, but you won't notice that since it tp you directly to the temple.

Don't make the temple tile to actionid "8463" since if a player walks there and he/she has another town it will automatically change.

This is another way, you don't need that script then, but it doesn't matter which one you uses, if you post that script it's possible to help you.

Edit

Sry I didn't saw that it was resolved..
 
Back
Top