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

Lua No respawn when your dead (temple position)

Glidarn

Member
Joined
May 9, 2009
Messages
970
Reaction score
16
Location
Åkersberga, Sweden
Sp basically this is my problem, the server is running smoothly and so but when you die and try to respawn with your character it says "temple position is wrong"... i had this problem before but i totally forgot how to deal with it.


Kind regards Glidarn
 
It isnt that cause all the samples has the same coordinates [X: 32369] [Y: 32241] [Z: 7] and town_id: 1.

The thing is it works perfect to log in with the character at first, this only happends when you die.

Could it be somethingelse?


Also my other problem that i just found out is that like focus cape, golden armor and mpa can only be used by promoted players, i thought i had to fix this in Items.xml but apparently not... where do i change this?


Yours Glidarn :)
 
Also my other problem that i just found out is that like focus cape, golden armor and mpa can only be used by promoted players, i thought i had to fix this in Items.xml but apparently not... where do i change this?


Yours Glidarn :)

Movements.xml
 
About armors and such: In movements.xml
LUA:
	<movevent type="Equip" itemid="8871" slot="armor" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="2"/>
		<vocation id="6" showInDescription="0"/>
	</movevent>
 
Put the Town ID the same as the one in your config and the one on your account manager in phpmyadmin
So, example..

Config Town ID - 1
Player Town ID - 1
Account Manager Town ID - 1
 
if it doesn't work put a grass tile on the tile they will respawn on death with a teleport on that little grass tile with the coordintes where you want him to spawn.
 
Back
Top