error : login db request failed

Newbie Spellweaver
Joined
Jun 8, 2016
Messages
56
Reaction score
0
hi guys, i was trying to make a server and i got this error every time i try to log in

'login db request failed'

im using bola files and the Brazilian client

i think i did everything

from restoring database to setup the api

and this is my configs

MasterServer
Code:
; MasterServer server.ini


[SERVER_INFO]
NAME = "MasterServer"
SERVER_ID = 100
WORLD_ID = 1
PMANG_SSN = 339
ODBC = "SQL Server Native Client 10.0"
SOCKET_POOL_SIZE = 100
SERVER_MODE = 0; 0 - Normal, 1 - Castle Siege
PWE_BILLING_ENABLE = 1
CURL_BILLING_ENABLE = 1


[LOCALE]
LOCALE = "PWE"
VERSION = "5.1"


[CONFIG]
PORT = 7500


[ACCOUNTDB]
SERVER = "LOUKA-PC"
DATABASE = "RZ_ACCOUNTDB"
USERNAME = "sa"
PASSWORD = "root"


[DB]
SERVER = "LOUKA-PC"
DATABASE = "RZ_GAMEDB"
USERNAME = "sa"
PASSWORD = "root"


[LOGDB]
SERVER = "LOUKA-PC"
DATABASE = "RZ_LOGDB"
USERNAME = "sa"
PASSWORD = "root"


[PATH]
SYSTEM = "system"
FIELD = "field"


[LOG]
LOG_PATH = "log"
LOG_LEVEL = 1


[BILLING]
AUTH_URL = "127.0.0.1"
CRT_PATH = "data/PWE/web-c.crt"
KEY_PATH = "data/PWE/web-c.key"
KEY_PWD = "123456"
GAME_NUMBER = "1002"
SERVER_NUMBER = 1

and login server

Code:
; LoginServer server.ini


[SERVER_INFO]
NAME = "LoginServer"
SERVER_ID = 101
WORLD_ID = 1
PMANG_SSN = 339
PMS_ENABLE = 0
PMANG_DBENCRYPT = 0
ODBC = "SQL Server Native Client 10.0"
SOCKET_POOL_SIZE = 5000
PWE_SERVICE    = 1
SERVER_MODE = 0; 0 - Normal, 1 - Castle Siege


[LOCALE]
LOCALE = "PWE"
VERSION = "5.1"


[CONFIG]
PORT = 7501


[MASTER_SERVER]
IP    = "127.0.0.1"
PORT = 7500




[ACCOUNTDB]
SERVER = "LOUKA-PC"
DATABASE = "RZ_ACCOUNTDB"
USERNAME = "sa"
PASSWORD = "root"


[DB]
SERVER = "LOUKA-PC"
DATABASE = "RZ_GAMEDB"
USERNAME = "sa"
PASSWORD = "root"


[LOGDB]
SERVER = "LOUKA-PC"
DATABASE = "RZ_LOGDB"
USERNAME = "sa"
PASSWORD = "root"


[LOG]
LOG_PATH = "log"
LOG_LEVEL = 1




[PWE]
AUTH_URL = "127.0.0.1"
GAME_NAME = "RaiderZ"
GAME_NAME = "1002"
PUBLIC_IP = "127.0.0.1"
CRT_PATH = "data/PWE/web-c.crt"
KEY_PATH = "data/PWE/web-c.key"
KEY_PWD = "123456"

db.conf
Code:
[PASSPORT]
DBNAME=Raiderz_Account
TYPE=mssql
HOST=
SERVER=LOUKA-PC
USERNAME=sa
PASSWORD=root
[ACCOUNT]
DBNAME=Raiderz_Account
TYPE=mssql
HOST=
SERVER=LOUKA-PC
USERNAME=sa
PASSWORD=root
[BILLING]
DBNAME=Raiderz_Account
TYPE=mssql
HOST=
SERVER=LOUKA-PC
USERNAME=sa
PASSWORD=root
[GAME_BANK]
DBNAME=Raiderz_Account
TYPE=mssql
HOST=
SERVER=LOUKA-PC
USERNAME=sa
PASSWORD=root
 
When i try to log in to my local server... I get msg saying "login db request failed"
 
Last edited:
add this to your loginserver
c6ecd3b7ff24c1aec8b4bbfaa8c2e1a2 - error : login db request failed - RaGEZONE Forums

This will create an account and allow you to login with any username/pass you input
 
for this works the account you are trying to log in must exist in "Raiderz_Account.dbo.Account", if it does not exist you must create a new account using the procedure of that database
 
Back