Emps-World Forum

Emps-World => Bug Reports => Resolved Bug Reports => Topic started by: Powned You50 on January 23, 2015, 04:18:37 pm

Title: Not able to move your items while using the bank
Post by: Powned You50 on January 23, 2015, 04:18:37 pm
Didn't know where to post this,
Couldn't PM @Thomy about this.

You're not able to move your items while using the bank
Found a code that would make this "Maybe" possible

Code: [Select]
public void moveItems(int Interface, int from, int to) {
int tempI;
int tempN;
switch (Interface) {
case 3214: // trade screen inventory
case 5064: // bank inventory
case 2006: // party room chest inventory
tempI = playerItems[from];
tempN = playerItemsN[from];
playerItems[from] = playerItems[to];
playerItemsN[from] = playerItemsN[to];
playerItems[to] = tempI;
playerItemsN[to] = tempN;
resetItems(3214);
break;

case 5382: // Move Bank Items
if ((from >= 0) && (to >= 0) && (from < playerBankSize) && (to < playerBankSize)) {
tempI = bankItems[from];
tempN = bankItemsN[from];
bankItems[from] = bankItems[to];
bankItemsN[from] = bankItemsN[to];
bankItems[to] = tempI;
bankItemsN[to] = tempN;
}
break;

case 2273: // drop party chest screen
break;
}
}

I'll be glad if this would solve the problem if not it kinda sucks
Title: Re: Not able to move your items while using the bank
Post by: Thomy on January 23, 2015, 04:40:06 pm
Emps-World code is different from anything you find from anything RSPS related... ;)
The next update fixes the issue though, thanks for reporting.