Thread: Vencillio 160 Data (2H Animations Issue)

Results 1 to 2 of 2
  1. #1 Vencillio 160 Data (2H Animations Issue) 
    Donator

    i dds you's Avatar
    Join Date
    Jun 2013
    Posts
    831
    Thanks given
    678
    Thanks received
    160
    Rep Power
    92
    https://www.rune-server.ee/runescape...lem-fixed.html

    Been stuck on this for a while now, hoping someone has a resolution for me and any other vencillio users that have become stuck at this point.

    I've tried multiple released data packages but can't seem to crack this, Moving on to my assumption of readvalues being wrong as I know the data is working fine besides the 2H animations..

    My seq & anim client files are as follows:

    Quote Originally Posted by i dds you View Post
    saw https://www.rune-server.ee/runescape...a-release.html

    packed everything but i think my readvalues are probably still wrong.

    Code:
    	public void readValues(Stream stream) {
    		do {
    			int i = stream.readUnsignedByte();
    			if (i == 0)
    				return;
    			if (i == 1)
    				anInt405 = stream.readUnsignedShort();
    			else if (i == 2) {
    				anInt406 = stream.readUnsignedShort();
    				if (Animation.anims != null)
    					aAnimation_407 = Animation.anims[anInt406];
    			} else if (i == 4)
    				anInt410 = stream.readUnsignedShort();
    			else if (i == 5)
    				anInt411 = stream.readUnsignedShort();
    			else if (i == 6)
    				anInt412 = stream.readUnsignedShort();
    			else if (i == 7)
    				anInt413 = stream.readUnsignedShort();
    			else if (i == 8)
    				anInt414 = stream.readUnsignedShort();
    			else if (i == 40) {
    				int j = stream.readUnsignedByte();
    				for (int k = 0; k < j; k++) {
    					anIntArray408[k] = stream.readUnsignedShort();
    					anIntArray409[k] = stream.readUnsignedShort();
    				}//
    			} else if (i == 41) {
    				int j = stream.readUnsignedByte();
    				for (int k = 0; k < j; ++k) {
    					retextureToFind[k] =  stream.readUnsignedShort();
    					retextureToReplace[k] = stream.readUnsignedShort();
    				}//
    			} else
    				System.out.println("Error unrecognised spotanim config code: "
    						+ i);
    		} while (true);
    	}

    animation.java readvalues:
    Code:
        private void readValues(Stream stream) {
    		int i;
    		while ((i = stream.readUnsignedByte()) != 0){
    			
    		
    		if (i == 1) {
    			anInt352 = stream.readUnsignedShort();
    			anIntArray353 = new int[anInt352];
    			anIntArray354 = new int[anInt352];
    			anIntArray355 = new int[anInt352];
    			for (int j = 0; j < anInt352; j++) {
    					anIntArray353[j] = stream.readDWord();
    					anIntArray354[j] = -1;
    				}
    				for (int j = 0; j < anInt352; j++)
    					anIntArray355[j] = stream.readUnsignedByte();	
    		} else if (i == 2)
    			anInt356 = stream.readUnsignedShort();
    		else if (i == 3) {
    			int k = stream.readUnsignedByte();
    			anIntArray357 = new int[k + 1];
    			for (int l = 0; l < k; l++)
    				anIntArray357[l] = stream.readUnsignedByte();
    			anIntArray357[k] = 9999999;
    		} else if (i == 4)
    			aBoolean358 = true;
    		else if (i == 5)
    			anInt359 = stream.readUnsignedByte();
    		else if (i == 6)
    			anInt360 = stream.readUnsignedShort();
    		else if (i == 7)
    			anInt361 = stream.readUnsignedShort();
    		else if (i == 8)
    			anInt362 = stream.readUnsignedByte();
    		else if (i == 9)
    			anInt363 = stream.readUnsignedByte();
    		else if (i == 10)
    			anInt364 = stream.readUnsignedByte();
    		else if (i == 11)
    			anInt365 = stream.readUnsignedByte();
    		else if (i == 12)
    			stream.readDWord();
    		else
    			System.out.println("Error unrecognised seq config code: " + i);
    		}

    Reply With Quote  
     

  2. #2  
    Donator

    i dds you's Avatar
    Join Date
    Jun 2013
    Posts
    831
    Thanks given
    678
    Thanks received
    160
    Rep Power
    92
    bump

    can anyone fix this? I'm still pretty stuck here on this. Feel free to PM me about it would love to get this fixed

    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. Replies: 0
    Last Post: 06-18-2016, 06:32 PM
  2. [Project insanity 2h animation]
    By Juggalo Family in forum Help
    Replies: 1
    Last Post: 07-10-2010, 12:14 PM
  3. [PI] 2h animation.
    By sids in forum Help
    Replies: 0
    Last Post: 07-08-2010, 07:11 AM
  4. [Delta] Changing 2h anim.
    By M Peter in forum Help
    Replies: 3
    Last Post: 01-05-2010, 10:30 AM
  5. Animation issue.
    By Kenshin1388 in forum Help
    Replies: 0
    Last Post: 09-28-2009, 02:49 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
  •