Page 8 of 10

Re: Bulk buy/sell/drop interface collaboration

Posted: Sat Jul 16, 2011 6:41 am
by lady black
OK. Thanks,Oskar. Glad it will be coming along.

Re: Bulk buy/sell/drop interface collaboration

Posted: Sun Jul 17, 2011 10:53 am
by LiL
make it simple...
this is my solution:
bulkbuy.jpg

Re: Bulk buy/sell/drop interface collaboration

Posted: Sun Jul 17, 2011 12:19 pm
by oskarwiksten
Thanks for the idea LiL, but this has already been committed with the interface that ejwessel and Samuel did (see above). That interface allows you to either input a number or drag a slider to the correct amount.

Re: Bulk buy/sell/drop interface collaboration

Posted: Sun Jul 17, 2011 9:12 pm
by qasur
oskarwiksten wrote:Thanks for the idea LiL, but this has already been committed with the interface that ejwessel and Samuel did (see above). That interface allows you to either input a number or drag a slider to the correct amount.
Just for reference, but I still stand by that when you're selling an item, it you only have 1 of that item, then it doesn't open up the slider-dialogue. It's just a second press that isn't necessary when you're trying to quickly sell things. I'm sure this could be easily done. Just add a if statement that checks the quantity being sold. If equal to 1, then it just sells, otherwise, it goes into the slider-function.

Re: Bulk buy/sell/drop interface collaboration

Posted: Sun Jul 17, 2011 9:28 pm
by oskarwiksten
qasur wrote:Just for reference, but I still stand by that when you're selling an item, it you only have 1 of that item, then it doesn't open up the slider-dialogue. It's just a second press that isn't necessary when you're trying to quickly sell things. I'm sure this could be easily done. Just add a if statement that checks the quantity being sold. If equal to 1, then it just sells, otherwise, it goes into the slider-function.
Good idea qasur. This was something I considered while coding it, but decided not to add. My hope was that the quantity selection dialog now also could serve as a confirmation dialog if you would happen to misclick another item. Do you think it would work that way? In the case of misclicking a magical or extraordinary item while selling, there would most likely only be one such item in your inventory, and in those cases we really want some kind of confirmation dialog I think.

Otherwise, we could add a separate confiration dialog when selling non-ordinary items. Would that be more intuitive do you think?

Maybe it should be a different behaviour when selling compared to buying? Should buying an item always default to 1 if the merchant only has one (regardless of its price or unique-ness), and selling always show the quantity dialog?

Good ideas (again) qasur. Please continue your insightful comments!

Re: Bulk buy/sell/drop interface collaboration

Posted: Mon Jul 18, 2011 11:44 am
by LiL
:P
1. function Buy:

Code: Select all

if ( Count > 1 ) 
   {
      slider-dialogue.show(); 
   }
   else
   {
       buy the item;
   }
2. function Sell:

Code: Select all

if ( Count == 1 )
    {
        if ( item is a magical or extraordinary )
        {
             confirmation-dialogue.show();             
        }
        else
        {
           sell the item; 
        }
    }
    else
    {
       slider-dialogue.show();
    }

3. about misclicking:

there are several options:
1)Not to clear items(sold by player) until the player left(the current map).

2) place a chest (capacity of 100 items) beside the bed.
Instead of selling or carrying, you can put trophies in the chest.

3) place a NPC at a couter (in a tavern or hotel) to provide safekeeping service.


4. to color items (would be easy to distinguish special items from others)
(refere to titles on buy/sell interface, not icons)
unique items = red
legendary items = orange
...
for example:

Minor potion of health(1000)
Regular potion of health(10)
Ring of lesser Shadow
meat(200)
Rat tail(100)
Elytharan redeemer
fallstone's pride

...

Re: Bulk buy/sell/drop interface collaboration

Posted: Tue Jul 19, 2011 6:50 pm
by Countvlad54
I like #2,3.

Re: Bulk buy/sell/drop interface collaboration

Posted: Sat Jul 23, 2011 11:57 pm
by Antison
Today I had the priviledge of testing an issue for oskar and got my first exposure to this slider, and let's just say I was disappointed. I have developed many web based ui controls that allow a users to reorder items that allowed the user to move the first item in the list up and it would result in the item to be moved to the bottom of the list.
With that said, why can't when @ 1 and the user clicks the minus button have the quantity shown be the max allowed/available?
I hate having to enter in the total amount I want to sell when that total = quantity available. I just want to click the minus button then click sell.

Re: Bulk buy/sell/drop interface collaboration

Posted: Sun Jul 24, 2011 6:30 am
by ejwessel
tek wrote:Today I had the priviledge of testing an issue for oskar and got my first exposure to this slider, and let's just say I was disappointed. I have developed many web based ui controls that allow a users to reorder items that allowed the user to move the first item in the list up and it would result in the item to be moved to the bottom of the list.
With that said, why can't when @ 1 and the user clicks the minus button have the quantity shown be the max allowed/available?
I hate having to enter in the total amount I want to sell when that total = quantity available. I just want to click the minus button then click sell.
This was found to be unintuitive, back on the first page of this discussion. If others support you on this we'll be inclined to add it of course :D

Re: Bulk buy/sell/drop interface collaboration

Posted: Sun Jul 24, 2011 6:32 am
by Samuel
I will look into it.