Fixing missing lines on minimap!
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:
http://i551.photobucket.com/albums/i...xedminimap.png
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 :D