System Artificial's Recipe System

Shoot!
I see what you're saying, Artie. Mind if I call you Artie? Thanks for the help, Artie, plus rep for Artie!
 
Sorry to be a double-poster, but I have encountered problems with the system's implementation and after several frustrating days of trying, now I'm posting to see if I can get some advice.

I downloaded and ran NewGen, and then copied and pasted both triggers. It then goes error-happy. The JassHelper window then freezes, and I have to shut my map down cold for a reset. I really need an implementer :(
 
Hey this system is great ^^ congratz (Y)

i'll start implementing it into my map because it will make me save a lot of space in triggers and i will be able to disassemble =D

Thx a lot
 
Im not trying to double post. But i found some weird behavior after implementing the system...

Most of the times (not always, but many times indeed) you can't shift+pick up items, coz the hero stops the shifted actions. For ie: you want to pick up 6 items while going back to base, but the hero picks up 2 or 3 and then stops. I don't know if this is because some of the items i wanted to pick up were in the system or not (im not sure), but happened.

The other thing i found is: I ordered my hero to destroy an item (attacking it, duh!) but my hero attempted to pick it up :S... and that happened many times (also, i dont know if the item was or was not in the system)

ok, i think that's all. Thx for the system again =D
 
Most of the times (not always, but many times indeed) you can't shift+pick up items, coz the hero stops the shifted actions. For ie: you want to pick up 6 items while going back to base, but the hero picks up 2 or 3 and then stops. I don't know if this is because some of the items i wanted to pick up were in the system or not (im not sure), but happened.
I'll look into this when I get access to WC. Might be the NEED_PICKUP stuff doesn't quite work with shift ordering.

I ordered my hero to destroy an item (attacking it, duh!) but my hero attempted to pick it up :S... and that happened many times (also, i dont know if the item was or was not in the system)
Oh lol, I forgot to check the command in the stuff that makes the inventory not need to be full to pick up the item. x) Should be an easy fix.

I think you should be able to fix both of these problems by setting NEED_PICKUP to false (in case you don't really need that functionality). I'll try to fix these things when I get access to WC, though. Thanks for noting. =)
 
Np ^^

yes, well, it is not THAAAT necessary, but i like it :p. I'll test after your fix and see if the game responds well, after that i'll decide if i use it or not :p
 
Ive been trying to make this thing of buying an item when your inventory is full...

so i took a few looks at DotA and it seems (as far as i could see) that their shops are not really shops, they are allied units with abilities that looks like items. When you buy something, the item is created and the hero is ordered to pick that item. If we do the maths, your system will try to pick that item and then create the item in the inventory as normal (you cant buy an item, even if it is a rune, with your inventory full)

am i correct? or im just hallucinating?

but the part i can't understand is

If they are abilities... how to make them look like this

Dibujo-6.jpg


while abilities have the little mana icon
 
is this compatiable with 1.24? because i tried it and it didn't work :/

still a good recipe system though
 
they are charge gold abilities and you can change their order id (the little gold icons appears with that skill)

But i can't figure out how to detect the triggering player of the ability instead of the owner of the triggering unit :/
 
v0.7b

Code:
Fixed 1.24 compatibility issues (stupid patch). Remember to update your Table as well.
Fixed some bugs with the NEED_PICK_UP stuff.
 When NEED_PICK_UP is true and a unit with full inventory is ordered 
 to pick up an item that's too far away for it to pick up, it won't 
 automatically be ordered to move to the item anymore. (This had
 to be done to fix a bug.)

I'm also planning to recode this (though I might just be too lazy to do so), so if you have any ideas for functionality to add/remove/modify/etc, now'd be a good time to do so.

@Darkrider
What I heard quite a while ago is that DotA doesn't use abilities, but buying units instead of buying items. Anyway, I think the WEHZ is the correct place for that conversation, not this thread (as this system isn't related to buying items when your inventory is full).
 
actually... after hours and lots of tries test and etc... i could make your system to work with runes and full inventories to create items. But I had to use one of the bugs i mentioned xD... ill post my triggers here for you to see (perhaps you come out with an idea :O)

