Jump to content

Precise Base Building


maectpo

Recommended Posts

In manual said

find 

_key = format["CHILD:308:%1:%2:%3:%4:%5:%6:%7:%8:%9:",dayZ_instance, _class, 0 , _charID, _worldspace, [], [], 0,_uid];

and replace with

 

_key = format["CHILD:308:%1:%2:%3:%4:%5:%6:%7:%8:%9:",dayZ_instance, _class, 0 , _charID, _worldspace call AN_fnc_formatWorldspace, [], [], 0,_uid];

but 

CHILD:308

does not ysed jo write.pl

and _key call server_hiveWrite;

does not sence.

 

and how write oject DATA on linux

this for player

key = format["CHILD:101:%1:%2:%3:",_playerID,dayZ_instance,_playerName];

for char

_key = format["CHILD:102:%1:",_characterID];

but i don't understand how object data write in to base

any ideas ?

p.s. sorry for my English

Link to comment
Share on other sites

if write to DB on linux working by cathes diag_log(s)

then maby 

diag_log format["CHILD:308:%1:%2:%3:%4:%5:%6:%7:%8:%9:",dayZ_instance, _class, 0 , _charID, _worldspace call AN_fnc_formatWorldspace, [], [], 0,_uid];

without 

_key call server_hiveWrite;

correct me if i'm wrong driection

Link to comment
Share on other sites

  • 3 weeks later...

Hey, why do you not have a look into the epoch linux server files? There you can see how it is writen to the db via diag_log.

Extract the epoch server .pbo and have a look at scripts which update vehicles for example (I don't have the correct names now in front of me but you will find them by the name).

And have a look into writer.pl as this is the place where the db reads/updates/deletes happen. The script parses the information from the server log file. Therefore the epoch server scripts write it into the log.

 

 

 

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