Thread: Vencillio 160 Data (2H Animations Issue)

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11  
    Donator

    i dds you's Avatar
    Join Date
    Jun 2013
    Posts
    831
    Thanks given
    678
    Thanks received
    160
    Rep Power
    92
    bump, looking for someone still.. would prefer if you were a long term member of rune-server with a clean record

    Reply With Quote  
     

  2. #12  
    'Slutty McFur'

    Owain's Avatar
    Join Date
    Sep 2014
    Age
    26
    Posts
    2,894
    Thanks given
    2,360
    Thanks received
    2,200
    Rep Power
    5000
    Try:
    Code:
    	public void readValues(Stream stream) {
    		int i;
    		while ((i = stream.readUnsignedByte()) != 0) {
    
    			if (i == 1) {
    				length = stream.readShort2();
    				primary = new int[length];
    				secondary = new int[length];
    				duration = new int[length];
    				for (int j = 0; j < length; j++) {
    					primary[j] = stream.readDWord();
    					secondary[j] = -1;
    				}
    				for (int j = 0; j < length; j++) {
    					duration[j] = stream.readUnsignedByte();
    				}
    			}
    			else if (i == 2) {
    				padding = stream.readShort2();
    			}
    			else if (i == 3) {
    				int length = stream.readUnsignedByte();
    				vertices = new int[length + 1];
    				for (int k = 0; k < length; k++) {
    					vertices[k] = stream.readUnsignedByte();
    				}
    				vertices[length] = 9999999;
    			}
    			else if (i == 4) {
    				allowsRotation = true;
    			}
    			else if (i == 5) {
    				priority1 = stream.readUnsignedByte();
    			}
    			else if (i == 6) {
    				shield = stream.readShort2();
    			}
    			else if (i == 7) {
    				weapon = stream.readShort2();
    			}
    			else if (i == 8) {
    				resetCycle = stream.readUnsignedByte();
    			}
    			else if (i == 9) {
    				runFlag = stream.readUnsignedByte();
    			}
    			else if (i == 10) {
    				walkFlag = stream.readUnsignedByte();
    			}
    			else if (i == 11) {
    				delayType = stream.readUnsignedByte();
    			}
    			else if (i == 12) {
    				stream.readDWord();
    			}
    			else {
    				Utility.print("Error unrecognised seq config code: " + i);
    			}
    		}
    		if (length == 0) {
    			length = 1;
    			primary = new int[1];
    			primary[0] = -1;
    			secondary = new int[1];
    			secondary[0] = -1;
    			duration = new int[1];
    			duration[0] = -1;
    		}
    		if (runFlag == -1)
    			if (vertices != null)
    				runFlag = 2;
    			else
    				runFlag = 0;
    		if (walkFlag == -1) {
    			if (vertices != null) {
    				walkFlag = 2;
    				return;
    			}
    			walkFlag = 0;
    		}
    	}


    Spoiler for wat:
    Attached image
    Attached image

    Attached image


    Reply With Quote  
     

  3. Thankful user:


Page 2 of 2 FirstFirst 12

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. Vencillio 160 Data (2H Animations Issue)
    By i dds you in forum Help
    Replies: 1
    Last Post: 02-02-2018, 11:46 PM
  2. 160 latest OSRS Data Jad Animations
    By .Matt in forum Requests
    Replies: 6
    Last Post: 01-23-2018, 03:48 AM
  3. Replies: 11
    Last Post: 12-26-2017, 09:26 PM
  4. Replies: 0
    Last Post: 06-18-2016, 06:32 PM
  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
  •