Thread: [PI] Lost Legacy Quest, 5 errors [PI] [Help]

Results 1 to 4 of 4
  1. #1 [PI] Lost Legacy Quest, 5 errors [PI] [Help] 
    Banned
    Join Date
    May 2010
    Posts
    86
    Thanks given
    26
    Thanks received
    5
    Rep Power
    0
    Code:
    src\server\model\players\PlayerAssistant.java:1157: illegal start of expression
            public void clearQuestInterface() {
            ^
    src\server\model\players\PlayerAssistant.java:1157: illegal start of expression
            public void clearQuestInterface() {
                   ^
    src\server\model\players\PlayerAssistant.java:1157: ';' expected
            public void clearQuestInterface() {
                                           ^
    src\server\model\players\PlayerAssistant.java:1163: illegal start of expression
            public int[] QuestInterface = { 8145, 8147, 8148, 8149, 8150, 8151, 8152
    , 8153, 8154, 8155, 8156, 8157, 8158, 8159, 8160, 8161, 8162, 8163, 8164, 8165,
    8166, 8167, 8168, 8169, 8170, 8171, 8172, 8173, 8174, 8175, 8176, 8177, 8178, 81
    79, 8180, 8181, 8182, 8183, 8184, 8185, 8186, 8187, 8188, 8189, 8190, 8191, 8192
    , 8193, 8194, 8195, 12174, 12175, 12176, 12177, 12178, 12179, 12180, 12181, 1218
    2, 12183, 12184, 12185, 12186, 12187, 12188, 12189, 12190, 12191, 12192, 12193,
    12194, 12195, 12196, 12197, 12198, 12199, 12200, 12201, 12202, 12203, 12204, 122
    05, 12206, 12207, 12208, 12209, 12210, 12211, 12212, 12213, 12214, 12215, 12216,
     12217, 12218, 12219, 12220, 12221, 12222, 1222};
            ^
    src\server\model\players\packets\Commands.java:797: reached end of file while pa
    rsing
    }→
     ^
    5 errors
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2010
    Posts
    271
    Thanks given
    2
    Thanks received
    3
    Rep Power
    11
    Hmm can i look at the clearQuestInterface Method

    StoryScape 317
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    May 2010
    Posts
    86
    Thanks given
    26
    Thanks received
    5
    Rep Power
    0
    Quote Originally Posted by storyscape View Post
    Hmm can i look at the clearQuestInterface Method
    Code:
    	public void clearQuestInterface() {
    		for (int element : QuestInterface) {
    		getPA().sendFrame126("", element);
    		}
    		}
    		public int[] QuestInterface = { 8145, 8147, 8148, 8149, 8150, 8151, 8152,
    		8153, 8154, 8155, 8156, 8157, 8158, 8159, 8160, 8161, 8162, 8163,
    		8164, 8165, 8166, 8167, 8168, 8169, 8170, 8171, 8172, 8173, 8174,
    		8175, 8176, 8177, 8178, 8179, 8180, 8181, 8182, 8183, 8184, 8185,
    		8186, 8187, 8188, 8189, 8190, 8191, 8192, 8193, 8194, 8195, 12174,
    		12175, 12176, 12177, 12178, 12179, 12180, 12181, 12182, 12183,
    		12184, 12185, 12186, 12187, 12188, 12189, 12190, 12191, 12192,
    		12193, 12194, 12195, 12196, 12197, 12198, 12199, 12200, 12201,
    		12202, 12203, 12204, 12205, 12206, 12207, 12208, 12209, 12210,
    		12211, 12212, 12213, 12214, 12215, 12216, 12217, 12218, 12219,
    		12220, 12221, 12222, 1222};
    	
    	public void sendClan(String name, String message, String clan, int rights) {
    		outStream.createFrameVarSizeWord(217);
    		outStream.writeString(name);
    		outStream.writeString(message);
    		outStream.writeString(clan);
    		outStream.writeWord(rights);
    		outStream.endFrameVarSize();
    	}
    	
    	public static final int PACKET_SIZES[] = {
    		0, 0, 0, 1, -1, 0, 0, 0, 0, 0, //0
    		0, 0, 0, 0, 8, 0, 6, 2, 2, 0,  //10
    		0, 2, 0, 6, 0, 12, 0, 0, 0, 0, //20
    		0, 0, 0, 0, 0, 8, 4, 0, 0, 2,  //30
    		2, 6, 0, 6, 0, -1, 0, 0, 0, 0, //40
    		0, 0, 0, 12, 0, 0, 0, 8, 8, 12, //50
    		8, 8, 0, 0, 0, 0, 0, 0, 0, 0,  //60
    		6, 0, 2, 2, 8, 6, 0, -1, 0, 6, //70
    		0, 0, 0, 0, 0, 1, 4, 6, 0, 0,  //80
    		0, 0, 0, 0, 0, 3, 0, 0, -1, 0, //90
    		0, 13, 0, -1, 0, 0, 0, 0, 0, 0,//100
    		0, 0, 0, 0, 0, 0, 0, 6, 0, 0,  //110
    		1, 0, 6, 0, 0, 0, -1, 0, 2, 6, //120
    		0, 4, 6, 8, 0, 6, 0, 0, 0, 2,  //130
    		0, 0, 0, 0, 0, 6, 0, 0, 0, 0,  //140
    		0, 0, 1, 2, 0, 2, 6, 0, 0, 0,  //150
    		0, 0, 0, 0, -1, -1, 0, 0, 0, 0,//160
    		0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  //170
    		0, 8, 0, 3, 0, 2, 0, 0, 8, 1,  //180
    		0, 0, 12, 0, 0, 0, 0, 0, 0, 0, //190
    		2, 0, 0, 0, 0, 0, 0, 0, 4, 0,  //200
    		4, 0, 0, 0, 7, 8, 0, 0, 10, 0, //210
    		0, 0, 0, 0, 0, 0, -1, 0, 6, 0, //220
    		1, 0, 0, 0, 6, 0, 6, 8, 1, 0,  //230
    		0, 4, 0, 0, 0, 0, -1, 0, -1, 4,//240
    		0, 0, 6, 6, 0, 0, 0            //250
    	};
    Reply With Quote  
     

  4. #4  
    Registered Member
    netzo's Avatar
    Join Date
    Feb 2008
    Age
    31
    Posts
    1,226
    Thanks given
    402
    Thanks received
    135
    Rep Power
    185
    Code:
    	public void clearQuestInterface() {
    		for (int element : QuestInterface) {
    			getPA().sendFrame126("", element);
    		}
    		public int[] QuestInterface = { 8145, 8147, 8148, 8149, 8150, 8151, 8152,
    			8153, 8154, 8155, 8156, 8157, 8158, 8159, 8160, 8161, 8162, 8163,
    			8164, 8165, 8166, 8167, 8168, 8169, 8170, 8171, 8172, 8173, 8174,
    			8175, 8176, 8177, 8178, 8179, 8180, 8181, 8182, 8183, 8184, 8185,
    			8186, 8187, 8188, 8189, 8190, 8191, 8192, 8193, 8194, 8195, 12174,
    			12175, 12176, 12177, 12178, 12179, 12180, 12181, 12182, 12183,
    			12184, 12185, 12186, 12187, 12188, 12189, 12190, 12191, 12192,
    			12193, 12194, 12195, 12196, 12197, 12198, 12199, 12200, 12201,
    			12202, 12203, 12204, 12205, 12206, 12207, 12208, 12209, 12210,
    			12211, 12212, 12213, 12214, 12215, 12216, 12217, 12218, 12219,
    			12220, 12221, 12222, 1222};
    	}
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Lost Legacy Quest not saving???
    By Kaiser Btw in forum Help
    Replies: 22
    Last Post: 05-03-2011, 02:00 AM
  2. [317] Lost Legacy [317]
    By Nighel in forum Advertise
    Replies: 13
    Last Post: 07-24-2010, 01:59 PM
  3. Lost Legacy
    By I'm me bitch in forum Advertise
    Replies: 3
    Last Post: 01-17-2009, 11:31 PM
  4. Lost Legacy 24/7
    By I'm me bitch in forum Advertise
    Replies: 2
    Last Post: 01-01-2009, 06:21 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •