Log in

View Full Version : Loosing Craft Items on Failure


donaldcanard
12-06-2008, 03:20 AM
I am having a problem with crafting.

In the blacksmith trade, when you put a rusty weapon and a sharpening stone in a forge, you get a tarnished weapon on success. On failure you should get back your rusty weapon (only loosing your sharpening stone).

My problem is that I loose my rusty weapon on failure.

Does anyone know what the problem might be? Could this be a problem with my server setup or something I should report as a bug? I have checked my error logs and did not find anything that would indicate a problem.

I have tried searching for a solution but did not find anything. BTW: I would like to thank everyone who have posted solutions to problems other people have posted. If it were not for those solutions, I would never have gotten my server this far.

donaldcanard
12-06-2008, 04:33 AM
It occurred to me to see what the behavior is on a public server.

I find the exact same behavior as on my server. So I believe this is a bug. Can someone move this thread to the BUG forum?

trevius
12-06-2008, 06:21 AM
It isn't a bug, since combines are handled completely in the database. Bug reports on this site are not for database related issues. It is an issue with the recipe table. You would have to alter it to return the item upon failure. This might be something worth bringing up on the PEQ or AX forums, whichever DB you are using.

joligario
12-06-2008, 09:25 AM
It is a known bug on PEQ when it comes to recipes. You must have a seperate line for your failure returns as products in your recipe table.

Example:
ComponentA - Qty Req = 1 Qty Ret on Fail = 0
ComponentB - Qty Req = 1 Qty Ret on Fail = 0
ComponentB - Qty Req = 0 Qty Ret on Fail = 1

You can not use this:
ComponentA - Qty Req = 1 Qty Ret on Fail = 0
ComponentB - Qty Req = 1 Qty Ret on Fail = 1

Another bug with tradeskills we have noticed is that you can not have a component and a result on the same line at all. They must also be seperate entries in the database table.