Jump to content

Xeromus

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Xeromus

  1. I sat down and corrected the code for Epoch/Original/Lite but didn't even look at the Reality code.

     

    A quick fix is detailed below:

    1. Navigate to the following folder: PrivateHiveTools\include\function\eol
    2. Open the following file: survivor_editor.func.php
    3. Go down to line 184 or find the following line of code:
      if ( isset($_POST['find']) && !empty($_POST['find']) ) {
    4. Replace the following:
                 if ( isset($_POST['find']) && !empty($_POST['find']) ) {
                  $WHERE = "`Character_DATA`.`InstanceID` = '".(int)$INSTANCE."' AND `Character_DATA`.`PlayerUID` = '".secure($_POST['find'])."' OR `Player_DATA`.`PlayerName` = '".secure($_POST['find'])."' ";
                 } else {
                  $WHERE = "`Character_DATA`.`InstanceID` = '".(int)$INSTANCE."' AND `Character_DATA`.`PlayerUID` = '".$PLAYERUID."'";
                 }
      With either of the following (Explainations of each found below)
      Option 1: Show only the last generation (Will show the last character regardless of being Alive or Dead)
                 if ( isset($_POST['find']) && !empty($_POST['find']) ) {
                  $WHERE = "`Character_DATA`.`InstanceID` = '".(int)$INSTANCE."' AND `Character_DATA`.`PlayerUID` = '".secure($_POST['find'])."' OR `Player_DATA`.`PlayerName` = '".secure($_POST['find'])."' ORDER BY `Character_DATA`.`Generation` DESC";
                 } else {
                  $WHERE = "`Character_DATA`.`InstanceID` = '".(int)$INSTANCE."' AND `Character_DATA`.`PlayerUID` = '".$PLAYERUID."' ORDER BY `Character_DATA`.`Generation` DESC" ;
      Option 2: Show only the living generation (Will cause errors on players who have died and left the server before making a new life)
                 if ( isset($_POST['find']) && !empty($_POST['find']) ) {
                  $WHERE = "`Character_DATA`.`InstanceID` = '".(int)$INSTANCE."' AND `Character_DATA`.`Alive` = '1' AND `Character_DATA`.`PlayerUID` = '".secure($_POST['find'])."' AND `Player_DATA`.`PlayerName` = '".secure($_POST['find'])."' ";
                 } else {
                  $WHERE = "`Character_DATA`.`InstanceID` = '".(int)$INSTANCE."' AND `Character_DATA`.`Alive` = '1' AND `Character_DATA`.`PlayerUID` = '".$PLAYERUID."'";
                 }

     

    Option 1 will order the final table by generation and then reverse the order to ensure the newest generation is on top. This causes the program to select the latest generation instead of the earliest.

    Option 2 will force the final table to include only surviving survivors, thus ignoring any dead survivors.  The downside is an error will be generated if the player had left the server after their final death.

     

     

    I hope this helps others that encountered my problem!

  2. Sorry to double post but I have a question and did not want to merge a question with a reply to another post.

     

    I am starting to dig through the code now to try and correct this but currently the Survivor Editor seems to select the earliest generation of a character versus the latest generation.  This causes a problem in that if I am trying to see what gear a potential hacker has I can only see their earliest generation, not their latest survivor (the one most likely alive).  Did I miss something to allow me to select a generation or was this done with a purpose in mind?

     

    Thanks for any help!

  3. okay i figured it out i didn't have the BEserver.cfg file for some reason added it and set my PW now my Rcon connects and i can see the tool connect with dart "BUT" 

    im still not able to the any database info eg people,cars,object any ideas? 

     

    My guess would be you have entered the wrong DayZ Server Instance in the settings page.  Change that to your correct Instance ID and it will fix the issue as I am willing to bet that is your problem.

×
×
  • Create New...