New hive- gender/tent fix

Discussion in 'Announcements' started by thevisad, Feb 10, 2013.

  1. thevisad

    thevisad Moderator Staff Member

    Joined:
    Dec 18, 2012
    Messages:
    627
    Likes Received:
    160
    Fix has been updated for vehicles not saving after the tent fix btw, its just a hive file.
     
  2. istealth

    istealth Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    190
    Likes Received:
    6
    this may sound dumb but to update it do i just rebuild another server?
     
  3. TheLaughingMan

    TheLaughingMan Well-Known Member

    Joined:
    Nov 8, 2012
    Messages:
    137
    Likes Received:
    13
    Is there a fix to the characters in UID issue?
     
  4. thevisad

    thevisad Moderator Staff Member

    Joined:
    Dec 18, 2012
    Messages:
    627
    Likes Received:
    160
    Not yet, I cannot identify a potential fix at the moment. Looking through the official hive, it's looking like this is an issue there as well as almost all of our code surrounding these aspects are the same.
     
  5. nohrt

    nohrt Member

    Joined:
    Nov 14, 2012
    Messages:
    44
    Likes Received:
    0

    were these changes implemented in your last commit? I tried with the last version of the hiveext.dll and i have same issues with custom inventory and gender load screens.

    I think the best possible solution would be if you had a custom inventory you just didnt get the gender loadscreen at all.
     
  6. thevisad

    thevisad Moderator Staff Member

    Joined:
    Dec 18, 2012
    Messages:
    627
    Likes Received:
    160
    None of these have been uploaded since they are not working 100% yet.
     
  7. TheLaughingMan

    TheLaughingMan Well-Known Member

    Joined:
    Nov 8, 2012
    Messages:
    137
    Likes Received:
    13
    You should just remove the gender screen fix. No one complains about it.
     
  8. thevisad

    thevisad Moderator Staff Member

    Joined:
    Dec 18, 2012
    Messages:
    627
    Likes Received:
    160
    Not everyone uses the custom inventory, I have spoken with a few users yesterday/today regarding that. Some don't have the option due to their host providers not offering this option. I would like to cover all basis on this.
     
  9. TheLaughingMan

    TheLaughingMan Well-Known Member

    Joined:
    Nov 8, 2012
    Messages:
    137
    Likes Received:
    13
    Well this was always designed for people that have full control over their machine... if hosters dont want to give that then it is their fault.
     
    Peep, JoSchaap and nohrt like this.
  10. nohrt

    nohrt Member

    Joined:
    Nov 14, 2012
    Messages:
    44
    Likes Received:
    0
    any news on a fixed dll??
     
  11. thevisad

    thevisad Moderator Staff Member

    Joined:
    Dec 18, 2012
    Messages:
    627
    Likes Received:
    160
    I am working on it, I lost a lot of time yesterday due to a bad power supply in my machine.
     
  12. nohrt

    nohrt Member

    Joined:
    Nov 14, 2012
    Messages:
    44
    Likes Received:
    0

    great! thanks!
     
  13. TheLaughingMan

    TheLaughingMan Well-Known Member

    Joined:
    Nov 8, 2012
    Messages:
    137
    Likes Received:
    13
    Please remove the gender screen stuff as it only causes issues. As it stands if a person has a custom inventory the backpack spawns on the ground. On top of that if a player does not have a custom inventory then it does not spawn them in with the inventory listed in the instance table. This means they just spawn in with the standard dayz loadout. PLEASE remove whatever you did as it caused so many issues for a feature that no one cares about. For reference I did all this testing on a new clean build from the repo. Here is the trace from a login with no custom inventory, if you look it doesn't even look at the instance table now for a new spawn.

    Code:
    2013-02-14 19:19:31 Database: [Trace] Query [1 ms] SQL: 'select s.`id` from `survivor` s join `instance` i on s.world_id = i.world_id and i.id = 4 where s.`unique_id` = '37854342' and s.`is_dead` = 0'
    2013-02-14 19:19:31 HiveExt: [Information] Created a new character 343147 for player 'TLM' (37854342)
    2013-02-14 19:19:31 HiveExt: [Information] Result: ["PASS",false,"343147","",0.96]
    2013-02-14 19:19:31 HiveExt: [Debug] Original params: |CHILD:999:select replace(cl.`inventory`, '"', '""') inventory, replace(cl.`backpack`, '"', '""') backpack, replace(coalesce(cl.`model`, 'Survivor2_DZ'), '"', '""') model from `cust_loadout` cl join `cust_loadout_profile` clp on clp.`cust_loadout_id` = cl.`id` where clp.`unique_id` = '?':["37854342"]:|
    2013-02-14 19:19:31 HiveExt: [Information] Method: 999 Params: select replace(cl.`inventory`, '"', '""') inventory, replace(cl.`backpack`, '"', '""') backpack, replace(coalesce(cl.`model`, 'Survivor2_DZ'), '"', '""') model from `cust_loadout` cl join `cust_loadout_profile` clp on clp.`cust_loadout_id` = cl.`id` where clp.`unique_id` = '?':[37854342]:
    2013-02-14 19:19:31 Database: [Trace] Query [0 ms] SQL: 'select replace(cl.`inventory`, '"', '""') inventory, replace(cl.`backpack`, '"', '""') backpack, replace(coalesce(cl.`model`, 'Survivor2_DZ'), '"', '""') model from `cust_loadout` cl join `cust_loadout_profile` clp on clp.`cust_loadout_id` = cl.`id` where clp.`unique_id` = '37854342''
    2013-02-14 19:19:31 HiveExt: [Information] Result: ["CustomStreamStart",0]
    2013-02-14 19:19:31 HiveExt: [Debug] Original params: |CHILD:203:343147:[["ItemFlashlight"],["ItemBandage","ItemPainkiller"]]:["DZ_Patrol_Pack_EP1",[],[]]:|
    2013-02-14 19:19:31 HiveExt: [Information] Method: 203 Params: 343147:[[ItemFlashlight],[ItemBandage,ItemPainkiller]]:[DZ_Patrol_Pack_EP1,[],[]]:
    2013-02-14 19:19:31 HiveExt: [Information] Result: ["PASS"]
    2013-02-14 19:19:31 Database: [Error] Error 1292 (Truncated incorrect DOUBLE value: '81538AX') in MySQLStmtExecute SQL: 'UPDATE `survivor` SET `inventory` = ? , `backpack` = ? WHERE `unique_id` = ? VALUES("[["ItemFlashlight"],["ItemBandage","ItemPainkiller"]]", "["DZ_Patrol_Pack_EP1",[],[]]", 343147)'
    2013-02-14 19:19:34 HiveExt: [Debug] Original params: |CHILD:102:343147:|
    2013-02-14 19:19:34 HiveExt: [Information] Method: 102 Params: 343147:
    2013-02-14 19:19:34 Database: [Trace] Query [0 ms] SQL: 'select s.`worldspace`, s.`medical`, s.`zombie_kills`, s.`headshots`, s.`survivor_kills`, s.`bandit_kills`, s.`state`, p.`humanity` from `survivor` s join `profile` p on s.`unique_id` = p.`unique_id` where s.`id` = 343147'
    2013-02-14 19:19:34 HiveExt: [Information] Result: ["PASS",[false,false,false,false,false,false,false,12000,[],[0,0],0],[0,0,0,0],["","aidlpercmstpsnonwnondnon_player_idlesteady04",36],[],-222588]
    2013-02-14 19:19:40 HiveExt: [Debug] Original params: |CHILD:103:37854342:343147:0:|
    2013-02-14 19:19:40 HiveExt: [Information] Method: 103 Params: 37854342:343147:0:
    2013-02-14 19:19:40 HiveExt: [Information] Result: ["PASS"]
    2013-02-14 19:19:40 Database: [Trace] PreparedRequest [79 ms] SQL: 'insert into `log_entry` (`unique_id`, `log_code_id`, `instance_id`) select ?, lc.id, ? from log_code lc where lc.name = ? VALUES("37854342", 4, "Login")'
    2013-02-14 19:19:48 HiveExt: [Debug] Original params: |CHILD:201:343147:[156,[7297.03,2317.24,0.000754595]]:[["ItemFlashlight"],["ItemPainkiller","ItemBandage"]]:["DZ_Patrol_Pack_EP1",[[],[]],[[],[]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]]:false:false:0:0:0:0:["","aidlpercmstpsnonwnondnon_player_idlesteady02",100]:0:0:"Bandit1_DZ":0:|
    2013-02-14 19:19:48 HiveExt: [Information] Method: 201 Params: 343147:[156,[7297.03,2317.24,7.546e-04]]:[[ItemFlashlight],[ItemPainkiller,ItemBandage]]:[DZ_Patrol_Pack_EP1,[[],[]],[[],[]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]]:false:false:0:0:0:0:[,aidlpercmstpsnonwnondnon_player_idlesteady02,100]:0:0:Bandit1_DZ:0:
    2013-02-14 19:19:48 HiveExt: [Information] Result: ["PASS"]
    2013-02-14 19:19:48 HiveExt: [Debug] Original params: |CHILD:103:37854342:343147:2:|
    2013-02-14 19:19:48 HiveExt: [Information] Method: 103 Params: 37854342:343147:2:
    2013-02-14 19:19:48 HiveExt: [Information] Result: ["PASS"]
    2013-02-14 19:19:48 Database: [Trace] PlainRequest [204 ms] SQL: 'update `survivor` s set s.`backpack` = '[\"DZ_Patrol_Pack_EP1\",[[],[]],[[],[]]]' , s.`inventory` = '[[\"ItemFlashlight\"],[\"ItemPainkiller\",\"ItemBandage\"]]' , s.`medical` = '[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]]' , s.`model` = 'Bandit1_DZ' , s.`state` = '[\"\",\"aidlpercmstpsnonwnondnon_player_idlesteady02\",100]' , s.`Worldspace` = '[156,[7297.03,2317.24,7.546e-04]]' where s.`id` = 343147'
    2013-02-14 19:19:48 Database: [Trace] PreparedRequest [165 ms] SQL: 'insert into `log_entry` (`unique_id`, `log_code_id`, `instance_id`) select ?, lc.id, ? from log_code lc where lc.name = ? VALUES("37854342", 4, "Disconnect")'
     
  14. nohrt

    nohrt Member

    Joined:
    Nov 14, 2012
    Messages:
    44
    Likes Received:
    0
    revert back to the old .dll

    You will have cust loadouts back but tents wont save. This is what im doing untill theirs a 100% fix for tents/loadouts/gender screen/998 queries.
     
  15. thevisad

    thevisad Moderator Staff Member

    Joined:
    Dec 18, 2012
    Messages:
    627
    Likes Received:
    160
    Gender fixes have been removed while keeping the tent fixes in place.
     
    nohrt likes this.
  16. MaRs

    MaRs Well-Known Member

    Joined:
    Oct 22, 2012
    Messages:
    121
    Likes Received:
    2
    Thanks. It's better this way :)
     
  17. istealth

    istealth Well-Known Member

    Joined:
    Jan 15, 2013
    Messages:
    190
    Likes Received:
    6
    i downloaded the new files and i dont see build server selection as #1 in the control_panel.cmd
     
  18. Richie

    Richie Valued Member!

    Joined:
    Jan 19, 2013
    Messages:
    378
    Likes Received:
    26
    You have to go through the database steps first
     
  19. TheLaughingMan

    TheLaughingMan Well-Known Member

    Joined:
    Nov 8, 2012
    Messages:
    137
    Likes Received:
    13
    Where is the commit for this, I do not see it.
     
  20. thevisad

    thevisad Moderator Staff Member

    Joined:
    Dec 18, 2012
    Messages:
    627
    Likes Received:
    160
    I added you on skype, its in a commit about 5-6 back.
     

Share This Page