[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-512028-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-512028-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","precomputed-pathfinding-for-large-and-detailed-worlds-on-mmo-servers-chapter-20","Precomputed Pathfinding for Large and Detailed Worlds on MMO Servers - Chapter 20","","Precomputed pathfinding is presented for MMO servers, aiming to achieve fast navigation responses by storing precomputed path request results in hierarchical lookup tables. While older consoles used such approaches, this work addresses the key trade-off: reducing CPU time per request at the cost of memory and flexibility. The system targets FINAL FANTASY XIV: A Realm Reborn, using navigation mesh autogeneration (via Recast plus game-specific falling mesh logic), then generating and validating server-ready table data through a tool chain and quality checks. The document further outlines requirements and results, concluding with lessons learned and system strengths.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/precomputed-pathfinding-for-large-and-detailed-worlds-on-mmo-servers-chapter-20/512028/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/precomputed-pathfinding-for-large-and-detailed-worlds-on-mmo-servers-chapter-20/512028.png","ImageObject",300,407,{"name":42,"@type":43},"pixelkiddo","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-10-06",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why use precomputed pathfinding instead of dynamic algorithms like A* in MMO servers?","Question",{"text":63,"@type":64},"Precomputed solutions store results in a lookup table, giving the best computation cost. MMO servers have many maps to handle but very few CPU cycles per request, making precomputation a practical choice.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How is the navigation mesh generated in this system?",{"text":68,"@type":64},"A navigation mesh is used as the world representation. The mesh autogeneration is performed with Recast, with a game-specific modification that adds a “falling mesh” into the generation process.",{"name":70,"@type":61,"acceptedAnswer":71},"What is the hierarchical lookup table and what problem does it solve?",{"text":72,"@type":64},"Precomputed navigation data is stored in a hierarchical lookup table. This structure reduces the memory footprint while maintaining very fast computation time for server-side navigation tasks.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},512028,1791332988,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":127,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},962090883892,"https://ap-avatar.wpscdn.com/avatar/e00115db34f3e0f11b?x-image-process=image/resize,m_fixed,w_180,h_180&k=1790152879550218658","20  \nPrecomputed Pathfinding for Large and Detailed Worlds on MMO Servers  \nFabien Gravot, Takanori Yokoyama, and Youichiro Miyake  \n20.1 Introduction  \n20. 2 System Overview  \n20.3 Tool Chain  \n20.4 Mesh Generation  \n20.5 Table Generation Overview  \n20.6 Table Generation Algorithm  \n20. 7 Table Inconsistencies  \n20.8 Table Use on Server  \n20.9 Results  \n20.10 Conclusion  \n20.1 Introduction  \nPrecomputed solutions for pathfinding were common on old generation consoles, but have rarely been used on current hardware. These solutions give the best results in terms of computation cost, as all path request results are precomputed in a lookup table. However, they have two drawbacks: memory cost and loss of flexibility. Currently most games use dynamic algorithms like A* for navigation.  \nIn the context of MMO games, however, precomputed solutions are still used. While the corresponding servers are typically equipped with ample memory, they have very few CPU cycles available for each request. This article will show how precomputed pathfinding has been implemented for FINAL FANTASY XIV: A Realm Reborn.  \nThis game has very large and detailed maps (about 4 km2 each), with cliffs from which the agent can fall (unidirectional path). We will present an accurate navigation system with navigation mesh autogeneration and a component based hierarchical lookup table. We define a component to be a group of connected polygons (at the lowest layer) or connected sublayer components (at other layers). We will first give an overview of the whole  \nnavigation system, followed by a brief explanation of the navigation mesh autogeneration, finally focusing on the precomputed data generation.  \n20.2 System Overview  \nThe navigation system presented in this article has been developed for FINAL FANTASY XIV: A Realm Reborn, “a Massively Multiplayer Online Game,” developed by SQUARE ENIX. The choices made for this system are mostly driven by this game’s needs; however, the techniques presented here can also be used in other environments.  \nThe game performs all the navigation path computations on the servers. One server can simulate several maps. One map can be as large as 4 square kilometers with several thousand NPCs and players. Figure 20.1 shows an in-game screenshot of part of the world to explore. Because the pathfinding system must be very fast, meaning A* was not an option, a precomputed path lookup table was chosen.  \nAnother important requirement was to have the pathfinding system be mostly automatic. It has to be able to generate accurate navigation for hundreds of maps without expert or manual input, but if necessary, it must be possible to edit the data directly. Asa game rule, any NPC can go where the player can go (except when specified by the level designer). The navigation system must be as close as possible to the collision system used by the player. Since players can jump or fall off (from almost anywhere) the navigation system must support those features. It also means that large NPCs can go through narrow passages if the player can use them. The NPC size is not used to find a path, but it is still used to smooth it at run-time. To fill the role of world navigation representation, a navigation mesh was chosen.  \nThe precomputed navigation data is generated from the navigation mesh, and this generation is the core concept of this article. The precomputed data is stored in a hierarchical lookup table. This approach was chosen to reduce the memory footprint while maintaining very fast computation time. These tables are used on the server to perform all the navigation system tasks.  \nFigure 20.1  \nFINAL FANTASY XIV: A Realm Reborn screenshot.  \nFigure 20.2  \nTools flow chart from the collision data to the table data used by the server navigation system.  \n20.3 Tool Chain  \nThe main tools used to generate the navigation table data are the Level Editor and the Table Builder (Figure 20.2). The Level Editor gathers all the collision data to gener","cbCaihAfdXJ1OpZ1","https://ap.wps.com/l/cbCaihAfdXJ1OpZ1","pdf",2502791,"English","# 20.1 Introduction\n# 20.2 System Overview\n# 20.3 Tool Chain\n# 20.4 Mesh Generation\n# 20.5 Table Generation Overview\n# 20.6 Table Generation Algorithm\n# 20.7 Table Inconsistencies\n# 20.8 Table Use on Server\n# 20.9 Results\n# 20.10 Conclusion","[{\"question\":\"Why use precomputed pathfinding instead of dynamic algorithms like A* in MMO servers?\",\"answer\":\"Precomputed solutions store results in a lookup table, giving the best computation cost. MMO servers have many maps to handle but very few CPU cycles per request, making precomputation a practical choice.\"},{\"question\":\"How is the navigation mesh generated in this system?\",\"answer\":\"A navigation mesh is used as the world representation. The mesh autogeneration is performed with Recast, with a game-specific modification that adds a “falling mesh” into the generation process.\"},{\"question\":\"What is the hierarchical lookup table and what problem does it solve?\",\"answer\":\"Precomputed navigation data is stored in a hierarchical lookup table. This structure reduces the memory footprint while maintaining very fast computation time for server-side navigation tasks.\"}]","Precomputed Pathfinding for Large and Detailed Worlds on MMO Servers - Chapter 20 | PDF",1791263700,48,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/5fd4caf084c37a3dcf9a0e1df3b00f8f.webp",983,1212,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/eae0483940264df8361b0e8205a38a51.webp",982,1211,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a1f866c8a731f68a15d0720f54210c9d.webp",981,1209,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e34f89ca9b314fd2ddd8ad81e219669e.webp",980,1208]