Page 1 of 1

The problem with a client (client version is too old)

Posted: 13 Nov 2013, 08:39
by vatarus
Hi!

Today compiled the server (on Ubuntu) and the client (on Windows) from git source.
Run the server.
Run the client. But when trying to log onto a server get the error: "client version is too old."

What is the cause of the problem? Who knows?

Re: The problem with a client (client version is too old)

Posted: 13 Nov 2013, 12:17
by Freeyorp101
Which git repository are you using? The gitorious repository is quite out of date. If you want to use the manasource client, its current home can be found at [github].

Otherwise, can you upload the client log (mana.log) and post the SHA hash of the revision you are compiling from (git rev-parse HEAD)?


---Freeyorp

Re: The problem with a client (client version is too old)

Posted: 13 Nov 2013, 18:38
by o11c
The "too old" message is sent if the client does not send both the "update host" and "server order" bits.

Both of these have been sent for ages ...

"server order" was fixed in cd89ede064c63cb43da0fb4bfa16ff1599a96d32 aka v0.0.28.1-1829-gcd89ede which was *before* the last non-manasource release (TMW 0.0.29.1).

The relevant client code is in src/net/tmwa/loginhandler.cpp, about line 300

It's also theoretically possible to set this error manually, but I just checked the database and the only special errors are for temporary and permanent bans.

Re: The problem with a client (client version is too old)

Posted: 13 Nov 2013, 18:44
by Frost
What version is your client? The F1 key might tell you this.

Re: The problem with a client (client version is too old)

Posted: 14 Nov 2013, 01:21
by vatarus
Hi!

1. Of course, I took the source code of the server and the client from github repository as usual:
Server: https://github.com/mana/manaserv
Client: https://github.com/mana/mana
Attach mana.log
2. Client version is 0.6.1
3. I have a server that is compiled in August this year. This server is running now. Client compiled yesterday connected to the server without any problems.
The client receives an error from a new server that was compiled yesterday. When trying to log onto a server the client receives the error: "client version is too old."
It can be assumed that the problem occurs on the server (manaserv-account side). But what exactly is going on?

I also compiled the serevere for Windows. Exact same error occurs.

Re: The problem with a client (client version is too old)

Posted: 14 Nov 2013, 07:28
by Ablu
Looks to me like you are connecting to a manaserv server. If you want to connect to a latest manaserv server please make sure to use our new Qt client. At the moment we only have a client of Source of Tales available. However that client will likely also work for your own server. So please use this client: https://github.com/tales/tales-client Compile instructions are at: https://github.com/tales/sourceoftales/ ... -of-client

Regards,
Ablu

Re: The problem with a client (client version is too old)

Posted: 14 Nov 2013, 09:29
by vatarus
Thanks for the answer!

Install the Qt SDK for my Windows.
Then I tried to compile the Tales client, but received a compile error (log attached).
Tell me, please, what's wrong?

Re: The problem with a client (client version is too old)

Posted: 14 Nov 2013, 10:44
by Ablu
looks like linking zlib fails. not sure if anyone tried compiling on windows before. i will test it once i am home

Re: The problem with a client (client version is too old)

Posted: 14 Nov 2013, 17:35
by Ablu
Fixed the build for windows. Simply update your git via "git pull"

Re: The problem with a client (client version is too old)

Posted: 15 Nov 2013, 00:32
by vatarus
Yes, the problem is solved. Thank you.

But now it is not clear how the folder structure of the client should look like.
After compiling I got tales.exe and many other things (see attached file).
How can now organize the structure of folders of the client?

Re: The problem with a client (client version is too old)

Posted: 15 Nov 2013, 07:55
by Ablu
You need to put the manamobile.exe into the example/ subfolder and run it from there.

No idea why that did not work out for you...

Regards,
Ablu

Re: The problem with a client (client version is too old)

Posted: 16 Nov 2013, 04:44
by vatarus
Clear. Thanks anyway.

Do you plan to build a client for Windows in the future?

Re: The problem with a client (client version is too old)

Posted: 16 Nov 2013, 20:46
by Ablu
The person responsible for the daily builds wants to look into it somewhen. But he is short on time at the moment.

However we will of course publish windows binaries once we have a first release of that new client.

Glad to see that it works for you.

Regards,
Ablu