Thread: Fixing missing lines on minimap!

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Fixing missing lines on minimap! 
    Banned

    Join Date
    Jul 2008
    Posts
    3,523
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    Ill make this quick.

    when using 508 objects and maps, ever noticed how some diagonal objects didnt show a white line on the minimap? Yea well this fixes dem mmmmmkayy??

    what youre adding:



    replace method50 in client.java with this:

    Method50 - Pastie

    renamed for galkon's RuneLimited client:

    public void method50 - Pastebin.com

    and replace method302 in WorldController with this:

    Code:
    	public int method302(int i, int j, int k)
    	{
    		Ground class30_sub3 = groundArray[i][j][k];
    		if(class30_sub3 == null)
    			return 0;
    		for(int l = 0; l < class30_sub3.anInt1317; l++)
    		{
    			Object5 class28 = class30_sub3.obj5Array[l];
    			if(class28.anInt523 == j && class28.anInt525 == k)
    				return class28.uid;
    		}
    
    		return 0;
    	}
    And youre done, enjoy!

    Credits: Galkon for helping figure out the diagonals
    Reply With Quote  
     


  2. #2  
    Client God

    Join Date
    Aug 2009
    Posts
    3,127
    Thanks given
    3
    Thanks received
    617
    Rep Power
    907
    AWESOMENESS WILL ADD TO CLIENT I R LEECH!!!!!
    :troll:
















    Good job
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2011
    Age
    28
    Posts
    150
    Thanks given
    1
    Thanks received
    9
    Rep Power
    14
    Good job, nice to see something useful released
    Reply With Quote  
     

  4. #4  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    You're all welcome
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Dec 2009
    Posts
    1,142
    Thanks given
    275
    Thanks received
    169
    Rep Power
    164
    Code:
    if ((k1 ^ 0xffffffffffffffffL) != -1L) {
    ...
    Code:
    } else if ((k2 ^ 0xffffffff) == -2) {
    Reply With Quote  
     

  6. #6  
    Номер 1


    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,895
    Thanks given
    1,564
    Thanks received
    2,624
    Rep Power
    5000
    ^ xor, ripped from 508+ client i guess , good job anyway
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Registered Member
    Join Date
    Jun 2010
    Age
    27
    Posts
    2,528
    Thanks given
    544
    Thanks received
    584
    Rep Power
    411
    Thank you! Been trying to fix this for sooo long time.
    Reply With Quote  
     

  9. #8  
    Registered Member

    Join Date
    Dec 2009
    Posts
    1,142
    Thanks given
    275
    Thanks received
    169
    Rep Power
    164
    Quote Originally Posted by Men View Post
    ^ xor, ripped from 508+ client i guess , good job anyway
    xor is a bitwise operator "^" but in the obfuscation it is used as k1 ^(to the power of) -1 so it should be called a negative not (!=) compare
    ty galkon for removing my post i had just edited a well structured response
    anyways i don't feel like renaming "method50" again but u can replace the obfuscated code with this
    Code:
    if (k1 != 0L) {
    k1 is the uid of the wall object
    method300 gets a wall obj uid
    Code:
    } else if (k2 == 1) {
    looks like for this bit u just disabled the uid checking in the loop, might be wrong
    Code:
    	public int getInteractiveObjectUid(int z, int x, int y) {
    		GroundTile groundTile = groundTiles[z][x][y];
    		if (groundTile == null) {
    			return 0;
    		}
    		for (int l = 0; l < groundTile.anInt1317; l++) {
    			InteractiveObject interactiveObject = groundTile.interactiveObjects[l];
    			if (interactiveObject.x == x && interactiveObject.y == y) {
    				return interactiveObject.uid;
    			}
    		}
    		return 0;
    	}
    Reply With Quote  
     

  10. Thankful user:


  11. #9  
    Registered Member
    Join Date
    Jun 2010
    Age
    27
    Posts
    2,528
    Thanks given
    544
    Thanks received
    584
    Rep Power
    411
    Only need someone to release 500+ floors now then we'll have bug free 508 maps
    Reply With Quote  
     

  12. #10  
    Banned

    Join Date
    Jul 2008
    Posts
    3,523
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    bumpkin
    Reply With Quote  
     

  13. Thankful user:


Page 1 of 2 12 LastLast

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: 42
    Last Post: 11-26-2012, 08:50 AM
  2. Fixing Black minimap
    By Pb600 in forum Snippets
    Replies: 9
    Last Post: 08-05-2011, 09:28 PM
  3. Fixing Minimap For Newer Gameframe
    By failz in forum Tutorials
    Replies: 8
    Last Post: 10-13-2010, 01:23 PM
  4. Frame 99 lines ( minimap )
    By Flippy in forum Help
    Replies: 2
    Last Post: 05-05-2010, 02:59 AM
  5. Frame 99 lines ( minimap )
    By Flippy in forum Help
    Replies: 0
    Last Post: 05-04-2010, 11:06 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
  •