client.java:8859: error: class, interface, or enum expected
                                                person.updateRequired = true;
                                                ^
client.java:8860: error: class, interface, or enum expected
                                                person.hitUpdateRequired = true;

                                                ^
client.java:8861: error: class, interface, or enum expected
                                                person.currentHealth -= misc.ran
dom(30);
                                                ^
client.java:8862: error: class, interface, or enum expected
                                        }
                                        ^
client.java:8867: error: class, interface, or enum expected
        public void attackPlayersWithin2(int gfx, int maxDamage, int range) {
               ^
client.java:8874: error: class, interface, or enum expected
                                if (person.playerName != null) {
                                ^
client.java:8879: error: class, interface, or enum expected
                                                person.specGFX(gfx);
                                                ^
client.java:8880: error: class, interface, or enum expected
                                                if (person.playerLevel[3] - dama
ge < 0) {
                                                ^
client.java:8882: error: class, interface, or enum expected
                                                }
                                                ^
client.java:8885: error: class, interface, or enum expected
                                                person.KillerId = playerId;
                                                ^
client.java:8886: error: class, interface, or enum expected
                                                person.updateRequired = true;
                                                ^
client.java:8887: error: class, interface, or enum expected
                                                person.hitUpdateRequired = true;

                                                ^
client.java:8888: error: class, interface, or enum expected
                                                person.currentHealth -= misc.ran
dom(30);
                                                ^
client.java:8889: error: class, interface, or enum expected
}
^
client.java:8892: error: class, interface, or enum expected
                                                person.KillerId = playerId;
                                                ^
client.java:8893: error: class, interface, or enum expected
                                                person.updateRequired = true;
                                                ^
client.java:8894: error: class, interface, or enum expected
                                                person.hitUpdateRequired = true;

                                                ^
client.java:8895: error: class, interface, or enum expected
}
^
client.java:8901: error: class, interface, or enum expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
               ^
client.java:8904: error: class, interface, or enum expected
                if (playerItemsN[fromSlot] <= 0) {
                ^
client.java:8906: error: class, interface, or enum expected
                }
                ^
client.java:8910: error: class, interface, or enum expected
                        }
                        ^
client.java:8914: error: class, interface, or enum expected
                                boolean alreadyInBank = false;
                                ^
client.java:8916: error: class, interface, or enum expected
                                for (int i = 0; i < playerBankSize; i++) {
                                ^
client.java:8916: error: class, interface, or enum expected
                                for (int i = 0; i < playerBankSize; i++) {
                                                ^
client.java:8916: error: class, interface, or enum expected
                                for (int i = 0; i < playerBankSize; i++) {
                                                                    ^
client.java:8920: error: class, interface, or enum expected
                                                }
                                                ^
client.java:8922: error: class, interface, or enum expected
                                                toBankSlot = i;
                                                ^
client.java:8923: error: class, interface, or enum expected
                                                i = playerBankSize + 1;
                                                ^
client.java:8924: error: class, interface, or enum expected
                                        }
                                        ^
client.java:8928: error: class, interface, or enum expected
                                        for (int i = 0; i < playerBankSize; i++)
 {
                                                        ^
client.java:8928: error: class, interface, or enum expected
                                        for (int i = 0; i < playerBankSize; i++)
 {
                                                                            ^
client.java:8931: error: class, interface, or enum expected
                                                        i = playerBankSize + 1;
                                                        ^
client.java:8932: error: class, interface, or enum expected
                                                }
                                                ^
client.java:8935: error: class, interface, or enum expected
                                        if (playerItemsN[fromSlot] < amount) {
                                        ^
client.java:8937: error: class, interface, or enum expected
                                        }
                                        ^
client.java:8941: error: class, interface, or enum expected
                                        } else {
                                        ^
client.java:8943: error: class, interface, or enum expected
                                                return false;
                                                ^
client.java:8944: error: class, interface, or enum expected
                                        }
                                        ^
client.java:8946: error: class, interface, or enum expected
                                        resetItems(5064);
                                        ^
client.java:8947: error: class, interface, or enum expected
                                        resetBank();
                                        ^
client.java:8948: error: class, interface, or enum expected
                                        return true;
                                        ^
client.java:8949: error: class, interface, or enum expected
                                } else if (alreadyInBank) {
                                ^
client.java:8953: error: class, interface, or enum expected
                                        } else {
                                        ^
client.java:8955: error: class, interface, or enum expected
                                                return false;
                                                ^
client.java:8956: error: class, interface, or enum expected
                                        }
                                        ^
client.java:8958: error: class, interface, or enum expected
                                        resetItems(5064);
                                        ^
client.java:8959: error: class, interface, or enum expected
                                        resetBank();
                                        ^
client.java:8960: error: class, interface, or enum expected
                                        return true;
                                        ^
