isBanking is not a recognized variable (boolean'
|
|
Ok, im trying to patch a dupe used multiple guides and i keep getting this error.
src\server\model\players\packets\BankAll.java:33: error: cannot find symbol
if(!c.isBanking || c.inTrade) {
^
symbol: variable isBanking
location: variable c of type Client
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Press any key to continue . . .

isBanking is not a recognized variable (boolean'
Thank's for the rapid response, how would i create this?
Or, where would i find my boolean

Player.java declarePlayerAssistant.java in your openUpBank method add: c.isBanking = true;Code:public boolean isBanking
PlayerAssistant.java in your removeAllWindows method add : c.isBanking = false;

What have you added upto now? is this a tutorial?

It was a failed tut, i started with sanity's first ever pi, doing it up myself as a starter base to host on, done webclient file's ect, all npc's /minigame's just needed dupe's.
Found that one but the tut's were only showing me how to do 'bankall' and my boolean wasnt on player.java, thank's to 'phl0w' and then i added method to bankx2 bankx5 and bankx10 and bankall and i think it's worked.
If i could rep i would.
Still need help for some reason it's letting me bank by clicking x1, x5, x10 while in trade.
Causing dupe, here is my case.
case 5064:
if(c.inTrade) {
c.getTradeAndDuel().declineTrade(true);
}
c.getItems().bankItem(removeId, removeSlot, 5);
break;
No compile error's but still letting me dupe.
| « How to change the (hyrbiding) switches delay on youre server | [pi] get error when i use autocast with magics » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |