|
Post by Pilot on Mar 1, 2023 15:47:31 GMT -5
. . . . . . . . . . . . . . . . . .
I don't know how to say this. . . but Hardwar has. . . bugs. . .
A moment of silence to take that in. . .
|
|
|
Post by Pilot on Mar 1, 2023 15:47:37 GMT -5
So the pause menu is bugged, YAH!
After you pause the game, in windowed mode at least the pause menu wants to stay up.
Clicking continue again or pressing ESC just allows the time counter at the bottom to advance a few seconds.
I've noticed that pressing other keys, EXCEPT ESC or LEFT MOUSE button will unfreeze the game. Time also passes after you press ESC or Continue while the menu is frozen.
WORK AROUND: Press any key (only tested alpha buttons), except ESC or LEFT mouse button.
|
|
|
Post by Pilot on Mar 1, 2023 15:47:40 GMT -5
Since I was curious about checking price manifest on radar I decided to load Hardwar. Well I happened to have a folder or my search program, EVERYTHING awesome drive indexer with little overhead usage. . . Remember Steam don't allow for multiple instances, but this isn't a problem since no DRM crap, just open your Hardwar folder and run another instance from there. By now your starting to that my mind is traveling in circles and how that I reached this discover. Haahah. . . Anyway I saw a copy of MSGCv9.exe.remove so I decided to copy it over to my (STEAM) Hardwar folder and run it. All great till,  so I opened my windows registry, don't do this if you are not confident, and always make a backup of what you are considering changing. I changed that to my Hardwar folder, ran MSGC again same error. Then I remembered seeing /t: somewhere. . . I was thinking this forum. I ran a search, it shouldn't be here. 1Tested Dedicated Server from Hardman, it works. X Tested adding a USB and changing it's drive to T. This didn't work. I changed my Hardwar folder to Group by Type, to hide the dlls and stuff I wasn't looking for, and noticed Hardwar_english_installscript.vdf again. Maybe this is where I saw it? "installscript" { "Registry" { "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\DirectPlay\\Applications\\Hardwar" { "string" { "Guid" "{E6DD6F43-A275-11d1-BBAC-00400513BC61}" "file" "HardwarW" [b]"CommandLine" [u]"/t:lobby"[/u][/b] "CurrentDirectory" "%INSTALLDIR%" "path" "%INSTALLDIR%" } } [code]
1: Or I Might have seen it on steam's community?
It seems that /t: is a code function. . .
EDIT 3: Current Work around, Hardwar Server on alternate computer, server, or VM that has not been installed via Steam, not sure about other platforms.
Ah Right, does anyone know how to start a VDF script?
|
|
|
Post by Pilot on Mar 1, 2023 15:47:44 GMT -5
MSGCv9.c source
/*Code by Duncan Function to start or to restart a dedicated servergame, designed to work when msgc is started or while running. When started, will check for existence of savegame, if exist then will 'loadded', otherwise it will start a new server game with 'newded'. Reads RunPath and SavePath from registry, needed for commandline to start dedicated server */ void startDedicated (char strSavName[256]){
FILE * savegame;
char strHWexe[64] = "hardwarw.exe"; char strCmdLine[256] = "\0"; char strSavExtension[5] = ".sav\0";
HKEY MyKey; DWORD VarType = REG_SZ; //the value's a REG_SZ type DWORD BuffSize = 2048; char *strRunPath = malloc(BuffSize); char *strSavPath = malloc(BuffSize);
if (RegOpenKeyEx(HKEY_CURRENT_USER,"Software\\Refinery\\hardman\\Config\0", 0, KEY_READ, &MyKey) != ERROR_SUCCESS) printf("\n\nopen regkey fail"); if (RegQueryValueEx(MyKey,"RunPath\0",NULL,&VarType,strRunPath,&BuffSize) != ERROR_SUCCESS) printf("\n regread runpath fail"); if (RegQueryValueEx(MyKey,"SavePath\0",NULL,&VarType,strSavPath,&BuffSize) != ERROR_SUCCESS) printf("\n regread savpath fail");
RegCloseKey (MyKey);
OutPut("\n",1);OutPutRealTime(1);OutPut(" - Registry RunPath",1);OutPut(strRunPath,1);OutPut("\n",1); OutPut("\n",1);OutPutRealTime(1);OutPut(" - Registry SavPath",1);OutPut(strSavPath,1);OutPut("\n",1);
//Test for .sav extension, hardwar generates a fatal error without it if (strSavName[strlen(strSavName) - 4] != 0x2E) strcat(strSavName, strSavExtension);
//Test if savegame file exist by opening the file. The proper commandline is // chdir(strSavPath); //crashes hardwar server initialisation upon loading game palette, therfore concatenating savname to savpath strcat(strSavPath, strSavName); savegame = fopen(strSavPath, "rb"); if (savegame == NULL){ strcpy(strCmdLine, "[b]/t:newded[/b] \""); OutPut("\n",1); OutPutRealTime(1); OutPut(" - Did not find, starting new dedicated server game",1); OutPut(strSavName,1); } else { strcpy(strCmdLine, "[b]/t:loadded[/b] \""); OutPut("\n",1); OutPutRealTime(1); OutPut(" - Found, restarting dedicated server game",1); OutPut(strSavName,1); fclose(savegame); }
//Create commandlines for spawn function strcat(strRunPath, strHWexe);
strcat(strCmdLine, strSavPath); strcat(strCmdLine, "\"");
OutPut("\n",1); OutPutRealTime(1); OutPut(" - Starting: ",1); OutPut("\n ",1); OutPut(strRunPath,1); OutPut(strCmdLine,1); printf(strCmdLine);
spawnl(_P_NOWAIT, strRunPath, strHWexe, strCmdLine, NULL);
OutPut("\n\n",-1);OutPutRealTime(-1); OutPut(" - Launch server",-1);
return; }
This starts at line 4825 of the source.
|
|
|
Post by Pilot on Mar 1, 2023 15:47:47 GMT -5
While playing around with the above I noticed that when I ran HardwarEopt.exe, the values displayed and the values in the HardwarEopt.txt do not match.
HardwarEopt.exe
1st Data path C:\Programs\Steam\steamapps\common\Hardwar\DATA 2nd Data path C:\Programs\Steam\steamapps\common\Hardwar\DATA Run Path C:\Programs\Steam\steamapps\common\Hardwar Save Path C:\Programs\Steam\steamapps\common\Hardwar\Savegames Skin Path C:\Programs\Steam\steamapps\common\Hardwar\ Source Path C:\Programs\Steam\steamapps\common\Hardwar
HardwarEopt.txt
[Paths] DataPath, 1st Data path, string,D:\games\Hardwar\ DataPath2, 2nd Data path, string,D:\games\Hardwar\HardwarCD\ RunPath, Run Path, string,D:\games\Hardwar\ SavePath, Save Path, string,D:\games\Hardwar\ SkinDir, Skin Path, string,D:\games\Hardwar\ SourcePath, Source Path string,D:\games\Hardwar\HardwarCD\
These values being wrong, COULD mean that HardwarEopt may not be, or be able, to write/change the correct register directory.
|
|
|
Post by Pilot on Mar 1, 2023 15:47:51 GMT -5
5 Place holders for bugs.
|
|