Players db dayz чем открыть
Кто нибудь в курсе как открыть файл player.db ? В общем основная задача удалить отдельного персонажа, либо отредактировать инвентарь, без полного вайпа всех персонажей.
Войти
Похожие публикации
500 метров и начинается туман ,есть у кого настройки тумана . Спасибо)))
Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
Ищем человека кто сможет сделать Автоивент,либо подскажите у кого есть какие автоивенты для DayZ,кто занимается именно созданием ивентов,Спасибо!
Проблема с принудетьной перезагрузка сервера с помощью Bec..
Консоль закрывается, но в Подробностях висит процесс DayzServer_x64.exe и не убивается полностью, что вызывает зависание.
Как решить?
Добрый вечер, знающие подскажите как реализовать продажу через сайт, без очереди и вип!
также как вывести топ игроков на сайт
Увеличение карты х2
vitacite опубликовал тему в Картостроение, 6 октября 2020
Доброго времени суток комрады. После успешного портирования карты 2048 на 2048 ProvingGrounds, решил исполнить свою "детскую мечту" и сделать ее большой ;)))) С этой целью для начала я решил увеличить ее в два раза.
Создаем свой серверный мод. [DayZ 1.4 to Discontined]
123new опубликовал тему в Версия 1.0 и выше, 9 июля 2019
В данной теме я распишу возможность создания серверного мода для сервера на собственном примере и объясню как его собрать.
Персональный скин, точка спавна, и сет с лутом при респавне, стартовый лут для всех!
123new опубликовал тему в Версия 1.0 и выше, 8 марта 2019
Скрипт, добавляющий админу сервера возможность указывать для каждого игрока индивидуальный скин спавна, его персональную точку спавна и один из имеющихся на сервере стартовых наборов с лутом, которые можно составить самим.
Наш выбор
Создаем свой серверный мод. [DayZ 1.4 to Discontined]
123new опубликовал тему в Версия 1.0 и выше, 9 июля 2019
В данной теме я распишу возможность создания серверного мода для сервера на собственном примере и объясню как его собрать.
Будущее проекта S-Platoon
Наш проект имеет огромные амбиции, а команда портала делает всё что бы помочь пользователям и не дать угаснуть идее. Мы всем сердцем хотим развиваться и не стоять на месте. Именно наш настрой, а так же дружелюбный коллектив пользователей форума является первым шагом и фундаментом к дальнейшей работе и развитию.
Dayz.Epoch.3d.Editor.Live.Mission with Database interaction
A custom mission file for the purpose of testing/writing scripts for DayZ Epoch without the need of a server. It emulates the dayz_server and dayz_mission files, so you can write scripts using the 3d editor. No need to use a dayz_server for debugging anymore. We all know how time consuming that is.
- Database integration (yes thats right. [:)]
- I would suggest to have a maximum of 200 objects in your object_data table for faster results. Took 5min to load 10000 obsj from my real database.
- Fully working GUI, zombies, hit registration, addactions, everything!
- Write code and execute it on the fly. No need to start a server and join with a client to test things.
- 100% of your scripts will work! (dynamic weather, default loadouts, custom scripts etc)
- 2 setups. A default 3d editor player with a default loadout from init.sqf or a Real database character based on your UID
- Includes most of BIS_fnc functions, so actions like BIS_fn_invAdd will work (i've added most common ones. more included though. check details bellow.)
- Everything works. when i say everything i mean EVERYTHING !. (Spawning objects on mission start, traders (buy/sell), maintenance, character update, stats. etc)
- A mysql server on the same machine as your Arma2 editor. Well. a remote PC would work as well. just make sure YOU ARE NOT using your original database. Make a copy of it!. This mission will interact with your database ! If you dont have a mysql server on your pc. i suggest you get WampServer. Its the easiest php/mysql server out there.
- Click Download on the right sidebar, and extract the rar file.
- Copy the 3d.live.DayzEpochTemplate.Chernarus mission file in your *\My Documents\ArmA 2\missions* folder
- Copy everything inside "Arma2OA root folder" into your root Arma2OA folder (the same folder where @Dayz_Epoch, MPMissions are)
- The real_date.dll. (Thanks to killzonekid) is used to get your machine's date/time to be used for live day/night cycles inside the game (. you can set a fixed day if you want. details bellow)
- Open ArmaOA\Arma2NETMySQLPlugin\Databases.txt and add your test database data there. Example:
Initialize player and customizing the mission
Default setup vs Database setup
There are 2 ways of initializing your player.
- A default 3d editor player with a basic loadout (like the one you set in your init.sqf) [The mission is set with this selection by default]
- A live database player based on his UID in the character_data table (coordinates, medical states, inventory etc)
The 1st way is the easiest thing you could start with. This setup DOES NOT initialize the character based on a database entry. Instead it uses some premade stats that you set. The loadout of the player is set in the init.sqf. But everything else should work fine with the database. like traders, salvaging, etc. Basically anything that doesnt require a legit UID. Just open the dayz_code\init\setupChar.sqf and at the bottom of the file change the values to your liking. Make sure in the init.sqf, DefaultTruePreMadeFalse is set to true; and also from there you can change the Default loadout of the player.
Database setup (Arma2Net)
The 2nd option is a bit more complicated. I left the PlayerUID in the debug monitor. so IF you see that it is set to 0 then you know something went wrong. Just reload the mission file and you should be fine. To setup your character with the second method open dayz_code\init\variables.sqf. On line 8 is where the magic happens.
The description.ext has your character's name in it. If you ever need to check player name. it will get it from there.
This 2nd option NEEDS your real playerUID, otherwise all hell will break lose. IF you want you can use another player's UID..The mission will initialize with his details then. As long as that playerUID exists on the character_data table. and the player is alive. it will start the mission with that player. Everything is database based..so no need to do anything else. The mission will start with all your stats, inventory, conditions and spawn you where your world coordinates are.
Init.sqf values [Important !]
- DB_NAME = "dayz_epoch"; // At the top of the init.sqf. set your database name there as well.
- DefaultTruePreMadeFalse = true; // false: Read player's data from the database (based on UID), true: the normal player the editor has
- StaticDayOrDynamic = true; // A static date is set at the bottom of \dayz_server\init\server_function.sqf. Set this to false if you want real time/date inside the mission.
- DZEdebug = false; // Set to true if you want a more detailed log file
Related to coding
Since this is an emulation of the dayz_server some things will never work. For example: _playerUID = getPlayerUID player; will never work in the editor. To get the _playerUID you have to do this: _playerUID = player getVariable ["CharacterID","0"]; This is the most important thing to remember. Lots of scripts use getPlayerUID. You have to remember to change it every time you want to use it.
findDisplay 46 does not work in the editor :/ so scripts like the CCTV wont work
Some BIS_fnc functions have to be included in the dayz_code\init\compiles.sqf for them to work. For example i had to include:
The same goes for publicvariable and publicvariableServer. If want to use addpublicvariableeventhandler you can do it with call/spawn commands. Example:
can be written like:
If your code has BIS_fnc functions in it then check the folder dayz_code\system\functions for the function and include it in the compiles.sqf. I am sure there is a way to parse the folder and add a BIS_ infront of all the files, like epoch does it. but i didnt want to waste time and ran into problems,so manually adding the files is fine by me.
- You can activate a debug in the init.sqf if you are using the 2nd method. And ALWAYS check your RPT log file for debugging. Its located at : %AppData%\Local\ArmA 2 OA To enable the debug value change this in your init.sqf:
Related to mission file included
You'll notice when you start the mission there are 2 bots standing there. If you double click the soldier you'll see that he initiates this script scripts\BotInit.sqf. I left that in purpose in case you want to do some scripting that requires 'another player', and you want to initialize the fake player like that. The other bot can be deleted. I just left it there because i was testing a Tag Friendly script, and needed a 3rd 'player' that has me as a friend. (i got no friends lol).
In most of my scripts i use the playerUID to validate checks between owner and objects. Some default Epoch files use the characterID. meaning if you die. you lose ownership. Thats why i changed most of the stuff to playerUID instead. If for some reason you are using scripts that check CharacterID instead of playerUID, i would suggest you change that, because some things (with the 2nd method) might not work. due to the fact that my files are checking playerUID for validation. Worst case scenario if you cant edit the files. just use the same CharacterID and playerUID. so its always the same [:)]
Example on how to use the superadmins.sqf (for actions restricted to admins only, just add your fake UID in the array) (In your fn_self_actions.sqf)
- Using the 1st method there is a small change the player will spawn twice. That's because when you Preview the map you are also the Server and the Player. The code runs twice. hence the bugs with the 2nd method with the fake database.
- There are no .fsm files so dont try to include them. 3d editor will not work with them, thats why i broke the player_monitor.fsm into 2 .sqf files. One emulates 'login to the server', and one 'setup of player'.
These are heavily modified files. Dont overwrite them with your own files. Add to them instead of replacing them.
These files took me alot of time to make. It wasnt easy, and i am sure you'll find bugs or some things could have been writen a better way. The whole purpose of this project was to not waste any more time trying to code on this god forsaken Arma engine. I cant believe that there isnt an option to write 'on the fly'. With a proper debugger. Sure there are little tricks and hacks you can add to diag_log variables, but to write an actual script that requires interaction with the environment or beta testing custom script . Forget it. I've included the Deploy bike and Self bloodbag scripts in the pack. just to see how easy it is to add/run/debug them. (Check the youtube video).
And a personal note. You will NEVER find an easier way to code stuff for Dayz. period. I've been begging both at the Epoch forum and on Opendayz for a Guru to point me to the right direction for fast coding/debugging code in Dayz and i got nothing. This is the fastest way to write code and see it in action.
Hope this code will help you write code faster and easier :)
Наш выбор
Создайте аккаунт или войдите в него для комментирования
Вы должны быть пользователем, чтобы оставить комментарий
Будущее проекта S-Platoon
Наш проект имеет огромные амбиции, а команда портала делает всё что бы помочь пользователям и не дать угаснуть идее. Мы всем сердцем хотим развиваться и не стоять на месте. Именно наш настрой, а так же дружелюбный коллектив пользователей форума является первым шагом и фундаментом к дальнейшей работе и развитию.
Будущее проекта S-Platoon
Наш проект имеет огромные амбиции, а команда портала делает всё что бы помочь пользователям и не дать угаснуть идее. Мы всем сердцем хотим развиваться и не стоять на месте. Именно наш настрой, а так же дружелюбный коллектив пользователей форума является первым шагом и фундаментом к дальнейшей работе и развитию.
Создать аккаунт
Зарегистрируйтесь для получения аккаунта. Это просто!
Персональный скин, точка спавна, и сет с лутом при респавне, стартовый лут для всех!
123new опубликовал тему в Версия 1.0 и выше, 8 марта 2019
Скрипт, добавляющий админу сервера возможность указывать для каждого игрока индивидуальный скин спавна, его персональную точку спавна и один из имеющихся на сервере стартовых наборов с лутом, которые можно составить самим.
Увеличение карты х2
vitacite опубликовал тему в Картостроение, 6 октября 2020
Доброго времени суток комрады. После успешного портирования карты 2048 на 2048 ProvingGrounds, решил исполнить свою "детскую мечту" и сделать ее большой ;)))) С этой целью для начала я решил увеличить ее в два раза.
About
For fast debugging of scripts, without running a server. All done in the 3d editor (Alt+E), now with Database interactions.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Open with Desktop
- View raw
- Copy raw contents Copy raw contents
Copy raw contents
Copy raw contents
Dayz.Epoch.3d.Editor.Live.Mission with Database interaction
A custom mission file for the purpose of testing/writing scripts for DayZ Epoch without the need of a server. It emulates the dayz_server and dayz_mission files, so you can write scripts using the 3d editor. No need to use a dayz_server for debugging anymore. We all know how time consuming that is.
- Database integration (yes thats right. [:)]
- I would suggest to have a maximum of 200 objects in your object_data table for faster results. Took 5min to load 10000 obsj from my real database.
- Fully working GUI, zombies, hit registration, addactions, everything!
- Write code and execute it on the fly. No need to start a server and join with a client to test things.
- 100% of your scripts will work! (dynamic weather, default loadouts, custom scripts etc)
- 2 setups. A default 3d editor player with a default loadout from init.sqf or a Real database character based on your UID
- Includes most of BIS_fnc functions, so actions like BIS_fn_invAdd will work (i've added most common ones. more included though. check details bellow.)
- Everything works. when i say everything i mean EVERYTHING !. (Spawning objects on mission start, traders (buy/sell), maintenance, character update, stats. etc)
- A mysql server on the same machine as your Arma2 editor. Well. a remote PC would work as well. just make sure YOU ARE NOT using your original database. Make a copy of it!. This mission will interact with your database ! If you dont have a mysql server on your pc. i suggest you get WampServer. Its the easiest php/mysql server out there.
- Click Download on the right sidebar, and extract the rar file.
- Copy the 3d.live.DayzEpochTemplate.Chernarus mission file in your *\My Documents\ArmA 2\missions* folder
- Copy everything inside "Arma2OA root folder" into your root Arma2OA folder (the same folder where @Dayz_Epoch, MPMissions are)
- The real_date.dll. (Thanks to killzonekid) is used to get your machine's date/time to be used for live day/night cycles inside the game (. you can set a fixed day if you want. details bellow)
- Open ArmaOA\Arma2NETMySQLPlugin\Databases.txt and add your test database data there. Example:
Initialize player and customizing the mission
Default setup vs Database setup
There are 2 ways of initializing your player.
- A default 3d editor player with a basic loadout (like the one you set in your init.sqf) [The mission is set with this selection by default]
- A live database player based on his UID in the character_data table (coordinates, medical states, inventory etc)
The 1st way is the easiest thing you could start with. This setup DOES NOT initialize the character based on a database entry. Instead it uses some premade stats that you set. The loadout of the player is set in the init.sqf. But everything else should work fine with the database. like traders, salvaging, etc. Basically anything that doesnt require a legit UID. Just open the dayz_code\init\setupChar.sqf and at the bottom of the file change the values to your liking. Make sure in the init.sqf, DefaultTruePreMadeFalse is set to true; and also from there you can change the Default loadout of the player.
Database setup (Arma2Net)
The 2nd option is a bit more complicated. I left the PlayerUID in the debug monitor. so IF you see that it is set to 0 then you know something went wrong. Just reload the mission file and you should be fine. To setup your character with the second method open dayz_code\init\variables.sqf. On line 8 is where the magic happens.
The description.ext has your character's name in it. If you ever need to check player name. it will get it from there.
This 2nd option NEEDS your real playerUID, otherwise all hell will break lose. IF you want you can use another player's UID..The mission will initialize with his details then. As long as that playerUID exists on the character_data table. and the player is alive. it will start the mission with that player. Everything is database based..so no need to do anything else. The mission will start with all your stats, inventory, conditions and spawn you where your world coordinates are.
Init.sqf values [Important !]
- DB_NAME = "dayz_epoch"; // At the top of the init.sqf. set your database name there as well.
- DefaultTruePreMadeFalse = true; // false: Read player's data from the database (based on UID), true: the normal player the editor has
- StaticDayOrDynamic = true; // A static date is set at the bottom of \dayz_server\init\server_function.sqf. Set this to false if you want real time/date inside the mission.
- DZEdebug = false; // Set to true if you want a more detailed log file
Related to coding
Since this is an emulation of the dayz_server some things will never work. For example: _playerUID = getPlayerUID player; will never work in the editor. To get the _playerUID you have to do this: _playerUID = player getVariable ["CharacterID","0"]; This is the most important thing to remember. Lots of scripts use getPlayerUID. You have to remember to change it every time you want to use it.
findDisplay 46 does not work in the editor :/ so scripts like the CCTV wont work
Some BIS_fnc functions have to be included in the dayz_code\init\compiles.sqf for them to work. For example i had to include:
The same goes for publicvariable and publicvariableServer. If want to use addpublicvariableeventhandler you can do it with call/spawn commands. Example:
can be written like:
If your code has BIS_fnc functions in it then check the folder dayz_code\system\functions for the function and include it in the compiles.sqf. I am sure there is a way to parse the folder and add a BIS_ infront of all the files, like epoch does it. but i didnt want to waste time and ran into problems,so manually adding the files is fine by me.
- You can activate a debug in the init.sqf if you are using the 2nd method. And ALWAYS check your RPT log file for debugging. Its located at : %AppData%\Local\ArmA 2 OA To enable the debug value change this in your init.sqf:
Related to mission file included
You'll notice when you start the mission there are 2 bots standing there. If you double click the soldier you'll see that he initiates this script scripts\BotInit.sqf. I left that in purpose in case you want to do some scripting that requires 'another player', and you want to initialize the fake player like that. The other bot can be deleted. I just left it there because i was testing a Tag Friendly script, and needed a 3rd 'player' that has me as a friend. (i got no friends lol).
In most of my scripts i use the playerUID to validate checks between owner and objects. Some default Epoch files use the characterID. meaning if you die. you lose ownership. Thats why i changed most of the stuff to playerUID instead. If for some reason you are using scripts that check CharacterID instead of playerUID, i would suggest you change that, because some things (with the 2nd method) might not work. due to the fact that my files are checking playerUID for validation. Worst case scenario if you cant edit the files. just use the same CharacterID and playerUID. so its always the same [:)]
Example on how to use the superadmins.sqf (for actions restricted to admins only, just add your fake UID in the array) (In your fn_self_actions.sqf)
- Using the 1st method there is a small change the player will spawn twice. That's because when you Preview the map you are also the Server and the Player. The code runs twice. hence the bugs with the 2nd method with the fake database.
- There are no .fsm files so dont try to include them. 3d editor will not work with them, thats why i broke the player_monitor.fsm into 2 .sqf files. One emulates 'login to the server', and one 'setup of player'.
These are heavily modified files. Dont overwrite them with your own files. Add to them instead of replacing them.
These files took me alot of time to make. It wasnt easy, and i am sure you'll find bugs or some things could have been writen a better way. The whole purpose of this project was to not waste any more time trying to code on this god forsaken Arma engine. I cant believe that there isnt an option to write 'on the fly'. With a proper debugger. Sure there are little tricks and hacks you can add to diag_log variables, but to write an actual script that requires interaction with the environment or beta testing custom script . Forget it. I've included the Deploy bike and Self bloodbag scripts in the pack. just to see how easy it is to add/run/debug them. (Check the youtube video).
And a personal note. You will NEVER find an easier way to code stuff for Dayz. period. I've been begging both at the Epoch forum and on Opendayz for a Guru to point me to the right direction for fast coding/debugging code in Dayz and i got nothing. This is the fastest way to write code and see it in action.
Наш выбор
Создать аккаунт
Зарегистрируйтесь для получения аккаунта. Это просто!
О проекте S-Platoon
. На нашем сайте вы сможете найти множество гайдов по установке различных дополнений и скриптов для DayZ EPOCH, DayZCC, а так же таких модов как DayZ Origins, Overpoch, Overwatch, Epidemic и ARMA3: DayZ EPOCH, гайды по ARMA3: Exile, ARMA3: Altis Life, админский софт, античиты и различные программы для упрощения работы с серверами и модами, дополнения для карты Черноруси, Napf и остальных, а так же всегда сможете задать интересующий вас вопрос в разделе помощи по серверам.
Будущее проекта S-Platoon
Наш проект имеет огромные амбиции, а команда портала делает всё что бы помочь пользователям и не дать угаснуть идее. Мы всем сердцем хотим развиваться и не стоять на месте. Именно наш настрой, а так же дружелюбный коллектив пользователей форума является первым шагом и фундаментом к дальнейшей работе и развитию.
--> Первостепенным направлением проекта является создание серверов DayZ Standalone и создание серверов DayZ мода. На нашем сайте вы сможете найти множество гайдов по установке различных дополнений и скриптов для DayZ EPOCH, DayZCC, а так же таких модов как DayZ Origins, Overpoch, Overwatch, Epidemic и ARMA3: EPOCH, гайды по ARMA3: Exile, ARMA3: Altis Life, админский софт, античиты и различные программы для упрощения работы с серверами и модами, дополнения для карты Черноруси, Napf и остальных, а так же всегда сможете задать интересующий вас вопрос в разделе помощи по серверам.
Создайте аккаунт или войдите в него для комментирования
Вы должны быть пользователем, чтобы оставить комментарий
О проекте S-Platoon
. На нашем сайте вы сможете найти множество гайдов по установке различных дополнений и скриптов для DayZ EPOCH, DayZCC, а так же таких модов как DayZ Origins, Overpoch, Overwatch, Epidemic и ARMA3: DayZ EPOCH, гайды по ARMA3: Exile, ARMA3: Altis Life, админский софт, античиты и различные программы для упрощения работы с серверами и модами, дополнения для карты Черноруси, Napf и остальных, а так же всегда сможете задать интересующий вас вопрос в разделе помощи по серверам.
Будущее проекта S-Platoon
Наш проект имеет огромные амбиции, а команда портала делает всё что бы помочь пользователям и не дать угаснуть идее. Мы всем сердцем хотим развиваться и не стоять на месте. Именно наш настрой, а так же дружелюбный коллектив пользователей форума является первым шагом и фундаментом к дальнейшей работе и развитию.
--> Первостепенным направлением проекта является создание серверов DayZ Standalone и создание серверов DayZ мода. На нашем сайте вы сможете найти множество гайдов по установке различных дополнений и скриптов для DayZ EPOCH, DayZCC, а так же таких модов как DayZ Origins, Overpoch, Overwatch, Epidemic и ARMA3: EPOCH, гайды по ARMA3: Exile, ARMA3: Altis Life, админский софт, античиты и различные программы для упрощения работы с серверами и модами, дополнения для карты Черноруси, Napf и остальных, а так же всегда сможете задать интересующий вас вопрос в разделе помощи по серверам.
Войти
Войти
Создайте аккаунт или войдите в него для комментирования
Вы должны быть пользователем, чтобы оставить комментарий
Персональный скин, точка спавна, и сет с лутом при респавне, стартовый лут для всех!
123new опубликовал тему в Версия 1.0 и выше, 8 марта 2019
Скрипт, добавляющий админу сервера возможность указывать для каждого игрока индивидуальный скин спавна, его персональную точку спавна и один из имеющихся на сервере стартовых наборов с лутом, которые можно составить самим.
Создаем свой серверный мод. [DayZ 1.4 to Discontined]
123new опубликовал тему в Версия 1.0 и выше, 9 июля 2019
В данной теме я распишу возможность создания серверного мода для сервера на собственном примере и объясню как его собрать.
Увеличение карты х2
vitacite опубликовал тему в Картостроение, 6 октября 2020
Доброго времени суток комрады. После успешного портирования карты 2048 на 2048 ProvingGrounds, решил исполнить свою "детскую мечту" и сделать ее большой ;)))) С этой целью для начала я решил увеличить ее в два раза.
О проекте S-Platoon
. На нашем сайте вы сможете найти множество гайдов по установке различных дополнений и скриптов для DayZ EPOCH, DayZCC, а так же таких модов как DayZ Origins, Overpoch, Overwatch, Epidemic и ARMA3: DayZ EPOCH, гайды по ARMA3: Exile, ARMA3: Altis Life, админский софт, античиты и различные программы для упрощения работы с серверами и модами, дополнения для карты Черноруси, Napf и остальных, а так же всегда сможете задать интересующий вас вопрос в разделе помощи по серверам.
Будущее проекта S-Platoon
Наш проект имеет огромные амбиции, а команда портала делает всё что бы помочь пользователям и не дать угаснуть идее. Мы всем сердцем хотим развиваться и не стоять на месте. Именно наш настрой, а так же дружелюбный коллектив пользователей форума является первым шагом и фундаментом к дальнейшей работе и развитию.
--> Первостепенным направлением проекта является создание серверов DayZ Standalone и создание серверов DayZ мода. На нашем сайте вы сможете найти множество гайдов по установке различных дополнений и скриптов для DayZ EPOCH, DayZCC, а так же таких модов как DayZ Origins, Overpoch, Overwatch, Epidemic и ARMA3: EPOCH, гайды по ARMA3: Exile, ARMA3: Altis Life, админский софт, античиты и различные программы для упрощения работы с серверами и модами, дополнения для карты Черноруси, Napf и остальных, а так же всегда сможете задать интересующий вас вопрос в разделе помощи по серверам.
Создать аккаунт
Зарегистрируйтесь для получения аккаунта. Это просто!
Читайте также: