got exactly same problem, help someone?
|
I have been looking everywhere but i cant find how to fix it o,o
basically when i run client, it throws this error "Error: loaderror Requesting maps 75"
any1 know how to fix it?
got exactly same problem, help someone?
someone please?
waht do you mean by update start method? Here is start method :
Code:public void start(StreamLoader streamLoader, client client1) { String as[] = { "model_version", "anim_version", "midi_version", "map_version" }; for(int i = 0; i < 4; i++) { byte abyte0[] = streamLoader.getDataForName(as[i]); int j = abyte0.length / 2; Stream stream = new Stream(abyte0); versions[i] = new int[j]; fileStatus[i] = new byte[j]; for(int l = 0; l < j; l++) versions[i][l] = stream.readUnsignedWord(); } String as1[] = { "model_crc", "anim_crc", "midi_crc", "map_crc" }; for(int k = 0; k < 4; k++) { byte abyte1[] = streamLoader.getDataForName(as1[k]); int i1 = abyte1.length / 4; Stream stream_1 = new Stream(abyte1); crcs[k] = new int[i1]; for(int l1 = 0; l1 < i1; l1++) crcs[k][l1] = stream_1.readDWord(); } byte abyte2[] = streamLoader.getDataForName("model_index"); int j1 = versions[0].length; modelIndices = new byte[j1]; for(int k1 = 0; k1 < j1; k1++) if(k1 < abyte2.length) modelIndices[k1] = abyte2[k1]; else modelIndices[k1] = 0; abyte2 = streamLoader.getDataForName("map_index"); Stream stream2 = new Stream(abyte2); j1 = abyte2.length / 7; mapIndices1 = new int[j1]; mapIndices2 = new int[j1]; mapIndices3 = new int[j1]; mapIndices4 = new int[j1]; for(int i2 = 0; i2 < j1; i2++) { mapIndices1[i2] = stream2.readUnsignedWord(); mapIndices2[i2] = stream2.readUnsignedWord(); mapIndices3[i2] = stream2.readUnsignedWord(); mapIndices4[i2] = stream2.readUnsignedByte(); } abyte2 = streamLoader.getDataForName("anim_index"); stream2 = new Stream(abyte2); j1 = abyte2.length / 2; anIntArray1360 = new int[j1]; for(int j2 = 0; j2 < j1; j2++) anIntArray1360[j2] = stream2.readUnsignedWord(); abyte2 = streamLoader.getDataForName("midi_index"); stream2 = new Stream(abyte2); j1 = abyte2.length; anIntArray1348 = new int[j1]; for(int k2 = 0; k2 < j1; k2++) anIntArray1348[k2] = stream2.readUnsignedByte(); clientInstance = client1; running = true; clientInstance.startRunnable(this, 2); }
Code:public int[] file_amounts = new int[4]; private final String crcNames[] = {"model_crc", "anim_crc", "midi_crc", "map_crc"}; private final int[][] crcs = new int[crcNames.length][]; public void initialize(StreamLoader archive, Client client) { for(int i = 0; i < crcNames.length; i++) { byte[] crc_file = archive.getDataForName(crcNames[i]); int length = 0; if(crc_file != null) { length = crc_file.length / 4; Stream crcStream = new Stream(crc_file); crcs[i] = new int[length]; fileStatus[i] = new byte[length]; for(int ptr = 0; ptr < length; ptr++) { crcs[i][ptr] = crcStream.readDWord(); } } } byte[] data = archive.getDataForName("map_index"); Stream stream = new Stream(data); int j1 = stream.readUnsignedWord();//mapData.length / 6; mapIndices1 = new int[j1]; mapIndices2 = new int[j1]; mapIndices3 = new int[j1]; file_amounts[3] = j1; for (int i2 = 0; i2 < j1; i2++) { Greenland(); mapIndices1[i2] = stream.readUnsignedWord(); mapIndices2[i2] = stream.readUnsignedWord(); mapIndices3[i2] = stream.readUnsignedWord(); } System.out.println("Map Amount: " + file_amounts[3] + ""); data = archive.getDataForName("midi_index"); stream = new Stream(data); j1 = data.length; file_amounts[2] = j1; anIntArray1348 = new int[j1]; for (int k2 = 0; k2 < j1; k2++) anIntArray1348[k2] = stream.readUnsignedByte(); System.out.println("Sounds Amount: " + file_amounts[2] + ""); //For some reason, model_index = anim_index and vice versa data = archive.getDataForName("model_index"); file_amounts[1] = data.length; data = archive.getDataForName("anim_index"); file_amounts[0] = data.length; System.out.println("Model amount: "+file_amounts[0]); clientInstance = client; running = true; clientInstance.startRunnable(this, 2); }
hmm there is no much difference from mine?
other than genesis has one more mapIndices.
can someone fix it if i send file? Thats all i ask (or if someone can connect via tv would be awesome)
https://www.mediafire.com/?zaleuw7u1wlfigb
bump please! :C
bump
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |