Method for processing endless loop of game server
A technology of online games and processing methods, which is applied in the field of computer software, can solve problems that cannot be solved, and can only restart the server program, so as to achieve the effect of server stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] Once a program falls into an infinite loop, it is basically impossible to recover unless the process is restarted, especially for programs developed in low- and middle-level languages like C / C++. Because the logic of the game server is more complicated, it is generally connected to the script for development. What is used in the project of the present invention is exactly the Lua script. In addition to the framework code, all game logic functions are developed using Lua language. A scripting language like Lua has a feature, that is, if an error occurs during runtime, it will jump to the initial place where it was transferred from C / C++ to Lua, instead of crashing and exiting directly when encountering a running error like C / C++. The core idea of the technical solution of the present invention is exactly after the Lua language program falls into an infinite loop, actively triggers its runtime error, makes it stop running, and then jumps back in C / C++, so that it is f...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com