Hi, when creating character everything works perfect but when it dies all pos gets to 0 so it says wrong temple position when trying to reconnect. And also when they die they doesn't lose anything, can anyone please help me?![]()
You have to set town id to a certain value.
TownID = 1 in the database, that's most likely the town id.
Just change it in the config/config.lua/php if you are using acc site, acc manager you gotta do it in config.lua in the server directory.
/Limannen
I use real map and I'm using thais as the main city.
newPlayerSpawnPosX = 32369
newPlayerSpawnPosY = 32241
newPlayerSpawnPosZ = 7
newPlayerTownId = 5
I also use acc site. The pos above is the pos I have on the databse too on all characters!
When the character first die he gets these positions:
town_id = 1
posx = 0
posy = 0
posz = 0
Then it should work right?
aff, im sry ... it gotta be something huge wrong then...
i cant help ya :/