gamedbd is broken

Results 1 to 6 of 6
  1. #1
    Apprentice sergioaugus is offline
    MemberRank
    Jun 2012 Join Date
    BrazilLocation
    17Posts

    sad gamedbd is broken

    Hi! My server is broken because I made a mistake. The code is: "gamedbd gamesys.conf exportclsconfig" and I imput "gamedbd gamesys.conf importclsconfig". I tryed to rename the file "clsconfig.dbd.old" to "clsconfig", but it don't worked: the database works well, but no one can create new chars.
    Someone have a sugestion?

    (sorry for any errors of English that I may have committed, isn't my native language.)


  2. #2
    Proficient Member michae5k is offline
    MemberRank
    Jan 2009 Join Date
    LondonLocation
    177Posts

    Re: gamedbd is broken

    Delete the class config from your dbdata, and restart the game server, it shall then create a new class configuration for base classes.

  3. #3
    Apprentice sergioaugus is offline
    MemberRank
    Jun 2012 Join Date
    BrazilLocation
    17Posts

    Re: gamedbd is broken

    Quote Originally Posted by michae5k View Post
    Delete the class config from your dbdata, and restart the game server, it shall then create a new class configuration for base classes.
    Well, I deleted the file "/gamedbd/dbdata/clsconfig" and rebooted the server. A new clsconfig was created in /gamedbd/dbdata/ but I can not access the chars, they are gone and I can not create new ones. In IWeb: "Game Database Daemon ./gamedbd 1 Online", where he used to see "Game Database Daemon ./gamedbd 22 Online".

    Deleted I the correct file?

    EDIT:
    Now, when I use "gamedbd gamesys.conf exportclsconfig" the server return "err : storagewdb:find DISK ERROR! PROGRAM ABORT!"
    (I gave permissions to the files)

  4. #4
    I Might Piss Somebody Off Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,766Posts

    Re: gamedbd is broken

    create the file fix.sh into yourgamedbd

    change your pwserver gamedbd directory on script, add permission and run

    Code:
    echo "Fixing Bugs and etc"
    
    mkdir /root/pwserver/gamedbd/datafix
    ls /root/pwserver/gamedbd/dbdata/ | awk '{ print "./dbtool -r -s /root/pwserver/gamedbd/dbdata/"$1" -d /root/pwserver/gamedbd/datafix/"$1 }' | /bin/sh
    rm -fr /root/pwserver/gamedbd/dbdata
    rm -fr /root/pwserver/gamedbd/dblogs/*
    mv /root/pwserver/gamedbd/datafix /root/pwserver/gamedbd/dbdata
    
    echo "End script"

  5. #5
    Apprentice sergioaugus is offline
    MemberRank
    Jun 2012 Join Date
    BrazilLocation
    17Posts

    Re: gamedbd is broken

    Quote Originally Posted by ADMZePekeno View Post
    create the file fix.sh into yourgamedbd

    change your pwserver gamedbd directory on script, add permission and run

    Code:
    echo "Fixing Bugs and etc"
    
    mkdir /root/pwserver/gamedbd/datafix
    ls /root/pwserver/gamedbd/dbdata/ | awk '{ print "./dbtool -r -s /root/pwserver/gamedbd/dbdata/"$1" -d /root/pwserver/gamedbd/datafix/"$1 }' | /bin/sh
    rm -fr /root/pwserver/gamedbd/dbdata
    rm -fr /root/pwserver/gamedbd/dblogs/*
    mv /root/pwserver/gamedbd/datafix /root/pwserver/gamedbd/dbdata
    
    echo "End script"
    Portuguese{Funcionou perfeitamente, valeu mesmo! Agora eu tive um novo problema.. Não consigo criar novos chars, o erro é "Nome do personagem já existe." ou algo como isso. Tem alguma ideia do que possa ter causado?}

    It worked perfectly, thanks a lot! Now I had a new problem .. I can not create new chars, error is "Character name already exists." or something like that. Have you any idea what may have caused?

  6. #6
    Apprentice sergioaugus is offline
    MemberRank
    Jun 2012 Join Date
    BrazilLocation
    17Posts

    Re: gamedbd is broken

    It worked perfectly, thanks a lot! Now I had a new problem .. I can not create new chars, error is "Character name already exists." or something like that. Have you any idea what may have caused?
    Thanks for michae5k for attention! (=

    This error is occurred only my account, in new accounts it works fine.



Advertisement