Let's see if i can make this simple.
Commands
/refine or
/upitem do exactly the same.
They can have 3 parameters after the command.
First parameter:
/refine
0 <- location of the item in your inventory,
0 means the first slot on the upper left.
Second parameter:
/refine 0
0 <-
0 means you are upgrading as if you were using town blacksmith, works everywhere even in DT, but you need to have the items necessary to upgrade.
Third Parameter:
/refine 0 0
# <-
# is the number of steps you want to upgrade the item, use 1 to 9, once again you need to have the items necessary to upgrade.
To use the DT Blacksmith:
/refine 0
4 <-
4 means you are using DT Blacksmith instead of
0 for town blacksmith.
For this to work, you have to be on the floor of the DT, and you don't need any items for the upgrade.
As in DT you can only upgrade once, there's no point in using the third parameter.
When using this command you can upgrade any item, no matter what kind of blacksmith came up.
I hope it helps.
This is quite simple, all you have to do is use your brain