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

Problem z Acc makerem

white91

New Member
Joined
Jun 4, 2008
Messages
136
Reaction score
0
Od kilku dni próbuje bawić się z postawieniem otsa u siebie na ubuntu wszystko mam juz zrobione baza postawiona ale przy instalacji strony wyskakuje mi mały error
zrzutekranu2q.png


156 linijka install.php
$config['server'] = parse_ini_file($config['site']['server_path'].'config.lua');

config.lua
-- The Forgotten Server Config

-- Account Manager
accountManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 0
newPlayerSpawnPosY = 0
newPlayerSpawnPosZ = 0
newPlayerTownId = 5
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"

-- Banishments
broadcastBanishments = "yes"
banDays = 1
finalBanDays = 3
killsToBan = 6

-- Battle
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 1
killsToRedSkull = 3
pzLocked = 60000
deathLosePercent = 10
criticalHitChance = 7
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 6 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
oldConditionAccuracy = "no"
alternativeExhaust = 1000
stairJumpExhaustion = 2000
animationTextOnHeal = "yes"

-- Commands
displayGamemastersWithOnlineCommand = "no"

-- Connection Config
ip = "85.198.249.139"
loginProtocolPort = 7171
gameProtocolPort = 7172
adminProtocolPort = 7171
statusProtocolPort = 7171
loginTries = 3
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to the Forgotten Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Forgotten"
loginMessage = "Welcome to the Forgotten Server!"
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"

-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 10

-- Guilds
ingameGuildSystem = "yes"

-- Highscores
highscoreDisplayPlayers = 20
updateHighscoresAfterMinutes = 60

-- Houses
housePriceEachSQM = 1000
houseRentPeriod = "never"

-- Idle
kickIdlePlayerAfterMinutes = 15

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "RealMap"
mapAuthor = "Limannen, Cykotitan"
randomizeTiles = "no"
mapStorageType = "relational"

-- Messaging
enableRuleViolationReports = "yes"
maxMessageBuffer = 4

-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "okotom"
mysqlDatabase = "bialyots"
mysqlPort = 3306

-- Premium Account
freePremium = "yes"

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

-- Rates
rateExp = 75
rateSkill = 50
rateLoot = 2
rateMagic = 25
rateSpawn = 1

-- 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 = "yes"
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 = ""
ownerEmail = ""
url = "http://otland.net/"
location = "Europe"

loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
port = 7171
 
brak dostępu do pliku config.lua >.< zmień uprawniania i będzie dobrze.
 
Back
Top