H&D2 Server Manager Source Code
- snowman
- Topic Author
- Offline
- Your most dear friend.
Less
More
3 years 7 months ago #37
by snowman
"Straight and narrow is the path."
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.
- Stern
- Offline
Less
More
- Posts: 746
- Thank you received: 569
3 years 7 months ago #38
by Stern
The one who hesitates is lost !
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.
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 !
The following user(s) said Thank You: snowman
Please Log in or Create an account to join the conversation.
- Stern
- Offline
Less
More
- Posts: 746
- Thank you received: 569
3 years 7 months ago #39
by Stern
The one who hesitates is lost !
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
(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.
- snowman
- Topic Author
- Offline
- Your most dear friend.
3 years 7 months ago #40
by snowman
"Straight and narrow is the path."
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
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.
- snowman
- Topic Author
- Offline
- Your most dear friend.
3 years 7 months ago - 3 years 7 months ago #41
by snowman
"Straight and narrow is the path."
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.
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."
Last edit: 3 years 7 months ago by snowman.
Please Log in or Create an account to join the conversation.
- Stern
- Offline
Less
More
- Posts: 746
- Thank you received: 569
3 years 7 months ago #42
by Stern
The one who hesitates is lost !
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.
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.
Birthdays
- Tecnom
- Hellcat in 3 days
- Winters in 4 days
- Alexliberty in 5 days
- Mizha in 9 days
- British Bulldog in 10 days