Thread: [PI] T2 - 117 error on client (crashes at god wars next to zamoraks area)

Results 1 to 4 of 4
  1. #1 [PI] T2 - 117 error on client (crashes at god wars next to zamoraks area) 
    Registered Member
    Join Date
    Oct 2011
    Posts
    138
    Thanks given
    4
    Thanks received
    7
    Rep Power
    11
    I keep getting this error:

    Code:
    Error: T2 - 117,85,65 - 15,2925,5334 - 50,-2,-9,-1,-3,7,33,43,31,0,65,0,105,16,6
    4,
    Everytime i go into the god wars map near Zamorak.


    I can confirm that the rest of the map does in fact work at God Wars, but here it don't.
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Nov 2013
    Posts
    1,015
    Thanks given
    240
    Thanks received
    265
    Rep Power
    0
    Quote Originally Posted by xxskylarscapexx View Post
    I keep getting this error:

    Code:
    Error: T2 - 117,85,65 - 15,2925,5334 - 50,-2,-9,-1,-3,7,33,43,31,0,65,0,105,16,6
    4,
    Everytime i go into the god wars map near Zamorak.


    I can confirm that the rest of the map does in fact work at God Wars, but here it don't.
    It's a bit outdated but here's a tutorial on fixing t2 and resource on client errors and what they mean

    fixing t2
    client errors
    Reply With Quote  
     

  3. #3  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    Seems to be projectile related.

    Code:
    if (j == 117) {
    			int localPosition = stream.getUnsignedByte();
    			int localY = anInt1268 + (localPosition >> 4 & 7);
    			int localX = anInt1269 + (localPosition & 7);
    			int offsetY = localY + stream.getSignedByte();
    			int offsetX = localX + stream.getSignedByte();
    			int index = stream.getSignedShort();
    			int projectileId = stream.getUnsignedShort();
    			int startHeight = stream.getUnsignedByte() * 4;
    			int endHeight = stream.getUnsignedByte() * 4;
    			int time = stream.getUnsignedShort();
    			int speed = stream.getUnsignedShort();
    			int slope = stream.getUnsignedByte();
    			int startDelay = stream.getUnsignedByte();
    
    			if (localY >= 0 && localX >= 0 && localY < 104 && localX < 104 && offsetY >= 0 && offsetX >= 0 && offsetY < 104 && offsetX < 104 && projectileId != 65535) {
    				localY = localY * 128 + 64;
    				localX = localX * 128 + 64;
    				offsetY = offsetY * 128 + 64;
    				offsetX = offsetX * 128 + 64;
    				PlayerProjectile projectile = new PlayerProjectile(slope, endHeight, time + loopCycle, speed + loopCycle, startDelay, plane, method42(plane, localX, localY) - startHeight, localX,
    						localY, index, projectileId);
    				projectile.method455(time + loopCycle, offsetX, method42(plane, offsetX, offsetY) - endHeight, offsetY);
    				getaClass19_1013().insertHead(projectile);
    			}
    		}
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member
    Join Date
    Oct 2011
    Posts
    138
    Thanks given
    4
    Thanks received
    7
    Rep Power
    11
    Quote Originally Posted by Arithium View Post
    Seems to be projectile related.

    Code:
    if (j == 117) {
    			int localPosition = stream.getUnsignedByte();
    			int localY = anInt1268 + (localPosition >> 4 & 7);
    			int localX = anInt1269 + (localPosition & 7);
    			int offsetY = localY + stream.getSignedByte();
    			int offsetX = localX + stream.getSignedByte();
    			int index = stream.getSignedShort();
    			int projectileId = stream.getUnsignedShort();
    			int startHeight = stream.getUnsignedByte() * 4;
    			int endHeight = stream.getUnsignedByte() * 4;
    			int time = stream.getUnsignedShort();
    			int speed = stream.getUnsignedShort();
    			int slope = stream.getUnsignedByte();
    			int startDelay = stream.getUnsignedByte();
    
    			if (localY >= 0 && localX >= 0 && localY < 104 && localX < 104 && offsetY >= 0 && offsetX >= 0 && offsetY < 104 && offsetX < 104 && projectileId != 65535) {
    				localY = localY * 128 + 64;
    				localX = localX * 128 + 64;
    				offsetY = offsetY * 128 + 64;
    				offsetX = offsetX * 128 + 64;
    				PlayerProjectile projectile = new PlayerProjectile(slope, endHeight, time + loopCycle, speed + loopCycle, startDelay, plane, method42(plane, localX, localY) - startHeight, localX,
    						localY, index, projectileId);
    				projectile.method455(time + loopCycle, offsetX, method42(plane, offsetX, offsetY) - endHeight, offsetY);
    				getaClass19_1013().insertHead(projectile);
    			}
    		}
    That makes a lot of sense, thanks bro!

    So it's gonna be somewhere in godwars an NPC is firing something at me which is crashing the game.... which does make sense cuz it happens after im in range of being attacked.


    EDIT:


    this is my 117

    Code:
    		if (j == 117) {
    			int i3 = stream.readUnsignedByte();
    			int l5 = anInt1268 + (i3 >> 4 & 7);
    			int k8 = anInt1269 + (i3 & 7);
    			int j11 = l5 + stream.readSignedByte();
    			int k13 = k8 + stream.readSignedByte();
    			int l15 = stream.readSignedWord();
    			int i17 = stream.readUnsignedWord();
    			int i18 = stream.readUnsignedByte() * 4;
    			int l18 = stream.readUnsignedByte() * 4;
    			int k19 = stream.readUnsignedWord();
    			int j20 = stream.readUnsignedWord();
    			int i21 = stream.readUnsignedByte();
    			int j21 = stream.readUnsignedByte();
    			if (l5 >= 0 && k8 >= 0 && l5 < 104 && k8 < 104 && j11 >= 0
    					&& k13 >= 0 && j11 < 104 && k13 < 104 && i17 != 65535) {
    				l5 = l5 * 128 + 64;
    				k8 = k8 * 128 + 64;
    				j11 = j11 * 128 + 64;
    				k13 = k13 * 128 + 64;
    				Animable_Sub4 class30_sub2_sub4_sub4 = new Animable_Sub4(i21,
    						l18, k19 + loopCycle, j20 + loopCycle, j21, plane,
    						method42(plane, k8, l5) - i18, k8, l5, l15, i17);
    				class30_sub2_sub4_sub4.method455(k19 + loopCycle, k13,
    						method42(plane, k13, j11) - l18, j11);
    				aClass19_1013.insertHead(class30_sub2_sub4_sub4);
    			}
    		}
    	}
    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. [Help][PI] - Java.Lang Error on Client
    By ProjectNA in forum Help
    Replies: 2
    Last Post: 07-22-2015, 07:07 PM
  2. Replies: 4
    Last Post: 08-19-2012, 09:48 PM
  3. error on client [PI]
    By owner iwan in forum Help
    Replies: 7
    Last Post: 09-10-2011, 01:55 AM
  4. Impact T2 Error Fix (Client crash fix)
    By Core in forum Snippets
    Replies: 17
    Last Post: 12-27-2009, 05:27 PM
  5. Server Causing a T2 error on client.
    By Crash in forum Help
    Replies: 0
    Last Post: 05-13-2009, 09:14 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
  •