[Help] When starting MiniA.exe

Results 1 to 13 of 13
  1. #1
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    [Help] When starting MiniA.exe

    Hey, if I start the MiniA.exe I get the error "HackShield Load Failed. Wrong Version."

    How can I fix it?
    Last edited by DNC; 16-06-14 at 01:07 AM.


  2. #2
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: @DNC When starting MiniA.exe

    I'm going to need a lot more information than that bro.
    Are you launching the client from someone else launcher?
    Is the launcher your own and in the bin folder?
    Is this localhost or public IP?
    Which version and what update number are you using?
    An r3dlog.txt file in code blocks would be helpful.
    A screenshot of the folder layout and one of the error on top of the r3dlog.txt would be a bit more helpful as well.
    Use the @DNC when you reply.
    Thank you

  3. #3
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    Re: @DNC When starting MiniA.exe

    @DNC Screenshot of my Folder & Error: http://s1.directupload.net/images/140615/uxjy2wo9.png

    Are you launching the client from someone else launcher?

    No, from yours.

    Is the launcher your own and in the bin folder?

    No, the launcher is in own folder.

    Is this localhost or public IP?

    Localhost.

    Which version and what update number are you using?

    The original version of your community release.

    r3dlog:
    000000.000| Input Devices enabled: Mouse, Keyboard
    000000.036| VMEM As seen through DDRaw: 965
    000000.036| VMEM As seen through WMI: 0
    000000.049| We have 4033 MB texture memory
    000000.049| r3dFont: Creating Verdana 10pt
    000000.050| r3dFont: Finished creating Verdana 10pt
    000000.050| r3dFont: Creating Tahoma 12pt
    000000.052| r3dFont: Finished creating Tahoma 12pt
    000000.052| r3dFont: Creating Tahoma 10pt
    000000.053| r3dFont: Finished creating Tahoma 10pt
    000000.053| r3dFont: Creating Tahoma 9pt
    000000.055| r3dFont: Finished creating Tahoma 9pt
    000000.267| Starting updater, v:1.0.0, cmd:
    000000.268| Checking for new updater
    000000.271| Checking for new updater - finished
    000003.337| Checking for game update
    000003.345| Checking for game update - finished
    000003.346| Opening game data
    000003.369| r3dFS: version:June 15, 2014 11:24, 25514 files
    000003.432| r3dFS: version:June 15, 2014 11:24, 25514 files
    000003.478| Opening game data - finished
    000003.478| current build version=1175391000, updater data version=1175391000
    000003.478| WaitReadyToPlay!
    000004.416| Checking for game update
    000004.418| Checking for game update - finished
    000004.431| CUpdater::Stop()
    000004.431| Starting game
    000004.460| 2fdd29f3 9434112
    000004.460| OS Version: 6 2
    Last edited by awerakz; 15-06-14 at 02:18 PM.

  4. #4
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: @DNC When starting MiniA.exe

    Copy the HackShield folder from the WZ\bin folder into this folder.
    Not the HShield folder from External.
    Also, you may want to modify your RSBuild.xml file.
    I'll post it here, as well as my Release thread.
    As I've updated it to include HackShield folder just last night.
    Last edited by DNC; 15-06-14 at 02:29 PM.

  5. #5
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    Re: @DNC When starting MiniA.exe

    @DNC If I copy the "HackShield" Folder from C:/WZ/Bin into the folder I get this: HackShield Start Error. HShield is missing from your computer(Error Code = 516).

  6. #6
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: @DNC When starting MiniA.exe

    Modified both here and Release thread please re-read.


    Spoiler:

    Code:
    <build>
     <output dir="build\data"/>
     
     <cdn url="http://127.0.0.1/wz/data/"/>
    
     <!--  set base archive for incremental update  -->
     <!-- <base file="build\data\wz4119100A"/>   -->
    
    
    <!-- include EULA file -->
    <include mask="eula-en.htm"/>
    <include mask="eula-en.rtf"/>
    <include mask="Data\LangPack\dictionary.txt"/>
    <include mask="HShield"/>
    <!-- excludes for this package files (just in case they was created in this dir -->
    <exclude mask="WZ_*.bin"/>
    
    
    <!-- excludes for debug files -->
    <exclude mask="r3dlog.txt"/>
    <exclude mask="game.ini"/>
    <exclude mask="reports.txt"/>
    <exclude mask="MasterServer_ccu.txt"/>
    <exclude mask="*.pdb"/>
    <exclude mask="*.exp"/>
    <exclude mask="*.lib"/>
    <exclude mask="*.bat"/>
    <exclude mask="*.vmp"/>
    
    <!-- excludes for other binaries -->
    <exclude mask="Studio*.*"/>
    <exclude mask="MasterServer.*"/>
    <exclude mask="MasterServer_Rent.*"/>
    <exclude mask="RentFullDir.cfg"/>
    <exclude mask="GameServer.*"/>
    <exclude mask="SupervisorServer.*"/>
    <exclude mask="RSBuild.*"/>
    <exclude mask="RSUpdate.*"/>
    <exclude mask="Launcher.exe"/>
    <exclude mask="Launcher.exe_1.0.0.exe"/>
    <exclude mask="WZAdmin.*"/>
    <exclude mask="WarZ_unpack.exe"/>
    <exclude mask="*.log"/>
    <exclude mask="*.suo"/>
    <exclude mask="*.bat"/>
    <exclude mask="gameSettings.ini"/>
    <exclude mask="local.ini"/>
    <exclude mask="windows_error_report_mapping.xml"/> 
    
    <!-- Dlls -->
    <exclude mask="PhysX3CharacterKinematic_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicPROFILE_x86.dll"/> 
    <exclude mask="PhysX3CHECKED_x86.dll"/> 
    <exclude mask="PhysX3CommonCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CommonDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CommonPROFILE_x86.dll"/> 
    <exclude mask="PhysX3CookingCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CookingDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CookingPROFILE_x86.dll"/> 
    <exclude mask="PhysX3DEBUG_x86.dll"/> 
    <exclude mask="PhysX3GpuCHECKED_x86.dll"/> 
    <exclude mask="PhysX3GpuDEBUG_x86.dll"/> 
    <exclude mask="PhysX3GpuPROFILE_x86.dll"/> 
    
    
    <!-- Dlls -->
    <include mask="ApexFramework_x86.dll"/>
    <include mask="avcodec-52.dll"/>
    <include mask="avformat-52.dlll"/>
    <include mask="avutil-50.dll"/>
    <include mask="CrashRpt1301.dll"/>
    <include mask="cudart32_32_16.dll"/>
    <include mask="dbghelp.dll"/>
    <include mask="fmod_event.dll"/>
    <include mask="fmod_event_net.dll"/>
    <include mask="fmod_event_netL.dll"/>
    <include mask="fmod_eventL.dll"/>
    <include mask="fmodex.dll"/>
    <include mask="fmoxedL.dll"/>
    <include mask="icudt46.dll"/>
    <include mask="PhysX3_x86.dll"/>
    <include mask="PhysX3Common_x86.dll"/>
    <include mask="PhysX3Cooking_x86.dll"/>
    <include mask="PhysX3Gpu_x86.dll"/>
    <include mask="PhysX3PROFILE_x86.dll"/>
    <include mask="steam_api.dll"/>
    <include mask="VMProtectSDK32.dll"/>
    <include mask="APEX_Loader_x86.dll"/>
    
    <!-- excludes for build directories -->
    <exclude mask="1"/>
    <exclude mask="build"/>
    <exclude mask="logs"/>
    <exclude mask="bin"/>
    <exclude mask="server"/>
    <exclude mask="tools"/>
    <exclude mask="logs"/>
    <exclude mask="logms"/>
    <exclude mask="logss"/>
    <exclude mask="logsv"/>
    <exclude mask="HackShield"/>
    
    </build>


    @awerakz
    I've edited the RSBuild.xml file found above.
    This is what you should do.
    Copy bin\HackShield to bin\HShield
    Leave both copies
    1 is for the server
    1 is for the client to build bins properly
    The modified (withing 2 minutes ago) RSBuild.xml file will "include" HShield in bins and "exclude" HackShield (since only server needs it)
    Last edited by DNC; 15-06-14 at 02:31 PM.

  7. #7
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    Re: @DNC When starting MiniA.exe

    @DNC Okay if I rename the "HackShield" Folder to "HShield" I get "HackShield Load Failed. Wrong Version." again.

  8. #8
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: @DNC When starting MiniA.exe

    my error

    HackShield Start Error. HShield is missing from your computer(Error Code = 512).

    i will re build client with new rsbuild.xml

  9. #9
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: @DNC When starting MiniA.exe

    For those trying to get clients (not in the same folder as the server) to add HackShield properly into bins.

    I've updated my RSBuild.xml file to include HackShield and HShield folders.

    These are the steps required to get a TESTED 100% Successful setup of HackShield.


    1. Copy WZ\src\External\HShield to WZ\bin folder
    2. Open the folder WZ\bin\HShield and delete the following folders
    (a) Developer\Lib
    (b) Doc
    (c) Include
    (d) Lib
    (e) Sample
    3. Copy the RSBuild.xml within spoiler tags and code blocks.
    4. Paste the copied data into your current WZ\bin\build\RSBuild.xml file (Replacing everything inside)
    5. Remove your old *.bins and wz.xml file from WZ\bin\build\data
    6. Remove your old wz.xml file from WZ\bin\build
    7. Remove your client folders current wz_*.bin files
    8. Run RSBuild.exe
    9. Enjoy a resolution

    This is going to add both HShield and HackShield appropriately to your *.bin files
    Using only the launcher itself, you'll be able to full patch and have a copy of both the HackShield folders in their proper location.





    ***Please, DO NOT use other HShield files from other sources and expect me to solve the issues***

    I've received several PM's and a couple negative comments about my "post".
    Let me assure you, if you have Not downloaded or used someone else HShield files, you wont have this issue.
    I've deleted and finished testing going through the same steps as are recorded in the video above.

    If you think you might have used someone else HShield or "ANY" other files in combination with these files.
    I would highly recommend you move the entire WZ folder to a new location.
    Start over at the beginning and test "out of the box no modifications" and see what I'm saying.
    Any modifications afterwards are subject to the Help section.




    Here is the Updated RSBuild.xml file

    Spoiler:

    Code:
    <build>
     <output dir="build\data"/>
     
     <cdn url="http://127.0.0.1/wz/data/"/>
    
     <!--  set base archive for incremental update  -->
     <!-- <base file="build\data\wz4119100A"/>   -->
    
    
    <!-- include EULA file -->
    <include mask="eula-en.htm"/>
    <include mask="eula-en.rtf"/>
    <include mask="Data\LangPack\dictionary.txt"/>
    <!-- excludes for this package files (just in case they was created in this dir -->
    <exclude mask="WZ_*.bin"/>
    
    
    <!-- excludes for debug files -->
    <exclude mask="r3dlog.txt"/>
    <exclude mask="game.ini"/>
    <exclude mask="reports.txt"/>
    <exclude mask="MasterServer_ccu.txt"/>
    <exclude mask="*.pdb"/>
    <exclude mask="*.exp"/>
    <exclude mask="*.lib"/>
    <exclude mask="*.bat"/>
    <exclude mask="*.vmp"/>
    
    <!-- excludes for other binaries -->
    <exclude mask="Studio*.*"/>
    <exclude mask="MasterServer.*"/>
    <exclude mask="MasterServer_Rent.*"/>
    <exclude mask="RentFullDir.cfg"/>
    <exclude mask="GameServer.*"/>
    <exclude mask="SupervisorServer.*"/>
    <exclude mask="RSBuild.*"/>
    <exclude mask="RSUpdate.*"/>
    <exclude mask="Launcher.exe"/>
    <exclude mask="Launcher.exe_1.0.0.exe"/>
    <exclude mask="WZAdmin.*"/>
    <exclude mask="WarZ_unpack.exe"/>
    <exclude mask="*.log"/>
    <exclude mask="*.suo"/>
    <exclude mask="*.bat"/>
    <exclude mask="gameSettings.ini"/>
    <exclude mask="local.ini"/>
    <exclude mask="windows_error_report_mapping.xml"/> 
    
    <!-- Dlls -->
    <exclude mask="PhysX3CharacterKinematic_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicPROFILE_x86.dll"/> 
    <exclude mask="PhysX3CHECKED_x86.dll"/> 
    <exclude mask="PhysX3CommonCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CommonDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CommonPROFILE_x86.dll"/> 
    <exclude mask="PhysX3CookingCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CookingDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CookingPROFILE_x86.dll"/> 
    <exclude mask="PhysX3DEBUG_x86.dll"/> 
    <exclude mask="PhysX3GpuCHECKED_x86.dll"/> 
    <exclude mask="PhysX3GpuDEBUG_x86.dll"/> 
    <exclude mask="PhysX3GpuPROFILE_x86.dll"/> 
    
    
    <!-- Dlls -->
    <include mask="ApexFramework_x86.dll"/>
    <include mask="avcodec-52.dll"/>
    <include mask="avformat-52.dlll"/>
    <include mask="avutil-50.dll"/>
    <include mask="CrashRpt1301.dll"/>
    <include mask="cudart32_32_16.dll"/>
    <include mask="dbghelp.dll"/>
    <include mask="fmod_event.dll"/>
    <include mask="fmod_event_net.dll"/>
    <include mask="fmod_event_netL.dll"/>
    <include mask="fmod_eventL.dll"/>
    <include mask="fmodex.dll"/>
    <include mask="fmoxedL.dll"/>
    <include mask="icudt46.dll"/>
    <include mask="PhysX3_x86.dll"/>
    <include mask="PhysX3Common_x86.dll"/>
    <include mask="PhysX3Cooking_x86.dll"/>
    <include mask="PhysX3Gpu_x86.dll"/>
    <include mask="PhysX3PROFILE_x86.dll"/>
    <include mask="steam_api.dll"/>
    <include mask="VMProtectSDK32.dll"/>
    <include mask="APEX_Loader_x86.dll"/>
    
    <!-- excludes for build directories -->
    <exclude mask="1"/>
    <exclude mask="build"/>
    <exclude mask="logs"/>
    <exclude mask="bin"/>
    <exclude mask="server"/>
    <exclude mask="tools"/>
    <exclude mask="logs"/>
    <exclude mask="logms"/>
    <exclude mask="logss"/>
    <exclude mask="logsv"/>
    
    <!-- include for Hackshield directories -->
    <include mask="HackShield"/>
    <include mask="HShield"/>
    <include mask="*.ui"/>
    <include mask="*.aht"/>
    <include mask="*.ahc"/>
    <include mask="ahnrpt.ini"/>
    <include mask="bldinfo.ini"/>
    <include mask="Amazon.ini"/>
    <include mask="BldInfo.ini"/>
    <include mask="HSBGen.ini"/>
    <include mask="*.hsb"/>
    <include mask="*.id"/>
    <include mask="*.env"/>
    <include mask="*.mhe"/>
    <include mask="*.msd"/>
    <include mask="*.key"/>
    <include mask="*.scd"/>
    <include mask="*.uic"/>
    
    </build>



    Open RSBuild.sln
    File r3dFSBuilder.cpp
    Search for:
    DWORD r3dFSBuilder::DetectFileFlags(const char* fname)

    Replace Entire code block with what is in the spoiler/code tags:

    Spoiler:

    Code:
    DWORD r3dFSBuilder::DetectFileFlags(const char* fname)
    {
      if(pattern_match(fname, "*.exe") || 
         pattern_match(fname, "*.dll") || 
    	 pattern_match(fname, "DirectX.dll") || 
    	 pattern_match(fname, "d3d11x.dll") || 
    	 pattern_match(fname, "*.bmp") || 
            pattern_match(fname, "*.manifest") || 
            pattern_match(fname, "crashrpt*.ini") ||
    	 pattern_match(fname, "*.ui") ||
    	 pattern_match(fname, "*.aht") ||
    	 pattern_match(fname, "*.ahc") ||
    	 pattern_match(fname, "*.hsb") ||
    	 pattern_match(fname, "*.id") ||
    	 pattern_match(fname, "*.env") ||
    	 pattern_match(fname, "*.mhe") ||
    	 pattern_match(fname, "*.msd") ||
    	 pattern_match(fname, "*.key") ||
    	 pattern_match(fname, "*.scd") ||
    	 pattern_match(fname, "*.uic") ||
    	 pattern_match(fname, "ahnrpt.ini") ||
    	 pattern_match(fname, "bldinfo.ini") ||
    	 pattern_match(fname, "Amazon.ini") ||
    	 pattern_match(fname, "BldInfo.ini") ||
    	 pattern_match(fname, "HSBGen.ini")
    	 )
      {
        return r3dFS_FileEntry::FLAG_EXTRACT;
      }
        
      return 0;
    }


    Rebuild ALL Solutions in the proper order.



  10. #10
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    Re: [Help] When starting MiniA.exe

    @DNC Thanks :) I recompiled all things and now it works :) Thank you very very very very much for your patience :)

  11. #11
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: [Help] When starting MiniA.exe

    fix

    pattern_match(fname, "HSBGen.ini")

    change to

    pattern_match(fname, "HSBGen.ini") )

  12. #12
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] When starting MiniA.exe

    Where are you getting the second ) at @javaz97?
    It wouldn't compile and my having a video if I were wrong.
    So you copy pasted incorrectly my friend.

    ;0)
    Please follow the instructions and use the "entire" code block I shared and replace your "entire" code block.
    Cheers

  13. #13
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: [Help] When starting MiniA.exe

    i can't see this sorry

    pattern_match(fname, "BldInfo.ini") ||
    pattern_match(fname, "HSBGen.ini")
    )
    {
    return r3dFS_FileEntry::FLAG_EXTRACT;
    }



Advertisement