Thread: Error need help [PI]

Results 1 to 2 of 2
  1. #1 Error need help [PI] 
    Registered Member remote's Avatar
    Join Date
    Aug 2012
    Age
    29
    Posts
    42
    Thanks given
    3
    Thanks received
    0
    Rep Power
    11
    I get this error when compiling my client
    Code:
    OnDemandFetcher.java:124: error: cannot find symbol
            maps();
            ^
      symbol:   method maps()
      location: class OnDemandFetcher
    Note: client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    And i get this error while running the client
    Code:
    RS2 user client - release #317
    Map Amount: 770
    Error: loaderror Connecting to update server 60
    If you know how to fix please help me, I was trying to add the 634 maps and 525 objects. From tutorial. Thanks in advance and please don't flame at me, i am new to coding. You were new at once also.
    Reply With Quote  
     

  2. #2  
    Member
    Join Date
    Jun 2011
    Posts
    61
    Thanks given
    0
    Thanks received
    14
    Rep Power
    0
    Wrong Section

    But
    Code:
    public void maps() {
    		for(int MapIndex = 0; MapIndex < 3536; MapIndex++) {
    			byte[] abyte0 = GetMap(MapIndex);
    			if(abyte0 != null && abyte0.length > 0) {
    				decompressors[4].method234(abyte0.length, abyte0, MapIndex);
    			}
    		}
    	}
    	
    	public byte[] GetMap(int Index) {
    		try {
    			File Map = new File("./Data/Maps/"+Index+".gz");
    			byte[] aByte = new byte[(int)Map.length()];
    			FileInputStream Fis = new FileInputStream(Map);
    				Fis.read(aByte);
    				System.out.println("Map: "+Index+"");
    				Fis.close();
    			return aByte;
    		} catch(Exception e) {
    			return null;
    		}
    	}
    And the load error is because it can't load the files. (Im guessing you have models preloading and it is the wrong path to the models)
    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. ERROR K4rn4ge 634 model header error
    By DeeJay in forum Help
    Replies: 0
    Last Post: 03-17-2012, 03:17 PM
  2. Replies: 2
    Last Post: 01-26-2012, 03:38 PM
  3. Replies: 9
    Last Post: 10-20-2011, 07:52 AM
  4. Replies: 6
    Last Post: 09-15-2010, 04:20 PM
  5. Replies: 6
    Last Post: 05-01-2010, 05:18 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •