1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

System - Recipe Combine 1.4 (GUI & vJass)

Submitted by Dark_Dragon
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
Items connection system 1.4 Final.
Setup is done in GUI and system core is in vJass, meaning that you will use it as GUI with performances of vJass.

System is compatible with any Warcraft III Patch!



Requires: JNGP v5d or JNGPS for those who have it


Changelog

Version 1.1 - Sound_Point cleared whit custom script.

Version 1.2 - Now sound custom created, 2x triggers destroyed (dont need them laiter)

Version 1.3 - Totally updated this system to very simple a good item combine system.
Decreased from a big number of global variables to only 4 variables.
Speed of system totally improved, preloaded model file, generated one trigger
less + make it much more friendly and easier to install.

Version 1.3b - Reduced a loop (lot of it) which makes this system much faster now.

Version 1.4 - Made system in vjass, making it very easy to install!



Installation

1) Go to trigger editor and copy Category: 'Trigger Recipe', then paste it in your map.

2) Edit trigger: 'Load Items' to your own needs and enjoy!

NOTE: Make sure that "File\Preferences\Create unknown variables while pasting trigger data" (is enabled)



Have any other question, ask here!

HAVE FUN!!!


Keywords:
Items System, System, Systems, Items, Item Combine, Combine, Connection, Item Connection, Recipe, Recipe System, Recipe Combine, Recipes
Contents

System - Recipe/Disassemble (Map)

Reviews
Moderator
12.12 IcemanBo: For long time as NeedsFix. Rejected. 09:35, 3ndth Sep 2015 This resource has been set to Need Fix by BPower. Reason: Recipe Combine is basically identical to Recipe System without the functionality to disassemble item...
  1. Sporling

    Sporling

    Joined:
    Jun 5, 2009
    Messages:
    120
    Resources:
    0
    Resources:
    0
    awww :(

    i get all the time that error

    Scritp Error
    Load Items
    compile error
    set udg_CType[udg_ItemN-1] = udg_CItemType[0]

    my english isnt really good so i cant find the problem in that trigger or script, and iam not good in scripting so thats 2 problems why i need help :/


    EDIT: My fail, i forget 1 variable :mwahaha:
     
    Last edited: Aug 7, 2009
  2. Darkness568

    Darkness568

    Joined:
    Sep 6, 2007
    Messages:
    41
    Resources:
    0
    Resources:
    0
    This package works great, but for some reason my map no longer loads in Warcraft 3 and when i hit test the map doesnt load either. I got no errors from saving. When i click on the map within the game the description and picture pops up but no player slots. The only thing i added to the map was the item system you created and was done that way to go and test it.

    If you want i can pm you the map, but it may releate to the issues i pmed u about earlier about possible missing files.
     
  3. Dark_Dragon

    Dark_Dragon

    Joined:
    Jul 19, 2007
    Messages:
    602
    Resources:
    8
    Tools:
    1
    Spells:
    7
    Resources:
    8
    hmm yeah i would like if u can send me the map it would save me from thinking what can it be again!

    maybe patch...
     
  4. Darkness568

    Darkness568

    Joined:
    Sep 6, 2007
    Messages:
    41
    Resources:
    0
    Resources:
    0
    Its the jass i believe because i have had no issues until this was put in and jasscraft gives statement of function syntax errors along with finding several undeclared variables which may be the fact that i dont have them as i searched in the variable listings and couldnt find the variable ItemN which was a part of the errors.

    I am seeing now if the missings variables will fix it.
     
  5. Dark_Dragon

    Dark_Dragon

    Joined:
    Jul 19, 2007
    Messages:
    602
    Resources:
    8
    Tools:
    1
    Spells:
    7
    Resources:
    8
    in older version this was a problem coz you had to declare variables yourself... in this new version you only need to declare your main variable and thats all.

    overall i suggest you to dl JNGPS and enable EGUI! EGUI has Item Config type which allows you to make recipes by few clicks, its more readable and by one click you can have fast Item Stacking...

    try out EGUI and you will see what i mean, i dont suggest you to use this... overall this systems are as well fast and well coded but ones from my ultimate library are ofc better, as well its more easy no need for jass scripts and such...

    Greets!
    ~Dark Dragon
     
  6. Sporling

    Sporling

    Joined:
    Jun 5, 2009
    Messages:
    120
    Resources:
    0
    Resources:
    0
  7. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,220
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
    Can it handle conditional combining?
    Like:
    Ring of Health
    or
    2x Ring of Regeneration.


    I guess someone could make something like this.
     
  8. Hemske

    Hemske

    Joined:
    Mar 23, 2008
    Messages:
    1,568
    Resources:
    58
    Icons:
    56
    Packs:
    1
    Spells:
    1
    Resources:
    58
    Cant seem to get it to work after copied it over to my map. The error i get is: "The trigger "item combine core" must have an initialization function called "inittrig_item_combine_core". Also gets error on each of the "Call NewItemGroup()" trigger, Says "Expected a function name". Anyon e know what i've done wrong or how to fix this? Thanks!
     
  9. meteOrain-

    meteOrain-

    Joined:
    May 6, 2008
    Messages:
    284
    Resources:
    0
    Resources:
    0
    I happen to have same problem cant find a way to fix it can you tell :(

    here is the whole trigger

    • Load Items
      • Events
        • Map initialization
      • Conditions
      • Actions
        • -------- --- --------
        • -------- Item Group 1 --------
        • Set CItemType[1] = Gauntlets of Ogre Strength +3
        • Set CItemType[2] = Raw Material
        • Set CItemType[0] = War Gauntlets
        • Custom script: call NewItemGroup()
        • -------- ======= --------
        • Custom script: call DestroyTrigger( GetTriggeringTrigger() )



    EDIT+

    Well i made my own recipe trigger.

    But you can still fix this problem for that other guy
     
    Last edited: Aug 8, 2010
  10. Ayrayen

    Ayrayen

    Joined:
    Aug 6, 2009
    Messages:
    133
    Resources:
    0
    Resources:
    0
    yep it worked fine just a while ago untill now.

    You should really fix this...
     
  11. shermellow

    shermellow

    Joined:
    May 24, 2012
    Messages:
    57
    Resources:
    0
    Resources:
    0
    Downloaded it Test map worked awesomely decided to import to my map. Can't save it as it lists about 100+ different lines of code with multiple types of errors... checked everybodies comments on here nothing similar to my situation. ( I have not made any changes to the trigger myself. I have not made any custom items to be used for the trigger either maybe this is the problem?)
     
  12. shermellow

    shermellow

    Joined:
    May 24, 2012
    Messages:
    57
    Resources:
    0
    Resources:
    0
    The errors I get are as follows plus about 70+ more.

    Trigger "Load Items"

    Line 423, 429,434,439, "Expected a function Name"

    Trigger "Item Combine Core"

    Line 418: Expected end of line
    423-430: Expected a reserved type or handle type
    433: Expected a name
    434: Expected and expression
    435: Expected a variable name
    438-440: Expected a name
    441-444: Expected a variable name
    446-450: Expected 'endloop'
    453: Expected a name
    454: Expected a variable name
    455-456: Expected a name
    458: Expected 'endloop'
    459-461: Expected a variable name

    etc... list continues until line 521
    All the variables that you used in the Demo are present on the map that I imported this too btw so I know that's not the issue.
     
  13. MrJuice

    MrJuice

    Joined:
    Nov 21, 2011
    Messages:
    4
    Resources:
    0
    Resources:
    0
    I cant use it, the trigger "load items" in the line call new items group is present a error or something when i save my map ┬┐any help with that?
     
  14. pusha1999

    pusha1999

    Joined:
    Jan 7, 2014
    Messages:
    68
    Resources:
    0
    Resources:
    0
    very easy for understand, edit and use system. GJ!