Jump to content
McKay Development

In node-tf2, cannot craft an item with "Fabricate Class Weapon" recipe


Recommended Posts

I have three valid items (1 scrap metal, 1 class token and 1 slot token). I call the craft method this way: .craft([scrap, classToken, slotToken], 11);

As a result, in a craftingComplete event I get an error. Do theese items should go in a particular order or there some other error could be happening? scrap, classToken and slotToken are totally valid IDs. In this example I'm trying to craft a spy PDA2 weapon with specified tokens. Cannot try with other tokens as i don't have any other on me.

Link to post
Share on other sites
6 hours ago, Dr. McKay said:

Are you sure 11 is the correct recipe ID?

Well, in the item schema i get the 11'th crafting recipe is described as "#RT_F_A", "#RI_Cw" which translates into "Fabricate class weapons" which is exactly what I need hovewer crafting also fails without specifying the recipe.

Link to post
Share on other sites

I guess there must be something wrong with the way you're getting your item IDs, then.

Edit: Actually, possibly that recipe might be one of the ones that Valve banned bots from using after the geel incident. I'm not sure why one would consider a weapon to be "high-value", but you never know with Valve. Can you craft those 3 items in-game?

Edited by Dr. McKay
Link to post
Share on other sites
12 hours ago, Dr. McKay said:

I guess there must be something wrong with the way you're getting your item IDs, then.

Edit: Actually, possibly that recipe might be one of the ones that Valve banned bots from using after the geel incident. I'm not sure why one would consider a weapon to be "high-value", but you never know with Valve. Can you craft those 3 items in-game?

Yes, I can craft them in-game.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...