Jump to content

Error in Expression need Help


Backtrack

Recommended Posts

Hello sometimes after Server restart the player cant connect to my server

16:49:07 "LOAD CHARACTER: \cache\players\6\76561198077864517-char.sqf"
16:49:07 "CHARACTER CACHE: ["PASS",[false,false,false,false,false,false,true,12000,[],[0.0190862,0],0,[393.83,192.362]],[35,14,0,0],["RH_m1stsp","aidlpercmstpsraswrfldnon_aiming01",42,["76561198055526775","76561198055526775","76561198055526775","76561198055526,[30,[18665.1,3108.98,0.00144525]],3162,"118"]"
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 "CHILD:102:118:"
16:49:07 "LOAD CHARACTER: \cache\players\6\76561198077864517-char.sqf"
16:49:07 "CHARACTER CACHE: ["PASS",[false,false,false,false,false,false,true,12000,[],[0.0190862,0],0,[393.83,192.362]],[35,14,0,0],["RH_m1stsp","aidlpercmstpsraswrfldnon_aiming01",42,["76561198055526775","76561198055526775","76561198055526775","76561198055526,[30,[18665.1,3108.98,0.00144525]],3162,"118"]"
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 "_characterID: any"
Link to comment
Share on other sites

Is it only for that player?

 

This is your line:

["PASS",[false,false,false,false,false,false,true,12000,[],[0.0190862,0],0,[393.83,192.362]],[35,14,0,0],["RH_m1stsp","aidlpercmstpsraswrfldnon_aiming01",42 ["76561198055526775","76561198055526775","76561198055526775","76561198055526,[30,[18665.1,3108.98,0.00144525]],3162,"118"]

 

And this is one of mine:
["PASS",[false,false,false,false,false,false,true,12000,[],[0,0],0,[107.84,39.8537]],[0,0,0,0],["MeleeHatchet_DZE","aidlpercmstpsraswrfldnon_idlesteady02",42,["148"]],[135,[8264.76,17716.2,0.000836486]],1488,"162"]

 

The end looks very different. It starts for you where all the playerUIDs are located. What are they for? Some kind of door management mod or something like that?

Maybe we use something different here (way devd wrote these files). But there is your issue. It's wrong in the file. Question is what writes it like that.

Link to comment
Share on other sites

Try resetting the cache folder with all default files and check to see if it fixes it, keep a backup in-case :)

 

The cache is cleared by epoch.sh every time you start/restart the server. " rm -rf cache/players/* "

 

But yea I agree with jahangir13. Looks like you made some modifications to the writer.pl

 

mine is

["PASS",[false,false,false,false,false,false,false,12000,[],[0,0],0,[20.46,35.0889]],[0,0,0,0],["","aidlpercmstpsnonwnondnon_player_idlesteady04",42,[]],[25,[8664.58,6513.01,0.00136762]],2500,"1",0]

i have an extra 0 at the end because I'm using Single Coin.

Link to comment
Share on other sites

  • 2 weeks later...

 

Hello sometimes after Server restart the player cant connect to my server

16:49:07 "LOAD CHARACTER: \cache\players\6\76561198077864517-char.sqf"
16:49:07 "CHARACTER CACHE: ["PASS",[false,false,false,false,false,false,true,12000,[],[0.0190862,0],0,[393.83,192.362]],[35,14,0,0],["RH_m1stsp","aidlpercmstpsraswrfldnon_aiming01",42,["76561198055526775","76561198055526775","76561198055526775","76561198055526,[30,[18665.1,3108.98,0.00144525]],3162,"118"]"
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 "CHILD:102:118:"
16:49:07 "LOAD CHARACTER: \cache\players\6\76561198077864517-char.sqf"
16:49:07 "CHARACTER CACHE: ["PASS",[false,false,false,false,false,false,true,12000,[],[0.0190862,0],0,[393.83,192.362]],[35,14,0,0],["RH_m1stsp","aidlpercmstpsraswrfldnon_aiming01",42,["76561198055526775","76561198055526775","76561198055526775","76561198055526,[30,[18665.1,3108.98,0.00144525]],3162,"118"]"
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 Error in expression <[30,[18665.1,3108.98,0.00144525]],3162,"118"]>
16:49:07   Error position: <118"]>
16:49:07   Error Missing ]
16:49:07 "_characterID: any"

 

I figured out what causes this error. If you have the group management mod installed it will save data in the "CurrentState" field in Character_DATA. The default field length is Varchar(128) which is sometimes not enough. I changed mine to Varchar(512) and have not had the problem since.

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...