We crown ourselves

Royal Para Regiment

H&D2 Server Manager Source Code

More
4 years 5 months ago #49 by JonnySniper
Replied by JonnySniper on topic H&D2 Server Manager Source Code
Hey dudes :)

i was off for a while.
if Stern needs help in coding, you can ask me.
A good friend of mine is programer in a Company and he knows delphi much better than me (in case i dont have a clue).

First Question is, why did you compile that with old Delphi 5 instead of using the new version?

Second is, isnt the 255 problem maybe becouse of the byte value that doesnt count higher?

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

More
4 years 5 months ago - 4 years 5 months ago #50 by Stern
Replied by Stern on topic H&D2 Server Manager Source Code
1. It doesnt open in new-up to date Delphi.
Try it u see what happens,
Its wise to re-compile it as it is, and then olny fix errors.
This way i know it works.

2. Yes its data type limit.
 

Both buffers are set to BYTE (pointer), in HD2ServerService.pas (server) / Main.pas (client)
but changing them to WORD produced rubbish data.
More changes must be made to make it work...

The one who hesitates is lost !
Last edit: 4 years 5 months ago by Stern.
The following user(s) said Thank You: snowman

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

More
4 years 5 months ago #51 by JonnySniper
Replied by JonnySniper on topic H&D2 Server Manager Source Code
i allready opend and compiled it.
in the serveral years some deklarations about Ansichar changed, its just simply chance PChar to Ansichar.
Then the Bytesreaded need to chagne from Cardinal to SIZE_T.

Yes i saw thats in byte, but that it ends with the bit size of 255 must be a small change, just need to find i think.


 
The following user(s) said Thank You: snowman

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

More
4 years 4 months ago #52 by Stern
Replied by Stern on topic H&D2 Server Manager Source Code
But can you fix this yourself ?
If it compiles then future fixes can be done with up-to-date Delphi versions.

But i was thinking if to create extended version of ServerLauncher.
It would be only server side program with additional features:
*Restart Console if it closes itself.
*Send messages to Consoles.

Also it will use separate maplist files for each Console.
Maybe this can make it more friendly for non-MS op systems.

 

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.

More
4 years 2 months ago - 4 years 2 months ago #53 by Stern
Replied by Stern on topic H&D2 Server Manager Source Code
Here is a clean version of source code of version 2.9.1 (Fixed with Borland Delphi 5.62)

(Who ever want to continue,  there is no point of starting again from original 2.9 version)

https://1drv.ms/u/s!Aj4b71jV4JhLgylsWx4oNKdn93U4?e=9wBwGf

 

The one who hesitates is lost !
Last edit: 4 years 2 months ago by Stern.
The following user(s) said Thank You: snowman

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

More
4 years 2 months ago #54 by Maletzki
Replied by Maletzki on topic H&D2 Server Manager Source Code
Does anyone have a working installer for Delphi 5? The one I used didnt even started the installation on Windows 10 (also tried WinXP SP3 compatibility mode)

Playing H&D2 since 2007.

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

  • Pozytywnefloow in 2 days
  • Zbyl in 2 days
  • Matheo in 3 days
Powered by Kunena Forum
The RPR Clan gaming community has long been known to fans of action battles and online battles. Fans of dynamic games gather here to share their experiences, participate in competitions, and enjoy the atmosphere of teamwork. Every evening, players from different countries can be found on the server, which makes the process even more interesting and unpredictable. Interestingly, gaming often intersects with other areas of entertainment. For example, in the world of casinos, special attention is paid not only to the thrill of gambling, but also to the design of the venues, where every detail creates a unique atmosphere. In this regard, it is worth paying attention to the article on how the world's most impressive casinos are created and what elements allow them to make such a strong impression on visitors — ahouseinthehills.com. The article reveals architectural solutions, gaming spaces, and aesthetic approaches that can surprise even those who are far from the gambling industry. Thus, both the esports community and the casino world share a common idea: to create a space where people can fully immerse themselves in the atmosphere, feel the thrill, and experience vivid emotions. RPR Clan gives this to its players through online battles, and the world's best casinos do so through their unique design and atmosphere.