Jump to content

Database Model Skin Problem


Backtrack

Recommended Posts

Isn't this the problem...

 

 0:03:38 "CHILD:201:140:[334,[11377.5,6135.44,0.0016987]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[19.4,50.9556]]:false:false:0:0:12059:0:["","aidlpercmstpsraswpstdnon_player_idlesteady03",42,[]]:0:0:Camo1_DZ:0:"

Shouldn't the skin Camo1_DZ have quotes around it?

 

Now to find where this line is written to dump.log

Link to comment
Share on other sites

  • 4 weeks later...

@*OCB* Trollspace: Do you have a link to see that this is a bug?

 

 

@ Albertus Smythe: In dayz_code/init/variables.sqf...is the skin contained in AllPlayers there? Is Camo1_DZ the name of the skin or was it just an example?

 

AllPlayers = ["Survivor2_DZ","SurvivorWcombat_DZ","SurvivorWdesert_DZ","SurvivorWurban_DZ","SurvivorWsequishaD_DZ","SurvivorWsequisha_DZ","SurvivorWpink_DZ","SurvivorW3_DZ","SurvivorW2_DZ","Bandit1_DZ","Bandit2_DZ","BanditW1_DZ","BanditW2_DZ","Soldier_Crew_PMC","Sniper1_DZ","Camo1_DZ","Soldier1_DZ","Rocket_DZ","Rocker1_DZ","Rocker2_DZ","Rocker3_DZ","Rocker4_DZ","Priest_DZ","Functionary1_EP1_DZ","GUE_Commander_DZ","Ins_Soldier_GL_DZ","Haris_Press_EP1_DZ","Pilot_EP1_DZ","RU_Policeman_DZ","pz_policeman","pz_suit1","pz_suit2","pz_worker1","pz_worker2","pz_worker3","pz_doctor","pz_teacher","pz_hunter","pz_villager1","pz_villager2","pz_villager3","pz_priest","Soldier_TL_PMC_DZ","Soldier_Sniper_PMC_DZ","Soldier_Bodyguard_AA12_PMC_DZ","Drake_Light_DZ","CZ_Special_Forces_GL_DES_EP1_DZ","TK_INS_Soldier_EP1_DZ","TK_INS_Warlord_EP1_DZ","FR_OHara_DZ","FR_Rodriguez_DZ","CZ_Soldier_Sniper_EP1_DZ","Graves_Light_DZ","GUE_Soldier_MG_DZ","GUE_Soldier_Sniper_DZ","GUE_Soldier_Crew_DZ","GUE_Soldier_CO_DZ","GUE_Soldier_2_DZ","TK_Special_Forces_MG_EP1_DZ","TK_Soldier_Sniper_EP1_DZ","TK_Commander_EP1_DZ","RU_Soldier_Crew_DZ","INS_Lopotev_DZ","INS_Soldier_AR_DZ","INS_Soldier_CO_DZ","INS_Bardak_DZ","INS_Worker2_DZ"];

 

If it's NOT in AllPlayers array it will be overwritten in dayz_serber.pbo/compile/server_playerLogin.sqf. So if It's not contained there, it just need to be added, I guess, and then it should be still available after login.

 

   if (!(_model in AllPlayers)) then {
        _model = "Survivor2_DZ";
    };

Seems that all skins are contained here.

 

Did you get this message in dump.log: Error h_player_update(): model invalid json! ? I had the problem after getting gender selection to work...that if the model was a woman model I've got this error message. I've just commented out the json check in writer.pl (I do not really understand what the check is doing to be honest, but after commenting this out it worked to keep the woman skin.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...