Server's compatibility with Client (aipolicy.data) Server 1.5.1 / Client v 775 ~ v800
After some research, I could not find a solution for this problem. I ask for suggestions/solutions, please.
I set up a server using Crucifix's guide. Everything eventually worked fine.Then I decided to upgrade my client (which is an original from ArcGames) to use all new features of New Horizons expansion.
Unfortunately, the server does not work with ''Chill of Luneska'' expansion, which adds some maps and features. So I upgraded my client no further than version 800, which is the latest *.cup before ''Luneska''.
Then proceed to update the server files with the new *.data from my client. Launching the server with these new files incur in the following error:
Code:
ÅäÖÃÎļþ:'gs.conf' ÅäÖÃÔö²¹Îļþ:'gsalias.conf'
ÎÞ·¨¶ÁÈ¡ÎïÆ·ºÍ¹ÖÎïµÄÄ£°åÎļþ:'./config/elements.data'
µÚÒ»²½³õʼ»¯Ê§°Ü£¬´íÎóºÅ:-3
Which translates to:
Code:
Configuration file: 'gs.conf' configuration patch: 'gsalias.conf'
Can not read the template file for items and monsters: './config / elements.data'
The first step initializes the failure, error number: -3
And the server could not load AIpolicy. (and in version 1.5.1, new versions of ''aipolicy.data'' do not come with client)
As easy as it could be, I merely used the original ''elements.data'' from version 775 (original server file) and the server started up normally. However, my client does not launch with this older file.
Basically, it is the same problem with the other patches. This updated client (v800) requires server v106, while the server itself is v101. Luneska requires server v108, as far as I could see.
This post: http://forum.ragezone.com/f751/pw-se...4/#post8165954 informs how I can downgrade v106 ''element.data'' to v101.
However I want to upgrade the server files to v106 instead.
Therefore, I ask: how can I make my server files compatible with v800? What should I edit? Thanks in advance.
Re: Server's compatibility with Client (aipolicy.data) Server 1.5.1 / Client v 775 ~
I tried to apply 106>101 rules as described before, but the server could not start with this new file. The new exported ''element.data'' showed itself incompatible with ''gs.conf'' and ''gsalias.conf'', incurring in the same error loading ''aipolicy.data''. I realized the server files I have cannot run v106 or v101(downgraded) ''element.data'', solely the original v101 from Client-v 775. Perhaps other patch versions, but I did not tried extensively.
I kept trying and found a simpler counter measure for this problem.
I edited \config\element\version.sw to show 775 0 instead of 800 0.
Then my client started with its original Client-v 800 (v106) ''element.data'' while the server kept using its original Client-v 775 (v101) one.
I do not know what problems it may show as the client and the server are running with different files, however the game is launching and it is playable.
I would like to keep this thread open, as I still want to solve the problem properly, instead of relying on workarounds.
Re: Server's compatibility with Client (aipolicy.data) Server 1.5.1 / Client v 775 ~
After trying some rules for sEledit, I could not find a rule that really worked to me. In all cases, the server would not start correctly, accusing incompatibility between element.data and gs files. So, I experimented mixing the data of 3 different files and made a rule file of my own. With this rule, I exported an element.data compatible with my server, with the latest elements available to Client v800, but the new content from Server v106.
The rules I used are as follows: