Reklama
Pokazuje wyniki od 1 do 5 z 5

Temat: [8.70][DB] Problem z Bazą Danych XAMPP

  1. #1
    komsa

    Domyślny [8.70][DB] Problem z Bazą Danych XAMPP

    Witam, mam taki problem z bazą danych że jak odpalam server i w konsoli wszystko jest napisane że działa nie czyta mi postaci.
    Normalnie loguje się na Account Managera i próbuję później przerobić tego Managera na GODa , zmieniam wszystko w bazie danych ale po próbie zalogowania
    dalej loguje sie na Acc Managera a nie na postać która jest zapisana w bazie pod tym samym acc itd.
    Czy może mi ktoś w tym pomóc ?
    .
    Silnik: The Forgotten Server - Version 0.2.9 (Mystic Spirit).
    BD: Xampp
    Kolejny problem to ACC MAKER na stronce.
    Wgrywam do folderu pliki instalacyjne i gdy wchodzę na stronke aby to zainstalować
    wyskakuje mi od razu jakiś błąd
    Screen:
    Nie wiem jak to naprawić , jeśli ktoś zna na to odpowiedź i może chciał by mi pomóc też z innymi rzeczami to zapraszam na GG 8449838
    albo robić to tu :)
    DZIEKI !

  2. #2
    Avatar Nastyy
    Data rejestracji
    2010
    Położenie
    Poznań
    Wiek
    33
    Posty
    150
    Siła reputacji
    15

    Domyślny

    pokaż cały plik install.php, pokaż config.lua serwera

  3. #3
    komsa

    Domyślny

    Config Servera:
    -- The Forgotten Server Config

    -- Account Manager
    accountManager = "false"
    newPlayerChooseVoc = "no"
    newPlayerSpawnPosX = 95
    newPlayerSpawnPosY = 117
    newPlayerSpawnPosZ = 7
    newPlayerTownId = 1
    newPlayerLevel = 1
    newPlayerMagicLevel = 0
    generateAccountNumber = "yes"

    -- Banishments
    broadcastBanishments = "yes"
    banDays = 7
    finalBanDays = 30
    killsToBan = 5

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

    -- Commands
    displayGamemastersWithOnlineCommand = "no"

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

    -- Deathlist
    deathListEnabled = "yes"
    maxDeathRecords = 5

    -- Guilds
    ingameGuildSystem = "yes"
    levelToCreateGuild = 8

    -- Highscores
    highscoreDisplayPlayers = 15
    updateHighscoresAfterMinutes = 60

    -- Houses
    housePriceEachSQM = 1000
    houseRentPeriod = "never"

    -- Idle
    kickIdlePlayerAfterMinutes = 15

    -- Item Usage
    timeBetweenActions = 200
    timeBetweenExActions = 1000

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

    -- Messaging
    maxMessageBuffer = 4

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

    -- Premium Account
    freePremium = "no"

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

    -- Rates
    rateExp = 35
    rateSkill = 25
    rateLoot = 1
    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 = 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 = "Dasher"
    ownerEmail = "@otland.net"
    url = "http://otland.net/"
    location = "Europe"


    A teraz wszystko jest ok tylko pokazuje mi sie taki błąd w Acc Makerze:
    Check database connection
    If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.
    Parse error: syntax error, unexpected ';', expecting T_FUNCTION in C:\Xampp\xampp\htdocs\pot\OTS_DB_SQLite.php on line 68

    o co be ?

  4. Reklama
  5. #4
    komsa

    Domyślny

    Config Servera:
    -- The Forgotten Server Config

    -- Account Manager
    accountManager = "false"
    newPlayerChooseVoc = "no"
    newPlayerSpawnPosX = 95
    newPlayerSpawnPosY = 117
    newPlayerSpawnPosZ = 7
    newPlayerTownId = 1
    newPlayerLevel = 1
    newPlayerMagicLevel = 0
    generateAccountNumber = "yes"

    -- Banishments
    broadcastBanishments = "yes"
    banDays = 7
    finalBanDays = 30
    killsToBan = 5

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

    -- Commands
    displayGamemastersWithOnlineCommand = "no"

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

    -- Deathlist
    deathListEnabled = "yes"
    maxDeathRecords = 5

    -- Guilds
    ingameGuildSystem = "yes"
    levelToCreateGuild = 8

    -- Highscores
    highscoreDisplayPlayers = 15
    updateHighscoresAfterMinutes = 60

    -- Houses
    housePriceEachSQM = 1000
    houseRentPeriod = "never"

    -- Idle
    kickIdlePlayerAfterMinutes = 15

    -- Item Usage
    timeBetweenActions = 200
    timeBetweenExActions = 1000

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

    -- Messaging
    maxMessageBuffer = 4

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

    -- Premium Account
    freePremium = "no"

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

    -- Rates
    rateExp = 35
    rateSkill = 25
    rateLoot = 1
    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 = 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 = "Dasher"
    ownerEmail = "@otland.net"
    url = "http://otland.net/"
    location = "Europe"


    A teraz wszystko jest ok tylko pokazuje mi sie taki błąd w Acc Makerze:
    Check database connection
    If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.
    Parse error: syntax error, unexpected ';', expecting T_FUNCTION in C:\Xampp\xampp\htdocs\pot\OTS_DB_SQLite.php on line 68

    o co be ?

  6. #5
    Avatar M4teu$z
    Data rejestracji
    2009
    Posty
    3,743
    Siła reputacji
    18

    Domyślny

    sqlType = "sqlite"
    na
    sqlType = "mysql"
    i upewnij sie czy importujesz plik sql a nie s3db
    Ostatnio zmieniony przez M4teu$z : 15-05-2012, 21:35

Reklama

Informacje o temacie

Użytkownicy przeglądający temat

Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)

Podobne tematy

  1. [Mysql] Duża baza danych-jak wydajnie zorganizować
    Przez Sir Juncan w dziale Sprzęt i oprogramowanie
    Odpowiedzi: 3
    Ostatni post: 31-01-2012, 01:31
  2. [MS Access] baza danych, maly szpital
    Przez Robotnik w dziale Szkoła i nauka
    Odpowiedzi: 0
    Ostatni post: 25-01-2012, 18:43
  3. [Podstawy] Podstawy związane z bazą danych MySQL dla OpenTibii*
    Przez Killavus w dziale Artykuły developerskie
    Odpowiedzi: 24
    Ostatni post: 27-06-2009, 22:32

Zakładki

Zakładki

Zasady postowania

  • Nie możesz pisać nowych tematów
  • Nie możesz pisać postów
  • Nie możesz używać załączników
  • Nie możesz edytować swoich postów
  •