Trigger:
  • Transfer Rune to Item
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-class of (Item being manipulated)) Equal to Powerup
    • Actions
      • For each (Integer V[56]) from 1 to Max_Items, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item being manipulated)) Equal to Item_Rune[V[56]]
            • Then - Actions
              • Hero - Create ItemStorement[V[56]] and give it to (Triggering unit)
              • Unit - Order (Triggering unit) to Right-Click (Last created item)
              • Unit - Order (Triggering unit) to Attack Once (Last created item)
              • Unit - Order (Triggering unit) to Stop
              • Skip remaining actions
            • Else - Actions

In this trigger what i do is: When my hero buys a rune (from shops) it actually uses the rune and can buy it even with its inventory full... so as the rune is removed automatically then i create the item the player wanted to buy and give it to the hero.
Actually i know that
Trigger:
  • Unit - Order (Triggering unit) to Right-Click (Last created item)
doesn't pick up the item, while
Trigger:
  • Unit - Order (Triggering unit) to Attack Once (Last created item)
does... (so i order the hero to stop for it not to destroy the item).

with this simple actions i made your system to create items with full inventory buying from shop. it is not a 100% but an acceptable 90%

The only problem with this is that: If a player really wants to destroy an item, the hero will attempt to pick it up... so far, i cant fix this :p
 
Trigger:
  • Then - Actions
    • Hero - Create ItemStorement[V[56]] and give it to (Triggering unit)
    • Unit - Order (Triggering unit) to Right-Click (Last created item)
    • Unit - Order (Triggering unit) to Attack Once (Last created item)
    • Unit - Order (Triggering unit) to Stop
    • Skip remaining actions

You could change that part to
Trigger:
  • Then - Actions
    • Hero - Create ItemStorement[V[56]] and give it to (Triggering unit)
    • Custom script: call RecipeSYS_Combine(bj_lastCreatedItem, GetTriggerUnit())
    • Skip remaining actions

Then you don't need to use the attack-pickup bug.
 
hahahha now this is a funny bug xD

ive been playing around with items and a system that is in my map to move items from hero inventories to a region in map... and i discovered a funny bug in recSYS xD


pick up a couple of items shifting and not shifting to pick them up, now move the items inside your inventory with right click and clicking other items, and you will notice that your hero moves by it self to one of the positions where your shifted items used to be. What tells me that there might be a location leak too besides this bug
 
You're not using 0.7b, are you? I think I know what the bug is caused by if you're using 0.7, but that's been fixed in 0.7b.

Anyway, to fix it, you could try changing the line
JASS:
if GetOrderTargetItem() == null then

(just CTRL + F it) to

Haven't tested that, though, so it might not fix it. ;p

> there might be a location leak
There ain't. It's just that when you do GetItemX/Y for an item that's carried by a unit, it gives the X/Y of the location the item was picked up in.
 
oh, very well then ^^

yes, i was using system 0.7 :p

EDIT: yes, seems that condition fixed it ^^ thy
 
Could someone please post example usage of the disassemble function, I cant seem to get it to work.
 
this is what I made to test the function but no avail? Also I edited in the code to drop at the unit "u"s x y

EDIT

