Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • Krackkid: Hello everyone it is I, Krackkid.
      Today at 07:21:56 AM
    • soma_: Does anyone have an updated link to a blank Source / Client? 317/508
      Today at 04:57:44 AM
    • michaeltrailer: olm t pst
      Today at 04:52:48 AM
    • Adaro: Strange that staff think I'm a threat when I'm not threatening anyone
      Today at 03:07:16 AM
    • Adaro: My Skype is: Mod Adaro
      Today at 02:47:02 AM
    • Adaro: Make sure to PM me if you need help on Moparscape. I can answer any questions.
      Today at 02:46:48 AM
    • Adaro: Wilko unblock me on discord
      Today at 02:45:07 AM
    • Striker Fox2: Make sure to check out the new price guide - [link]
      Today at 12:45:49 AM
    • stCky: yes, drhouse.cum
      October 17, 2017, 10:29:20 PM
    • Travas: does anyone know a good site for penis enlargement pills?
      October 17, 2017, 09:19:51 PM
    • stCky: follow silentCjs big ass modelling guide for the rest, gl and hf
      October 17, 2017, 07:20:15 PM
    • stCky: mediafire link is fine booger13
      October 17, 2017, 07:18:37 PM
    • stCky:[link]
      October 17, 2017, 07:18:33 PM
    • booger13: Does anyone know off the top of their head how I can extract OBJs from the caches I downloaded? I see tons of people using them, but no downloads/guides ANYWHERE.
      October 17, 2017, 06:01:47 PM
    • stCky: no
      October 17, 2017, 03:04:31 PM
    • Striker Fox2: Server is back up
      October 17, 2017, 10:03:47 AM
    • Saltyspade10: Working
      October 17, 2017, 10:02:02 AM
    • Saltyspade10: Guys I'm the only player online
      October 17, 2017, 10:00:23 AM
    • DamonValkun: Still down
      October 17, 2017, 09:51:03 AM
    • Headchef: I hate it when this bullshit happends
      October 17, 2017, 09:22:58 AM

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

    0 Members and 1 Guest are viewing this topic.

    OfflineGrantwenger

    • First Time Poster
    • *
    • Posts: 4
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #180 on: March 22, 2009, 08:40:09 PM »
    i tried to add this to my class8.java using a tut to add mod-owner capes and matalica shirt but when i try to compile the server i am getting an error... here is the code that i added into my class8.java and i added it after a closing bracket, and tried after other closing brackets modeling over other added models...
    Code: [Select]
    if(i == 13672)  // change this if you need to "item number"
    {
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";//New option
    class8.anIntArray156 = new int[1];
    class8.anIntArray160 = new int[1];
    class8.anIntArray156[0] = 8741;
    class8.anIntArray160[0] = 0;
    class8.anInt174 = 14131;
    class8.anInt181 = 1000;
    class8.anInt190 = 572;
    class8.anInt198 = 0;
    class8.anInt169 = 0;
    class8.anInt194 = 1;
    class8.anInt165 = 14115;
    class8.anInt200 = 14115;
    class8.anInt164 = 14116;
    class8.anInt188 = 14116;
    class8.aBoolean176 = false;
    class8.aString170 = "Metallica t-shirt";
    class8.aByteArray178 = "Yope.".getBytes();
    }
    if(i == 13677) {
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wear";
    class8.anInt174 = 14125; //Inv & Ground
    class8.anInt181 = 2000; //Zoom
    class8.anInt190 = 572;
    class8.anInt198 = 0;
    class8.anInt204 = 0;
    class8.anInt169 = 0;
    class8.anInt194 = 1;
    class8.anInt165 = 14126; //Male
    class8.anInt200 = 14126; //Female
    class8.anInt175 = -1;
    class8.anInt197 = -1;
    class8.anInt199 = -1;//noteable
    class8.aString170 = "Moderator cape";
    class8.aByteArray178 = "Its A moderator Cape".getBytes();
    }
    if(i == 13678) {
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wear";
    class8.anInt174 = 14127; //Inv & Ground
    class8.anInt181 = 2000; //Zoom
    class8.anInt190 = 572;
    class8.anInt198 = 0;
    class8.anInt204 = 0;
    class8.anInt169 = 0;
    class8.anInt194 = 1;
    class8.anInt165 = 14128; //Male
    class8.anInt200 = 14128; //Female
    class8.anInt175 = -1;
    class8.anInt197 = -1;
    class8.anInt199 = -1;//noteable
    class8.aString170 = "Administrator cape";
    class8.aByteArray178 = "Its an administrator cape".getBytes();
    }
    if(i == 13679) {
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wear";
    class8.anInt174 = 14129; //Inv & Ground
    class8.anInt181 = 2000; //Zoom
    class8.anInt190 = 572;
    class8.anInt198 = 0;
    class8.anInt204 = 0;
    class8.anInt169 = 0;
    class8.anInt194 = 1;
    class8.anInt165 = 14130; //Male
    class8.anInt200 = 14130; //Female
    class8.anInt175 = -1;
    class8.anInt197 = -1;
    class8.anInt199 = -1;//noteable
    class8.aString170 = "Owner cape";
    class8.aByteArray178 = "Its an owner cape".getBytes();
            }

    thanks guys...


    Offlinerawr_gf_rawr

    • First Time Poster
    • *
    • Posts: 3
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #181 on: March 23, 2009, 01:09:12 PM »
    When compiling my 525 client i get this error:


    Code: [Select]
    Class117.java:6: package netscape.javascript does not exist
    import netscape.javascript.JSObject;
                              ^
    Class117.java:14: cannot find symbol
    symbol  : variable JSObject
    location: class Class117
            return JSObject.getWindow(applet).call(string, objects);
                   ^
    Class117.java:20: cannot find symbol
    symbol  : variable JSObject
    location: class Class117
                JSObject.getWindow(applet).eval(string);
                ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    Press any key to continue . . .


    What do i need to change to fix the error???

    Offlinexxlukexx

    • Member
    • ****
    • Posts: 2,830
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #182 on: March 23, 2009, 01:17:22 PM »
    what code/codes did you add into your files?
    Quote from: Nion,Tuesday, May 21 2013, 20:58
    "Xbox Open IE"
    "XBox go to Amazon"
    "Xbox buy me a PS4"
    "Xbox sell yourself on ebay"
    "Xbox shutdown."

    Offlinexx qwertyuiop xx

    • Member
    • ****
    • Posts: 4,907
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #183 on: March 23, 2009, 02:38:41 PM »
    When compiling my 525 client i get this error:


    Code: [Select]
    Class117.java:6: package netscape.javascript does not exist
    import netscape.javascript.JSObject;
                              ^
    Class117.java:14: cannot find symbol
    symbol  : variable JSObject
    location: class Class117
            return JSObject.getWindow(applet).call(string, objects);
                   ^
    Class117.java:20: cannot find symbol
    symbol  : variable JSObject
    location: class Class117
                JSObject.getWindow(applet).eval(string);
                ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    Press any key to continue . . .


    What do i need to change to fix the error???
    You don't have a netscape.javascript package.

    Offlinex blitz x

    • Member
    • ****
    • Posts: 1,353
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #184 on: March 23, 2009, 02:39:01 PM »
    When compiling my 525 client i get this error:


    Code: [Select]
    Class117.java:6: package netscape.javascript does not exist
    import netscape.javascript.JSObject;
                              ^
    Class117.java:14: cannot find symbol
    symbol  : variable JSObject
    location: class Class117
            return JSObject.getWindow(applet).call(string, objects);
                   ^
    Class117.java:20: cannot find symbol
    symbol  : variable JSObject
    location: class Class117
                JSObject.getWindow(applet).eval(string);
                ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    Press any key to continue . . .


    What do i need to change to fix the error???

    package netscape.javascript does not exist

    Offlinerawr_gf_rawr

    • First Time Poster
    • *
    • Posts: 3
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #185 on: March 23, 2009, 03:28:56 PM »
    ok i found netscape folder and inside it is a javascript folder. how would i fix my class 117 so it will work?


    class 117:
    Code: [Select]
    import java.applet.Applet;

    import netscape.javascript.JSObject;

    public class Class117
    {
        public static Object method1677(Object[] objects, byte i, Applet applet,
        String string) throws Throwable {
    if (i < 24)
        return null;
    return JSObject.getWindow(applet).call(string, objects);
        }
       
        public static void method1678(Applet applet, String string, int i)
    throws Throwable {
    if (i <= -8)
        JSObject.getWindow(applet).eval(string);
        }
    }

    OfflineGrantwenger

    • First Time Poster
    • *
    • Posts: 4
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #186 on: March 24, 2009, 10:15:30 PM »
    How Do i add text into my compiler code and change the color

    right click the compile.bat, Left click on edit... you will see the file... the echo thing means it will be text and you can edit the reset of the file...

    Offlineroyal king

    • Member
    • **
    • Posts: 18
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #187 on: March 26, 2009, 09:57:55 AM »
    guys i got a problem when compiling 508 sources and runing 508 sources.
    ok i downloaded few 508 sources. but when i try to compile or run em it says cant find the specicfic file press any key t continue or smt. nothing i can do please help me cuz i can run 317 servers but not 508 and i wanto run 508's cus they got gwd and d claws aldo pc thats awesome please help me
    thanks

    Offlineallstarscape1

    • Member
    • **
    • Posts: 70
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #188 on: March 27, 2009, 03:45:46 AM »
    right click on the compiler and click on edit, then replace what is already in there with this:



    @echo off
    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 Finished!
    pause
    exit
    1337 741K FTW!

    Offlineroyal king

    • Member
    • **
    • Posts: 18
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #189 on: March 27, 2009, 12:10:44 PM »
    k but thats on 317's sources rite?
    but what about runnning 508 sources i get this:
    @echo off
    cd ../bin
    "C:\Program Files\Java\jdk1.6.0_12\bin\java.exe" palidino76/rs2/Server 43594
    pause
    and i cant run it
    can u  help me?

    Offlineallstarscape1

    • Member
    • **
    • Posts: 70
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #190 on: March 27, 2009, 03:29:34 PM »
    well yea but it will take me some time i figure it out
    1337 741K FTW!

    Offlinekentos123

    • Member
    • **
    • Posts: 14
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #191 on: March 27, 2009, 08:12:06 PM »
    .\Bulby\.\io\FileManager.java:12: error while writing Bulby.io.FileManager: .\Bi
    n\Bulby\io\FileManager.class (Access is denied)
    public class FileManager {
           ^
    1 error
    Press any key to continue . . .
    Professional Gaming Since June*99 Counter-Strike 1.3
    Team United5 !

    Offlineipodfreakz

    • Member
    • **
    • Posts: 54
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #192 on: March 27, 2009, 08:30:38 PM »
    Here is a compiler i found. try this:
    or code is here
    Code: [Select]
    @echo off
    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 Finished!
    pause
    exit 

    « Last Edit: March 27, 2009, 09:03:40 PM by ipodfreakz »


    My favorite song

    Offlinexxlukexx

    • Member
    • ****
    • Posts: 2,830
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #193 on: March 28, 2009, 02:16:11 PM »
    Code: [Select]
    Exception in thread "main" java.lang.NoClassDefFoundError: */java
    Press any key to continue . . .

    this is when i try to compile, iv tryed lots of other compilers, even the one i normally use but wont work.

    how can i fix this?
    Quote from: Nion,Tuesday, May 21 2013, 20:58
    "Xbox Open IE"
    "XBox go to Amazon"
    "Xbox buy me a PS4"
    "Xbox sell yourself on ebay"
    "Xbox shutdown."

    Offlineroli

    • Member
    • **
    • Posts: 87
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #194 on: March 28, 2009, 04:27:51 PM »


    Maybe some help ?
    wat has to be da problum officir?

    Offlineiam3ni

    • Member
    • **
    • Posts: 26
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #195 on: March 28, 2009, 05:44:58 PM »
    Hey, i keep getting this error, been trying to get rid of it for HOURS!

    heres what it looks like

    Code: [Select]
    C:\Richscape\Source\Command.java:240: class, interface, or enum expected
    }
    ^
    1 error




    i have no idea why its saying this...ive checked the Command.Java like front and back.
    im using textpad and i know where line 240 is; its the last line

    please help
    lol i joined along time ago, and all my posts, rep went cya for some reason :S
    Join
    Moparscape.org/smf/index.php?

    Offlinedoom_j

    • i like the company of men
    • Member
    • ****
    • *
    • Posts: 7,202
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #196 on: March 28, 2009, 06:33:55 PM »
    Code: [Select]
    client.java:6988: orphaned case
                    case 17:
                    ^
    client.java:7188: orphaned case
                    case 72:
                    ^
    client.java:6989: 'try' without 'catch' or 'finally'
                            try {
    well like in my first post and it being locked but hey i didn't read the rles again so i keep getting these three errors and i can't seem to fix them? i would like a little help with it and i know its most likey one of the easyest things to fix but i can't seem to fix it =\

    well a lot this does no even helps
    « Last Edit: March 28, 2009, 06:57:45 PM by jmood128 »
    [12:18:14 21:04:45]<<Tom>>i dont care about your rights
    [12:18:14 21:04:49] <<Tom>> you have NO RIGHTS

    OfflineSetsuna

    • Member
    • ****
    • Posts: 1,005
    • Thanks: +0/-0
      • View Profile
      • Soul Society
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #197 on: March 28, 2009, 09:47:58 PM »
    Code: [Select]
        ^
    client.java:13971: illegal start of expression
        public void fromBank(int itemID, int fromSlot, int amount) {
               ^
    client.java:13971: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                            ^
    client.java:13971: <identifier> expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                        ^
    client.java:13971: not a statement
        public void fromBank(int itemID, int fromSlot, int amount) {
                                             ^
    client.java:13971: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                                     ^
    client.java:13971: ';' expected
        public void fromBank(int itemID, int fromSlot, int amount) {
                                                                 ^
    client.java:14063: illegal start of expression
        public int getXPForLevel(int level) {
        ^
    client.java:14063: ';' expected
        public int getXPForLevel(int level) {
                                ^
    client.java:14063: ';' expected
        public int getXPForLevel(int level) {
                                          ^
    client.java:14078: illegal start of expression
    public int getLevelForXP(int exp) {
    ^
    client.java:14078: ';' expected
    public int getLevelForXP(int exp) {
                            ^
    client.java:14078: ';' expected
    public int getLevelForXP(int exp) {
                                    ^
    client.java:14093: illegal start of expression
        public boolean addSkillXP(int amount, int skill) {
        ^
    client.java:14093: ';' expected
        public boolean addSkillXP(int amount, int skill) {
                                 ^
    client.java:14093: <identifier> expected
        public boolean addSkillXP(int amount, int skill) {
                                             ^
    client.java:14093: not a statement
        public boolean addSkillXP(int amount, int skill) {
                                                  ^
    client.java:14093: ';' expected
        public boolean addSkillXP(int amount, int skill) {
                                                       ^
    client.java:14264: illegal start of expression
        public boolean bankItem(int itemID, int fromSlot, int amount) {
        ^
    client.java:14264: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                               ^
    client.java:14264: <identifier> expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                           ^
    client.java:14264: not a statement
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                ^
    client.java:14264: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                        ^
    client.java:14264: ';' expected
        public boolean bankItem(int itemID, int fromSlot, int amount) {
                                                                    ^
    client.java:14538: illegal start of expression
        public void createItem(int newItemID) {
        ^
    client.java:14538: illegal start of expression
        public void createItem(int newItemID) {
               ^
    client.java:14538: ';' expected
        public void createItem(int newItemID) {
                              ^
    client.java:14538: ';' expected
        public void createItem(int newItemID) {
                                            ^
    client.java:14564: illegal start of expression
        public void removeAllItems() {
        ^
    client.java:14564: illegal start of expression
        public void removeAllItems() {
               ^
    client.java:14564: ';' expected
        public void removeAllItems() {
                                  ^
    client.java:14574: illegal start of expression
        public void resetItems(int WriteFrame) {
        ^
    client.java:14574: illegal start of expression
        public void resetItems(int WriteFrame) {
               ^
    client.java:14574: ';' expected
        public void resetItems(int WriteFrame) {
                              ^
    client.java:14574: ';' expected
        public void resetItems(int WriteFrame) {
                                             ^
    client.java:14593: illegal start of expression
        public void sendClueReward() {
        ^
    client.java:14593: illegal start of expression
        public void sendClueReward() {
               ^
    client.java:14593: ';' expected
        public void sendClueReward() {
                                  ^
    client.java:14612: illegal start of expression
        public void SetSmithing(int WriteFrame) {
        ^
    client.java:14612: illegal start of expression
        public void SetSmithing(int WriteFrame) {
               ^
    client.java:14612: ';' expected
        public void SetSmithing(int WriteFrame) {
                               ^
    client.java:14612: ';' expected
        public void SetSmithing(int WriteFrame) {
                                              ^
    client.java:14632: illegal start of expression
        public void SendWeapon(int Weapon, String WeaponName) {
        ^
    client.java:14632: illegal start of expression
        public void SendWeapon(int Weapon, String WeaponName) {
               ^
    client.java:14632: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                              ^
    client.java:14632: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                                                 ^
    client.java:14632: not a statement
        public void SendWeapon(int Weapon, String WeaponName) {
                                                  ^
    client.java:14632: ';' expected
        public void SendWeapon(int Weapon, String WeaponName) {
                                                            ^
    client.java:14709: illegal start of expression
        public void resetTItems(int WriteFrame) {
        ^
    client.java:14709: illegal start of expression
        public void resetTItems(int WriteFrame) {
               ^
    client.java:14709: ';' expected
        public void resetTItems(int WriteFrame) {
                               ^
    client.java:14709: ';' expected
        public void resetTItems(int WriteFrame) {
                                              ^
    client.java:14728: illegal start of expression
        public void resetOTItems(int WriteFrame) {
        ^
    client.java:14728: illegal start of expression
        public void resetOTItems(int WriteFrame) {
               ^
    client.java:14728: ';' expected
        public void resetOTItems(int WriteFrame) {
                                ^
    client.java:14728: ';' expected
        public void resetOTItems(int WriteFrame) {
                                               ^
    client.java:14747: illegal start of expression
        public void resetShop(int ShopID) {
        ^
    client.java:14747: illegal start of expression
        public void resetShop(int ShopID) {
               ^
    client.java:14747: ';' expected
        public void resetShop(int ShopID) {
                             ^
    client.java:14747: ';' expected
        public void resetShop(int ShopID) {
                                        ^
    client.java:14788: illegal start of expression
        public void resetBank() {
        ^
    client.java:14788: illegal start of expression
        public void resetBank() {
               ^
    client.java:14788: ';' expected
        public void resetBank() {
                             ^
    client.java:14810: illegal start of expression
        public void moveItems(int from, int to, int moveWindow) {
        ^
    client.java:14810: illegal start of expression
        public void moveItems(int from, int to, int moveWindow) {
               ^
    client.java:14810: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                             ^
    client.java:14810: <identifier> expected
        public void moveItems(int from, int to, int moveWindow) {
                                       ^
    client.java:14810: not a statement
        public void moveItems(int from, int to, int moveWindow) {
                                            ^
    client.java:14810: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                                              ^
    client.java:14810: ';' expected
        public void moveItems(int from, int to, int moveWindow) {
                                                              ^
    client.java:14847: illegal start of expression
        public int itemAmount(int itemID) {
        ^
    client.java:14847: ';' expected
        public int itemAmount(int itemID) {
                             ^
    client.java:14847: ';' expected
        public int itemAmount(int itemID) {
                                        ^
    client.java:14858: illegal start of expression
        public int freeBankSlots() {
        ^
    client.java:14858: ';' expected
        public int freeBankSlots() {
                                ^
    client.java:14869: illegal start of expression
        public int freeSlots() {
        ^
    client.java:14869: ';' expected
        public int freeSlots() {
                            ^
    client.java:14880: illegal start of expression
        public int freeTradeSlots() {
        ^
    client.java:14880: ';' expected
        public int freeTradeSlots() {
                                 ^
    client.java:14891: illegal start of expression
        public void openUpBank() {
        ^
    client.java:14891: illegal start of expression
        public void openUpBank() {
               ^
    client.java:14891: ';' expected
        public void openUpBank() {
                              ^
    client.java:14897: illegal start of expression
        public void openUpShop(int ShopID) {
        ^
    client.java:14897: illegal start of expression
        public void openUpShop(int ShopID) {
               ^
    client.java:14897: ';' expected
        public void openUpShop(int ShopID) {
                              ^
    client.java:14897: ';' expected
        public void openUpShop(int ShopID) {
                                         ^
    client.java:14906: illegal start of expression
        public void openUpPinSettings() {
        ^
    client.java:14906: illegal start of expression
        public void openUpPinSettings() {
               ^
    client.java:14906: ';' expected
        public void openUpPinSettings() {
                                     ^
    client.java:14928: illegal start of expression
        public boolean addItem(int item, int amount) {
        ^
    client.java:14928: ';' expected
        public boolean addItem(int item, int amount) {
                              ^
    client.java:14928: <identifier> expected
        public boolean addItem(int item, int amount) {
                                        ^
    client.java:14928: not a statement
        public boolean addItem(int item, int amount) {
                                             ^
    client.java:14928: ';' expected
        public boolean addItem(int item, int amount) {
                                                   ^
    client.java:14993: illegal start of expression
        public void dropItem(int droppedItem, int slot) {
        ^
    client.java:14993: illegal start of expression
        public void dropItem(int droppedItem, int slot) {
               ^
    client.java:14993: ';' expected
        public void dropItem(int droppedItem, int slot) {
                            ^
    client.java:14993: <identifier> expected
        public void dropItem(int droppedItem, int slot) {
                                             ^
    client.java:14993: not a statement
        public void dropItem(int droppedItem, int slot) {
                                                  ^
    client.java:14993: ';' expected
        public void dropItem(int droppedItem, int slot) {
                                                      ^
    100 errors
    Press any key to continue . . .

    Missing bracket...No clue where. Took away a few commands...
    http://soulsociety.user-board.net/ - Soul Society. A completely Bleach based private server.- Status: 5% completed. Not yet up. Feel free to join the site and stay tuned to the news, though.- Username: Rukia Kuchiki

    OfflineRarerThanRares

    • Member
    • **
    • Posts: 37
    • Thanks: +0/-0
      • View Profile
      • RarePk
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #198 on: March 29, 2009, 07:54:08 AM »
    Hey, almost finished my server but for some reason when i compile my server i get an Error.


    Code: [Select]
    client.java:701: ';' expected
    sendQuest("")
                ^
    1 error
    Finished!
    Press any key to continue . . .

    So i was thinking and tried putting a ; where it says but then i get more errors...

    Code: [Select]
    client.java:702: ')' expected
    ("~~~ RarePk ~~~", 15950);
                     ^
    client.java:702: not a statement
    ("~~~ RarePk ~~~", 15950);
    ^
    client.java:702: not a statement
    ("~~~ RarePk ~~~", 15950);
                       ^
    client.java:702: ';' expected
    ("~~~ RarePk ~~~", 15950);
                            ^
    4 errors
    Finished!
    Press any key to continue . . .


    Can anybody help me please?

    Thanks
    « Last Edit: March 29, 2009, 08:01:56 AM by RarerThanRares »
    www.RarePk.co.nr!

    RarePk.no-ip.org [508]

    Download client from RarePk.co.nr!

    Offlinexxlukexx

    • Member
    • ****
    • Posts: 2,830
    • Thanks: +0/-0
      • View Profile
    Re: ALL COMPILER/COMPILING RELATED QUESTIONS GO HERE
    « Reply #199 on: March 29, 2009, 09:14:39 AM »
    Code: [Select]
    client.java:701: ';' expected
    sendQuest("")
                ^

    pritty explanity. add a ; after the )
    Quote from: Nion,Tuesday, May 21 2013, 20:58
    "Xbox Open IE"
    "XBox go to Amazon"
    "Xbox buy me a PS4"
    "Xbox sell yourself on ebay"
    "Xbox shutdown."

     

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