Jump to content

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


theduke

Recommended Posts

  On 7/5/2017 at 7:14 AM, Ghostis said:

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"]

 

Expand  

I was thinking something similar except add the action to a cargo truck and have the script check the inventory of vehicle for parts, carry more and craft more all at once!

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  

How did you fix the error?

Link to comment
Share on other sites

  On 7/8/2017 at 5:27 PM, Robert261171 said:

How did you fix the error?

Expand  

What order did you add the lines:

#include "custom\Buildables\MT_Defines.hpp"
#include "custom\Buildables\Crafting_Defines.hpp"
#include "custom\Buildables\Crafting_Dialogs.hpp"
 
to your description.ext?
 
the reasone being: RscFrame is defined in Crafting_Defines, if you have it defined after Crafting_dialog which needs the class RscFrame, then it will kick back that error. My bet is it is the order you have them defined
Link to comment
Share on other sites

  On 7/8/2017 at 5:52 PM, ViktorReznov said:

What order did you add the lines:

#include "custom\Buildables\MT_Defines.hpp"
#include "custom\Buildables\Crafting_Defines.hpp"
#include "custom\Buildables\Crafting_Dialogs.hpp"
 
to your description.ext?
 
the reasone being: RscFrame is defined in Crafting_Defines, if you have it defined after Crafting_dialog which needs the class RscFrame, then it will kick back that error. My bet is it is the order you have them defined
Expand  

Its in that order in the description.ext, 

Link to comment
Share on other sites

  On 7/8/2017 at 6:15 PM, Robert261171 said:

Its in that order in the description.ext, 

Expand  

If you open the crafting_defines.hpp

You'll notice theres a block of code commented out.

Remove the /* and the */ and it will make that code active again.  its missing that code. I think the reason its like that is in 1051 most mods already had that in their defines...

Link to comment
Share on other sites

  On 7/9/2017 at 4:18 AM, theduke said:

If you open the crafting_defines.hpp

You'll notice theres a block of code commented out.

Remove the /* and the */ and it will make that code active again.  its missing that code. I think the reason its like that is in 1051 most mods already had that in their defines...

Expand  

yes I found that with help from another member and all working well, Ive tested it and now put it on main server, thanks for your help..

Link to comment
Share on other sites

  • 1 month later...

Hello, can anywhere help me, please ?

I will Change again the Alchemical Script into Coins.

But it doesen´t work :(

Thanks Tweety

 

  Reveal hidden contents

 

Link to comment
Share on other sites

Tried adding this last night and had an issue, not sure if it was my dialogs or defines that were conflicting. I'm heavily modded so it's not suprising, I was getting an error similar to "Undefined base class RSCBackgrounds" - I tried commenting out some of the defines from other mods to test and got to where the server would start the hive normally, I'd login, right click on a gem and click to start crafting and I'd then get the error "resource advance_crafting is not found" or something similar so I pulled it until I can reload it tonight. I think tonight I'll go the deployanything route not that I had any extraRC issues but just to keep everything in one "system" for right click options. I'm going to list my calls from the bottom of my description.ext below, I had also pointed the crafting mod at my existing ui_selectslot for testing since I was using my existing extraRC - anyone know what I may have done wrong here? Think it's defines or dialogs giving me trouble...  here's the includes I was using, server wouldn't start the hive until I commented out either crafting_defines or crafting_dialogs...

  Reveal hidden contents

 

*EDIT/UPDATE: I reinstalled and it's working. Issue was that I had not read the entire thread when I posted and the solution was just a couple posts above this one, I just needed to open crafting_defines and uncomment RscButton and RscFrame. So far the mod seems to be working normally, thanks for updating this theDuke, much appreciated.

 

Link to comment
Share on other sites

  • 2 weeks later...
  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  

This still doesn't work for me the mod works fine but won't save to the database the required object ids are added to my custom variables advalchemy I have installed correctly and the only thing related to placing the item in the rpt is this any idea what i need to do? Thanks

22:39:22 "DEBUG: Checking if Object: 4acac800# 1062312: vlajkstozar.p3d REMOTE is allowed, published by Server"
22:39:22 "DEBUG: Object: 4acac800# 1062312: vlajkstozar.p3d REMOTE published by Server is allowed by any"
22:39:22 "PUBLISH: *NOT* created FlagCarrierBAF (not allowed)"

Link to comment
Share on other sites

  • 4 weeks later...
Error in expression <apphire + _Topaz;
dayz_allowedObjects = dayz_allowedObjects + _CraftingArray;
DZ>
18:35:14   Error position: <dayz_allowedObjects + _CraftingArray;
DZ>
18:35:14   Error Undefined variable in expression: dayz_allowedobjects
18:35:14 File mpmissions\DayZ_Epoch_11.Chernarus\Scripts\Buildables\variables.sqf, line 83

 

Any Fix?

Link to comment
Share on other sites

  On 10/2/2017 at 11:37 PM, (AOW)Recon said:
Error in expression <apphire + _Topaz;
dayz_allowedObjects = dayz_allowedObjects + _CraftingArray;
DZ>
18:35:14   Error position: <dayz_allowedObjects + _CraftingArray;
DZ>
18:35:14   Error Undefined variable in expression: dayz_allowedobjects
18:35:14 File mpmissions\DayZ_Epoch_11.Chernarus\Scripts\Buildables\variables.sqf, line 83

 

Any Fix?

Expand  

do you have defined dayz_allowedObjects variable in somewhere?

for example in your  custom variables.sqf

dayz_allowedObjects = ["MAP_kulna","Land_Misc_Well_L_EP1"];
 
  
Link to comment
Share on other sites

  On 10/5/2017 at 1:18 PM, juandayz said:

@(AOW)Recon  @theduke @Erzengelgames

this specific error:

Error position: <dayz_allowedObjects + _CraftingArray;

comes from yours custom variables.sqf ( the one that youre using for this mod)

you guys are using the old  dayz_allowedObjects that was changed in 1.6 by DayZ_SafeObjects

 

Expand  

shit yeah. thanks ^^ if i see error iam just looking for spelling mistakes or ; not set... never gonn alook for stuff like that

Link to comment
Share on other sites

hey, to get db safe working i ented all classnames to DayZ_SafeObjects like this

  Reveal hidden contents

but as mighjt expect because iam writing here it is not working.

 

i do not try to get this look good in code just to get it working the easyest way. i also tried the way that was shown here but i dont get it to work.

please help :)