Working :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    alternatively if you not making at least 23 an hour you could work in an Aldi warehouse
  • Varine Varine:
    Yeah I've been thinking about using AI for shit. I'm on vacation next week so I'm going to spend some time reorganizing everything and getting all my shit back in order
  • Varine Varine:
    lol I technically make less than 23 right now because I'm on salary and am there all the time, but it's a lot more than a normal wage still. I also have a meeting soon to renegotiate my pay because I want about a 25% increase to account for what I'm actually doing or a re-evaluation of our duties so that that my responsibilities are more in line with my pay. Depending on how that goes I'm prepared to give notice and move on, I don't mind taking less money so I'd have time for the rest of my life, but I'd rather they just fucking pay me enough to justify the commitment on my end. Plus right now I hold pretty much all the cards since I'm the only one actually qualified for my position.
    +1
  • Varine Varine:
    The other chef was there before me and got his position by virtue of being the only adult when the old general manager got married and didn't want to deal with the kitchen all the time, and happened to be in the position when the GM quit. New GM is fine with front of house but doesn't know enough about the kitchen side to really do anything or notice that I'm the one primarily maintaining it. Last time I left they hired like 3 people to replace me and there was still a noticeable drop in quality, so I got offered like 6 dollars an hour more and a pretty significant summer bonus to come back
  • Varine Varine:
    So honestly even if I leave I think it would last a couple of months until it's obvious that I am not exactly replaceable and then I would be in an even better position.
  • Varine Varine:
    But as of right now I have two other job offers that are reasonably close to what my hourly equivalency would be, and I would probably have more time for my other projects. The gap would be pretty easy to fill up if I had time to do my side jobs. I use to do some catering and private events, personal lessons, consultations, ect, and I charge like 120 an hour for those. But they aren't consistent enough for a full time job, too small of a town. And I'm not allowed to move for another year until my probation is over
  • Varine Varine:
    I guess I could get it transferred, but that seems like a hassle.
  • Varine Varine:
    Plus I have a storage room full of broken consoles I need to fix. I need to build a little reflow oven so I can manufacture some mod chips still, but it'll get there.
    +1
  • Varine Varine:
    I would like to get out of cooking in general at some point in the next ten years, but for the time being I can make decent money and pump that into savings. I've been taking some engineering classes online, but those aren't exactly career oriented at the moment, but I think getting into electronic or computer engineering of some sort would be ideal. I'm just going to keep taking some classes here and there until there's one that I am really into.
    +2
  • The Helper The Helper:
    There is money in fixing and reselling consoles. Problem is people know that so they are doing it
  • The Helper The Helper:
    If you can find a source of broken consoles though you can make money fixing them - sometimes some big money
  • Varine Varine:
    I was buying them on Ebay, but it's pretty competitive, so more recently I've just been telling the thrift stores to call me and I will come take all their electronics they can't sell. I've volunteered there before and people use them like a dump sometimes, and so they just have a massive amount of broken shit they throw away
  • Varine Varine:
    The local GoodWill was pretty into it, surprisingly the animal shelter store was not. The lady I talked to there seemed to think I was trying to steal stuff or something, she wasn't very nice about it. Like I'm just trying to stop you having to throw a bunch of electronics away, if you can sell it great. I'd probably pay you for the broken shit too if you wanted
  • Varine Varine:
    Then I make posts on Facebook yard sale pages sometimes saying I want your old electronics, but Facebook being Facebook people on there are also wary about why I want it, then want a bunch of money like it's going to be very worth it
  • Varine Varine:
    Sooner than later I'm going to get my archives business going a little more. I need some office space that is kind of hard to get at the moment, but without it, I have to be like "Yeah so go ahead and just leave your family heirlooms and hundred year old photographs here at my shitty apartment and give me a thousand dollars, and next month I'll give you a thumb drive. I promise I'll take care of them!"
    +1
  • Varine Varine:
    I can do some things with them at their home, but when people have thousands of slides and very delicate newspaper clippings and things, not really practical. I
  • Varine Varine:
    I would be there for days, even with my camera set up slides can take a long time, and if they want perfect captures I really need to use my scanners that are professionally made for that. My camera rig works well for what it is, but for enlargements and things it's not as good.
  • Varine Varine:
    I've only had a couple clients with that so far, though. I don't have a website or anything yet though.
  • Varine Varine:
    Console repair can be worthwhile, but it's also not a thing I can do at scale in my house. I just don't have room for the equipment. I need an office that I can segregate out for archival and then electronic restoration.
  • Varine Varine:
    But in order for that to be real, I need more time, and for more time I need to work less, and to work less I need a different job, and for a different job I need more money to fall back on so that I can make enough to just pay like, rent and utilities and use my savings to find these projects
    +1
  • Varine Varine:
    Another couple years. I just need to take it slow and it'll get there.
  • jonas jonas:
    any chance to get that stolen money back?
  • jonas jonas:
    Maybe you can do console repair just as a side thing, especially if there's so much competition business might be slow. Or do you need a lot of special equipment for that?
  • jonas jonas:
    I recently bought a used sauna and the preowner told me some component is broken, I took a look and it was just a burnt fuse, really cheap to fix. I was real proud of my self since I usually have two left hands for this kinda stuff :p
  • tom_mai78101 tom_mai78101:
    I am still playing Shapez 2. What an awful thing to happen, Varine, and hopefully everything has been sorted out soon. Always use multi-factor authentication whenever you have the opportunity to do so.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top