Search results

  1. K

    [Project] Basebuilding 1.2 change Code

    I only changed Basebuilding Files ;) https://github.com/Daimyo21/BaseBuilding-DayZ/blob/master/basebuilding/dayz_1.world/dayz_code/init/variables.sqf
  2. K

    key lock/unlock vehicle

    Nope you dont need to add new columns or fields. You will use the characterid field which is also used for ownership in tents for ecample. In my case I added the code to the fuel field. ;)
  3. K

    key lock/unlock vehicle

    For me at Win7 its C:\Users\kikyou2\AppData\Local\ArmA 2 OA\ArmA2OA.RPT Had cost me much time to discover this for myself :D Edit: Its a hidden folder by Windows so if you can't find AppData you have to enable it. http://windows.microsoft.com/en-gb/windows7/show-hidden-files
  4. K

    key lock/unlock vehicle

    I'm just learning more each day, too. Don't give up if the scripts won't work, I often run into problems, too! Just think straight what it could be and search for missing ; and maybe syntax errors because of some { } this are the most common errors. Also checking values of variables and...
  5. K

    key lock/unlock vehicle

    No problem ;) If I have released the complete files I think it will be clearer for all to understand. Will try to comment everything that its understandable. There are just one or two bugs left to fix, then I will release it.
  6. K

    key lock/unlock vehicle

    It deletes them from the database but not from the game, that is the trick ;) For real the old vehicle will stay there till server restart but will have the new variables which you define via setVariable. After server restart the servermonitor will automatically add to the "new" vehicle the...
  7. K

    key lock/unlock vehicle

    If you think that you're still on the wrong way The same method as I use to edit only one field in the database without using a custom hive request can be used to write the owner of an vehicle into the database. Normally there is no function to do that, only a function to publish a complete...
  8. K

    key lock/unlock vehicle

    Here is a example of my future Change Keycode for BaseBuilding Script. It does nearly the same what you have to do (change one field in the database of a particular item). Cause there is no CHILD:999 custom Hive Request at the DayZ Epoch Hive (I'm using that), I had to find another solution...
  9. K

    Base Building DayZ 1.2 Released

    No not really cause this is related to arma engine. But if your main reason is that you're asking for this that your Keycode isn't working then have a look at this thread: http://opendayz.net/threads/project-basebuilding-1-2-change-code.10183/page-2#post-44893 I think I will be able to...
  10. K

    [Project] Basebuilding 1.2 change Code

    Managed to find the bug which was holding me back. Going to fix the last bug that the edit Button do not save the new Code, if this is done everything works fine. When you build a 5 digits long code will be shown which work and is saved in fuel field of the object. With the Edit Button...
  11. K

    key lock/unlock vehicle

    Nope that script is only to publish a Vehicle. The delete function is another. Also you would have to write a new script to set everything right up. If I'm ready with my other projects and this isn't made yet I will maybe give it a try.
  12. K

    key lock/unlock vehicle

    If you want to that the owner status to be permanent you always have to write something to the database. If you won't everything will be lost after restart. If you want it only till next restart you could set owner status via setVariable and look for it with getVariable. Should work too Not...
  13. K

    key lock/unlock vehicle

    You will have to do it like this when I'm right: Option a) -do a custom Hive Query with CHILD:999 and add the possibility with a scroll menu to get the owner of the vehicle -you have to write in the playerUID into the characterID field possible troubles: not every Hive has the custom CHILD:999...
  14. K

    [Project] Basebuilding 1.2 change Code

    Still having that issue. _code is calculated like that _coder = random(99999); if (_coder < 10000) then { _coder = _coder + 10000; }; _code = round _coder; Then I convert it to a value which fits for the fuel field in the database and send it to my modified server_publishObject.sqf just as...
  15. K

    key lock/unlock vehicle

    Have a look at the DayZEpoch files.
  16. K

    [Project] Basebuilding 1.2 change Code

    Made some new improvements to fix some bugs, will post everything when it works. I'm stuck atm with _object setVariable ["Code",_code,true]; _keycode = _object getVariable["Code","0"]; If I try to get the value of it with diag_log format["KIKYOU DEBUG: Value of _keycode: %1",_keycode]...
  17. K

    [Project] Basebuilding 1.2 change Code

    Instead of above added this: // Edit Code from Object if((typeOf(cursortarget) in allbuildables_class) && _isowner && _canDo && !procBuild && !remProc) then { if (s_player_codeEdit < 0) then { s_player_codeEdit = player addaction [("<t color=""#11F2F6"">" + ("Edit Code")...
  18. K

    [Project] Basebuilding 1.2 change Code

    Okay atm the Build Recipe Menu isn't showing anymore. I will post it nevertheless maybe someone see the mistake earlier than me ;) This isn't working at the moment, its only a capture where I'm stuck at the moment, don't put this onto your server if you don't know what you're doing! Added to...
  19. K

    [Project] Basebuilding 1.2 change Code

    I'm currently trying to implement a random Code which is saved into the fuel field. _fuel= _code / 100000 _code= _fuel * 100000 I also tried to write a function that gives you the ability to edit the code manually if you're the owner of the object. If it works you'll have as owner always a...
  20. K

    Base Building DayZ 1.2 Released

    Try this one http://opendayz.net/threads/base-building-dayz-1-2-released.8579/page-9#post-28813
Back
Top