Link to comment
Share on other sites

  On 10/10/2017 at 4:29 PM, Erzengelgames said:

hey, to get db safe working i ented all classnames to DayZ_SafeObjects like this

  Reveal hidden contents

but as mighjt expect because iam writing here it is not working.

 

i do not try to get this look good in code just to get it working the easyest way. i also tried the way that was shown here but i dont get it to work.

please help :)

Expand  

can you paste your whole custom variables.sqf (the one who is called from init.sqf) ?

Link to comment
Share on other sites

  Reveal hidden contents

 

Link to comment
Share on other sites

Looks like default epoch variables.sqf. are you using it into the mpmissions\your instance\ or is the one into dayz_code.pbo? Cuz if is the one in dayz_code.pbo you need create a new custom in mpmissions.... other way changes do not take effect.

anyway if this variables.sqf is your custom and not your default then you did it well.

the class names was added succesfully.

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 10/10/2017 at 10:48 PM, juandayz said:

Looks like default epoch variables.sqf. are you using it into the mpmissions\your instance\ or is the one into dayz_code.pbo? Cuz if is the one in dayz_code.pbo you need create a new custom in mpmissions.... other way changes do not take effect.

anyway if this variables.sqf is your custom and not your default then you did it well.

the class names was added succesfully.

  Reveal hidden contents

 

Expand  

yeah ist custom called in init.sqf placed in mpmission\custom\ folder

 

but it still does not work

Link to comment
Share on other sites

  On 10/14/2017 at 7:38 PM, Erzengelgames said:

i can not because you cant get messages :D but i will post a downloadlink here http://nonvirtual.de/DayZ_Epoch_11.Chernarus.pbo pls responde after you downloaded so i can delte it again

Expand  

ill be honest its been a while lol but in your init.sqf you have these 3 lines

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
call compile preprocessFileLineNumbers "custom\variables.sqf";
call compile preprocessFileLineNumbers "custom\Buildables\variables.sqf";

the first and second line are the same files, the only difference is the second one is yours that you've modified, and the first is the original from epoch.

So one might overwrite the other.

comment out the first one and see what happens

Link to comment
Share on other sites

  On 10/14/2017 at 10:37 PM, theduke said:

ill be honest its been a while lol but in your init.sqf you have these 3 lines

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
call compile preprocessFileLineNumbers "custom\variables.sqf";
call compile preprocessFileLineNumbers "custom\Buildables\variables.sqf";

the first and second line are the same files, the only difference is the second one is yours that you've modified, and the first is the original from epoch.

So one might overwrite the other.

comment out the first one and see what happens

Expand  

LOL isnt that commetet out? I did laught at my selfe When i saw The mistake. Throught i allready did that

Link to comment
Share on other sites

  On 10/15/2017 at 10:42 AM, Erzengelgames said:

LOL isnt that commetet out? I did laught at my selfe When i saw The mistake. Throught i allready did that

Expand  

no to comment a line out in sqf you add 2 forward slashes like this

//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";

or you can comment out a whole block with

/*

CODE

HERE

*/

EDIT: I had the block first line wrong, it is now correct lol

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...