Inventory Drop Problem

Forum for bugs and technical problems.

Inventory Drop Problem

Postby Heffernan » Sat Sep 03, 2016 5:52 pm

Hello, not sure if anyone else had this or could try but when i have something on the RIGHT side of a large inventory and pick it up i cant drop it on those spots again only on the left or bottom..

Image

picked up the Jar Glasses and could only drop therm to the bottom.
User avatar
Heffernan
 
Posts: 8564
Joined: Mon Sep 08, 2014 3:07 pm
Location: Marps Closet

Re: Inventory Drop Problem

Postby Taipion » Sat Sep 03, 2016 6:38 pm

Yea I have that too sometimes.

Try to place on the bottom line, and if that does not work for whatever reason, then remember CTRL-G (iirc) opens your backpack...
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2662
Joined: Fri Mar 08, 2013 4:12 pm

Re: Inventory Drop Problem

Postby TotalyMeow » Sat Sep 03, 2016 6:39 pm

Did you try this without Kandarim's sort?
Community Manager for Mortal Moments Inc.

Icon wrote:This isn't Farmville with fighting, its Mortal Kombat with corn.
User avatar
TotalyMeow
 
Posts: 3782
Joined: Thu Jun 05, 2014 8:14 pm

Re: Inventory Drop Problem

Postby Taipion » Sat Sep 03, 2016 6:42 pm

TotalyMeow wrote:Did you try this without Kandarim's sort?


I am pretty sure it is related to that sorting feature, but then again, (non-continous) sorting is too good to not use it....

[edit:] That bug usually goes along with some occurrences of 2 items being displayed in 1 inventory slot.
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2662
Joined: Fri Mar 08, 2013 4:12 pm

Re: Inventory Drop Problem

Postby Kandarim » Sat Sep 03, 2016 7:46 pm

yes yes my sorting is messed up in horrible horrible ways. I should find time to finally fix it soon TM.

Specific reason for this: my sorting code allows inventories wider than 32 slots, whereas the server does not allow this. Hence dropping it in the 33rd row is a command that is simply ignored by the server.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Inventory Drop Problem

Postby Reviresco » Sat Sep 03, 2016 7:47 pm

When that happens to me I have to place it in the middle of the bottom row. Always works.
User avatar
Reviresco
 
Posts: 1382
Joined: Wed Jul 01, 2015 6:49 pm

Re: Inventory Drop Problem

Postby Taipion » Sat Sep 03, 2016 8:07 pm

Kandarim wrote:yes yes my sorting is messed up in horrible horrible ways. I should find time to finally fix it soon TM.

Specific reason for this: my sorting code allows inventories wider than 32 slots, whereas the server does not allow this. Hence dropping it in the 33rd row is a command that is simply ignored by the server.


You tell me you don't map the clients slots to those on the server correctly?! :lol:

[edit:] ...when you decide to fix this, as you are already at it maybe also add an option to set the inventorys width to a fixed amount of columns.
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2662
Joined: Fri Mar 08, 2013 4:12 pm

Re: Inventory Drop Problem

Postby Kandarim » Sat Sep 03, 2016 8:11 pm

the mapping is done correctly, but when you try to put it in a slot that has no mapping, it simply sends the drop command for that particular slot -- I simply never encountered such a wide inventory in my testing, I think.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Inventory Drop Problem

Postby Taipion » Sat Sep 03, 2016 10:40 pm

Kandarim wrote:the mapping is done correctly, but when you try to put it in a slot that has no mapping, it simply sends the drop command for that particular slot -- I simply never encountered such a wide inventory in my testing, I think.


I remember the layout of your inventory changed at some point, the point where it started to add columns to the right after a certain row/column-ratio was exceeded (a behaviour which I btw never liked)...

Anyways, if there is a slot without a mapping, then it's not done correctly! :P
As you seem to know what the problem is and how the slots are handled server sided, why not just put in a check that redirects item placement into invalid slots to valid slots (at the end of the inventory)? (As an interim solution)
Then you'd only need to remember which (server side) slot it went to, and map that to the actual (client side) slot that the user clicked, easy as that?
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2662
Joined: Fri Mar 08, 2013 4:12 pm

Re: Inventory Drop Problem

Postby black89hawk » Sat Sep 03, 2016 11:30 pm

I have this problem from long time

but dont forget that when you hold tons stuff you will drop it because of lots numbers of stuff
also some time you cant pickup stuff or it will replace on other stuff
User avatar
black89hawk
 
Posts: 215
Joined: Fri Jun 07, 2013 7:37 pm

Next

Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 6 guests