DayZChernarus - (1.7.7.1/103718) [VETERAN][GMT-2] Private Hive BeadTheFeast.com
IPAddress: 192.31.185.216:3238
250 new buildings have been added to:
NW Airfield
NE Airfield
Coast Line Airfield
Zelenogorsk
Over 300 new loot spawns and 40 high grade military spawns
Over 25 custom spawned...
Step #1:
Follow this tut to to word: http://dayz.st/w/Kill_Messages
Step #2:
Connect to the database and alter the survivor table with this SQL Query.
ALTER TABLE `survivor` ADD `killer_unique_id` VARCHAR(128)
Step #3:
Open you're "server_playerDied.sqf" find this line of code:
_loc_message...
I figured it out! It took a few more attempts after I got some much needed rest, Ill create a tutorial for you after I've done some more testing and added a few more features.
_key = format ["CHILD:999:UPDATE `survivor` SET `killer_unique_id` = '%1' WHERE `id` = '?':[%2]:", _killerPlayerID...
This was suggested by someone on another site.
_key = format["CHILD:999:UPDATE `survivor` SET `killer_unique_id` = '?' WHERE `id` = '?':[%1,%2]:",_killerPlayerID,_characterID];
_key call server_hiveReadWrite;
Still no luck :C What am I doing wrong?
Okay, so this is what I came up with... and I need some help.
Install this 1st: http://dayz.st/w/Kill_Messages
Right after this bit of code:
_loc_message = format["PKILL: %1 (%5) was killed by %2 (%6) with weapon %3 from %4m", _victimName, _killerName, _weapon, _distance, _playerID...
I am sure this little bit of code here could help. It only needs to be put in the datebase after this is installed. I have no idea how to connect to a database with the scripting engine and update a sql entry though.
http://opendayz.net/threads/pulling-data-from-sql-table-in-script.10052/...
I am trying to find out how to tell my server to store who killed a player, by storing the killers `unique_id` something similar to this. I am using Dayz.st with server version 1.7.7.1
UPDATE `bliss_1234`.`survivor` SET `killer_unique_id`='killer_unique_id' WHERE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.