Buffer that holds data has set to Byte pointer, this is the issue here:
Changing that to WORD or something else makes Client unable to connect to Server.
I think sent data processing depends on Byte data type.
Changed it in Server too but it doesnt fix this either.
Some data is exchanged but no login possible.
With Byte type the Client will get correct amount of data but cannot proccess if its more than 255 (maps+Gamestyle names)
List sent to Client in just Gamestyle names and Map names, no item names or objectives.
I cannot fix this one, it requires better understanding of all this connection part.
***Other fixes i will test few days, run server and see if all changes work fine.
Bug fixes are priority,... adding something can wait.
We will use it once the tests with Server Launcher are complete
Many thanks, Stern
I was thinking if it's possible to use different maplists, for the Server Manager Client, so the mission selection is from a mpmaplist you can pick. The actual missions would also have to be available in the mpmaplist... I know duplicate stuff is not good
Would it make sense to separate the problem and simply create a program that handles maplists? This way regular users have access to the up-to-date =RpR= mpmaplist and it will be super easy to suggest or make maplists. All they need would be the program .exe and the mpmaplist.txt we provide.
I've checked the simple functionality of the H&D2 Server Launcher and I see the it saves configs inside a directory called ServerConfigs. I don't think it's reading anything from the files there, since there is now way to actually Stop or Restart the server.
What I would like you guys to think about is, if we can import maplist files created with the new Maplist Maker tool, that would contain only the list of missions depending on style... similar functionality to the Mod Manager. Both this Maplist Maker and the Server Manager Client will use the same mpmaplist.txt, but since there is still the buffer problem, we can import shorter lists made with a different program.
Program for maplist ?
I cannot understand it why ?
To create server configs ?
You can resume using S-M 2.9.1
If it doesnt create any problems then nothing new really needed, just keep maplist under252 maps.
This list contains map names and gamestyle names: it means if 4 gamestyles are present in maplist then map count is 4 less than actual count, seen it server-log.