Jump to content

Mochan

Member
  • Posts

    316
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    Mochan got a reaction from Richie in ANY Changes to server.pbo stops authentication.   
    Just to say working grand now, just using right click create pbo for mission file and pboview for server.pbo! Quite a weird error this never had it happen before! Anyway thanks guys! 
  2. Like
    Mochan reacted to Richie in Overpoch Origins on Chernarus?   
    I've never tried it on Chernarus, not sure if it's possible or not, I did do an Overpoch Origins server though, but it used the Origins version of Taviana for the map.
    The key does work though, good luck :)
  3. Like
    Mochan got a reaction from Buly in [WIP] Bank/Single Currency System using Humanity   
    Guess I should get a update here; 
     
    Been working a lot on this, I guess we are in Phase 2, I am being careful and trying to reduce all the possible ways to get humanity (especially killing) 
     
    Although due to since I upgrade my server to Overpoch I have gained almost 500 players so have been super busy with new players. 
     
    I will continue working on this and try get this released ASAP! 
     
    Also I have been looking for dialogs but really do not know where to start with dialogs? If anyone can link me some resources that would be great:D 
     
    ~Mochan
  4. Like
    Mochan got a reaction from Buly in [WIP] Bank/Single Currency System using Humanity   
    Bank/Single Currency System using Humanity
     
    Overview
     
    This is a mod aimed at replacing the current gold system was a single currency, I know you all know of maca134's really a work of magic that system. 
     
    My initial mind map of this was to have a different column in the database called coins and write from the hive but my research showed this wasnt possible. I realised the humanity system is really only used for traders etc. 
     
    So I am deciding to make these traders both neutral and same prices and items on my server.
     
    Development Phases [Current Phase [#1]]
     
    Phase 1. 
     
    Override all in game features, medical and killing that adds humanity, means people can't kill zombies and get themselves 5 coins etc.  Simple smelting of CURRENT coins on person into normal currency such as gold and briefcases.  Missions spawning with coins.  Phase 2
    The bank, I know this is going to be pretty easy, just a simple self action and a call for humanity and add the entered amount onto the [humanity]  I'm still unsure whether to add a dialog or just a few actions such as (Add 100 Coins)(Add 1000 Coins) Phase 3
    Collecting coins off dead bodies. The way I have planned on my mindmaps is that when you have LOCAL coins on your person to save it in a simple variable on your local character, I am still unsure on how to access the variable from another character on a dead body. I will have to play with this.  Along with this comes looking at another player and being able to transfer some of your LOCAL coins to there LOCAL coins.  This point brings me to the next point, This is my biggest obstacle right now and that is saving LOCAL coins that are on your person to the database and when you log in next time you can still have local coins and everytime you log out you dont have to go to the bank or use internet banking(explained soon ;-)) Phase 4
    Phase 4 I hope to be able to pay for things like fuel, maintenance and anything really in game you have to pay for(except traders)  Internet banking you may saw me talk about this in phase 3, This I am completely aware on how to do, using maca134 script I will have a right click function on a radio(acting as a cellphone) From here you can deposit money on the go.  Phase 5.
    So Phase 5, really for me when I reach here soon this is the final home run, and we all know what it is, to use gold coins at traders (btw I amen't going to call the currency gold coins, probably something made up just not sure yet so that is a placeholder) In terms of this I am just gonna have to fuck around with the code and see how to replace the currency.   
     
    I hope to have this released by at least, Phase 3 or 4. HOPEFULLY This time next week, as I am off school and just gonna work hard on this 
     
    Just like to leave a final note. I am not copying any of maca134 code as I know someone will say this here. This is ALL completely my own code. 
     
    So I hope you guys like this idea and stay here to see the progress,development and release. 
     
    Thanks! 
     
    ~Mochan
  5. Like
    Mochan got a reaction from Halvhjearne in Question about OverPoch   
    SurvivalServers is shit, I swear its ran by kids. They don't give you access to anything. 
     
    Worst provider I have touched. 
  6. Like
    Mochan got a reaction from Dew in [WIP] Bank/Single Currency System using Humanity   
    Bank/Single Currency System using Humanity
     
    Overview
     
    This is a mod aimed at replacing the current gold system was a single currency, I know you all know of maca134's really a work of magic that system. 
     
    My initial mind map of this was to have a different column in the database called coins and write from the hive but my research showed this wasnt possible. I realised the humanity system is really only used for traders etc. 
     
    So I am deciding to make these traders both neutral and same prices and items on my server.
     
    Development Phases [Current Phase [#1]]
     
    Phase 1. 
     
    Override all in game features, medical and killing that adds humanity, means people can't kill zombies and get themselves 5 coins etc.  Simple smelting of CURRENT coins on person into normal currency such as gold and briefcases.  Missions spawning with coins.  Phase 2
    The bank, I know this is going to be pretty easy, just a simple self action and a call for humanity and add the entered amount onto the [humanity]  I'm still unsure whether to add a dialog or just a few actions such as (Add 100 Coins)(Add 1000 Coins) Phase 3
    Collecting coins off dead bodies. The way I have planned on my mindmaps is that when you have LOCAL coins on your person to save it in a simple variable on your local character, I am still unsure on how to access the variable from another character on a dead body. I will have to play with this.  Along with this comes looking at another player and being able to transfer some of your LOCAL coins to there LOCAL coins.  This point brings me to the next point, This is my biggest obstacle right now and that is saving LOCAL coins that are on your person to the database and when you log in next time you can still have local coins and everytime you log out you dont have to go to the bank or use internet banking(explained soon ;-)) Phase 4
    Phase 4 I hope to be able to pay for things like fuel, maintenance and anything really in game you have to pay for(except traders)  Internet banking you may saw me talk about this in phase 3, This I am completely aware on how to do, using maca134 script I will have a right click function on a radio(acting as a cellphone) From here you can deposit money on the go.  Phase 5.
    So Phase 5, really for me when I reach here soon this is the final home run, and we all know what it is, to use gold coins at traders (btw I amen't going to call the currency gold coins, probably something made up just not sure yet so that is a placeholder) In terms of this I am just gonna have to fuck around with the code and see how to replace the currency.   
     
    I hope to have this released by at least, Phase 3 or 4. HOPEFULLY This time next week, as I am off school and just gonna work hard on this 
     
    Just like to leave a final note. I am not copying any of maca134 code as I know someone will say this here. This is ALL completely my own code. 
     
    So I hope you guys like this idea and stay here to see the progress,development and release. 
     
    Thanks! 
     
    ~Mochan
  7. Like
  8. Like
    Mochan got a reaction from IReeceI in Overpoch + Infistar   
    Yes still working, infistar isn't made for spesific mods, It lists all vehicles/weapons available in the menu (I think :!) 
     
    Anyway working a dream with me with all the weapons! 
     
    ~Mochan
  9. Like
    Mochan got a reaction from cen in Overpoch + Infistar   
    My server gets to 40 players and nearly fucks itself up. Annoying but hey Overwatch itself is lag heaven epoch is worse. We just combined them.. Ummm yeah? 
     
    ~mochan 
  10. Like
    Mochan got a reaction from insertcoins in Hacker or Not?   
    Server went from being dead to popular 50/50 server, and caught 6 hackers today; infistar working correct I guess:-))
  11. Like
    Mochan got a reaction from bigpak in Hacker or Not?   
    Server went from being dead to popular 50/50 server, and caught 6 hackers today; infistar working correct I guess:-))
  12. Like
    Mochan reacted to Buck0 in Hacker or Not?   
    YEP
  13. Like
    Mochan got a reaction from goatservers in How do I edit Loot tables to allow them to include different loot?   
    http://opendayz.net/threads/release-custom-loot-for-epoch-1-0-4-2.18628/
  14. Like
    Mochan got a reaction from MrPredatorr in [WIP] Bank/Single Currency System using Humanity   
    Bank/Single Currency System using Humanity
     
    Overview
     
    This is a mod aimed at replacing the current gold system was a single currency, I know you all know of maca134's really a work of magic that system. 
     
    My initial mind map of this was to have a different column in the database called coins and write from the hive but my research showed this wasnt possible. I realised the humanity system is really only used for traders etc. 
     
    So I am deciding to make these traders both neutral and same prices and items on my server.
     
    Development Phases [Current Phase [#1]]
     
    Phase 1. 
     
    Override all in game features, medical and killing that adds humanity, means people can't kill zombies and get themselves 5 coins etc.  Simple smelting of CURRENT coins on person into normal currency such as gold and briefcases.  Missions spawning with coins.  Phase 2
    The bank, I know this is going to be pretty easy, just a simple self action and a call for humanity and add the entered amount onto the [humanity]  I'm still unsure whether to add a dialog or just a few actions such as (Add 100 Coins)(Add 1000 Coins) Phase 3
    Collecting coins off dead bodies. The way I have planned on my mindmaps is that when you have LOCAL coins on your person to save it in a simple variable on your local character, I am still unsure on how to access the variable from another character on a dead body. I will have to play with this.  Along with this comes looking at another player and being able to transfer some of your LOCAL coins to there LOCAL coins.  This point brings me to the next point, This is my biggest obstacle right now and that is saving LOCAL coins that are on your person to the database and when you log in next time you can still have local coins and everytime you log out you dont have to go to the bank or use internet banking(explained soon ;-)) Phase 4
    Phase 4 I hope to be able to pay for things like fuel, maintenance and anything really in game you have to pay for(except traders)  Internet banking you may saw me talk about this in phase 3, This I am completely aware on how to do, using maca134 script I will have a right click function on a radio(acting as a cellphone) From here you can deposit money on the go.  Phase 5.
    So Phase 5, really for me when I reach here soon this is the final home run, and we all know what it is, to use gold coins at traders (btw I amen't going to call the currency gold coins, probably something made up just not sure yet so that is a placeholder) In terms of this I am just gonna have to fuck around with the code and see how to replace the currency.   
     
    I hope to have this released by at least, Phase 3 or 4. HOPEFULLY This time next week, as I am off school and just gonna work hard on this 
     
    Just like to leave a final note. I am not copying any of maca134 code as I know someone will say this here. This is ALL completely my own code. 
     
    So I hope you guys like this idea and stay here to see the progress,development and release. 
     
    Thanks! 
     
    ~Mochan
  15. Like
    Mochan got a reaction from F507DMT in [WIP] Bank/Single Currency System using Humanity   
    Bank/Single Currency System using Humanity
     
    Overview
     
    This is a mod aimed at replacing the current gold system was a single currency, I know you all know of maca134's really a work of magic that system. 
     
    My initial mind map of this was to have a different column in the database called coins and write from the hive but my research showed this wasnt possible. I realised the humanity system is really only used for traders etc. 
     
    So I am deciding to make these traders both neutral and same prices and items on my server.
     
    Development Phases [Current Phase [#1]]
     
    Phase 1. 
     
    Override all in game features, medical and killing that adds humanity, means people can't kill zombies and get themselves 5 coins etc.  Simple smelting of CURRENT coins on person into normal currency such as gold and briefcases.  Missions spawning with coins.  Phase 2
    The bank, I know this is going to be pretty easy, just a simple self action and a call for humanity and add the entered amount onto the [humanity]  I'm still unsure whether to add a dialog or just a few actions such as (Add 100 Coins)(Add 1000 Coins) Phase 3
    Collecting coins off dead bodies. The way I have planned on my mindmaps is that when you have LOCAL coins on your person to save it in a simple variable on your local character, I am still unsure on how to access the variable from another character on a dead body. I will have to play with this.  Along with this comes looking at another player and being able to transfer some of your LOCAL coins to there LOCAL coins.  This point brings me to the next point, This is my biggest obstacle right now and that is saving LOCAL coins that are on your person to the database and when you log in next time you can still have local coins and everytime you log out you dont have to go to the bank or use internet banking(explained soon ;-)) Phase 4
    Phase 4 I hope to be able to pay for things like fuel, maintenance and anything really in game you have to pay for(except traders)  Internet banking you may saw me talk about this in phase 3, This I am completely aware on how to do, using maca134 script I will have a right click function on a radio(acting as a cellphone) From here you can deposit money on the go.  Phase 5.
    So Phase 5, really for me when I reach here soon this is the final home run, and we all know what it is, to use gold coins at traders (btw I amen't going to call the currency gold coins, probably something made up just not sure yet so that is a placeholder) In terms of this I am just gonna have to fuck around with the code and see how to replace the currency.   
     
    I hope to have this released by at least, Phase 3 or 4. HOPEFULLY This time next week, as I am off school and just gonna work hard on this 
     
    Just like to leave a final note. I am not copying any of maca134 code as I know someone will say this here. This is ALL completely my own code. 
     
    So I hope you guys like this idea and stay here to see the progress,development and release. 
     
    Thanks! 
     
    ~Mochan
  16. Like
    Mochan got a reaction from Darihon in [WIP] Bank/Single Currency System using Humanity   
    Bank/Single Currency System using Humanity
     
    Overview
     
    This is a mod aimed at replacing the current gold system was a single currency, I know you all know of maca134's really a work of magic that system. 
     
    My initial mind map of this was to have a different column in the database called coins and write from the hive but my research showed this wasnt possible. I realised the humanity system is really only used for traders etc. 
     
    So I am deciding to make these traders both neutral and same prices and items on my server.
     
    Development Phases [Current Phase [#1]]
     
    Phase 1. 
     
    Override all in game features, medical and killing that adds humanity, means people can't kill zombies and get themselves 5 coins etc.  Simple smelting of CURRENT coins on person into normal currency such as gold and briefcases.  Missions spawning with coins.  Phase 2
    The bank, I know this is going to be pretty easy, just a simple self action and a call for humanity and add the entered amount onto the [humanity]  I'm still unsure whether to add a dialog or just a few actions such as (Add 100 Coins)(Add 1000 Coins) Phase 3
    Collecting coins off dead bodies. The way I have planned on my mindmaps is that when you have LOCAL coins on your person to save it in a simple variable on your local character, I am still unsure on how to access the variable from another character on a dead body. I will have to play with this.  Along with this comes looking at another player and being able to transfer some of your LOCAL coins to there LOCAL coins.  This point brings me to the next point, This is my biggest obstacle right now and that is saving LOCAL coins that are on your person to the database and when you log in next time you can still have local coins and everytime you log out you dont have to go to the bank or use internet banking(explained soon ;-)) Phase 4
    Phase 4 I hope to be able to pay for things like fuel, maintenance and anything really in game you have to pay for(except traders)  Internet banking you may saw me talk about this in phase 3, This I am completely aware on how to do, using maca134 script I will have a right click function on a radio(acting as a cellphone) From here you can deposit money on the go.  Phase 5.
    So Phase 5, really for me when I reach here soon this is the final home run, and we all know what it is, to use gold coins at traders (btw I amen't going to call the currency gold coins, probably something made up just not sure yet so that is a placeholder) In terms of this I am just gonna have to fuck around with the code and see how to replace the currency.   
     
    I hope to have this released by at least, Phase 3 or 4. HOPEFULLY This time next week, as I am off school and just gonna work hard on this 
     
    Just like to leave a final note. I am not copying any of maca134 code as I know someone will say this here. This is ALL completely my own code. 
     
    So I hope you guys like this idea and stay here to see the progress,development and release. 
     
    Thanks! 
     
    ~Mochan
  17. Like
    Mochan got a reaction from Defent in [WIP] Bank/Single Currency System using Humanity   
    Bank/Single Currency System using Humanity
     
    Overview
     
    This is a mod aimed at replacing the current gold system was a single currency, I know you all know of maca134's really a work of magic that system. 
     
    My initial mind map of this was to have a different column in the database called coins and write from the hive but my research showed this wasnt possible. I realised the humanity system is really only used for traders etc. 
     
    So I am deciding to make these traders both neutral and same prices and items on my server.
     
    Development Phases [Current Phase [#1]]
     
    Phase 1. 
     
    Override all in game features, medical and killing that adds humanity, means people can't kill zombies and get themselves 5 coins etc.  Simple smelting of CURRENT coins on person into normal currency such as gold and briefcases.  Missions spawning with coins.  Phase 2
    The bank, I know this is going to be pretty easy, just a simple self action and a call for humanity and add the entered amount onto the [humanity]  I'm still unsure whether to add a dialog or just a few actions such as (Add 100 Coins)(Add 1000 Coins) Phase 3
    Collecting coins off dead bodies. The way I have planned on my mindmaps is that when you have LOCAL coins on your person to save it in a simple variable on your local character, I am still unsure on how to access the variable from another character on a dead body. I will have to play with this.  Along with this comes looking at another player and being able to transfer some of your LOCAL coins to there LOCAL coins.  This point brings me to the next point, This is my biggest obstacle right now and that is saving LOCAL coins that are on your person to the database and when you log in next time you can still have local coins and everytime you log out you dont have to go to the bank or use internet banking(explained soon ;-)) Phase 4
    Phase 4 I hope to be able to pay for things like fuel, maintenance and anything really in game you have to pay for(except traders)  Internet banking you may saw me talk about this in phase 3, This I am completely aware on how to do, using maca134 script I will have a right click function on a radio(acting as a cellphone) From here you can deposit money on the go.  Phase 5.
    So Phase 5, really for me when I reach here soon this is the final home run, and we all know what it is, to use gold coins at traders (btw I amen't going to call the currency gold coins, probably something made up just not sure yet so that is a placeholder) In terms of this I am just gonna have to fuck around with the code and see how to replace the currency.   
     
    I hope to have this released by at least, Phase 3 or 4. HOPEFULLY This time next week, as I am off school and just gonna work hard on this 
     
    Just like to leave a final note. I am not copying any of maca134 code as I know someone will say this here. This is ALL completely my own code. 
     
    So I hope you guys like this idea and stay here to see the progress,development and release. 
     
    Thanks! 
     
    ~Mochan
  18. Like
    Mochan got a reaction from freakystyle in [WIP] Bank/Single Currency System using Humanity   
    Bank/Single Currency System using Humanity
     
    Overview
     
    This is a mod aimed at replacing the current gold system was a single currency, I know you all know of maca134's really a work of magic that system. 
     
    My initial mind map of this was to have a different column in the database called coins and write from the hive but my research showed this wasnt possible. I realised the humanity system is really only used for traders etc. 
     
    So I am deciding to make these traders both neutral and same prices and items on my server.
     
    Development Phases [Current Phase [#1]]
     
    Phase 1. 
     
    Override all in game features, medical and killing that adds humanity, means people can't kill zombies and get themselves 5 coins etc.  Simple smelting of CURRENT coins on person into normal currency such as gold and briefcases.  Missions spawning with coins.  Phase 2
    The bank, I know this is going to be pretty easy, just a simple self action and a call for humanity and add the entered amount onto the [humanity]  I'm still unsure whether to add a dialog or just a few actions such as (Add 100 Coins)(Add 1000 Coins) Phase 3
    Collecting coins off dead bodies. The way I have planned on my mindmaps is that when you have LOCAL coins on your person to save it in a simple variable on your local character, I am still unsure on how to access the variable from another character on a dead body. I will have to play with this.  Along with this comes looking at another player and being able to transfer some of your LOCAL coins to there LOCAL coins.  This point brings me to the next point, This is my biggest obstacle right now and that is saving LOCAL coins that are on your person to the database and when you log in next time you can still have local coins and everytime you log out you dont have to go to the bank or use internet banking(explained soon ;-)) Phase 4
    Phase 4 I hope to be able to pay for things like fuel, maintenance and anything really in game you have to pay for(except traders)  Internet banking you may saw me talk about this in phase 3, This I am completely aware on how to do, using maca134 script I will have a right click function on a radio(acting as a cellphone) From here you can deposit money on the go.  Phase 5.
    So Phase 5, really for me when I reach here soon this is the final home run, and we all know what it is, to use gold coins at traders (btw I amen't going to call the currency gold coins, probably something made up just not sure yet so that is a placeholder) In terms of this I am just gonna have to fuck around with the code and see how to replace the currency.   
     
    I hope to have this released by at least, Phase 3 or 4. HOPEFULLY This time next week, as I am off school and just gonna work hard on this 
     
    Just like to leave a final note. I am not copying any of maca134 code as I know someone will say this here. This is ALL completely my own code. 
     
    So I hope you guys like this idea and stay here to see the progress,development and release. 
     
    Thanks! 
     
    ~Mochan
  19. Like
    Mochan reacted to Mac The Knife in DayZ Epoch....... Origins?   
    Mochan thank you very much for pointing me to that thread. Seems they used the publicly available client files to run it. Such a nice guy Dave and the bunch at MGT to tell everyone how they did it.
  20. Like
    Mochan reacted to WGC GeekGarage in [Howto/Release] Tie PlayerUID To All Buildable Objects / Keep plot pole after death [No SQL Triggers] UPDATE 16/04/2014   
    First off i would like to thank one of my players in my community Tim aka maccon for the patience to help me test this to the point where I think he don't like spawning and joining in DayZ any more. We have tried to test this extensively in many different scenarios and i just can't get it to fail at all. So i really hope this is true.

    Now to the fun part, converting to PlayerUID tied build system. This is not a beginner choice, but i will try and explain it step for step, even tho you might not fully understand why it has to be like this or that when we edit the code, just know that it has to be and you shouldn't edit it any other way then how i explain you to do it.

    I expect that you have custom compiles.sqf and fn_selfAction.sqf else search for it on the forum how to

    First off a little help for debugging, i'm going to show you how to log info from the clients connected to your server to the Server RPT! This is NOT the same as using the client RPT file so do not exclude looking in that if anything isn't working for you.
    Open "Client_PBO\dayz_code\init" folder and copy publicEH.sqf to your "MISSION_FOLDER\custom" folder Open your mission init.sqf and change call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; to call compile preprocessFileLineNumbers "custom\publicEH.sqf"; Open your publicEH.sqf that we just copied and search for PVDZE_obj_setlocalVars below this line add this in "WG_admin_Log" addPublicVariableEventHandler {_logWGadmin = _this select 1;diag_log format["Client To Server: %1",_logWGadmin];}; any where you want to log anything from the client to the server log you use this code _log = (format["your text here: %1 %2 %3",your,variables,here]);WG_admin_Log = [_log];publicVariableServer "WG_admin_Log"; The above code will show "Client To Server: your text here: your variables here" in the server RPT Thats it for Client to server logging use it as you want, it helped me out alot! beside the Server and Client RPT






     
    Change Character to PlayerUID
    Then Search for
     
    Download Kronzkys String Functions Library from HERE
      Extract KRON_Strings.sqf to the root of your mission folder and open up the init.sqf in your mission folder and add to the bottom nul=[] execVM "KRON_Strings.sqf"; Now open KRON_Strings.sqf and at the bottom add this KRON_convertPlayerUID = { private["_in","_up","_out"]; _in=_this select 0; _up=[_in] call KRON_StrUpper; _out=[_up,"AX","999"] call KRON_Replace; _out }; In your custom compiles add or edit the following (depending on how your run your compiles.sqf) to what in the codebox fnc_usec_damageActions = compile preprocessFileLineNumbers "custom\fn_damageActions.sqf"; player_updateGui = compile preprocessFileLineNumbers "custom\player_updateGui.sqf"; player_build = compile preprocessFileLineNumbers "custom\player_build.sqf"; Now copy over "Client_PBO\dayz_code\compile\fn_damageActions.sqf" and "Client_PBO\dayz_code\compile\player_updateGui.sqf" to the custom folder
      Open player_updateGui.sqf in the custom folder and go to line 155 and replace this _charID = player getVariable ["CharacterID", "0"]; _rcharID = _humanityTarget getVariable ["CharacterID", "0"]; with this _charID = getPlayerUID player; _found=[_charID,"AX"] call KRON_StrInStr; if (_found) then { _charID=[_charID] call KRON_convertPlayerUID; }; _rcharID = getPlayerUID _humanityTarget; _found=[_rcharID,"AX"] call KRON_StrInStr; if (_found) then { _rcharID=[_rcharID] call KRON_convertPlayerUID; }; and add "_found" to the private array at the top
      Open fn_damageActions.sqf in the custom folder and go to line 58 and replace this _charID = _unit getVariable ["CharacterID", 0]; with this _charID = getPlayerUID _unit; _found=[_charID,"AX"] call KRON_StrInStr; if (_found) then { _charID=[_charID] call KRON_convertPlayerUID; }; Now go to line 153 and change _action = _unit addAction ["Tag as friendly", "\z\addons\dayz_code\actions\player_tagFriendly.sqf", [], 0, false, true, "", ""]; to _action = _unit addAction ["Tag as friendly", "custom\player_tagFriendly.sqf", [], 0, false, true, "", ""]; and add "_found" to the private variable at the top of the file
      Now copy over "Client_PBO\dayz_code\actions\player_tagFriendly.sqf" to your custom folder and open it up and replace _callerID = _caller getVariable "CharacterID"; _targetID = _target getVariable "CharacterID"; with _callerID = getPlayerUID _caller; _found=[_callerID,"AX"] call KRON_StrInStr; if (_found) then { _callerID=[_callerID] call KRON_convertPlayerUID; }; _targetID = getPlayerUID _target; _found=[_targetID,"AX"] call KRON_StrInStr; if (_found) then { _targetID=[_targetID] call KRON_convertPlayerUID; }; Now add "_found" to the private array at the top of the file
      Now copy over "Client_PBO\dayz_code\actions\remove.sqf" and "Client_PBO\dayz_code\actions\player_upgrade.sqf" and "Client_PBO\dayz_code\actions\player_build.sqf" to your custom folder and open remove.sqf up and find at line 15 _activatingPlayer = player; just below add this _playerUID = getPlayerUID _activatingPlayer; _found=[_playerUID,"AX"] call KRON_StrInStr; if (_found) then { _playerUID=[_playerUID] call KRON_convertPlayerUID; }; Find _isOwnerOfObj = (_objOwnerID == dayz_characterID); and replace it with _isOwnerOfObj = (_objOwnerID == _playerUID); Now find if(dayz_characterID != _ownerID) then { and replace it with if(_playerUID != _ownerID) then { Now add "_playerUID" and "_found" to the private array at the top of the file
      Now open up player_upgrade.sqf you copied before and find _needText = localize "str_epoch_player_246"; below that insert _playerUID = getPlayerUID player; _found=[_playerUID,"AX"] call KRON_StrInStr; if (_found) then { _playerUID=[_playerUID] call KRON_convertPlayerUID; }; Then find if(dayz_characterID == _ownerID) then { and replace it with if(_playerUID == _ownerID) then { Now add "_playerUID" and "_found" to the private array at the top of the file Now open up player_build.sqf you copied before and find (This is also relatively easy to do if you use my or otternas version of snap build) if (player getVariable["combattimeout", 0] >= time) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_43"), "PLAIN DOWN"];}; just below add _playerUID = getPlayerUID player; _found=[_playerUID,"AX"] call KRON_StrInStr; if (_found) then { _playerUID=[_playerUID] call KRON_convertPlayerUID; }; Then find if(dayz_characterID == _ownerID) then { and replace it with if(_playerUID == _ownerID) then { Then find (if you use otternas or my version of build snap _tmpbuilt is _object) _tmpbuilt setVariable ["CharacterID",dayz_characterID,true]; and replace with _tmpbuilt setVariable ["CharacterID",_playerUID,true]; Then find (if you use otternas or my version of build snap _tmpbuilt is _object) PVDZE_obj_Publish = [dayz_characterID,_tmpbuilt,[_dir,_location],_classname]; and replace with PVDZE_obj_Publish = [_playerUID,_tmpbuilt,[_dir,_location],_classname]; Now add "_playerUID" and "_found" to the private array at the top of the file
      Now copy over "Client_PBO\dayz_code\actions\player_buildingDowngrade.sqf" to your custom folder and open player_buildingDowngrade.sqf up and search for _needText = localize "str_epoch_player_246"; and add this just below
    _playerUID = getPlayerUID player; _found=[_playerUID,"AX"] call KRON_StrInStr; if (_found) then { _playerUID=[_playerUID] call KRON_convertPlayerUID; }; Then Search for
    // check if friendly to owner if(dayz_characterID == _ownerID) then { and replace it with
    // check if friendly to owner if(_playerUID == _ownerID) then { Then search for 
    _object setVariable ["CharacterID",dayz_characterID,true]; _objectCharacterID = dayz_characterID; and replace it with
    _object setVariable ["CharacterID",_playerUID,true]; _objectCharacterID = _playerUID; Now add "_playerUID" and "_found" to the private array at the top of the file
      In your fn_selfAction.sqf find "\z\addons\dayz_code\actions\remove.sqf" and replace with "custom\remove.sqf" there is 2 places it has to be changed.

    Now search for player_upgrade.sqf and change the path to "custom\player_upgrade.sqf" Then search for _ownerID = _cursorTarget getVariable ["CharacterID","0"]; just below add _playerUID = getPlayerUID player; _found=[_playerUID,"AX"] call KRON_StrInStr; if (_found) then { _playerUID=[_playerUID] call KRON_convertPlayerUID; }; Now search for if(_isModular and (dayz_characterID == _ownerID)) then { and replace it with if(_isModular and (_playerUID == _ownerID)) then { Now search for //Packing my tent if(_isTent and (player distance _cursorTarget < 3)) then { if (_ownerID == dayz_characterID) then { and replace it with //Packing my tent if(_isTent and (player distance _cursorTarget < 3)) then { if (_ownerID == _playerUID) then { Now search for //Sleep if(_isTent and _ownerID == dayz_characterID) then { and replace with //Sleep if(_isTent and _ownerID == _playerUID) then { Now search for player_buildingDowngrade.sqf and change the path to "custom\player_buildingDowngrade.sqf"

    Now add "_playerUID" and "_found" to the private array at the top of the file
      Now you'r done and all build objects are now tied with your PlayerUID instead of CharacterID's. Friend system is also converted same goes for upgrade and remove. Just remember if you die the player has to refriend the players he was friends with before but they don't have to do it back unless they die themself. This also works perfectly if you run multiple characters as all characters have the same PlayerUID and they can all build. on the same plot.

    So go tell your players to rebuild their plot pole!

    I will not give any other install instructions or help in any other way as there is simply too many factors involved. i have tried following this guide before i posted it and it works if you follow it step for step. I will not help installing it on your server and i don't take any responsibility if you break anything on your server. Remember always to do backup!


     
    If you want to test it out visit my Napf server 178.32.54.36:3000

    I do NOT allow anyone to repost this on other sites, if you have a translated version into any language post it in the thread and I will merge it and give credit for translation. If I find a translated version or same version posted on other sites I will do what I can to get it removed and that person will never get any sort of help ever again from me!
  21. Like
    Mochan got a reaction from bFe in Custom Loot Table   
    Got this working, just was missing a simple , 
  22. Like
    Mochan got a reaction from Darihon in Where would i find the code related to HALO spawning/Parachuting?   
    This is quite silly tbh? Why not just ban them? If there a hacker/cheater there gonna have god mode. 
  23. Like
    Mochan got a reaction from (TLS) in Random "No message Received" Looking/paying for help! No time wasters!   
    Weird, if you don't wanna redo everything, I would be happy to share my server/mission pbo's with you dude. 
  24. Like
  25. Like
    Mochan reacted to Axle in How to hive two servers on separate maps?   
    It's meant to spawn you on the coast when you switch maps. Unless you like spawning under the map or in the air or in the middle of the ocean :D
     
    But Epoch has been designed to do this since before it was even called Epoch :D
×
×
  • Create New...