Game detection method and device, electronic equipment and storage medium

A game and child node technology, applied in the game field, can solve the problems of server downtime, affecting game stability, resource consumption, etc., to achieve the effect of improving stability

Active Publication Date: 2019-04-26
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of using the behavior tree to control non-player objects, when there is a configuration error in the behavior tree, it may enter a pathological execution loop, and continuously execute non-blocking nodes in the behavior tree, resulting in non-player objects not responding to external events and falling into Infinite loop state, which in turn brings a lot of resource consumption, reduces the running speed of the server, and even causes the server to go down, affecting the stability of the game

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Game detection method and device, electronic equipment and storage medium
  • Game detection method and device, electronic equipment and storage medium
  • Game detection method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0046] refer to figure 1 , which shows a flow chart of the steps of a method for game detection provided by an embodiment of the present invention, which may specifically include the following steps:

[0047] Step 101, obtaining a behavior tree corresponding to a non-player object in the game, the behavior tree includes a plurality of nodes;

[0048] As an example, non-player objects may be in-game monsters, NPCs, and the like. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a game detection method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a behavior tree corresponding to anon-player object in a game, the behavior tree comprising a plurality of nodes; Determining a node type corresponding to each node, and determining mark information corresponding to each node according to the node type, the mark information comprising a corresponding relationship between a return value and a node state; And determining a dead circulation path in the behavior tree according to themark information corresponding to each node. Through the embodiment of the invention, the detection of the dead circulation path is realized, the non-player object is prevented from falling into thedead circulation state, and the game stability is improved.

Description

technical field [0001] The invention relates to the field of games, in particular to a game detection method and device, electronic equipment, and a storage medium. Background technique [0002] In online games, non-player objects are an important part of the game, such as monsters and NPCs (Non-Player Characters) in the game. Usually, the tree-like logical structure of BehaviorTree can be used to control non-player characters. control. [0003] In the process of using the behavior tree to control non-player objects, when there is a configuration error in the behavior tree, it may enter a pathological execution loop, and continuously execute non-blocking nodes in the behavior tree, resulting in non-player objects not responding to external events and falling into The endless loop state will bring a lot of resource consumption, reduce the running speed of the server, and even cause the server to go down, affecting the stability of the game. Contents of the invention [00...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3604
Inventor 黄慧良
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products