Thread: NPC Animations

Results 1 to 5 of 5
  1. #1 NPC Animations 
    Registered Member
    Join Date
    Jul 2018
    Posts
    70
    Thanks given
    18
    Thanks received
    6
    Rep Power
    11
    Hello R-S Community!

    I was wondering if anyone could help me with my NPC animations, Some work and some do not for the Theatre of Blood Npcs. I dont THINK its my readvalues but id be happy to post them, if requested. Below ive attached images to show some npc stand and walk animations are fine while some are just off. Ive tried hardcoding to client, repacking index 2 and im out of ideas.
    Any help would be great!

    Attached image
    Attached image
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,853
    Thanks given
    1,213
    Thanks received
    1,622
    Rep Power
    5000
    Are you getting any errors printed? I noticed that some TOB anims and gfx are broken on my client aswell, haven't really figured out what's causing it yet. The Pestilent bloat works fine for me but the maiden does not. Haven't tested the others yet.

    Spoiler for gifs:

    Current:
    Attached image

    Should look like this:
    Attached image
    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2018
    Posts
    70
    Thanks given
    18
    Thanks received
    6
    Rep Power
    11
    Yeah its odd.. I am not getting any errors. This is my sad excuse for a Maiden.

    Attached image
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Sep 2017
    Posts
    339
    Thanks given
    24
    Thanks received
    30
    Rep Power
    0
    What about readvalues nothing changed in them?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2018
    Posts
    70
    Thanks given
    18
    Thanks received
    6
    Rep Power
    11
    Quote Originally Posted by replicant View Post
    What about readvalues nothing changed in them?
    Heres my Animation Readvalues.

    Code:
    private void readValues(Stream stream) {
    		int i;
    		while ((i = stream.readUnsignedByte()) != 0) {
    
    			if (i == 1) {
    				anInt352 = stream.readUnsignedWord();
    				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.readUnsignedWord();
    			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.readUnsignedWord();
    			else if (i == 7)
    				anInt361 = stream.readUnsignedWord();
    			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);
    		}
    		if (anInt352 == 0) {
    			anInt352 = 1;
    			anIntArray353 = new int[1];
    			anIntArray353[0] = -1;
    			anIntArray354 = new int[1];
    			anIntArray354[0] = -1;
    			anIntArray355 = new int[1];
    			anIntArray355[0] = -1;
    		}
    		if (anInt363 == -1)
    			if (anIntArray357 != null)
    				anInt363 = 2;
    			else
    				anInt363 = 0;
    		if (anInt364 == -1) {
    			if (anIntArray357 != null) {
    				anInt364 = 2;
    				return;
    			}
    			anInt364 = 0;
    		}
    	}
    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. NPC Animation Dump
    By Unborn in forum Configuration
    Replies: 29
    Last Post: 04-10-2012, 11:49 AM
  2. [Req] Npc Animations [Req]
    By evenidontkno in forum Requests
    Replies: 0
    Last Post: 10-08-2008, 04:31 AM
  3. NPC animation ids.
    By Encouragin in forum Configuration
    Replies: 15
    Last Post: 09-20-2008, 05:39 PM
  4. reset all player and npc animations [508]
    By veer in forum RS 503+ Client & Server
    Replies: 0
    Last Post: 08-30-2008, 07:42 PM
  5. Coord, Npc Animation, Emotes, Gfx, SendQuest List's
    By `Rich in forum Configuration
    Replies: 15
    Last Post: 05-10-2008, 05:19 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
  •