client.java:8961: error: class, interface, or enum expected
                                } else {
                                ^
client.java:8963: error: class, interface, or enum expected
                                        return false;
                                        ^
client.java:8964: error: class, interface, or enum expected
                                }
                                ^
client.java:8967: error: class, interface, or enum expected
                                int toBankSlot = 0;
                                ^
client.java:8968: error: class, interface, or enum expected
                                boolean alreadyInBank = false;
                                ^
client.java:8970: error: class, interface, or enum expected
                                for (int i = 0; i < playerBankSize; i++) {
                                ^
client.java:8970: error: class, interface, or enum expected
                                for (int i = 0; i < playerBankSize; i++) {
                                                ^
client.java:8970: error: class, interface, or enum expected
                                for (int i = 0; i < playerBankSize; i++) {
                                                                    ^
client.java:8973: error: class, interface, or enum expected
                                                toBankSlot = i;
                                                ^
client.java:8974: error: class, interface, or enum expected
                                                i = playerBankSize + 1;
                                                ^
client.java:8975: error: class, interface, or enum expected
                                        }
                                        ^
client.java:8978: error: class, interface, or enum expected
                                        for (int i = 0; i < playerBankSize; i++)
 {
                                                        ^
client.java:8978: error: class, interface, or enum expected
                                        for (int i = 0; i < playerBankSize; i++)
 {
                                                                            ^
client.java:8981: error: class, interface, or enum expected
                                                        i = playerBankSize + 1;
                                                        ^
client.java:8982: error: class, interface, or enum expected
                                                }
                                                ^
client.java:8985: error: class, interface, or enum expected
                                        boolean itemExists = false;
                                        ^
client.java:8987: error: class, interface, or enum expected
                                        while (amount > 0) {
                                        ^
client.java:8989: error: class, interface, or enum expected
                                                for (int i = firstPossibleSlot;
i < playerItems.length; i++) {
                                                ^
client.java:8989: error: class, interface, or enum expected
                                                for (int i = firstPossibleSlot;
i < playerItems.length; i++) {

^
client.java:8989: error: class, interface, or enum expected
                                                for (int i = firstPossibleSlot;
i < playerItems.length; i++) {

                        ^
client.java:8992: error: class, interface, or enum expected
                                                                itemExists = tru
e;
                                                                ^
client.java:8993: error: class, interface, or enum expected
                                                                i = 30;
                                                                ^
client.java:8994: error: class, interface, or enum expected
                                                        }
                                                        ^
client.java:8998: error: class, interface, or enum expected
                                                        bankItemsN[toBankSlot] +
= 1;
                                                        ^
client.java:8999: error: class, interface, or enum expected
                                                        deleteItem((playerItems[
firstPossibleSlot] - 1),
                                                        ^
client.java:9001: error: class, interface, or enum expected
                                                        amount--;
                                                        ^
client.java:9002: error: class, interface, or enum expected
                                                } else {
                                                ^
client.java:9004: error: class, interface, or enum expected
                                                }
                                                ^
client.java:9007: error: class, interface, or enum expected
                                        resetBank();
                                        ^
client.java:9008: error: class, interface, or enum expected
                                        return true;
                                        ^
client.java:9009: error: class, interface, or enum expected
                                } else if (alreadyInBank) {
                                ^
client.java:9011: error: class, interface, or enum expected
                                        boolean itemExists = false;
                                        ^
client.java:9013: error: class, interface, or enum expected
                                        while (amount > 0) {
                                        ^
client.java:9015: error: class, interface, or enum expected
                                                for (int i = firstPossibleSlot;
i < playerItems.length; i++) {
                                                ^
client.java:9015: error: class, interface, or enum expected
                                                for (int i = firstPossibleSlot;
i < playerItems.length; i++) {

^
client.java:9015: error: class, interface, or enum expected
                                                for (int i = firstPossibleSlot;
i < playerItems.length; i++) {

                        ^
client.java:9018: error: class, interface, or enum expected
                                                                itemExists = tru
e;
                                                                ^
client.java:9019: error: class, interface, or enum expected
                                                                i = 30;
                                                                ^
client.java:9020: error: class, interface, or enum expected
                                                        }
                                                        ^
client.java:9024: error: class, interface, or enum expected
                                                        deleteItem((playerItems[
firstPossibleSlot] - 1),
                                                        ^
client.java:9026: error: class, interface, or enum expected
                                                        amount--;
                                                        ^
client.java:9027: error: class, interface, or enum expected
                                                } else {
                                                ^
100 errors
Press any key to continue . . .

Seriously - you have 9000+ line java file? That's insane. Break it up into individual files for each class.
Usually "error: class, interface, or enum expected" means you've messed up one or more { } pairings, but with a file that size you'll have a job finding them. If all else fails then go back to the very first error message and fix that problem, then try again, until (all fixed);

Remove the last changes you made to the code and restore it to the condition it was when you had no compiler errors.
Then try again to add a few lines at a time and compile frequently..

What changes did you make to the code that caused this error?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.