Jump to content

[RELEASE] Advanced Alchemical Crafting v3.3 UPDATED for 1.0.6.1


theduke

Recommended Posts

Basically all i did was go through the variables and classnames of items that have changed from 1051 to 1061.

Its been tested and works.

Follow the original thread for install instructions ONLY.

Download the updated pack.

This is my personal pack also, i've added fuel pumps and static m2s as part of the craftable items.

ALL CREDIT GOES TO THE ORIGINAL AUTHORS Raymix and Hogscraper

https://github.com/theduke77/Advanced-Gem-crafting

 

UPDATE 05/19/2017

Fix for Plot 4 Life users - Friends cannot build even if added to plot. Thx to @SryImAnooB
The fix is now included in the github download.

Link to comment
Share on other sites

I've got this working with Deploy Anything

  Reveal hidden contents
 


 

 

Link to comment
Share on other sites

  On 3/12/2017 at 11:56 PM, Schalldampfer said:

I've got this working with Deploy Anything

  Reveal hidden contents
 


 

 

Expand  

ah yes i should of mentioned the deploy anything overwrites the right click from maca...  thanks

Link to comment
Share on other sites

  On 3/13/2017 at 12:53 AM, theduke said:

ah yes i should of mentioned the deploy anything overwrites the right click from maca...  thanks

Expand  

you can merge this two in ui_selectslot.sqf

see lines in red for deploy any  and lines in blu for  right click

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 3/14/2017 at 9:27 PM, SryImAnooB said:

Thx for the work, but i got 2 errors:

1. I can build without problems, but after restart the things are disapeared.

2. Only plotowner can build, Plotfriends cant.

 

Dunno if i fucked something up?!

Expand  

@theduke not 100% sure about it  but i think as in workshop mod you need add the objets into server_monitor.sqf to get a db save.

here an example

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 3/15/2017 at 3:28 PM, juandayz said:

@theduke not 100% sure about it  but i think as in workshop mod you need add the objets into server_monitor.sqf to get a db save.

here an example

  Reveal hidden contents

 

Expand  

Thx, ill try it out tomorrow!

Link to comment
Share on other sites

  On 3/15/2017 at 7:57 PM, SryImAnooB said:

Thx, ill try it out tomorrow!

Expand  

to get more clean syntax you can try in a custom variables.sqf add

above of:

DayZ_SafeObjects

for exmple this:

advalchemy = ["MAP_kulna","Land_Misc_Well_L_EP1","more objets ids"];

and now in server_monitor.sqf

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 3/15/2017 at 8:04 PM, juandayz said:

to get more clean syntax you can try in a custom variables.sqf add

above of:

DayZ_SafeObjects

for exmple this:

advalchemy = ["MAP_kulna","Land_Misc_Well_L_EP1","more objets ids"];

and now in server_monitor.sqf

  Reveal hidden contents

 

Expand  

It worked great!! Thank you for that!

I also fixed the problem that only Plot owner was able to build. Reason is i use P4L.

Fix:

In custom_builds.sqf search:

// check nearby plot's ownership and then for friend status
//if plot does not belong to player
_nearestPole = _findNearestPole select 0;
 
_ownerID = _nearestPole getVariable["ownerPUID","0"];
 
if(_playerUID == _ownerID) then {  //Keep ownership
        _canBuildOnPlot = true;
} else {
_friendlies     = player getVariable ["friendlyTo",[]];
if(_ownerID in _friendlies) then {
        _canBuildOnPlot = true;
        };
};

and change to:

// check nearby plot's ownership and then for friend status
//if plot does not belong to player
_nearestPole = _findNearestPole select 0;
 
_ownerID = _nearestPole getVariable["ownerPUID","0"];
 
if(_playerUID == _ownerID) then {  //Keep ownership
        _canBuildOnPlot = true;
} else {
_friendlies = _nearestPole getVariable ["plotfriends",[]];
_fuid  = [];
{
 _friendUID = _x select 0;
 _fuid  =  _fuid  + [_friendUID];
} forEach _friendlies;
_builder  = getPlayerUID player;
// check if friendly to owner
if(_builder in _fuid) then {
_canBuildOnPlot = true;
};
};

 

Link to comment
Share on other sites

Hello I have this problem  :

ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\custom\Buildables\Crafting_Dialogs.hpp, line 16: /Advanced_Crafting/Controls.RequiredToolsFrame: Undefined base class 'RscFrame'

Crafting_dialogs.hpp

  Reveal hidden contents

Got it worked now thanks all :)

Link to comment
Share on other sites

@Michal.esl94 check if u already add the includes at bottom of description.ext

2.b   DESCRIPTION.EXT
 
add these lines to the very bottom of the file
 
