Jump to content

Error h_player_update(): model invalid json!


MrInfro

Recommended Posts

We manage to fix it! Skin would be able to load now. The error seem to depend on mission & server file. My buddy set up both files clean from scratch as while iam to be on vacation.

Server is on Devd's 1.0.5.1 Version

 

 

Link to comment
Share on other sites

#a short explain what we have changed;

1. We set up a new mission & server .pbo (from epochmod.com v=1.0.5.1)

2. we load our gear (i mean the inventory on startup as a new player) from mission file ..

3. as we start loading startup gear from mission file, i edited inside writer.pl the cache section like;

    CACHE_DIR => $ENV{'PWD'}.'/cache/',
    # Start inventory of player
    INVENTORY => '[[],[]]',
    BACKPACK  => '["",[],[]]',
    MODEL     => '"Survivor2_DZ"'

4. i edited inside /cache/players "default-char.sqf" and "default.sqf" like;

 

default-char.sqf

["PASS",[],[0,0,0,0],[],[],2500,"1"]

default.sqf

["PASS",false,"1",[],[[],[]],["",[],[]],[0,0,0],"Survivor2_DZ",0.96]

thats all, i ll ask my buddy later, what kind of stuff he changed in the mission & server .pbo

sorry about this small piece of information, but i hang out the office before.

Link to comment
Share on other sites

Started using devds server.pbo, mine started to break randomly, e.g safes wiping also on first load with it I get "Cannot load Mission" and all map related things reset. but the mission loads, even though it said it can't  #loveArmA

 

 

UPDATE: Reverted back to my server.pbo, still get the cannot load mission so that must have been my fault, but I don't get this error and all my buildings hive side work fine.  

 

 

Let me recap here. 

 

My Server.pbo

 

  • Don't get  Error H_player_update(): model invalid json!
  • Map loads fine
  • Safes Don't work for me, not sure about others that used my pbo,
  • People get stuck at splash, which is a problem with epoch apparently as windows users get this too.

 

Devds Server.pbo

  • Get Error H_player_update(): model invalid json!
  • Server doesn't retrieve data from the Objects_DATA table, inventory and map location work fine.
  • Safes, not sure as the map wipes

 

 

Addons in my server.pbo both for mine and devds version

 

  • infiSTAR AdminTools\AntiHack
  • DR AntiHack
  • EMS
  • DZAI
  • Custom Buildings

 

Modifications to code in server.pbo

  • Gender Selection 
  • Time Sync
  • Remove Vehicles in Traders (Works fine on my version nothing different, and works correctly) 
Link to comment
Share on other sites

Well with devd pbo I have this issues:

 

Error h_player_update - loosing skins on relog

Empty inventories - magazines and pistol magazines are sometimes empty ( cant pintpoint why )

Sometimes players are on place where they shouldnt be..

Link to comment
Share on other sites

Ok, back to the topic. Why the skin start to disappear after the server or mission.pbo are modified? I know myself that this started happening after some time, but with that,came some rollbacks and such...

 

tomorrow afternoon we work out what changes we done to fix mission .pbo;

 

-Vault Gear (safe to DB but did not load before)

-Skins (same ^^)

 

(if it help u can get our files, is not to much additional inside)

inside atm Lift&Tow, Cargo, Refuel, SAR_AI, Infinistar, and two custom missions, everything is working.

 

exception; flanking in SAR drops me an error.....

23:24:37 Error in expression <=0 && {_i != _grpid} &&  {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
23:24:37   Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
23:24:37   Error Undefined variable in expression: _x
23:24:37 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
23:24:37 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
23:24:37   Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
23:24:37   Error Undefined variable in expression: _x
23:24:37 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
Link to comment
Share on other sites

Hello,

 

I was having a similar issue to DeanReid regarding players getting stuck at the loading screen, please see the link below for the fix.

 

As for modifications to the server, the only thing that I have installed is the updated DZAI and it's associated client files for AI attacking zombies, etc.

 

Drew

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...