What's new

Mam 1 pytanie

Sinex1995

User
Joined
Jul 24, 2009
Messages
35
Reaction score
0
Age
28
Czy m?j ots b?dzie funkcjonowa? gdy w config.lua zamiast sqlType = "mysql"
mam sqlType = "sqlite" bo gdy dam sqlType = "mysql" i za??czam to mam taki b??d:confused: :26/07/2009 20:27:54] The Forgotten Server - Version 0.2.2 (Mystic Spirit).
[26/07/2009 20:27:54] A server developed by Talaturen, Kiper, Kornholijo, Jonern, Lithium & Elf.
[26/07/2009 20:27:54] Visit our forum for updates, support and resources: .

[26/07/2009 20:27:54] >> Loading config
[26/07/2009 20:27:54] >> Loading RSA key
[26/07/2009 20:27:54] >> Testing SQL connection... MySQL.
[26/07/2009 20:27:54] > MySQL ERROR mysql_real_connect: Unknown database 'theforgottenserver'
[26/07/2009 20:27:54] > ERROR: Failed to connect to database, read doc/MYSQL_HELP for information or try SqLite

PoZdRo Sinex1995
 

Clear

Active User
Joined
Jul 22, 2009
Messages
101
Reaction score
7
Odp: Mam 1 pytanie

Zrobiles database ?? ustawxiles password client nazwe databasy ??
 

Clear

Active User
Joined
Jul 22, 2009
Messages
101
Reaction score
7
Odp: Mam 1 pytanie

Gelio pisalismy post w tym samym czasie boto bedzie doubel xD to samo napisalem hehe.
 

Sinex1995

User
Joined
Jul 24, 2009
Messages
35
Reaction score
0
Age
28
Odp: Mam 1 pytanie

mam baze danych zaraz napisze z jakiego poradnika korzysta?em a tu moj ca?y config.lua : -- The Forgotten Server Config

-- Account Manager
accountManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 25
newPlayerSpawnPosY = 28
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 8
newPlayerMagicLevel = 0
generateAccountNumber = "no"

-- Banishments
broadcastBanishments = "yes"
banDays = 1
finalBanDays = 10
killsToBan = 10

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

-- Commands
displayGamemastersWithOnlineCommand = "no"

-- Connection Config
ip = "5.230.88.220"
loginProtocolPort = 7171
gameProtocolPort = 7172
adminProtocolPort = 7171
statusProtocolPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "50"
motd = "Seja Bem Vindo All Mystic Spirit v4 Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Mystic"
loginMessage = "Witam na ?l?skiOts ~~> tavares717@hotmail.com ( Bug DAs House Concertados ) Aproveite O OT"
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"

-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5

-- Guilds
ingameGuildSystem = "yes"

-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

-- Houses
housePriceEachSQM = 500
houseRentPeriod = "never"

-- Idle
kickIdlePlayerAfterMinutes = 15

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "SlaskiOts"
mapAuthor = "Gmyurots"
randomizeTiles = "yes"
mapStorageType = "relational"

-- Messaging
enableRuleViolationReports = "yes"
maxMessageBuffer = 4

-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "dawcio959"
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306

-- Premium Account
freePremium = "yes"

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

-- Rates
rateExp = 100
rateSkill = 50
rateLoot = 5
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 = "yes"
serverSaveHour = 2
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "yes"

-- Server saving
autoSaveEachMinutes = 15
saveGlobalStorage = "no"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- SqLite
sqliteDatabase = "forgottenserver.s3db"

-- SQL
sqlType = "sqlite"
passwordType = "plain"

-- Startup
defaultPriority = "high"

-- Shutdown
freeMemoryAtShutdown = "yes"

-- Status
ownerName = "Mystic Spirit"
ownerEmail = "tavares717@hotmail.com"
url = "5.230.88.220"
location = "Europe"



PS.nie wiem o co chodzi z tym datebase i z wszystkim co napisales
 

Clear

Active User
Joined
Jul 22, 2009
Messages
101
Reaction score
7
Odp: Mam 1 pytanie

To ja neiwiem zaraz gelio powinien ci pomuc :)
 

Clear

Active User
Joined
Jul 22, 2009
Messages
101
Reaction score
7
Odp: Mam 1 pytanie

Raczej musi byc bez tego srever nie dziala znaczy nie jest pod sql z database mysql kaman ?
 

Kleksu

Advanced User
Joined
Dec 3, 2008
Messages
385
Reaction score
31
Odp: Mam 1 pytanie

A dlaczego nie? Mysql jest najlepsze.
__________________

Zapraszam na !
Zajrzyj na nowe open tibia forum z w?asn? ot list? !
 
Last edited:

Sinex1995

User
Joined
Jul 24, 2009
Messages
35
Reaction score
0
Age
28
Odp: Mam 1 pytanie

czyli jak nie b?d? mia? mysql to nikt si? nie pod??czy? mogli by? cie to sprawdzi??

Wiem ?e to jest ju? inna bajka ale mo?e kto? z was po hostuje mi serwer jasne jest ze dostanie GM ;)
 

Xayan

Senior User
Joined
Jul 4, 2009
Messages
2,608
Reaction score
390
Age
28
Odp: Mam 1 pytanie

Nie! Nie! Nie!

Jak najbardziej mo?e by? SQLite! Poprzednicy ci? nie zrozumieli :D
Je?eli b?dziesz mia? SQLite to jedynym minusem jest, ?e nie mo?esz zrobi? acc na stronie. Do SQLite potrzebujesz te? acc w grze (1/1 lub 111111/tibia). Jednak ka?dy TFS takowego posiada. R?b SQLite i no? problem :p
 
Top