Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to log on to the game server #3

Closed
sheiun opened this issue Feb 22, 2019 · 4 comments
Closed

Unable to log on to the game server #3

sheiun opened this issue Feb 22, 2019 · 4 comments

Comments

@sheiun
Copy link

sheiun commented Feb 22, 2019

I'm using master branch

I just add a user in adminers and login to the login-server

The Data.nx convert by v28's Data.wz (Using Wz2Nx)
And I just put Data.nx to the root folder

  • Logs of login-server
2019/02/22 07:30:21 New client connection from [Address] 172.21.0.1:58328
2019/02/22 07:30:29 User 3 has logged in from [Address] 172.21.0.1:58328
2019/02/22 07:30:32 Error in reading from [Address] 172.21.0.1:58328 , closing the connection EOF
2019/02/22 07:30:53 New client connection from [Address] 172.21.0.1:58332

image

image

@sheiun sheiun changed the title Unable log on to game server Unable to log on to the game server Feb 22, 2019
@ErwinsExpertise
Copy link
Contributor

Did you update your IP in handlers/loginHandlers.go ?

@sheiun
Copy link
Author

sheiun commented Feb 23, 2019

@ErwinsExpertise it works!!

Thank you very much!

But why do this project fill a private IP, is it risky if I use public IP?

image

@ErwinsExpertise
Copy link
Contributor

If you are connecting within a local network it's best to just use the local machine IP, however, if you are using a remote vps or something then you will need to use the public ip then.

@sheiun sheiun closed this as completed Feb 23, 2019
@Hucaru
Copy link
Owner

Hucaru commented Feb 26, 2019

The plan is to make this configurable (example config: https://github.com/Hucaru/Valhalla/blob/dev/rewrite-to-single-event-process-model/config.toml) but I want to get the interserver communication set up fully first.

branch dev/rewrite... is what I am working on when I get the time. Heads up, the scripting language for npcs will probably change to https://github.com/cosmos72/gomacro the new branch gets rid of mutexes and is much easier to follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants