Loginserver Overhaul (error)
After updating to current source code (and recompiling) with a fresh peqdb from the nightly dump, ran world to update the db fully. Of course after that to get the loginserver to run, more steps had to be done, lol. But this is just me, piddling around testing the updates out.
First I got all the necessary files (login.json and sql's) to update the DB with the new schema. Found these in the source/loginserver folder. I had to edit the login_schema.sql as it wouldn't source in because of "NULL" errors. After I got the new table schema injected into the DB, I edited the login.json file for db name, password, etc., just like we did with the login.ini file. Loginserver starts up fine, but now I am struggling to get the world and loginserver to connect. Here is the new login.json I am using. (I did notice, we used to have a local_network= in the old ini file. It's not present in this one.) Code:
{ |
You shouldn’t have to edit the schema sql. I have a feeling you may be missing entries now.
Akka did mention in the changelog that you don’t need the subnet anymore. I would run each of loginserver and world manually to see any output. Edit: Did you also run the account mod sql? |
Quote:
Code:
`created_at` datetime DEFAULT NULL, Code:
`created_at` datetime NOT NULL, |
Just tried running the 2019_09_16_account_table_changes.sql
Code:
[SQL] Query 2019_09_16_account_table_changes start |
Found the connection problem. In the old login.ini there is a line listen_port = I used to (as a preference), use 5999 with that matching up in the main config. But this new code automatically uses 5998, so I had to change that in the main config and world now connects to login server. .......
|
Just an update:
Even though the world and loginserver are connecting, it's not recognizing the world admin registration (with user/password), so I get the "server is unregistered, but unregistered are allowed" message (which I have set in the config), so it ends up putting a second entry in the DB login_worlds table. Then of course when I login with client, it won't see any servers on list. Who knows ..... I'm going to make breakfast, lol |
Just to add to that (above), this is what the loginserver spits out. It actually shows the world admin user and password in the console, but not sure why it's refusing to recognize the registration altogether. I've went over it many times and it all matches up between configs and DB.
Code:
[LoginServer] [Info] Config System Init |
Friend :d '''''
HELLO HUPY, I HAVE THAT SAME PROBLEM, DO YOU KNOW HOW IT IS SOLVED? God, I've been like that for weeks haha, apparently I have the same name and password well written both in the database and in the configuration, but when I load the server it tells me that they don't match.The longname and shortname are also the same written in both sites.I also realized that this new login.ini does not bring to put the ip in (Network) .What happens? Do you know how to solve this? The server can be put on the list of servers and I can only enter ... :(
|
All times are GMT -4. The time now is 05:28 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.