Thread: moveitem

Results 1 to 7 of 7
  1. #1 moveitem 
    Registered Member
    Join Date
    Jun 2015
    Posts
    178
    Thanks given
    4
    Thanks received
    2
    Rep Power
    0
    m using pi and i have issues with moving item in bank
    when i try to move item and make my bank look nicely the item go around the bank

    explain if i had 5 lines of item in my bank and i try to move vesta leg under the vesta top the vesta leg will be location in line 4 or 5 or somewhere in the bank
    any idea how to fix this correctly?

    forpeople who doesnt understand
    Currently when re-organizing your bank you can switch items around until you get to around row 5 then it no longer allows it, I was wandering if there was a snippet or such that fixed this up as I don't really know what to search for?
    before moving

    after moving the item

    heres my moveitem code in itemas
    Code:
    	public void moveItems(int from, int to, int moveWindow) {
    		if (moveWindow == 3724) {
    			int tempI;
    			int tempN;
    			tempI = c.playerItems[from];
    			tempN = c.playerItemsN[from];
    
    			c.playerItems[from] = c.playerItems[to];
    			c.playerItemsN[from] = c.playerItemsN[to];
    			c.playerItems[to] = tempI;
    			c.playerItemsN[to] = tempN;
    		}
    
    		if (moveWindow == 34453) {
    			if (!c.itemInsert) {
    				if (to < 0) { 
    					int temp = 128 - (to*-1);
    					to = 128 + temp; 
    				}
    			}
    			if (from >= 0 && to >= 0 && from < Config.BANK_SIZE && to < Config.BANK_SIZE) {
    				if (!c.itemInsert) {
    					int tempI = c.bankingItems[from];
    					int tempN = c.bankingItemsN[from];
    					c.bankingItems[from] = c.bankingItems[to];
    					c.bankingItemsN[from] = c.bankingItemsN[to];
    					c.bankingItems[to] = tempI;
    					c.bankingItemsN[to] = tempN;
    					if ((from == 0 || to == 0) && c.bankingTab != 0) {
    						Bank.updateTabs(c);
    					}
    				}
    			}
    		}
    
    		if (moveWindow == 34453) {
    			Bank.updateInterface(c);
    			Bank.updateInventory(c);
    		}
    		if (moveWindow == 18579) {
    			int tempI;
    			int tempN;
    			tempI = c.playerItems[from];
    			tempN = c.playerItemsN[from];
    
    			c.playerItems[from] = c.playerItems[to];
    			c.playerItemsN[from] = c.playerItemsN[to];
    			c.playerItems[to] = tempI;
    			c.playerItemsN[to] = tempN;
    			////updateInventory = true;
    			resetItems(3214);
    		}
    		if (moveWindow == 3724) {
    			////updateInventory = true;
    			resetItems(3214);
    		}
    
    	}
    anyone could give me the correctly code?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2012
    Posts
    88
    Thanks given
    4
    Thanks received
    3
    Rep Power
    8
    need this also.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2015
    Posts
    178
    Thanks given
    4
    Thanks received
    2
    Rep Power
    0
    still need this!
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2015
    Posts
    178
    Thanks given
    4
    Thanks received
    2
    Rep Power
    0
    still need help with this...
    Reply With Quote  
     

  5. #5  
    Registered Member Rojeh's Avatar
    Join Date
    Jun 2012
    Posts
    353
    Thanks given
    7
    Thanks received
    20
    Rep Power
    75
    Do you mind to capture the problem in a gif/video, I don't quite understand what is the problem.
    • If it been done before you can do it too!
    • We're all humans, built from the same resources by different layouts and schemes.
    • Nobody is perfect, everyone has their own defects and disabilities.
    • Choose to be kind, not because you have to but because you understand how it feels to be treated bad.
    • Be against racism regardless of how you were raised because nobody loves feeling odd and not belonging.
      If any of the above inspires you make sure to pass it on
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2015
    Posts
    178
    Thanks given
    4
    Thanks received
    2
    Rep Power
    0
    still need help with this
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2015
    Posts
    178
    Thanks given
    4
    Thanks received
    2
    Rep Power
    0
    still need help
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Strange moveitem bug
    By Abnant in forum Help
    Replies: 10
    Last Post: 01-08-2014, 05:24 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •