If you're using preset characters (i.e. Druid1, Druid2, Knight4, etc.) then in your MySQL database go to players and edit the posx, posy, and posz of each player. If players have their own characters, and you're using the in-game AAC in config.lua change this:
Code:
newPlayerSpawnPosX = 32369
newPlayerSpawnPosY = 32241
newPlayerSpawnPosZ = 7
Last, but not least, if you're using an AAC such as Nicaw, change this in the config.inc.php file in your htdocs folder:
Code:
$cfg['temple'][1]['x'] = 410;
$cfg['temple'][1]['y'] = 573;
$cfg['temple'][1]['z'] = 7;
$cfg['temple'][1]['enabled'] = true;
Jo3
MySql database? And .. i cant find the player thingy anywhere.. You know Gesiorwar server? Im using that.
here is the Config.lua
-- GesiorWar Server Config
-- Connection Config
ip = "127.0.0.1"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "300"
motd = "Its time to kick ass and chew bubblegum.. but im all out of gum"
allowClones = 0
serverName = "WorldWar"
loginMessage = "WorldWar."
-- SqLite
sqliteDatabase = "war.s3db"
-- SQL
sqlType = "sqlite"
passwordType = "plain"
-- Startup
defaultPriority = "high"
-- WAR settings
-- give experience from lower levels
experienceFromLowerLevels = "yes"
-- balance team 1 - yes, 0 - no
autoBalance = 1
-- can't hit players from same account
teamMode = "no"
--team1 outfit
head_team1 = 79;
body_team1 = 120;
legs_team1 = 101;
feet_team1 = 116;
--team2 outfit
head_team2 = 115;
body_team2 = 113;
legs_team2 = 113;
feet_team2 = 114;
-- displayer offline/online on list of characters
displayOnOrOffAtCharlist = "yes"
--load eq and skills for X vocation from character with ID / don't edit
sampleid_1 = 12
sampleid_2 = 13
sampleid_3 = 14
sampleid_4 = 15
--exp rate from players
rate_exp_pvp = 15
-- after how many minutes kick afkers
kickIdlePlayerAfterMinutes = 7
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
-- frags to red skull
killsToRedSkull = 5
-- pz lock time after attack in miliseconds
pzLocked = 20000
-- percent chance to hit max dmg
criticalHitChance = 1
levelLimit = 400
removeAmmoWhenUsingDistanceWeapon = "no"
removeChargesFromRunes = "no"
-- white skull/pz lock time after kill in miliseconds
whiteSkullTime = 15 * 60 * 1000
-- show Offline/online or world name on char list
displayOnOrOffAtCharlist = "yes"
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Map
mapName = "GesiorWar"
mapAuthor = "Fruktmixer"
randomizeTiles = "yes"
-- Messaging
maxMessageBuffer = 4
-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "1"
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306
allowChangeOutfit = "yes"
-- Rates
rateExp = 20
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1
-- Spawns
deSpawnRange = 2
deSpawnRadius = 30
-- Status
ownerName = "Fruktmixer"
ownerEmail = ""
url = ""
location = "Sweden"