H&D2 Server Manager Source Code

2 years 11 months ago #37 by snowman
Replied by snowman on topic H&D2 Server Manager Source Code
At least in the VTM mod case, you're right about that number... at 256 maps, it breaks.

 

"Straight and narrow is the path."

Please Log in or Create an account to join the conversation.

2 years 11 months ago #38 by Stern
Replied by Stern on topic H&D2 Server Manager Source Code
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.

The one who hesitates is lost !
Attachments:
The following user(s) said Thank You: snowman

Please Log in or Create an account to join the conversation.

2 years 11 months ago #39 by Stern
Replied by Stern on topic H&D2 Server Manager Source Code
First release of fixed ServerManager2.9
(Fixes list included)

***mpmaplist.txt map amount limit is not fixed !

Server Manager 2.9.1.1

The one who hesitates is lost !
The following user(s) said Thank You: snowman

Please Log in or Create an account to join the conversation.

2 years 11 months ago #40 by snowman
Replied by snowman on topic H&D2 Server Manager Source Code
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

"Straight and narrow is the path."

Please Log in or Create an account to join the conversation.

2 years 11 months ago - 2 years 11 months ago #41 by snowman
Replied by snowman on topic H&D2 Server Manager Source Code
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.

"Straight and narrow is the path."
Attachments:

Please Log in or Create an account to join the conversation.

2 years 11 months ago #42 by Stern
Replied by Stern on topic H&D2 Server Manager Source Code
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.

The one who hesitates is lost !
The following user(s) said Thank You: snowman

Please Log in or Create an account to join the conversation.

  • Lukasz birthday is in 6 days (41)
Powered by Kunena Forum