#include "custom\Buildables\extra_rc.hpp"
#include "custom\Buildables\MT_Defines.hpp"
#include "custom\Buildables\Crafting_Defines.hpp"
#include "custom\Buildables\Crafting_Dialogs.hpp"

 

Link to comment
Share on other sites

Anyone having issue where you get kicked for createvehicle restriction #0 when trying to build anything? No matter what I try to build I get kicked with that restriction. Never had this problem with 1.0.5.1. Also I'm running infiSTAR and I did add the required stuff to it like the instructions said. 

Only solution I've come up with is to add everything to the createvehicle filter but that is a lot of filters to add. 

Link to comment
Share on other sites

  • 2 weeks later...

I installed like the instructions, but ingame i allways become the massage that i can´t build because i am infight. but i´m not infight.

What could be the problem

i don´t get any errors in the server or player log

Edited by Kimarik
Link to comment
Share on other sites

  On 3/25/2017 at 11:45 AM, Michal.esl94 said:

Hello I have this problem  :

ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\custom\Buildables\Crafting_Dialogs.hpp, line 16: /Advanced_Crafting/Controls.RequiredToolsFrame: Undefined base class 'RscFrame'

Crafting_dialogs.hpp

  Reveal hidden contents

Got it worked now thanks all :)

Expand  

I have this problem !!

Link to comment
Share on other sites

  On 5/8/2017 at 3:47 AM, Voltan said:

I have installed this script and my players are having issues/glitches with previewing items in the crafting menus.

Is anyone else having this problem?

Expand  

yes, if they preview and hit ESC, they are forced to soft log.  In 1051 I had found a fix for this using a smal part of code from the dayzspaceinterrupt.sqf.  But now it is called keybord.sqf, and i've yet to figure it out.

Basically the "fix", allowed you to hit ESC a second time and it actually exited you from the preview.

Now in 1061, RL has taken over for the moment as im super busy and have not had the time to figure it out. If someone wants to, the last page of the orginal thread, i posted the fix. Compare that to the new keyboard.sqf.

Duke

Link to comment
Share on other sites

  On 5/8/2017 at 10:40 AM, theduke said:

yes, if they preview and hit ESC, they are forced to soft log.  In 1051 I had found a fix for this using a smal part of code from the dayzspaceinterrupt.sqf.  But now it is called keybord.sqf, and i've yet to figure it out.

Basically the "fix", allowed you to hit ESC a second time and it actually exited you from the preview.

Now in 1061, RL has taken over for the moment as im super busy and have not had the time to figure it out. If someone wants to, the last page of the orginal thread, i posted the fix. Compare that to the new keyboard.sqf.

Duke

Expand  

If you push ESC, a variable DZE_cancelBuilding  is set true;
My solution to the bug is to put
if (DZE_cancelBuilding) then {GlobalPreviewVariable = 1;};
in While {GlobalPreviewVariable==0} do { *** }; section. You'd better reset DZE_cancelBuilding to false  on early this script.

Now, preview_item.sqf is :

  Reveal hidden contents

 

I don't know whether 

// ESC
if (_dikCode == 0x01) then {
_handled = true
};

is necessary, so I left it as it is. I feel it's not necessary

Link to comment
Share on other sites

  On 5/15/2017 at 2:45 PM, Schalldampfer said:

If you push ESC, a variable DZE_cancelBuilding  is set true;
My solution to the bug is to put
if (DZE_cancelBuilding) then {GlobalPreviewVariable = 1;};
in While {GlobalPreviewVariable==0} do { *** }; section. You'd better reset DZE_cancelBuilding to false  on early this script.

Now, preview_item.sqf is :

  Reveal hidden contents

 

I don't know whether 

// ESC
if (_dikCode == 0x01) then {
_handled = true
};

is necessary, so I left it as it is. I feel it's not necessary

Expand  

been trying to figure this out for a bit...will update it thx and no the other part isnt needed :)

Link to comment
Share on other sites

This script has been updated.

The custom_builds.sqf was still outdated and throwing client RPT errors.

Would be a good idea to re-download the pack.

The garages are also included as a buildable now (for the virtual garage)

And the preview_item.sqf has been fixed also. If you accidently hit ESC while in preview, hit ESC again and it will exit you out. no more alt F4. thx @Schalldampfer

and last but not least, removed it from dropbox and now on the github

Link to comment
Share on other sites

  • 1 month later...

I removed the craft for each of the gems and added it to the category in a nice menu from Zupa zCraft. Call the menu right click on itemtoolbox

17819121.jpg

1.  download files here

2.  copy my description.hpp and zCraft.hpp in scripts folder

3.  in description.hpp very bottom add:

#include "scripts\description.hpp"
#include "scripts\zCraft.hpp"

4. in deploy Deploy Anything in right click option add:

["ItemToolbox","Меню крафта","closeDialog 0;createDialog ""ZCraft"";","true"]

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...