Welkom bij Emps-World!

Registreer je nu om toegang te krijgen tot al onze forumfuncties. Zodra je bent geregistreerd en ingelogd, kun je onderwerpen aanmaken, reacties plaatsen, privéberichten sturen, je profiel beheren, met andere spelers chatten in de shoutbox en nog veel meer. Zodra je inlogt, verdwijnt dit bericht.

Pagina's: 1

Powned You50

Januari 23, 2015, 04:18:37 pm
  • 12
  • Leon > Veteran > OldPlayer
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

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
 

Thomy

Reageren #1 · Januari 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.
 
Pagina's: 1