![]() ![]() Is this mask always the same for every tile we are on? The random walk works with 1 tile from the npc, but when i add more then that it starts walking through walls. So what I get from this is each direction (8 directions) has a mask. ![]() For example at the moment it only does 1 tile movements. By doing x - regionAbsX (and same for Y) it's finding the x offset between 0-63 of the tile inside the region.Thanks a lot! This helps, I'm trying to implement a more random walk for the npcs. We have perfect OSRS bounty hunter, Zulrah with 11 stages, Cerberus, Abyssal Sire, Achievement diaries with over 200 tasks and much more. This means that all of our content is centered around the OSRS version of the game. ![]() The regionAbsX/regionAbsY are the TILE coords of the bottom-left corner tile of the region, almost directly where the red lines cross on the github page I linked above (for each region). OS-Veldahar is an Oldschool RuneScape based server. If the result is 0, it means the bit is not flipped and you can go in this direction.įor this part, you're just obtaining the clipping local to the region. RuneScape Development RS 503+ Client & Server Configuration 718+ Rotavele/Delauras Coords List If this is your first visit, be sure to check out the FAQ. Result = 00000000 00000000 00000000 00000001If the result is not 0, it means the bit is flipped at this position in the clipping mask and that you cannot go in this direction. I'm going to give a general command list, which means they're the same on many servers, mostly all of them. The reason for this is because, there's different commands on every server. 1642 5600 - Fist of Guthix Waiting Area (Just before the game) 1663 5695 - Playing Fist of guthix (Inside the actual game) 1675 5599 - Fist of guthix (main room) 1675 5599 - Fist Of Guthix Hall (THe Area with shop and bank) 1676 5599 - fist of guthix first part. However, I'm unsure what theĬode: clipping mask = 00000000 00000000 01110000 1110100 1 This will be one of the harder lists to update. } else if (moveTypeX = 1 & moveTypeY = 0) Now, from above, I understand that this code is only checking 1 tile away from the player. Public static boolean getClipping(int x, int y, int height, int moveTypeX, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |