H&D2 Server Manager Source Code

2 months 3 weeks 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.

2 months 3 weeks ago - 2 months 3 weeks 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 !
Attachments:
The following user(s) said Thank You: snowman

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

2 months 3 weeks 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.

2 months 2 weeks 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.

2 weeks 16 hours ago - 2 weeks 16 hours 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 !
The following user(s) said Thank You: snowman

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

2 weeks 4 hours ago #54 by ThomasTailor93
Replied by ThomasTailor93 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.

Powered by Kunena Forum

Next birthdays

  • MichalCzech birthday is today (29)
  • EnigmaTR birthday is in 1 day (24)
  • outis birthday is in 1 day (24)
  • Pipersniper birthday is in 2 days (31)
  • Shifter birthday is in 2 days (36)
  • Moods birthday is in 3 days (27)
  • zzy8888ok birthday is in 3 days (33)
  • Marcelo birthday is in 8 days (23)
  • norbert79 birthday is in 8 days (42)
 
 
 

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.