[INFORMATION] Noclip information
Everyone keeps asking me about how to dump information about area's that are walkable without actually loading the maps serverside.
The best way to do it is to look into the client, it's not exactly hard.
Now;
Code:
aClass11Array1230[] = heightPlane[]
anIntArrayArray294[][] = mapTiles[x][y]
Here is a refactored version of what the basic data is;
Code:
heightPlane[currentHeight].mapTileArray[currentX][currentY] = 0
Now, the 0 means that the tile is walkable, i havn't bothered to look if there are any values other than 0 and 1 because i don't need to.
Now, you can tell this just by looking at how the "noclip command" is there;
Code:
for (int heightLevel = 0; heightLevel < 4; heightLevel++)
for (int x = 0; x < 103; x++)
for (int y = 0; y < 103; y++)
heightPlane[heightLevel].mapTileArray[x][y] = 0;
There you are, basically, you need to check your actual x and y according to the mapTileArray which is obviously where the "smallX" and "smallY" come in, then from that you can dump the actual x and y.
For example, if you login at position 3000, 3000 and your smallX and smallY is 48, 48, then mapTileArray[0][0] will be 3000 - 48. (Im assuming since i just load the maps because i can't be bothered with things like this).
Now, have fun.
Now, basically you would find out what the values stand for, for example 1 could mean it's a walkable object or something, then you can dump them and instead of dumping where you can't walk you could dump where you can walk instead.