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

Wrong temple position AFTER DYING on new characters.

Nexor123

New Member
Joined
Jun 7, 2008
Messages
28
Reaction score
0
Hello!

I've set the hometown to number 2 in accountmanagement.php I THINK and it doesn't seem to work very well. When I create a new character, it works well. I can log into the game but when I die it says wrong temple position. All my sample characters have hometown = 2.

Can someone please explain how to change the hometown for new chars?

NOTE: I'm using GESIORS latest aac

EDIT :


F*** YES I SOLVED IT!!

I had to change:
$player->setTownId($newchar_town);

TO THE FOLLOWING:
$player->setTownId(2);
 
Last edited:
well is town 2 even working??
when in ur server type /town 2 and if it says cannot find or w.e. then thats ur problem, otherwise it has something to do with accmanagement i think
 

Yes you :)

If nothing else works u can always switch town 2 with town 1 in map editor xD

Doesn't work.
See, it's not possible to change it :/

neeeeee.png
 
xD
rep me

here is mine if u need it

-- The Forgotten Server Config

-- Account Manager
accountManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 477
newPlayerSpawnPosY = 149
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 10
newPlayerMagicLevel = 2
generateAccountNumber = "no"

-- Banishments
broadcastBanishments = "yes"
banDays = 3
finalBanDays = 5
killsToBan = 999

-- Battle
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 1000
killsToRedSkull = 8
pzLocked = 60000
deathLosePercent = 10
criticalHitChance = 10
removeAmmoWhenUsingDistanceWeapon = "no"
removeChargesFromRunes = "no"
timeToDecreaseFrags = 15 * 25 * 35 * 45
whiteSkullTime = 10 * 20 * 30
oldConditionAccuracy = "no"
alternativeExhaust = 1000
stairJumpExhaustion = 2000
animationTextOnHeal = "yes"

-- Commands
displayGamemastersWithOnlineCommand = "no"

-- Connection Config
ip = "yourip"
loginProtocolPort = 7171
gameProtocolPort = 7172
adminProtocolPort = 7171
statusProtocolPort = 7171
loginTries = 100
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to the (your server name) Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "your server name"
loginMessage = "Welcome to the (your server name) Server!"
adminLogsEnabled = "yes"
statusTimeout = 5 * 30 * 60
replaceKickOnLogin = "yes"

-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5

-- Guilds
ingameGuildSystem = "yes"

-- Highscores
highscoreDisplayPlayers = 10
updateHighscoresAfterMinutes = 60

-- Houses
housePriceEachSQM = 1000
houseRentPeriod = "never"

-- Idle
kickIdlePlayerAfterMinutes = 120

-- Item Usage
timeBetweenActions = 100
timeBetweenExActions = 1000

-- Map
mapName = "forgotten"
mapAuthor = "Komic"
randomizeTiles = "no"
mapStorageType = "relational"

-- Messaging
enableRuleViolationReports = "no"
maxMessageBuffer = 10

-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "pass"
mysqlDatabase = "db name"
mysqlPort = 3306

-- Premium Account
freePremium = "yes"

-- PVP Server
displayOnOrOffAtCharlist = "yes"
allowChangeOutfit = "yes"
noDamageToSameLookfeet = "yes"
experienceByKillingPlayers = "no"

-- Rates
rateExp = exp u want
rateSkill = ----
rateLoot = -----
rateMagic = ---
rateSpawn = ---

-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.
serverSaveEnabled = "no"
serverSaveHour = 3
shutdownAtServerSave = "no"
cleanMapAtServerSave = "yes"

-- Server saving
autoSaveEachMinutes = 60
saveGlobalStorage = "yes"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- SqLite
sqliteDatabase = "forgottenserver.s3db"

-- SQL
sqlType = "mysql"
passwordType = "plain"

-- Startup
defaultPriority = "high"

-- Shutdown
freeMemoryAtShutdown = "yes"

-- Status
ownerName = "your name"
ownerEmail = "[email protected]"
url = "http://yoursite/"
location = "Europe"
 
Back
Top