Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • wjfgg321: 사설토토사이트추천 첫충20프로%s t - 2 2 5 5. c o m%가입코드 s  t  8  8안전사설토토사이트추천 토토추천 사설토토추천사이트 토토사이트주소 해외토토사이트추천 스포츠토토사이트추천 사설토토추천 안전메이저토토사이트추천 안전사설토토추천
      Today at 07:55:33 PM
    • stCky:[link]
      Today at 07:15:22 PM
    • gordy9596: similar to this [link]
      Today at 05:58:11 PM
    • gordy9596: I'm looking for someone, who would like to make a 2006 remake like this?
      Today at 05:57:41 PM
    • gordy9596: Hi
      Today at 05:57:12 PM
    • `Discardedx2`: k
      Today at 03:47:14 AM
    • Travas: the 'ol welfare bear
      December 09, 2017, 11:51:16 PM
    • Travas: ah, grizzly
      December 09, 2017, 11:51:10 PM
    • Cole1497: im bout to pack me a can of grizzly and go ham on a bitch
      December 09, 2017, 11:14:20 PM
    • wailsalih: It's my day off I'm just smoke and pk please any staff look at my ip ban situation please
      December 09, 2017, 12:24:37 PM
    • wailsalih: Anyone staff here?
      December 09, 2017, 10:11:30 AM
    • wailsalih: I got banned one year ago cause I did something dumb pkags banned me he's still holding the grudge can someone help?
      December 09, 2017, 10:02:50 AM
    • juhta6: oi. where's the download link for rs2 317 client
      December 09, 2017, 08:15:45 AM
    • Striker Fox2: Yes Welcome
      December 09, 2017, 07:50:13 AM
    • Amcora: Welcome soulcist
      December 09, 2017, 06:50:08 AM
    • Daveite: Is there anyway to download this
      December 08, 2017, 08:53:47 PM
    • Daveite: I'm looking for a the runescape chicken model
      December 08, 2017, 08:53:28 PM
    • Daveite: I have a noob question
      December 08, 2017, 08:53:02 PM
    • Daveite: Hey guys
      December 08, 2017, 08:52:53 PM
    • DeathsChaos9: *sigh*
      December 08, 2017, 04:21:46 PM

    Author Topic: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE  (Read 121973 times)

    0 Members and 2 Guests are viewing this topic.

    Offlinejackalation

    • Member
    • **
    • Posts: 15
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #820 on: September 08, 2009, 04:18:01 PM »
    Okay, So i got added an anti syi and im having 2 errors for some reason ill show you guys what i put in and hopefully someone can show me how to fix it because like a some bo0o00o0o dee its being gay.

    Heres the first code its in my rs2loginprotocol i have codeusa btw

    the import
    Code: [Select]
    import net.com.codeusa.net.floodDetect;
    added flood detect in to the login method
    Code: [Select]
      public void login(Player p) {
    floodDetect.checkClient(p);
            if (p == null || p.stream == null) {
                return;
            }

    Code: [Select]
    package net.com.codeusa.net;

    import net.com.codeusa.Server;
    import net.com.codeusa.Engine;
    import net.com.codeusa.model.Player;
    import net.com.codeusa.util.Misc;


    public class FloodDetect {
        static final int MAX_CONNECTIONS = 6,  SIZE_PATTERN = 7, MAX_PATTERN_COUNT = 6;

        public static void checkClient(Player p) {
            if (p != null) {
                checkHost(p);
                checkPattern(p);
            }
        }

        public static void checkHost(Player p) {
            if (p == null) {
                return;
            }
            String cHost = getHost(p);
            int cCount = 0;
            for (Player o : Engine.players) {
                if (o != null) {
                    if (getHost(o).equals(cHost)) {
                        cCount++;
                    }
                }
            }
            if (cCount >= MAX_CONNECTIONS && cHost.length() > 0) {
                sendLog("Too much connections: " + cHost + " (" + cCount + " connection
    ^ up there is the flood detect so now my problem is when i compiled everything came up ok but 2 thnigs
    and thats in my rs2loginprotocal and i keep getting this bolashit messege.

    (in the compiler)
    Code: [Select]
    .\net\com\codeusa\net\codec\RS2LoginProtocol.java:7: cannot find symbol
    symbol  : class floodDetect
    location: package net.com.codeusa.net
    import net.com.codeusa.net.floodDetect;
                              ^
    .\net\com\codeusa\net\codec\RS2LoginProtocol.java:24: cannot find symbol
    symbol  : variable floodDetect
    location: class net.com.codeusa.net.codec.RS2LoginProtocol
    floodDetect.checkClient(p);
    ^
    2 errors
    Press any key to continue . . .

    so i would appreciate it if someone here on this nice forum tell me what my problem is because buk buk buklau i dun like it
    RS2Ad banner

    Offlinestr k0 s0nz

    • Member
    • **
    • Posts: 15
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #821 on: September 08, 2009, 04:47:18 PM »
    When i compile my server i get 100 errors once i open client.java and press save i get 100 errors even if i don't edit anything btw im using delta source. Any other sources don't have errors only delta has.But i like delta source most of all. pm me or add me in msn [email protected] i pm u link to a video showing the errors. Don't wanna put link here cause i think it's consider advertisement
    RS2Ad banner

    OfflineOwner Death

    • Member
    • **
    • Posts: 12
    • Thanks: +0/-0
      • View Profile
      • My Flash Stuff
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #822 on: September 10, 2009, 01:02:38 AM »
    I keep getting this error. I didn't even touch the codes that the error is appearing for. :confused: I can't figure it out and I'm fairly ignorant and would like to learn so anything is helpful.

    Code: [Select]
    ^
    client.java:14245: illegal start of expression
        public void fromBank(int itemID, int fromSlot, int amount) {
        ^
    client.java:14245: illegal start of expression
        public void fromBank(int itemID, int fromSlot, int amount) {
               ^
    client.java:14245: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                            ^
    client.java:14245: <identifier> expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                        ^
    client.java:14245: not a statement
        public void fromBank(int itemID, int fromSlot, int amount) {
                                             ^
    client.java:14245: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                                     ^
    client.java:14245: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                                                 ^
    client.java:14337: illegal start of expression
        public int getXPForLevel(int level) {
        ^
    client.java:14337: ';' expected
        public int getXPForLevel(int level) {
                                ^
    client.java:14337: ';' expected
        public int getXPForLevel(int level) {
                                          ^
    client.java:14352: illegal start of expression
        public int getLevelForXP(int exp) {
        ^
    client.java:14352: ';' expected
        public int getLevelForXP(int exp) {
                                ^
    client.java:14352: ';' expected
        public int getLevelForXP(int exp) {
                                        ^
    client.java:14367: illegal start of expression
        public boolean addSkillXP(int amount, int skill) {
        ^
    client.java:14367: ';' expected
        public boolean addSkillXP(int amount, int skill) {
                                 ^
    client.java:14367: <identifier> expected
        public boolean addSkillXP(int amount, int skill) {
                                             ^
    client.java:14367: not a statement
        public boolean addSkillXP(int amount, int skill) {
                                                  ^
    client.java:14367: ';' expected
        public boolean addSkillXP(int amount, int skill) {
                                                       ^
    client.java:14539: illegal start of expression
        public boolean bankItem(int itemID, int fromSlot, int amount) {
        ^
    client.java:14539: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                               ^
    client.java:14539: <identifier> expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                           ^
    client.java:14539: not a statement
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                ^
    client.java:14539: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                        ^
    client.java:14539: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                                    ^
    client.java:14813: illegal start of expression
        public void createItem(int newItemID) {
        ^
    client.java:14813: illegal start of expression
        public void createItem(int newItemID) {
               ^
    client.java:14813: ';' expected
        public void createItem(int newItemID) {
                              ^
    client.java:14813: ';' expected
        public void createItem(int newItemID) {
                                            ^
    client.java:14839: illegal start of expression
        public void removeAllItems() {
        ^
    client.java:14839: illegal start of expression
        public void removeAllItems() {
               ^
    client.java:14839: ';' expected
        public void removeAllItems() {
                                  ^
    client.java:14849: illegal start of expression
        public void resetItems(int WriteFrame) {
        ^
    client.java:14849: illegal start of expression
        public void resetItems(int WriteFrame) {
               ^
    client.java:14849: ';' expected
        public void resetItems(int WriteFrame) {
                              ^
    client.java:14849: ';' expected
        public void resetItems(int WriteFrame) {
                                             ^
    client.java:14868: illegal start of expression
        public void sendClueReward() {
        ^
    client.java:14868: illegal start of expression
        public void sendClueReward() {
               ^
    client.java:14868: ';' expected
        public void sendClueReward() {
                                  ^
    client.java:14887: illegal start of expression
        public void SetSmithing(int WriteFrame) {
        ^
    client.java:14887: illegal start of expression
        public void SetSmithing(int WriteFrame) {
               ^
    client.java:14887: ';' expected
        public void SetSmithing(int WriteFrame) {
                               ^
    client.java:14887: ';' expected
        public void SetSmithing(int WriteFrame) {
                                              ^
    client.java:14907: illegal start of expression
        public void SendWeapon(int Weapon, String WeaponName) {
        ^
    client.java:14907: illegal start of expression
        public void SendWeapon(int Weapon, String WeaponName) {
               ^
    client.java:14907: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                              ^
    client.java:14907: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                                                 ^
    client.java:14907: not a statement
        public void SendWeapon(int Weapon, String WeaponName) {
                                                  ^
    client.java:14907: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                                                            ^
    client.java:14984: illegal start of expression
        public void resetTItems(int WriteFrame) {
        ^
    client.java:14984: illegal start of expression
        public void resetTItems(int WriteFrame) {
               ^
    client.java:14984: ';' expected
        public void resetTItems(int WriteFrame) {
                               ^
    client.java:14984: ';' expected
        public void resetTItems(int WriteFrame) {
                                              ^
    client.java:15003: illegal start of expression
        public void resetOTItems(int WriteFrame) {
        ^
    client.java:15003: illegal start of expression
        public void resetOTItems(int WriteFrame) {
               ^
    client.java:15003: ';' expected
        public void resetOTItems(int WriteFrame) {
                                ^
    client.java:15003: ';' expected
        public void resetOTItems(int WriteFrame) {
                                               ^
    client.java:15022: illegal start of expression
        public void resetShop(int ShopID) {
        ^
    client.java:15022: illegal start of expression
        public void resetShop(int ShopID) {
               ^
    client.java:15022: ';' expected
        public void resetShop(int ShopID) {
                             ^
    client.java:15022: ';' expected
        public void resetShop(int ShopID) {
                                        ^
    client.java:15063: illegal start of expression
        public void resetBank() {
        ^
    client.java:15063: illegal start of expression
        public void resetBank() {
               ^
    client.java:15063: ';' expected
        public void resetBank() {
                             ^
    client.java:15085: illegal start of expression
        public void moveItems(int from, int to, int moveWindow) {
        ^
    client.java:15085: illegal start of expression
        public void moveItems(int from, int to, int moveWindow) {
               ^
    client.java:15085: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                             ^
    client.java:15085: <identifier> expected
        public void moveItems(int from, int to, int moveWindow) {
                                       ^
    client.java:15085: not a statement
        public void moveItems(int from, int to, int moveWindow) {
                                            ^
    client.java:15085: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                                              ^
    client.java:15085: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                                                              ^
    client.java:15122: illegal start of expression
        public int itemAmount(int itemID) {
        ^
    client.java:15122: ';' expected
        public int itemAmount(int itemID) {
                             ^
    client.java:15122: ';' expected
        public int itemAmount(int itemID) {
                                        ^
    client.java:15133: illegal start of expression
        public int freeBankSlots() {
        ^
    client.java:15133: ';' expected
        public int freeBankSlots() {
                                ^
    client.java:15144: illegal start of expression
        public int freeSlots() {
        ^
    client.java:15144: ';' expected
        public int freeSlots() {
                            ^
    client.java:15155: illegal start of expression
        public int freeTradeSlots() {
        ^
    client.java:15155: ';' expected
        public int freeTradeSlots() {
                                 ^
    client.java:15166: illegal start of expression
        public void openUpBank() {
        ^
    client.java:15166: illegal start of expression
        public void openUpBank() {
               ^
    client.java:15166: ';' expected
        public void openUpBank() {
                              ^
    client.java:15172: illegal start of expression
        public void openUpShop(int ShopID) {
        ^
    client.java:15172: illegal start of expression
        public void openUpShop(int ShopID) {
               ^
    client.java:15172: ';' expected
        public void openUpShop(int ShopID) {
                              ^
    client.java:15172: ';' expected
        public void openUpShop(int ShopID) {
                                         ^
    client.java:15181: illegal start of expression
        public void openUpPinSettings() {
        ^
    client.java:15181: illegal start of expression
        public void openUpPinSettings() {
               ^
    client.java:15181: ';' expected
        public void openUpPinSettings() {
                                     ^
    client.java:15203: illegal start of expression
        public boolean addItem(int item, int amount) {
        ^
    client.java:15203: ';' expected
        public boolean addItem(int item, int amount) {
                              ^
    client.java:15203: <identifier> expected
        public boolean addItem(int item, int amount) {
                                        ^
    client.java:15203: not a statement
        public boolean addItem(int item, int amount) {
                                             ^
    client.java:15203: ';' expected
        public boolean addItem(int item, int amount) {
                                                   ^
    client.java:15268: illegal start of expression
        public void dropItem(int droppedItem, int slot) {
        ^
    client.java:15268: illegal start of expression
        public void dropItem(int droppedItem, int slot) {
               ^
    client.java:15268: ';' expected
        public void dropItem(int droppedItem, int slot) {
                            ^
    client.java:15268: <identifier> expected
        public void dropItem(int droppedItem, int slot) {
                                             ^
    client.java:15268: not a statement
        public void dropItem(int droppedItem, int slot) {
                                                  ^
    100 errors
    Press any key to continue . . .

    Source allstarscape
    « Last Edit: September 10, 2009, 01:10:12 AM by Owner Death »
    RS2Ad banner

    OfflineJc22493

    • Rock climber
    • Member
    • ****
    • *
    • Posts: 12,370
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #823 on: September 10, 2009, 04:41:28 PM »
    I keep getting this error. I didn't even touch the codes that the error is appearing for. :confused: I can't figure it out and I'm fairly ignorant and would like to learn so anything is helpful.

    Code: [Select]
    ^
    client.java:14245: illegal start of expression
        public void fromBank(int itemID, int fromSlot, int amount) {
        ^
    client.java:14245: illegal start of expression
        public void fromBank(int itemID, int fromSlot, int amount) {
               ^
    client.java:14245: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                            ^
    client.java:14245: <identifier> expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                        ^
    client.java:14245: not a statement
        public void fromBank(int itemID, int fromSlot, int amount) {
                                             ^
    client.java:14245: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                                     ^
    client.java:14245: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                                                 ^
    client.java:14337: illegal start of expression
        public int getXPForLevel(int level) {
        ^
    client.java:14337: ';' expected
        public int getXPForLevel(int level) {
                                ^
    client.java:14337: ';' expected
        public int getXPForLevel(int level) {
                                          ^
    client.java:14352: illegal start of expression
        public int getLevelForXP(int exp) {
        ^
    client.java:14352: ';' expected
        public int getLevelForXP(int exp) {
                                ^
    client.java:14352: ';' expected
        public int getLevelForXP(int exp) {
                                        ^
    client.java:14367: illegal start of expression
        public boolean addSkillXP(int amount, int skill) {
        ^
    client.java:14367: ';' expected
        public boolean addSkillXP(int amount, int skill) {
                                 ^
    client.java:14367: <identifier> expected
        public boolean addSkillXP(int amount, int skill) {
                                             ^
    client.java:14367: not a statement
        public boolean addSkillXP(int amount, int skill) {
                                                  ^
    client.java:14367: ';' expected
        public boolean addSkillXP(int amount, int skill) {
                                                       ^
    client.java:14539: illegal start of expression
        public boolean bankItem(int itemID, int fromSlot, int amount) {
        ^
    client.java:14539: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                               ^
    client.java:14539: <identifier> expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                           ^
    client.java:14539: not a statement
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                ^
    client.java:14539: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                        ^
    client.java:14539: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                                    ^
    client.java:14813: illegal start of expression
        public void createItem(int newItemID) {
        ^
    client.java:14813: illegal start of expression
        public void createItem(int newItemID) {
               ^
    client.java:14813: ';' expected
        public void createItem(int newItemID) {
                              ^
    client.java:14813: ';' expected
        public void createItem(int newItemID) {
                                            ^
    client.java:14839: illegal start of expression
        public void removeAllItems() {
        ^
    client.java:14839: illegal start of expression
        public void removeAllItems() {
               ^
    client.java:14839: ';' expected
        public void removeAllItems() {
                                  ^
    client.java:14849: illegal start of expression
        public void resetItems(int WriteFrame) {
        ^
    client.java:14849: illegal start of expression
        public void resetItems(int WriteFrame) {
               ^
    client.java:14849: ';' expected
        public void resetItems(int WriteFrame) {
                              ^
    client.java:14849: ';' expected
        public void resetItems(int WriteFrame) {
                                             ^
    client.java:14868: illegal start of expression
        public void sendClueReward() {
        ^
    client.java:14868: illegal start of expression
        public void sendClueReward() {
               ^
    client.java:14868: ';' expected
        public void sendClueReward() {
                                  ^
    client.java:14887: illegal start of expression
        public void SetSmithing(int WriteFrame) {
        ^
    client.java:14887: illegal start of expression
        public void SetSmithing(int WriteFrame) {
               ^
    client.java:14887: ';' expected
        public void SetSmithing(int WriteFrame) {
                               ^
    client.java:14887: ';' expected
        public void SetSmithing(int WriteFrame) {
                                              ^
    client.java:14907: illegal start of expression
        public void SendWeapon(int Weapon, String WeaponName) {
        ^
    client.java:14907: illegal start of expression
        public void SendWeapon(int Weapon, String WeaponName) {
               ^
    client.java:14907: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                              ^
    client.java:14907: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                                                 ^
    client.java:14907: not a statement
        public void SendWeapon(int Weapon, String WeaponName) {
                                                  ^
    client.java:14907: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                                                            ^
    client.java:14984: illegal start of expression
        public void resetTItems(int WriteFrame) {
        ^
    client.java:14984: illegal start of expression
        public void resetTItems(int WriteFrame) {
               ^
    client.java:14984: ';' expected
        public void resetTItems(int WriteFrame) {
                               ^
    client.java:14984: ';' expected
        public void resetTItems(int WriteFrame) {
                                              ^
    client.java:15003: illegal start of expression
        public void resetOTItems(int WriteFrame) {
        ^
    client.java:15003: illegal start of expression
        public void resetOTItems(int WriteFrame) {
               ^
    client.java:15003: ';' expected
        public void resetOTItems(int WriteFrame) {
                                ^
    client.java:15003: ';' expected
        public void resetOTItems(int WriteFrame) {
                                               ^
    client.java:15022: illegal start of expression
        public void resetShop(int ShopID) {
        ^
    client.java:15022: illegal start of expression
        public void resetShop(int ShopID) {
               ^
    client.java:15022: ';' expected
        public void resetShop(int ShopID) {
                             ^
    client.java:15022: ';' expected
        public void resetShop(int ShopID) {
                                        ^
    client.java:15063: illegal start of expression
        public void resetBank() {
        ^
    client.java:15063: illegal start of expression
        public void resetBank() {
               ^
    client.java:15063: ';' expected
        public void resetBank() {
                             ^
    client.java:15085: illegal start of expression
        public void moveItems(int from, int to, int moveWindow) {
        ^
    client.java:15085: illegal start of expression
        public void moveItems(int from, int to, int moveWindow) {
               ^
    client.java:15085: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                             ^
    client.java:15085: <identifier> expected
        public void moveItems(int from, int to, int moveWindow) {
                                       ^
    client.java:15085: not a statement
        public void moveItems(int from, int to, int moveWindow) {
                                            ^
    client.java:15085: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                                              ^
    client.java:15085: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                                                              ^
    client.java:15122: illegal start of expression
        public int itemAmount(int itemID) {
        ^
    client.java:15122: ';' expected
        public int itemAmount(int itemID) {
                             ^
    client.java:15122: ';' expected
        public int itemAmount(int itemID) {
                                        ^
    client.java:15133: illegal start of expression
        public int freeBankSlots() {
        ^
    client.java:15133: ';' expected
        public int freeBankSlots() {
                                ^
    client.java:15144: illegal start of expression
        public int freeSlots() {
        ^
    client.java:15144: ';' expected
        public int freeSlots() {
                            ^
    client.java:15155: illegal start of expression
        public int freeTradeSlots() {
        ^
    client.java:15155: ';' expected
        public int freeTradeSlots() {
                                 ^
    client.java:15166: illegal start of expression
        public void openUpBank() {
        ^
    client.java:15166: illegal start of expression
        public void openUpBank() {
               ^
    client.java:15166: ';' expected
        public void openUpBank() {
                              ^
    client.java:15172: illegal start of expression
        public void openUpShop(int ShopID) {
        ^
    client.java:15172: illegal start of expression
        public void openUpShop(int ShopID) {
               ^
    client.java:15172: ';' expected
        public void openUpShop(int ShopID) {
                              ^
    client.java:15172: ';' expected
        public void openUpShop(int ShopID) {
                                         ^
    client.java:15181: illegal start of expression
        public void openUpPinSettings() {
        ^
    client.java:15181: illegal start of expression
        public void openUpPinSettings() {
               ^
    client.java:15181: ';' expected
        public void openUpPinSettings() {
                                     ^
    client.java:15203: illegal start of expression
        public boolean addItem(int item, int amount) {
        ^
    client.java:15203: ';' expected
        public boolean addItem(int item, int amount) {
                              ^
    client.java:15203: <identifier> expected
        public boolean addItem(int item, int amount) {
                                        ^
    client.java:15203: not a statement
        public boolean addItem(int item, int amount) {
                                             ^
    client.java:15203: ';' expected
        public boolean addItem(int item, int amount) {
                                                   ^
    client.java:15268: illegal start of expression
        public void dropItem(int droppedItem, int slot) {
        ^
    client.java:15268: illegal start of expression
        public void dropItem(int droppedItem, int slot) {
               ^
    client.java:15268: ';' expected
        public void dropItem(int droppedItem, int slot) {
                            ^
    client.java:15268: <identifier> expected
        public void dropItem(int droppedItem, int slot) {
                                             ^
    client.java:15268: not a statement
        public void dropItem(int droppedItem, int slot) {
                                                  ^
    100 errors
    Press any key to continue . . .

    Source allstarscape
    Check your curly braces.

    OfflineOwner Death

    • Member
    • **
    • Posts: 12
    • Thanks: +0/-0
      • View Profile
      • My Flash Stuff
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #824 on: September 10, 2009, 05:45:45 PM »
    I figured out my problem ty.

    OfflineOwner A Raffo

    • Member
    • ***
    • Posts: 228
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #825 on: September 11, 2009, 08:42:03 AM »
    Right, My Laptop Got fudgeed, So Had To Rebuild The fudgeer.
    Got JDK 6 Updated 6.

    I Want To Compile And Run:

    Compile Issue:

    So I Try To Compile;
    And I Get This:

    Code: [Select]
    You do not have Java installed. Please download it at the site that is about to
    load.
    You have sucsessfully compiled
    Press any key to continue . . .

    This Is In Compile:

    Code: [Select]
    @echo off
    color 0a
    title War-Ages Compiler
    if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
    :compile
    for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
    if defined p (%p% -cp . *.java)
    if defined p (goto end)
    :error
    echo You do not have Java installed. Please download it at the site that is about to load.
    "%programfiles%\Internet Explorer\iexplore.exe" http://www.oracle.com/technetwork/java/javase/downloads/index.html
    :end
    echo You have sucsessfully compiled
    pause
    exit

    Any Help Would Be Greatfull

    Run Issue:

    So I Want To Run;
    I Get This:

    Code: [Select]
    The system cannot find the path specified.
    Press any key to continue . . .

    This Is In Run:

    Code: [Select]
    @echo off
    title Run
    "C:\Program Files\Java\jdk1.6_6\bin\java.exe" server
    pause

    Any Help Would Be Greatfull.

    PM Me The Help Please

    Thanks;
    Raffo.
    Starting A New Server.
    Need Help, Add Me On Msn.
    If You Help Staff Will 75% Be Granted.

    Offlinesuperwiz789

    • Member
    • ****
    • Posts: 278
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #826 on: September 11, 2009, 02:48:39 PM »
    When you get
    Code: [Select]
    The system cannot find the path specified.
    Press any key to continue . . .
    Edit run, and replace jdk1.6_6 with YOUR java version.

    OfflineGuardianman5

    • Member
    • ****
    • Posts: 349
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #827 on: September 12, 2009, 07:46:05 AM »
    I got a compiler problem so give me some ideas to try please.



    Code: [Select]
    public class client extends Player implements Runnable {
           ^

    So give some ideas please.
    « Last Edit: September 12, 2009, 10:19:18 AM by Guardianman5 »
    Quote from: Phaze One
    Quote from: Lord Zymus
    This is not allowed. We don't condone cheating.
    We are a community based around cheating you idiot

    OfflineAnfernio

    • Member
    • ****
    • Posts: 1,436
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #828 on: September 12, 2009, 08:10:44 AM »
    I got a compiler problem so give me some ideas to try please.



    Code: [Select]
    public class client extends Player implements Runnable
           ^

    So give some ideas please.


    You don't have a bracket on that.
    Code: [Select]
    public class client extends Player implements Runnable {
    anyone want 2 sel me clint,java?? i losed mine in stake
    [13:16] <Anfernio> i feel like a dumbass
    [13:16] <Anfernio> but thats how we all feel over at moparscape
    [13:17] <silabsoft> you are worse than a African, shut up!

    Offlinestr k0 s0nz

    • Member
    • **
    • Posts: 15
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #829 on: September 12, 2009, 08:32:45 AM »
    Code: [Select]
                                               ^
    client.java:279: illegal start of expression
        public void playerMenu() {
        ^
    client.java:279: illegal start of expression
        public void playerMenu() {
               ^
    client.java:279: ';' expected
        public void playerMenu() {
                              ^
    client.java:301: illegal start of expression
    public void frame61(int i1)
    ^
    client.java:301: illegal start of expression
    public void frame61(int i1)
           ^
    client.java:301: ';' expected
    public void frame61(int i1)
                       ^
    client.java:301: ';' expected
    public void frame61(int i1)
                              ^
    client.java:309: illegal start of expression
    public void getEnd(){
    ^
    client.java:309: illegal start of expression
    public void getEnd(){
           ^
    client.java:309: ';' expected
    public void getEnd(){
                      ^
    client.java:318: illegal start of expression
    public int ancients = 0;
    ^
    client.java:319: illegal start of expression
    public int lunars = 0;
    ^
    client.java:321: illegal start of expression
    public int getarrowgfxnow() {
    ^
    client.java:321: ';' expected
    public int getarrowgfxnow() {
                             ^
    client.java:341: illegal start of expression
    public void removeSpec(int id) {
    ^
    client.java:341: illegal start of expression
    public void removeSpec(int id) {
           ^
    client.java:341: ';' expected
    public void removeSpec(int id) {
                          ^
    client.java:341: ';' expected
    public void removeSpec(int id) {
                                 ^
    client.java:347: illegal start of expression
        public void getWavekillCount()
        ^
    client.java:347: illegal start of expression
        public void getWavekillCount()
               ^
    client.java:347: ';' expected
        public void getWavekillCount()
                                    ^
    client.java:372: illegal start of expression
        public void SpawnNewWave()
        ^
    client.java:372: illegal start of expression
        public void SpawnNewWave()
               ^
    client.java:372: ';' expected
        public void SpawnNewWave()
                                ^
    client.java:424: illegal start of expression
        public void healJad()
        ^
    client.java:424: illegal start of expression
        public void healJad()
               ^
    client.java:424: ';' expected
        public void healJad()
                           ^
    client.java:441: illegal start of expression
        public void killMyNPCs()
        ^
    client.java:441: illegal start of expression
        public void killMyNPCs()
               ^
    client.java:441: ';' expected
        public void killMyNPCs()
                              ^
    client.java:457: illegal start of expression
        public int getHeightForTzhaar()
        ^
    client.java:457: ';' expected
        public int getHeightForTzhaar()
                                     ^
    client.java:463: illegal start of expression
    public void npcDamage(int extraDamage){
    ^
    client.java:463: illegal start of expression
    public void npcDamage(int extraDamage){
           ^
    client.java:463: ';' expected
    public void npcDamage(int extraDamage){
                         ^
    client.java:463: ';' expected
    public void npcDamage(int extraDamage){
                                         ^
    client.java:475: illegal start of expression
    public boolean npcHit(){
    ^
    client.java:475: ';' expected
    public boolean npcHit(){
                         ^
    client.java:580: illegal start of expression
    public int npcRangeDamage(){
    ^
    client.java:580: ';' expected
    public int npcRangeDamage(){
                             ^
    client.java:587: illegal start of expression
    public boolean npcRangeHit(){
    ^
    client.java:587: ';' expected
    public boolean npcRangeHit(){
                              ^
    client.java:691: illegal start of expression
    public void getTotalLevel() {
    ^
    client.java:691: illegal start of expression
    public void getTotalLevel() {
           ^
    client.java:691: ';' expected
    public void getTotalLevel() {
                             ^
    client.java:719: illegal start of expression
    public void getTotalXP() {
    ^
    client.java:719: illegal start of expression
    public void getTotalXP() {
           ^
    client.java:719: ';' expected
    public void getTotalXP() {
                          ^
    client.java:769: illegal start of expression
    public int hlevel = 0;
    ^
    client.java:770: illegal start of expression
    public boolean onlyxp = false;
    ^
    client.java:771: illegal start of expression
    public int total = 0;
    ^
    client.java:772: illegal start of expression
    public int totalXP = 0;
    ^
    client.java:773: illegal start of expression
    public void resetKnight(){
    ^
    client.java:773: illegal start of expression
    public void resetKnight(){
           ^
    client.java:773: ';' expected
    public void resetKnight(){
                           ^
    client.java:779: illegal start of expression
                    public void prayerRestore(){
                    ^
    client.java:779: illegal start of expression
                    public void prayerRestore(){
                           ^
    client.java:779: ';' expected
                    public void prayerRestore(){
                                             ^
    client.java:835: illegal start of expression
    public void clanChatMenu() { // this bit sends "talking in *bills* clan chat.
    ^
    client.java:835: illegal start of expression
    public void clanChatMenu() { // this bit sends "talking in *bills* clan chat.
           ^
    client.java:835: ';' expected
    public void clanChatMenu() { // this bit sends "talking in *bills* clan chat.
                            ^
    client.java:859: illegal start of expression
    public void updateCCMenu() { // this updates when necessary
    ^
    client.java:859: illegal start of expression
    public void updateCCMenu() { // this updates when necessary
           ^
    client.java:859: ';' expected
    public void updateCCMenu() { // this updates when necessary
                            ^
    client.java:881: illegal start of expression
    public void removeFromCC() {
    ^
    client.java:881: illegal start of expression
    public void removeFromCC() {
           ^
    client.java:881: ';' expected
    public void removeFromCC() {
                            ^
    client.java:895: illegal start of expression
    public void sendClanMessage(String msg) {
    ^
    client.java:895: illegal start of expression
    public void sendClanMessage(String msg) {
           ^
    client.java:895: ';' expected
    public void sendClanMessage(String msg) {
                               ^
    client.java:895: ';' expected
    public void sendClanMessage(String msg) {
                                          ^
    client.java:909: illegal start of expression
    public void duelEquipment(int itemID, int amount, int slot)
    ^
    client.java:909: illegal start of expression
    public void duelEquipment(int itemID, int amount, int slot)
           ^
    client.java:909: ';' expected
    public void duelEquipment(int itemID, int amount, int slot)
                             ^
    client.java:909: <identifier> expected
    public void duelEquipment(int itemID, int amount, int slot)
                                         ^
    client.java:909: not a statement
    public void duelEquipment(int itemID, int amount, int slot)
                                              ^
    client.java:909: ';' expected
    public void duelEquipment(int itemID, int amount, int slot)
                                                    ^
    client.java:909: ';' expected
    public void duelEquipment(int itemID, int amount, int slot)
                                                              ^
    client.java:926: illegal start of expression
            public int getFreezeTimer(int spell) {
            ^
    client.java:926: ';' expected
            public int getFreezeTimer(int spell) {
                                     ^
    client.java:926: ';' expected
            public int getFreezeTimer(int spell) {
                                               ^
    client.java:952: illegal start of expression
            public boolean Projectile(int spell) {
            ^
    client.java:952: ';' expected
            public boolean Projectile(int spell) {
                                     ^
    client.java:952: ';' expected
            public boolean Projectile(int spell) {
                                               ^
    client.java:1003: illegal start of expression
            public void appendHitToNpc(int index, int hitDiff, boolean stillSpell) /
    / Used
            ^
    client.java:1003: illegal start of expression
            public void appendHitToNpc(int index, int hitDiff, boolean stillSpell) /
    / Used
                   ^
    client.java:1003: ';' expected
            public void appendHitToNpc(int index, int hitDiff, boolean stillSpell) /
    / Used
                                      ^
    client.java:1003: <identifier> expected
            public void appendHitToNpc(int index, int hitDiff, boolean stillSpell) /
    / Used
                                                 ^
    client.java:1003: not a statement
            public void appendHitToNpc(int index, int hitDiff, boolean stillSpell) /
    / Used
                                                      ^
    client.java:1003: ';' expected
            public void appendHitToNpc(int index, int hitDiff, boolean stillSpell) /
    / Used
                                                             ^
    client.java:1003: ';' expected
            public void appendHitToNpc(int index, int hitDiff, boolean stillSpell) /
    / Used
                                                                                 ^
    client.java:1051: illegal start of expression
            public void appendHitToPlayer(int index, int hitDiff, boolean stillSpell
    ) // Used
            ^
    client.java:1051: illegal start of expression
            public void appendHitToPlayer(int index, int hitDiff, boolean stillSpell
    ) // Used
                   ^
    client.java:1051: ';' expected
            public void appendHitToPlayer(int index, int hitDiff, boolean stillSpell
    ) // Used
                                         ^
    client.java:1051: <identifier> expected
            public void appendHitToPlayer(int index, int hitDiff, boolean stillSpell
    ) // Used
                                                    ^
    100 errors
    Finished!
    Press any key to continue . . .


    Please help when i dl a delta base source and compile no errors then when i press save in client.java all these error pop out even if i didn't edit anything

    OfflineGuardianman5

    • Member
    • ****
    • Posts: 349
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #830 on: September 12, 2009, 10:20:24 AM »
    I got a compiler problem so give me some ideas to try please.



    Code: [Select]
    public class client extends Player implements Runnable
           ^

    So give some ideas please.


    You don't have a bracket on that.
    Code: [Select]
    public class client extends Player implements Runnable {
    I got a compiler problem so give me some ideas to try please.



    Code: [Select]
    public class client extends Player implements Runnable
           ^

    So give some ideas please.


    You don't have a bracket on that.
    Code: [Select]
    public class client extends Player implements Runnable {

    it still wont work.
    Quote from: Phaze One
    Quote from: Lord Zymus
    This is not allowed. We don't condone cheating.
    We are a community based around cheating you idiot

    OfflineAnfernio

    • Member
    • ****
    • Posts: 1,436
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #831 on: September 14, 2009, 03:45:10 PM »
    I got a compiler problem so give me some ideas to try please.



    Code: [Select]
    public class client extends Player implements Runnable
           ^

    So give some ideas please.


    You don't have a bracket on that.
    Code: [Select]
    public class client extends Player implements Runnable {
    I got a compiler problem so give me some ideas to try please.



    Code: [Select]
    public class client extends Player implements Runnable
           ^

    So give some ideas please.


    You don't have a bracket on that.
    Code: [Select]
    public class client extends Player implements Runnable {

    it still wont work.


    Scroll to the bottom of the source and add the closing bracket, maybe?
    anyone want 2 sel me clint,java?? i losed mine in stake
    [13:16] <Anfernio> i feel like a dumbass
    [13:16] <Anfernio> but thats how we all feel over at moparscape
    [13:17] <silabsoft> you are worse than a African, shut up!

    OfflineBloodyBooger

    • Member
    • **
    • Posts: 31
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #832 on: September 17, 2009, 06:30:22 PM »
    can someone give me a compiler for a bulby source?

    this is my current compiler (davidscapev5 source)
    Code: [Select]
    @echo off
    Title SimmonScape Complier
    cd ..
    "C:\Program Files\Java\jdk1.6.0_02\bin\javac.exe" -cp . -d ./Bin/ ./Bulby/./io/*.java
    pause


    but it says:
    Code: [Select]
    javac: file not found: .\Bulby\.\io\*.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Press any key to continue . . .

    can anyone help me?

    thank you :)



    <br />ok srry.<br />were do i download linksys?<br />
    <br /><br />
    <br />You buy ice cubes then throw it at black people and shout "B& UNLEZ U JON MAI SERVR [email protected]"<br />
    <br /><br

    OfflineAnfernio

    • Member
    • ****
    • Posts: 1,436
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #833 on: September 19, 2009, 05:19:07 PM »
    can someone give me a compiler for a bulby source?

    this is my current compiler (davidscapev5 source)
    Code: [Select]
    @echo off
    Title SimmonScape Complier
    cd ..
    "C:\Program Files\Java\jdk1.6.0_02\bin\javac.exe" -cp . -d ./Bin/ ./Bulby/./io/*.java
    pause


    but it says:
    Code: [Select]
    javac: file not found: .\Bulby\.\io\*.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Press any key to continue . . .

    can anyone help me?

    thank you :)





    javac: file not found: .\Bulby\.\io\*.java

    Read the compiler.
    anyone want 2 sel me clint,java?? i losed mine in stake
    [13:16] <Anfernio> i feel like a dumbass
    [13:16] <Anfernio> but thats how we all feel over at moparscape
    [13:17] <silabsoft> you are worse than a African, shut up!

    OfflineSpy2805

    • Member
    • ***
    • Posts: 152
    • Thanks: +0/-0
      • View Profile
      • Rune-soz
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #834 on: September 21, 2009, 11:22:54 AM »
    How do you remove a anti-flood  :confused:
    Join The Revolution
    rune-revolution.co.cc

    Offlinewillywoo

    • Member
    • ***
    • Posts: 154
    • Thanks: +0/-0
      • View Profile
      • Join TrojanScape Forums!
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #835 on: September 21, 2009, 07:52:41 PM »
    Code: [Select]
    C:\Program Files (x86)\Java\jre6\ is the location of my java files, and is what i put in for my compiler, but it still comes up with
    Code: [Select]
    C:\Program Files (x86)\Java\jre6\ is not recognized as an internal or external command, operable program or batch file.
    Is that the wrong address for my java or what? I have the same problem with ever compiler I have tried to use, whats wrong with my computer, or is it me installing java wrong?

    OfflineIceTICKER

    • Member
    • ****
    • Posts: 596
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #836 on: September 21, 2009, 07:57:17 PM »
    Code: [Select]
    C:\Program Files (x86)\Java\jre6\ is the location of my java files, and is what i put in for my compiler, but it still comes up with
    Code: [Select]
    C:\Program Files (x86)\Java\jre6\ is not recognized as an internal or external command, operable program or batch file.
    Is that the wrong address for my java or what? I have the same problem with ever compiler I have tried to use, whats wrong with my computer, or is it me installing java wrong?

    Everything is correct in my case i dont think "Jre6" Works it just comes invalid,

    See what you have to download is jdk , for example,

    " C:\Program Files\Java\jdk1.5.0_17 "

    So If Your Trying To Complie Something I'm Gunna Give You A Complier Code And i want you to put this in your complier,

    Code: [Select]
    @echo off
    @TITLE IceTICKERS Complier.
    if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
    :compile
    for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
    if defined p (%p% -cp . *.java)
    if defined p (goto end)
    :error
    echo You do not have Java installed. Please download it at the site that is about to load.
    :end
    echo Finished!
    pause
    exit

    If it worked No Problem, If it didint then ill be glad to help you some more.

    Offlinewillywoo

    • Member
    • ***
    • Posts: 154
    • Thanks: +0/-0
      • View Profile
      • Join TrojanScape Forums!
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #837 on: September 21, 2009, 08:19:31 PM »
    thanks for help it says I dont have java installed though, and im pretty sure i downloaded jdk 6 update 16, i may be wrong though :eek: whats my gameplan from here?
    « Last Edit: September 21, 2009, 08:21:54 PM by willywoo »

    OfflineSpy2805

    • Member
    • ***
    • Posts: 152
    • Thanks: +0/-0
      • View Profile
      • Rune-soz
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #838 on: September 22, 2009, 11:11:37 AM »
    Is Somebody going to help me please  :(
    Join The Revolution
    rune-revolution.co.cc

    OfflineDavidi2

    • Member
    • ****
    • *
    • Posts: 23,272
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #839 on: September 22, 2009, 01:33:53 PM »
    Why would you want to? And that doesnt belong in this thread.

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal