MagicHereos
Magic.org.pl
- Joined
- Nov 6, 2008
- Messages
- 60
- Reaction score
- 0
Hello, i have problem :
config.lua :
I updateing form TFS 0.2, to 0.3, WTF?:-(
Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'forgottenserver.z_news_big' doesn't exist' in D:\xampp\htdocs\latestnews.php:80 Stack trace: #0 D:\xampp\htdocs\latestnews.php(80): PDO->query('SELECT * FROM `...') #1 D:\xampp\htdocs\index.php(70): include('D:\xampp\htdocs...') #2 {main} thrown in D:\xampp\htdocs\latestnews.php on line 80
Code:
-- The Forgotten Server Config
-- Account manager
accountManager = "no"
namelockManager = "no"
newPlayerChooseVoc = "no"
newPlayerSpawnPosX = 95
newPlayerSpawnPosY = 117
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = "no"
-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 5
maxViolationCommentSize = 250
-- Battle
worldType = "no-pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 8
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 3
pzLocked = 60 * 1000
criticalHitChance = 8
displayCriticalHitNotify = "yes"
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "yes"
fieldOwnershipDuration = 5 * 1000
-- Connection config
worldId = 0
ip = "87.239.76.165"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to the MagicOTS !"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Magic"
loginMessage = "Hello ! Please type your character."
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive use 0 value.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "PASSWORD"
sqlDatabase = "forgottenserver"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
passwordType = "plain"
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5
-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 8
guildNameMinLength = 4
guildNameMaxLength = 20
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 1
levelToBuyHouse = 20
houseRentAsPrice = "yes"
housePriceAsRent = "yes"
housePriceEachSQM = 3500
houseRentPeriod = "never"
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Map
mapName = "Magic"
mapAuthor = "Magic Hereos (God Magic)"
randomizeTiles = "yes"
cleanProtectedZones = "yes"
-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
maxMessageBuffer = 4
displayGamemastersWithOnlineCommand = "no"
defaultPriority = "high"
saveGlobalStorage = "yes"
bankSystem = "no"
displaySkillLevelOnAdvance = "no"
spellNameInsteadOfWords = "no"
emoteSpells = "yes"
disableOutfitsForPrivilegedPlayers = "no"
expireReportsAfterReads = 1
optimizeDatabaseAtStartup = "yes"
-- Premium account
freePremium = "no"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExp = 5
rateSkill = 6
rateLoot = 2
rateMagic = 3
rateSpawn = 1
extraPartyExpLimit = 20
extraPartyExpPercent = 5
experienceStages = "no"
-- Global save
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system please check out data/globalevents/globalevents.xml.
globalSaveEnabled = "yes"
globalSaveHour = 18
shutdownAtGlobalSave = "yes"
cleanMapAtGlobalSave = "yes"
-- Spawns
deSpawnRange = 2
deSpawnRadius = 50
-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no" --FIXME: Doesn't work
teleportPlayerSummons = "no" --FIXME: Doesn't work
-- Status
ownerName = "God Magic"
ownerEmail = "[email protected]"
url = "magicots.ath.cx"
location = "Europe"