Reply to Re: New item problem.
If you don't have an account, just leave the password field blank.
You should check the value of free_items(); before and after adding the sword and see if it changes. That should help narrow down where the problem lies.