Throwing prop using method, device and equipment and storage medium

By judging the use of throwing props between virtual characters in real time in first-person shooting games, malicious behavior is prohibited based on damage thresholds and game period conditions, the game chaos caused by users' malicious use of throwing props is solved, and the handling of malicious behavior is improved Accuracy and timeliness.

CN119034200APending Publication Date: 2024-11-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310622060.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-29
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In first-person shooting games, users maliciously use props to throw them to other virtual characters in the same camp, causing confusion in the game. The existing technology relies on user reports and processing, resulting in low accuracy in malicious behavior processing.

Method used

During the game, based on the damage caused by virtual characters to other virtual characters in the same camp, we can judge whether the user has malicious attacks in real time, and prohibit the user from continuing to use the same type of throwing props. The disabled module is used to respond to the damage threshold and The game period conditions improve the accuracy and timeliness of handling malicious behavior.

Benefits of technology

It effectively improves the accuracy and timeliness of handling malicious behavior, ensures that the game is carried out normally, and reduces the game interference caused by low accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119034200A_ABST
    Figure CN119034200A_ABST
Patent Text Reader

Abstract

The invention discloses a throwing prop using method and device, equipment and a storage medium, and belongs to the field of application programs supporting virtual environments. The method comprises the steps that a virtual environment is displayed in a user interface, the virtual environment comprises a first virtual character participating in a game and at least one second virtual character, and the first virtual character and the second virtual character belong to the same camp; in the game playing process, displaying that the first virtual character uses the first throwing prop; and forbidding the first virtual character to use the second throwing prop in response to the situation that the damage caused by the first throwing prop to the second virtual character meets a forbidding condition. In the game playing process, whether the user has the behavior of maliciously attacking other users of the same camp or not is judged in real time according to the damage to other virtual roles of the same camp by using the throwing props by the virtual roles, and the accuracy of processing the malicious behavior can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of application programs supporting virtual environments, and in particular to a method, device, equipment and storage medium for using a throwing prop. Background Art

[0002] In a First Person Shooting (FPS) game, a user can control a virtual character to use a throwing prop (such as a virtual grenade) to attack a virtual character in an enemy camp.

[0003] When teammate damage is enabled in FPS games, the throwing items used by the user-controlled virtual character will also cause damage to other virtual characters in the same camp. Some users will take advantage of the above mechanism and maliciously use throwing items on other virtual characters in the same camp to cause chaos during the game.

[0004] In the related art, FPS games will deal with users who interfere with the game based on the user's report of other users' malicious behavior after the game is over. Since it can only be determined based on the user's report whether to deal with the reported user, the accuracy of dealing with malicious behavior is low. Summary of the invention

[0005] The present application provides a method, device, equipment and storage medium for using a throwing prop, which can improve the accuracy of handling malicious behavior. The technical solution is as follows:

[0006] According to one aspect of the present application, a method for using a throwing prop is provided, the method comprising:

[0007] Displaying a virtual environment in a user interface, the virtual environment including a first virtual character and at least one second virtual character participating in the game, the first virtual character and the second virtual character belonging to the same camp;

[0008] During the game, displaying the first virtual character using a first throwing prop;

[0009] In response to the damage caused by the first throwing prop to the second virtual character satisfying a disabling condition, the first virtual character is prohibited from using a second throwing prop, and the first throwing prop and the second throwing prop are the same type of throwing props.

[0010] According to another aspect of the present application, a device for using a throwing prop is provided, the device comprising:

[0011] A display module, configured to display a virtual environment in a user interface, wherein the virtual environment includes a first virtual character and at least one second virtual character participating in the game, wherein the first virtual character and the second virtual character belong to the same camp;

[0012] The display module is further used to display the first virtual character using the first throwing prop during the game;

[0013] A disabling module is used to prohibit the first virtual character from using a second throwing prop in response to the damage caused by the first throwing prop to the second virtual character satisfying a disabling condition, wherein the first throwing prop and the second throwing prop are the same type of throwing props.

[0014] In an optional design, the disabling module is used to:

[0015] In response to the amount of damage caused by the first throwing prop to the second virtual character meeting the damage threshold, and the time when the first throwing prop causes damage to the second virtual character falls within at least one of the target game time periods, the first virtual character is prohibited from using the second throwing prop.

[0016] In an optional design, the first throwing prop corresponds to at least one set of disabled configurations, each set of disabled configurations includes a damage threshold and a target game period; the disabled module is used to:

[0017] In response to the amount of damage caused by the first throwing prop to the second virtual character meeting the damage threshold of the i-th group of disabled configurations in the at least one group of disabled configurations, and the time when the first throwing prop causes damage to the second virtual character belongs to the target game period of the i-th group of disabled configurations, the first virtual character is prohibited from using the second throwing prop, where i is a positive integer.

[0018] In an optional design, the device further includes:

[0019] A processing module, configured to increase the damage threshold when a third virtual character exists within the vicinity of the second virtual character;

[0020] The processing module is further configured to reduce the damage threshold when the third virtual character does not exist within the proximity of the second virtual character;

[0021] The amount of increasing the damage threshold is positively correlated with the number of the third virtual characters in the proximity, and the third virtual characters belong to the hostile camp of the first virtual character.

[0022] In an optional design, the device further includes:

[0023] A processing module, configured to reduce the damage threshold if there is a second virtual character with low health value among the at least one second virtual character;

[0024] The second virtual character with low health value is a second virtual character whose health value is lower than the health value threshold, and the amount of reducing the damage threshold is positively correlated with the number of the second virtual characters with low health value.

[0025] In an optional design, the device further includes:

[0026] An acquisition module, used for acquiring a plurality of game phases of a historical game conducted in a virtual map corresponding to the game, wherein the game phases are used for indicating the moments when virtual characters of various camps participating in the historical game engage in battle;

[0027] A division module, used for dividing the multiple game phases into one or more game time periods;

[0028] A determination module is used to determine the target game period according to the one or more game periods.

[0029] In an optional design, the disabling module is used to:

[0030] In response to the damage caused by the first throwing prop to the second virtual character satisfying the disabling condition, the first virtual character is prohibited from using the second throwing prop within a limited time period corresponding to the first throwing prop.

[0031] In an optional design, the disabling module is used to:

[0032] In response to the damage caused by the first throwing item to one or more second virtual characters among the plurality of second virtual characters satisfying the disabling condition, prohibiting the first virtual character from using the second throwing item within the accumulated time;

[0033] The accumulated duration is determined according to the number of the one or more second virtual characters and the limited duration corresponding to the first throwing prop, and the accumulated duration is positively correlated with the number of the one or more second virtual characters and the limited duration.

[0034] In an optional design, the device further includes:

[0035] A determination module, used to determine the violation frequency of the user account corresponding to the first virtual character in a historical period;

[0036] A processing module, configured to reduce a restriction time corresponding to the first throwing item when the violation frequency is less than a first frequency threshold;

[0037] The processing module is further configured to increase the restriction time corresponding to the first throwing item when the violation frequency is greater than a second frequency threshold;

[0038] The second frequency threshold is greater than the first frequency threshold.

[0039] In an optional design, the device further includes:

[0040] The determination module is used to determine the amount of damage caused by the first throwing prop to the second virtual character as the amount of damage caused by the first throwing prop to the second virtual character during the effective time period, if the first throwing prop continues to cause damage to the second virtual character during the effective time period.

[0041] In an optional design, the disabling module is used to:

[0042] In response to the damage caused by the first throwing prop to the second virtual character meeting the disabling condition, and the effective range of the first throwing prop in the virtual environment is greater than a first distance threshold from the third virtual character, prohibiting the first virtual character from using the second throwing prop;

[0043] The effective range is determined according to the throwing position of the first throwing prop used by the first virtual character and the attack range of the first throwing prop, and the third virtual character belongs to the hostile camp of the first virtual character.

[0044] In an optional design, the disabling module is used to:

[0045] In response to the damage caused by the first throwing item to the second virtual character satisfying the disabling condition, and the effective range of the first throwing item in the virtual environment is greater than a second distance threshold from the estimated moving path of the third virtual character, prohibiting the first virtual character from using the second throwing item;

[0046] Among them, the estimated movement path is used to estimate the movement path of the third virtual character after the use time, and the estimated movement path is estimated based on the historical movement path of the third virtual character before the use time. The use time is the time when the first virtual character uses the first throwing prop.

[0047] In an optional design, the disabling module is used to:

[0048] In response to the damage caused by the first throwing item to the second virtual character meeting the disabling condition, and the difference between the first damage amount and the second damage amount is greater than a difference threshold, prohibiting the first virtual character from using the second throwing item;

[0049] The first damage amount is the amount of damage caused by the first throwing item to the third virtual character, the second damage amount is the amount of damage caused by the first throwing item to the second virtual character, and the third virtual character belongs to the hostile camp of the first virtual character.

[0050] In an optional design, the first throwing prop and the second throwing prop are damaging throwing props; the device further comprises:

[0051] The using module is used to allow the first virtual character to use non-damaging throwing props while prohibiting the first virtual character from using the damaging throwing props.

[0052] In an optional design, the display module is used to:

[0053] Displaying prompt information in the user interface, the prompt information including at least one of a first prompt, a second prompt, and a third prompt;

[0054] Among them, the first prompt is used to prompt that the first virtual character is prohibited from using the second throwing prop, the second prompt is used to prompt the reason why the first virtual character is prohibited from using the second throwing prop, and the third prompt is used to prompt the duration of the first virtual character being prohibited from using the second throwing prop.

[0055] According to another aspect of the present application, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the method for using the throwing props as described above.

[0056] According to another aspect of the present application, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the method for using the throwing props as described above.

[0057] According to another aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for using the throwing prop provided in various optional implementations of the above aspects.

[0058] The beneficial effects of the technical solution provided by this application include at least:

[0059] During the game, the damage caused by the virtual character using throwing props to other virtual characters in the same camp can be used to determine in real time whether the user has maliciously attacked other users in the same camp, and prohibit the user from controlling the virtual character to continue using the same type of throwing props. This can not only improve the accuracy of handling malicious behavior, but also improve the timeliness of handling malicious behavior to ensure the normal progress of the game. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0061] Figure 1 is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application;

[0062] Figure 2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;

[0063] Figure 3 is a schematic diagram of a process of prohibiting a virtual character from using a throwing prop provided by an exemplary embodiment of the present application;

[0064] Figure 4 is a flowchart of a method for using a throwing prop provided by an exemplary embodiment of the present application;

[0065] Figure 5 is a schematic diagram of a camera model provided by an exemplary embodiment of the present application;

[0066] Figure 6 is a flowchart of a method for using a throwing prop provided by an exemplary embodiment of the present application;

[0067] Figure 7 is a schematic diagram of a virtual Molotov cocktail provided by an exemplary embodiment of the present application;

[0068] Figure 8 is a schematic diagram of an effective range of a throwing prop provided by an exemplary embodiment of the present application;

[0069] Fig. 9 is a schematic diagram of a judgment process for prohibiting the use of throwing props provided by an exemplary embodiment of the present application;

[0070] Fig.10 is a schematic diagram of a judgment process for prohibiting the use of throwing props provided by an exemplary embodiment of the present application;

[0071] Fig.11 It is a structural schematic diagram of a device for using a throwing prop provided by an exemplary embodiment of the present application;

[0072] Fig.12 It is a structural schematic diagram of a device for using a throwing prop provided by an exemplary embodiment of the present application;

[0073] Fig.13 It is a structural schematic diagram of a device for using a throwing prop provided by an exemplary embodiment of the present application;

[0074] Fig.14 It is a structural schematic diagram of a device for using a throwing prop provided by an exemplary embodiment of the present application;

[0075] Fig.15 It is a structural schematic diagram of a device for using a throwing prop provided by an exemplary embodiment of the present application;

[0076] Fig.16 It is a structural schematic diagram of a device for using a throwing prop provided by an exemplary embodiment of the present application;

[0077] Fig.17 It is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application.

[0078] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. DETAILED DESCRIPTION

[0079] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0080] First, the terms involved in the embodiments of the present application are introduced:

[0081] Virtual environment: is a virtual environment displayed (or provided) when an application is running on a terminal. The virtual environment can be a simulation of the real world, a semi-simulation and semi-fictitious environment, or a purely fictitious environment. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, which is not limited in the embodiments of the present application.

[0082] Virtual character: A virtual character refers to an active object in a virtual environment. The active object may be a virtual person, a virtual animal, an animated character, etc., such as a person displayed in a three-dimensional virtual environment. Optionally, the virtual character is a three-dimensional model created based on animation skeleton technology. Each virtual character has its own shape and volume in the three-dimensional virtual world and occupies a part of the space in the three-dimensional virtual world.

[0083] Virtual props: Virtual props refer to props that virtual characters can use in a virtual environment, including pistols, rifles, sniper rifles, daggers, knives, swords, axes and other virtual attack props that can cause damage to other virtual characters, as well as supply props such as bullets, and quick clips, scopes, silencers and other virtual pendants installed on designated virtual attack props that can provide partial attribute bonuses for virtual attack props, as well as defense props such as shields, armor, armored vehicles and so on.

[0084] Throwing props: Throwing props are a type of virtual props, which refer to virtual props used by virtual characters in a virtual environment by throwing. Schematically, throwing props are divided by function, including combat props (damage throwing props) and tactical props (non-damage throwing props). Among them, combat props can cause damage to virtual characters, such as: virtual grenades, virtual incendiary bombs, virtual sticky bombs, virtual poison fog bombs, etc. Tactical props will not cause damage to virtual characters, but will affect functions, such as: virtual smoke bombs, virtual stun bombs, virtual flash bombs, etc. Optionally, the throwing props can trigger the target function when the throwing time reaches a preset time, or it can trigger the target function when it is thrown and there is a collision.

[0085] User Interface (UI) controls: refers to any visual controls or elements that can be seen on the user interface of an application, such as images, input boxes, text boxes, buttons, labels, etc. Some UI controls respond to user operations.

[0086] First-person shooting game (First-person Shooting, FPS): refers to a shooting game that users can play from a first-person perspective. The screen of the virtual environment in the game is a screen that observes the virtual environment from the perspective of the virtual character controlled by the user. In the game, virtual characters of at least two camps play a single-game battle mode in the virtual environment. The virtual characters survive in the virtual environment by avoiding attacks launched by other virtual characters and dangers in the virtual environment (such as gas circles, swamps, etc.). When the life value of the virtual character in the virtual environment is zero, the life of the virtual character in the virtual environment ends, and the virtual character that survives in the virtual environment is the winner. Optionally, the competitive mode of the battle (game) can include a single-player battle mode, a two-player team battle mode, or a multiplayer large group battle mode. The embodiment of the present application does not limit the battle mode.

[0087] The method provided in this application can be applied to applications that support virtual environments. Exemplarily, applications that support virtual environments are applications in which users can control the behavior of virtual characters in virtual environments. Exemplarily, the method provided in this application can be applied to: Virtual Reality (VR) applications, Augmented Reality (AR) applications, social applications, interactive entertainment applications, metaverse applications, three-dimensional map programs, VR games, AR games, shooting games (STG), first-person shooting games (FPS), third-person shooting games (TPS), fighting games (FTG), action games (ACT), multiplayer online tactical competitive games (MOBA), real-time strategy games (RTS), massively multiplayer online games (MMOG), arcade games, strategy games (Simulation Game, SLG), etc. Any one of the programs.

[0088] Exemplarily, a game in a virtual environment is composed of one or more maps of the game world. The virtual environment in the game can simulate scenes in the real world. Users can control the virtual characters in the game to walk, run, jump, shoot, fight, drive, etc. in the virtual environment. They can also control virtual vehicles to travel in the virtual environment. The game has strong interactivity, and multiple users can form teams online to play competitive games.

[0089] In some embodiments, the above application programs may be shooting games, racing games, role-playing games, adventure games, sandbox games, tactical competitive games, etc. The client may support at least one operating system among Windows operating system, Apple operating system, Android operating system, IOS operating system and LINUX operating system, and clients of different operating systems may be interconnected. In some embodiments, the above client is a program suitable for use on a mobile terminal with a touch screen.

[0090] For example, the method for using the throwing props provided in the embodiments of the present application can be applied to applications that support shooting games, and players can use the throwing props by controlling virtual characters. For another example, the method for using the throwing props provided in the embodiments of the present application can be applied to applications that support role-playing games, and players can also use the throwing props by controlling virtual characters.

[0091] In some embodiments, the client is an application developed based on a 3D engine, such as the 3D engine is a Unity engine.

[0092] The terminal in the present application can be a desktop computer, a laptop, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, etc. A client that supports a virtual environment is installed and running in the terminal, such as a client that supports an application for a three-dimensional virtual environment. The application can be any one of a tactical competitive survival (Battle Royale, BR) game, a virtual reality application, an augmented reality program, a three-dimensional map program, a third-person shooter game, a first-person shooter game, a multiplayer online tactical competitive game, a racing game, and a racing game. Optionally, the application can be a stand-alone application, such as a stand-alone 3D game program, or it can be a networked application.

[0093] Figure 11 is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application. The terminal includes a processor 101, a touch screen 102 and a memory 103.

[0094] The processor 101 may be at least one of a single-core processor, a multi-core processor, an embedded chip, and a processor with instruction execution capability.

[0095] The touch screen 102 includes a common touch screen or a pressure-sensitive touch screen. The common touch screen can measure a pressing operation or a sliding operation applied to the touch screen 102 ; the pressure-sensitive touch screen can measure the pressing force applied to the touch screen 102 .

[0096] The memory 103 stores the executable program of the processor 101. Schematically, the memory 103 stores a virtual environment program A, an application B, an application C, a touch (and pressure) sensing module 18, and a kernel layer 19 of the operating system. Among them, the virtual environment program A is an application developed based on the three-dimensional virtual environment module 17. Optionally, the virtual environment program A includes but is not limited to at least one of a game program, a virtual reality program, a three-dimensional map program, and a three-dimensional demonstration program developed by the three-dimensional virtual environment module (also referred to as the virtual environment module) 17. For example, when the operating system of the terminal adopts the Android operating system, the virtual environment program A is developed using the Java programming language and the C# language; for another example, when the operating system of the terminal adopts the IOS operating system, the virtual environment program A is developed using the Object-C programming language and the C# language.

[0097] The three-dimensional virtual environment module 17 is a module that supports multiple operating system platforms. Schematically, the three-dimensional virtual environment module can be used for program development in multiple fields such as game development, virtual reality (VR) and three-dimensional map. The embodiment of the present application does not limit the specific type of the three-dimensional virtual environment module 17.

[0098] The touch (and pressure) sensing module 18 is a module for receiving touch events (and pressure touch events) reported by the touch screen driver 191. Optionally, the touch sensing module may not have a pressure sensing function and does not receive pressure touch events. A touch event includes: the type and coordinate value of a touch event. The type of a touch event includes, but is not limited to: a touch start event, a touch move event, and a touch drop event. A pressure touch event includes: a pressure value and a coordinate value of a pressure touch event. The coordinate value is used to indicate the touch position of the pressure touch operation on the display screen.

[0099] Illustratively, the kernel layer 19 includes a touch screen driver 191 and other drivers 192. The touch screen driver 191 is a module for detecting pressure touch events. When the touch screen driver 191 detects a pressure touch event, it transmits the pressure touch event to the touch (and pressure) sensing module 18.

[0100] The other drivers 192 may be drivers related to the processor 101 , drivers related to the memory 103 , drivers related to a network component, drivers related to a sound component, drivers related to an acceleration measurement component, and the like.

[0101] Those skilled in the art will appreciate that the above is only a general illustration of the structure of the terminal. In different embodiments, the terminal may have more or fewer components. For example, the terminal may also include an acceleration sensor, a gyroscope sensor, a power supply, and the like.

[0102] Figure 2 It is a structural block diagram of a computer system provided by an exemplary embodiment of the present application. The computer system 200 includes: a first terminal 210, a second terminal 220, and a server cluster 230.

[0103] The first terminal 210 is installed and runs an application 211 that supports a virtual environment, and the application 211 can be a client that supports a virtual environment. When the first terminal 210 runs the application 211, the user interface of the application 211 is displayed on the screen of the first terminal 210. The application 211 can be any one of an FPS game, a TPS game, a MOBA game, a competitive game, an SLG game, a racing game, and a racing game. In this embodiment, the application 211 is an FPS game for example. The first terminal 210 is a terminal used by the first user 212, and the first user 212 uses the first terminal 210 to control the behavior of the first virtual character in the virtual environment, such as using a throwing prop.

[0104] The second terminal 220 is installed and runs an application 221 that supports a virtual environment, and the application 221 can be a client that supports a virtual environment. When the second terminal 220 runs the application 221, the user interface of the application 221 is displayed on the screen of the second terminal 220. The application 221 can be any one of an FPS game, a TPS game, a MOBA game, a competitive game, an SLG game, a racing game, and a racing game. Optionally, the application 221 is exactly the same as the application 211, or is the same application under different operating systems, or is a different version of the same application. The second terminal 220 is a terminal used by the second user 222, and the second user 222 uses the second terminal 220 to control the behavior of the second virtual character in the virtual environment, such as using a throwing prop. Optionally, the second virtual character belongs to the same camp as the first virtual character. There is also at least one third virtual character in the virtual environment, and the third virtual character is controlled by a third user of the application on the third terminal, and the third virtual character belongs to the hostile camp of the first virtual character.

[0105] The device types of the first terminal 210 and the second terminal 220 include at least one of a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP2 player, a laptop computer, and a desktop computer.

[0106] Figure 2 Only two terminals are shown, but in different embodiments, there are multiple other terminals 240. In some embodiments, there is at least one other terminal 240 corresponding to the developer, and a development and editing platform of the client of the virtual environment is installed on the other terminal 240. The developer can edit and update the client on the other terminal 240, and transmit the updated client installation package to the server cluster 230 through a wired or wireless network. The first terminal 210 and the second terminal 220 can download the client installation package from the server cluster 230 to update the client.

[0107] The first terminal 210 , the second terminal 220 , and other terminals 240 are connected to the server cluster 230 via a wireless network or a wired network.

[0108] The server cluster 230 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The server cluster 230 is used to provide background services for clients that support a three-dimensional virtual environment. Optionally, the server cluster 230 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, the server cluster 230 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, the server cluster 230 and the terminal adopt a distributed computing architecture for collaborative computing.

[0109] Optionally, the above-mentioned terminal and server are both computer devices.

[0110] In an illustrative example, the server cluster 230 includes a server 231 and a server 236, and the server 231 includes a processor 232, a user account database 233, a game service module 234, and a user-oriented input / output interface (I / O interface) 235. The processor 232 is used to load instructions stored in the server 231 and process data in the user account database 233 and the game service module 234; the user account database 233 is used to store data of user accounts used by the first terminal 210, the second terminal 220, and other terminals 240, such as the user account's avatar, the user account's nickname, the virtual props owned by the user account, and the service area where the user account is located; the game service module 234 is used to provide services for games conducted by virtual characters of different camps; and the user-oriented I / O interface 235 is used to establish communication and exchange data with the first terminal 210 through a wireless network or a wired network.

[0111] In combination with the above introduction to the virtual environment and the description of the implementation environment, the method for using the throwing props provided in the embodiment of the present application will be described below.

[0112] Taking the method provided in the embodiment of the present application as an example, when it is applied to a shooting game, Figure 3 FIG. 1 is a schematic diagram of a process of prohibiting a virtual character from using a throwing prop provided by an exemplary embodiment of the present application. Figure 3 As shown in (a), the client displays a virtual environment in a user interface 301, and the virtual environment includes a first virtual character 302 controlled by a first user account and a second virtual character 303 controlled by at least one second user account. Optionally, the virtual environment also includes a third virtual character 304 controlled by at least one third user account. The first virtual character 302 and the second virtual character 303 belong to the same camp, and the first virtual character 302 and the third virtual character 304 belong to different camps (hostile camps).

[0113] like Figure 3 As shown in (b), the client displays the first virtual character 302 using the first throwing prop 305 according to the operation of the first user account. For example, the client displays the first virtual character 304 throwing a virtual grenade into the virtual environment. After a preset time has passed after the throwing, the virtual grenade will explode and cause damage to nearby virtual characters. For example, damage is caused to the second virtual character 303 (health value -100).

[0114] like Figure 3As shown in (c), each first throwing prop 305 corresponds to at least one set of disabled configurations, and each set of disabled configurations includes a damage threshold and a target game period. In response to the amount of damage caused by the first throwing prop 305 to the second virtual character 303 meeting the damage threshold in a set of disabled configurations of the first throwing prop 305, and the time when the first throwing prop 305 causes damage to the second virtual character 303 belongs to the target game period in the set of disabled configurations, the client prohibits the first virtual character 302 from using the second throwing prop and displays a corresponding prompt message 306. The first throwing prop 305 and the second throwing prop are the same type of throwing props, for example, both are damaging throwing props.

[0115] Optionally, each group of disabled configurations corresponding to the first throwing prop 305 also includes a limited duration. That is, the same first throwing prop 305 corresponds to one or more groups of damage thresholds, target game time periods and limited durations. When the client prohibits the first virtual character 302 from using the second throwing prop based on a group of disabled configurations of the first throwing prop 305, the first virtual character 302 will be prohibited from using the second throwing prop within the limited duration in the group of disabled configurations. Through the above parameters, it is possible to judge the behavior of the user maliciously attacking other users in the same camp, and prohibit the user from continuing to use the throwing prop for a period of time. Optionally, if the damage caused by the first throwing prop 305 to multiple second virtual characters 303 meets the above conditions, the duration for which the client prohibits the first virtual character 302 from using the second throwing prop will be accumulated.

[0116] During the game, the damage caused by the virtual character using throwing props to other virtual characters in the same camp can be used to determine in real time whether the user has maliciously attacked other users in the same camp, and prohibit the user from controlling the virtual character to continue using the same type of throwing props. This can not only improve the accuracy of handling malicious behavior, but also improve the timeliness of handling malicious behavior to ensure the normal progress of the game.

[0117] Figure 4 FIG. 1 is a flow chart of a method for using a throwing prop provided by an exemplary embodiment of the present application. The method can be used for Figure 2 The first terminal in the system shown or the client in the first terminal. Figure 4 As shown, the method includes:

[0118] Step 402: Display a virtual environment in a user interface, where the virtual environment includes a first virtual character and at least one second virtual character participating in the game.

[0119] The user interface is an interface in the client that provides game functions for virtual characters of different camps. The virtual environment can be a simulation of the real world, a semi-simulation and semi-fictional environment, or a purely fictional environment. In some embodiments, the virtual environment displayed by the client in the FPS game is displayed by observing the complete virtual environment from the first-person perspective corresponding to the virtual character controlled by the user. In some embodiments, the virtual environment displayed by the client in the TPS game is displayed by observing the complete virtual environment from the third-person perspective corresponding to the virtual character controlled by the user, and the above perspective will change according to the user's control operation of the virtual character controlled by the user.

[0120] Exemplarily, the virtual environment displayed by the client is obtained by capturing images of the virtual environment through a camera model set up in the virtual environment. The camera model refers to a three-dimensional model located around the virtual character in the virtual environment. When the first-person perspective is adopted, the camera model is located near the head of the virtual character or at the head of the virtual character; when the third-person perspective is adopted, the camera model can be located behind the virtual character and bound to the virtual character, or the camera model is located at any position at a preset distance from the virtual character, and the virtual character in the virtual environment can be observed from different angles through the camera model. For example, the camera model is located on the left side of the virtual character and at a preset distance from the virtual character; for another example, the camera model is located on the right side of the virtual character and at a preset distance from the virtual character; for another example, the camera is located in front of the left side of the virtual character and at a preset distance from the virtual character; for another example, the camera is located behind the right side of the virtual character and at a preset distance from the virtual character, and so on.

[0121] Optionally, the camera model is not actually displayed in the virtual environment, that is, the camera model is not displayed in the virtual environment displayed by the user interface.

[0122] The camera model is located at an arbitrary position at a preset distance from the virtual character as an example for explanation. Optionally, one viewing angle corresponds to one camera model, or one viewing angle is bound to one camera model. The camera model can rotate with the virtual character as the rotation center, such as: rotating the camera model with any point of the virtual character as the rotation center. The camera model not only rotates in angle during the rotation process, but also shifts in displacement. The distance between the camera model and the rotation center remains unchanged during rotation, that is, the camera model is rotated on the surface of a sphere with the rotation center as the center of the sphere, wherein any point of the virtual character can be the head, torso, or any point around the virtual character of the virtual character, and the embodiments of the present application do not limit this. Optionally, when the camera model observes the virtual environment, the center of the viewing angle of the camera model points to the direction of the point on the sphere where the camera model is located pointing to the center of the sphere.

[0123] Optionally, the camera model can also observe the virtual character at preset angles in different directions of the virtual character.

[0124] For example, Figure 5 FIG. 1 is a schematic diagram of a camera model provided by an exemplary embodiment of the present application. Figure 5 As shown, a point is determined in the virtual character 51 as the rotation center 52, and the camera model can rotate around the rotation center 52. When the camera model rotates around the rotation center 52, the viewing direction of the camera model also changes with the rotation of the camera model. Optionally, the first perspective (first-person perspective) of the virtual character 51 is bound to the first camera, and the first camera is configured with an initial position, such as the position of the virtual character's head, such as position 53. For example, when the client receives a perspective switching operation, the first perspective of the virtual character 51 is switched to a second perspective (third-person perspective), and the second perspective is bound to the second camera, and the second camera is also configured with an initial position, such as the initial position is position 54. Therefore, after performing the perspective switching operation, the camera model observing the virtual environment is switched from the first camera to the second camera, and the position of the camera model observing the virtual environment is also switched from position 53 to position 54 accordingly. When the camera model moves with the movement of the virtual character, or switches to different perspectives, the picture of the virtual environment displayed by the client will also change accordingly.

[0125] The first virtual character is a virtual character controlled by the first user account, and the second virtual character is a virtual character controlled by the second user account. The virtual character in the embodiment of the present application refers to an active object in a virtual environment, and the active object can be a virtual person, a virtual animal, a cartoon character, etc., such as a person displayed in a three-dimensional virtual environment. Optionally, the virtual environment also includes at least one third virtual character, and the third virtual character is a virtual character controlled by a third user account. Optionally, the second virtual character and / or the third virtual character can also be controlled by the system, and can be referred to as a non-player character (NPC). The third virtual character is different from the camp to which the first virtual character belongs, for example, it belongs to the hostile camp of the first virtual character. A game is participated by virtual characters of at least two camps. During the game, virtual characters of different camps attack each other to defeat the virtual characters of the enemy camp, thereby winning the game.

[0126] Step 404: During the game, the first virtual character is displayed using the first throwing prop.

[0127] The first throwing prop is a virtual prop owned by the first virtual character. Optionally, the first virtual character has a virtual backpack, and the virtual backpack is used to store the virtual props of the first virtual character. The client can control (display) the first virtual character to use the virtual props in its virtual backpack according to the user's manipulation of the virtual character. Virtual props refer to props that the virtual character can use in a virtual environment, such as attack props, defense props, supply props, virtual pendants, etc.

[0128] Throwing props refer to virtual props used by virtual characters in a virtual environment by throwing. Throwing props can be regarded as a kind of virtual attack props. Throwing props are virtual items that can be thrown and can be used by virtual characters in a virtual environment. For example, by function, throwing props include combat props (damage throwing props) and tactical props (non-damage throwing props). Among them, combat props can cause damage to virtual characters. Tactical props will not cause damage to virtual characters, but will affect their functions. Throwing props include but are not limited to virtual throwing knives, virtual throwing axes, virtual grenades, virtual flash bombs, virtual smoke bombs, virtual mines, virtual bombs, virtual incendiary bombs, virtual sticky bombs, virtual Molotov cocktails, and virtual poison mist bombs.

[0129] The client displays the first virtual character using the first throwing prop according to the control operation of the first user account on the first virtual character. The first virtual character using the first throwing prop means that the first virtual character throws the first virtual prop. The first user account controls the direction and strength of the first virtual character throwing the first virtual prop, thereby controlling the effective range of the first virtual prop in the virtual environment.

[0130] Optionally, the throwing method of the throwing prop includes at least one of high throwing, low throwing, and wall rebound of the throwing prop, which is not limited in the embodiment of the present application. That is, the throwing prop can be used by at least one of high throwing, low throwing, and wall rebound. Only when the first virtual character has the right to use the first throwing prop, the client will display the first virtual character using the first throwing prop.

[0131] For example, a virtual grenade in a virtual environment is used as a combat prop, and a virtual flash bomb is used as a tactical prop. The virtual grenade is a prop that triggers the detonation function when the length of time it is thrown in the virtual environment reaches a preset length of time. The first user account controls the first virtual character to throw the virtual grenade. When the length of time the virtual grenade is thrown reaches a preset length of time, the client displays the virtual grenade detonating in the virtual environment and causing damage to the virtual character within a preset distance range of the detonation point. The virtual flash bomb is a prop that is thrown in the virtual environment and triggers a flash effect when a collision event occurs. The first user account controls the first virtual character to throw the virtual flash bomb. When the virtual flash bomb lands in the virtual environment, the client triggers the flash function within the flash range of the virtual flash bomb, and the vision of the virtual character within the flash range is obstructed.

[0132] Optionally, in the embodiment of the present application, the virtual character using virtual attack props other than throwing props will not cause damage to the virtual character in the same camp, but the virtual character using throwing props can cause damage to the virtual character in the same camp. Alternatively, the virtual character using virtual attack props other than throwing props can cause damage to the virtual character in the same camp, and the virtual character using throwing props can also cause damage to the virtual character in the same camp.

[0133] Step 406: In response to the damage caused by the first throwing item to the second virtual character satisfying the disabling condition, prohibiting the first virtual character from using the second throwing item.

[0134] The first throwing prop is the same as the second throwing prop, or the first throwing prop and the second throwing prop are partially the same. For example, the first throwing prop and the second throwing prop are the same throwing props, or the first throwing prop and the second throwing prop are the same type of throwing props, or the second throwing prop includes the first throwing prop and also includes other throwing props, or the second throwing prop includes the same type of throwing props as the first throwing prop and also includes throwing props of different types from the first throwing prop. For example, the first throwing prop is a damaging throwing prop, and the second throwing prop is also a damaging throwing prop. Or, the first throwing prop is a damaging throwing prop, and the second throwing prop includes both damaging throwing props and non-damaging throwing props.

[0135] The client determines whether the damage caused by the first throwing prop to the second virtual character meets the disabling condition according to at least one of the amount of damage caused by the first throwing prop to the second virtual character and the time of causing the damage. For example, the greater the amount of damage caused to the second virtual character, the higher the possibility of meeting the disabling condition. The closer the time of causing damage to the second virtual character is to the start time of the game, the higher the possibility of meeting the disabling condition. Optionally, when determining whether to prohibit the first virtual character from using the second throwing prop, reference is also made to the life value of the second virtual character, the life value of the third virtual character, the distance between the first virtual character and the third virtual character, the distance between the second virtual character and the third virtual character, the effective range of the throwing prop in the virtual environment and the distance between the second virtual character, the effective range of the throwing prop in the virtual environment and the distance between the third virtual character, the effective range of the throwing prop in the virtual environment and the estimated moving path of the second virtual character, the effective range of the throwing prop in the virtual environment and the estimated moving path of the third virtual character, and at least one of the number of historical violations of the first user account and the historical violation frequency.

[0136] The process of determining whether the damage meets the disabling conditions and prohibiting the first virtual character from using the second throwing prop is completed independently by the client, or by the client and the server in collaboration. For example, the client determines whether the disabling conditions are met, and prohibits the use of throwing props if they are met. Or the client determines whether the disabling conditions are met, and feeds back to the server if they are met, and the server further determines whether to prohibit the use of throwing props and feeds back to the client. Or the client uploads the process information generated during the game, and the server determines whether the disabling conditions are met, and instructs the client to prohibit the use of throwing props if the disabling conditions are met.

[0137] Optionally, the client prohibits the first virtual character from using the second throwing prop, including hiding the second throwing prop of the first virtual character, preventing the first virtual character from switching the currently used virtual prop to the second throwing prop, preventing the first virtual character from using (throwing) the second throwing prop when the first virtual character switches the currently used virtual prop to the second throwing prop, and the first virtual character using the second throwing prop but making the second throwing prop ineffective.

[0138] Optionally, the client can also estimate whether the damage caused by the first throwing prop to the second virtual character meets the disabling condition before the first virtual character uses the first throwing prop and the first throwing prop is not effective. If it is estimated that the damage caused by the first throwing prop to the second virtual character meets the disabling condition, the client will prohibit the first virtual character from using the second throwing prop and / or make the first throwing prop ineffective. The client estimates whether the damage caused by the first throwing prop to the second virtual character meets the disabling condition based on the throwing time, throwing position and attack range of the first throwing prop, and the estimated position of the second virtual character after the use time of the first throwing prop. The position of the second virtual character estimated by the client after the use time of the first throwing prop is estimated based on the position of the second virtual character before the use time.

[0139] In summary, the method provided in this embodiment can judge in real time whether a user has maliciously attacked other users in the same camp according to the damage caused by the virtual character using throwing props to other virtual characters in the same camp during the game, and prohibit the user from controlling the virtual character to continue to use the same type of throwing props. This can not only improve the accuracy of handling malicious behaviors, but also improve the timeliness of handling malicious behaviors to ensure the normal development of the game.

[0140] Figure 6 FIG. 1 is a flow chart of a method for using a throwing prop provided by an exemplary embodiment of the present application. The method can be used for Figure 2 The first terminal in the system shown or the client in the first terminal. Figure 6 As shown, the method includes:

[0141] Step 602: Display a virtual environment in a user interface, where the virtual environment includes a first virtual character and at least one second virtual character participating in the game.

[0142] The first virtual character is a virtual character controlled by a first user account, and the second virtual character is a virtual character controlled by a second user account. Optionally, the virtual environment further includes at least one third virtual character, and the third virtual character is a virtual character controlled by a third user account. Optionally, the second virtual character and / or the third virtual character can also be controlled by the system.

[0143] The first virtual character and the second virtual character belong to the same camp, and the third virtual character belongs to a different camp from the first virtual character. For example, the third virtual character belongs to an enemy camp of the first virtual character.

[0144] Step 604: During the game, display the first virtual character using the first throwing prop.

[0145] The first throwing prop is a virtual prop owned by the first virtual character, and the throwing prop refers to a virtual prop used by the virtual character in the virtual environment by throwing. Optionally, the throwing props include damaging throwing props and non-damaging throwing props according to their functions. Damaging throwing props can cause damage to the virtual character, and non-damaging throwing props will not cause damage to the virtual character, but will affect the function. For example, a virtual smoke bomb will generate smoke to obstruct the virtual character's vision.

[0146] The client displays the first virtual character using the first throwing prop according to the control operation of the first user account on the first virtual character. Exemplarily, the first virtual character using the first throwing prop refers to the first virtual character throwing the first virtual prop. The first user account controls the effective range of the first virtual prop in the virtual environment by controlling the direction and strength of the first virtual character throwing the first virtual prop.

[0147] Step 606: In response to the amount of damage caused by the first throwing item to the second virtual character meeting the damage threshold, and the time when the first throwing item causes damage to the second virtual character falls within at least one of the target game time periods, prohibiting the first virtual character from using the second throwing item.

[0148] The first throwing prop and the second throwing prop are the same type of throwing props. For example, the first throwing prop is a damaging throwing prop, and the second throwing prop includes a damaging throwing prop. The client controls the first virtual character's throwing operation on the first throwing prop according to the first user account, determines the throwing position of the first throwing prop in the virtual environment, and thus determines the effective range of the first throwing prop in the virtual environment. The effective range is determined based on the throwing position and the attack range of the first throwing prop. For example, the first throwing prop is a virtual grenade, and the effective range is an area in the virtual environment with the throwing position as the center and the coverage range as the attack range.

[0149] In the case where the first throwing prop is an immediately effective throwing prop, when the first throwing prop takes effect, for example, when a virtual grenade explodes, it will cause damage to the virtual character within the effective range, and the amount of damage caused is related to the preset damage of the first throwing prop and / or the distance between the virtual character and the center of the effective range. In the case where the first throwing prop is a continuously effective throwing prop, the first throwing prop has a corresponding effective duration, and during the period from when the first throwing prop takes effect to the end of the effective duration, for example, when a virtual Molotov cocktail continues to burn within the effective range, it will continue to cause damage to the virtual character within the effective range, and the amount of damage caused is related to the preset damage of the first throwing prop, the distance between the virtual character and the center of the effective range, and / or the length of time the virtual character is within the effective range.

[0150] In the case where the first throwing prop is a continuously effective throwing prop, that is, when the first throwing prop continues to cause damage to the second virtual character within the effective period, the client will determine the cumulative amount of damage caused to the second virtual character by the first throwing prop within the effective period as the amount of damage caused by the first throwing prop to the second virtual character.

[0151] For example, Figure 7 Schematic diagram of a virtual burning bottle provided by an exemplary embodiment of the present application. Figure 7 As shown, the client displays a virtual environment in a user interface 701, and the virtual environment includes a first virtual character 702, and the virtual prop currently used by the first virtual character 702 is a virtual Molotov cocktail 703. When the first user account controls the first virtual character 702 to throw the virtual Molotov cocktail 703 into the virtual environment, the virtual Molotov cocktail 703 will cause damage to the virtual characters within the effective range after landing, and the damage will continue to exist within the effective duration corresponding to the virtual Molotov cocktail 703.

[0152] Different throwing props correspond to different or the same damage thresholds, and different throwing props correspond to different or the same target game time periods. The damage threshold and target game time period are set by the developer. Optionally, in the case where the first throwing prop is a continuously effective throwing prop, the client determines the time when the first throwing prop first causes damage to the second virtual character as the time when the first throwing prop causes damage to the second virtual character, or determines the time when the first throwing prop last causes damage to the second virtual character as the time when the first throwing prop causes damage to the second virtual character, or determines the time between the time when the first throwing prop first causes damage to the second virtual character and the time when the first throwing prop last causes damage to the second virtual character as the time when the first throwing prop causes damage to the second virtual character.

[0153] Optionally, the first throwing item corresponds to at least one group of disabled configurations, each group of disabled configurations includes a damage threshold and a target game time period. In response to the amount of damage caused by the first throwing item to the second virtual character meeting the damage threshold of the i-th group of disabled configurations in at least one group of disabled configurations, and the time when the first throwing item causes damage to the second virtual character belongs to the target game time period of the i-th group of disabled configurations, the client prohibits the first virtual character from using the second throwing item. i is a positive integer.

[0154] For example, the first throwing prop corresponds to multiple groups of disabled configurations, such as configuration 1, configuration 2, and configuration 3. When the first virtual character uses the first throwing prop and causes damage to the second virtual character, the client determines which disabled configuration the time of causing the damage belongs to, such as configuration 1. Then it determines whether the amount of damage caused to the second virtual character is greater than the damage threshold in configuration 1. If greater, it will trigger the prohibition of the first virtual character from using the second throwing prop; if not greater, it will not trigger the prohibition of the first virtual character from using the second throwing prop.

[0155] Optionally, in the case where the first throwing prop continues to cause damage, each time the damage caused by the first throwing prop to the second virtual character meets the above conditions, the second throwing prop is disabled once. For example, if the throwing prop takes effect in 1-10 seconds, and the damage caused in 1-4 seconds meets the above conditions, the second throwing prop is disabled once. If the damage caused in 5-10 seconds meets the above conditions again, the second throwing prop is disabled again. The duration of the two disabled throwing props will be accumulated.

[0156] Optionally, the client or server will also adjust the above damage threshold based on the game situation:

[0157] In the case where there is a third virtual character within the proximity of the second virtual character, the client will increase the above-mentioned damage threshold. In the case where there is no third virtual character within the proximity of the second virtual character, the client will lower the above-mentioned damage threshold. Optionally, the proximity range is a preset range centered on the second virtual character. The amount by which the client increases the damage threshold is positively correlated with the number of third virtual characters within the proximity range, for example, multiplying the preset increase amount by the number, or establishing a corresponding relationship between the increase amount and the number. The amount by which the client reduces the damage threshold is set by the developer, for example, separately for different throwing props. If there are multiple second virtual characters, the client will increase the damage threshold based on the average number of third virtual characters within the proximity of each second virtual character.

[0158] In the case where there is a second virtual character with low health value among at least one second virtual character, the client will reduce the damage threshold. The second virtual character with low health value is a second virtual character whose health value is lower than the health value threshold, and the amount of reducing the damage threshold is positively correlated with the number of second virtual characters with low health value. For example, the preset reduction amount is multiplied by the number, or a corresponding relationship between the reduction amount and the number is established. The health value threshold is set by the developer, and can be set for the health value amount or the remaining health value ratio.

[0159] Optionally, for the setting of the target game period, the client / server will obtain multiple game phases of the historical game carried out in the virtual map corresponding to the game in which the first virtual character participates. Among them, the game phase is used to indicate the moment when the virtual characters of each camp participating in the historical game fight. For example, the historical game usually fights 60s-70s and 1200s to 1300s after the game starts. Afterwards, the client / server will divide one or more game periods according to the multiple game phases, and the possibility of fighting in different game periods is different. And determine the target game period according to the one or more game periods. For example, the game period is divided into 0s to 60s, 60s to 1200s, wherein the possibility of fighting from 0s to 60s is extremely low, and the possibility of fighting from 60s to 1200s is high.

[0160] Optionally, when determining whether to prohibit the first virtual character from using the second throwing prop, the client may also refer to other factors to improve the accuracy of prohibiting the virtual character from using the throwing prop:

[0161] In response to the damage caused by the first throwing prop to the second virtual character meeting the above-mentioned disabling condition, and the effective range of the first throwing prop in the virtual environment is greater than the first distance threshold from the third virtual character, the client prohibits the first virtual character from using the second throwing prop.

[0162] The effective range is determined based on the throwing position of the first throwing item used by the first virtual character and the attack range of the first throwing item. The first distance threshold is set by the developer. For example, the same first distance threshold or different distance thresholds are set for different throwing items. For details, refer to the attack range of the first throwing item. If there are multiple third virtual characters, the distance between the effective range and the third virtual character can be calculated based on the closest distance, or based on the average distance of the nearest few third virtual characters, or based on the average distance of all third virtual characters.

[0163] In response to the damage caused by the first throwing prop to the second virtual character satisfying the above-mentioned disabling condition, and the distance between the effective range of the first throwing prop in the virtual environment and the estimated moving path of the third virtual character is greater than the second distance threshold, the client will prohibit the first virtual character from using the second throwing prop.

[0164] Among them, the estimated moving path is used to estimate the moving path of the third virtual character after the use time, and the estimated moving path is estimated based on the historical moving path of the third virtual character before the use time, and the use time is the time when the first virtual character uses the first throwing prop. For example, the client estimates the estimated moving path within the second time after the use time based on the historical moving path of the third virtual character within the first time before the use time. The first time and the second time are set by the developer. The client inputs the historical moving path within the first time and the map corresponding to the game into the machine learning model to obtain the estimated moving path within the above-mentioned second time. The machine learning model is trained based on the sample map, the sample moving path of the sample virtual character within the first sample period, and the sample moving path within the second sample period. The first sample period is equal to the first time, the second sample period is equal to the second time, and the second sample period is after the first sample period. The second distance threshold is set by the developer, for example, the same second distance threshold or different distance thresholds are set for different throwing props, and the specific reference can be made to the attack range of the first throwing prop.

[0165] If there are multiple third virtual characters, the distance between the effective range and the estimated moving path of the third virtual character can be calculated based on the closest distance between the position points on each estimated moving path, or based on the average distance of the nearest estimated moving paths in each estimated moving path, or based on the average distance of all estimated moving paths. The distance between the estimated moving path and the effective range can be calculated based on the endpoint or terminal of the estimated moving path, or the shortest distance between the estimated moving path and the effective range.

[0166] For example, Figure 8 FIG. 1 is a schematic diagram of the effective range of a throwing prop provided by an exemplary embodiment of the present application. Figure 8 As shown, the first virtual character throws the first throwing prop at position 801 in the virtual environment, and the effective range of the first throwing prop is area 802. If the damage caused by the first throwing prop to the second virtual character meets the disabling condition, and the third virtual character is at position 804, that is, the distance between the third virtual character and area 802 is less than the distance threshold 803, then the prohibition of the first virtual character from using the second throwing prop will not be triggered. If the damage caused by the first throwing prop to the second virtual character meets the disabling condition, and the distance between the estimated moving path 805 of the third virtual character and area 802 is greater than the distance threshold 803, then the prohibition of the first virtual character from using the second throwing prop will not be triggered.

[0167] In response to the damage caused by the first throwing item to the second virtual character satisfying the disabling condition, and the difference between the first damage amount and the second damage amount is greater than the difference threshold, the client prohibits the first virtual character from using the second throwing item. The first damage amount is the amount of damage caused by the first throwing item to the third virtual character, and the second damage amount is the amount of damage caused by the first throwing item to the second virtual character. If damage is caused to multiple third virtual characters, the first damage amount is determined according to the cumulative amount of damage caused to the multiple third virtual characters. If damage is caused to multiple second virtual characters, the second damage amount is determined according to the cumulative amount of damage caused to the multiple second virtual characters. The difference threshold is set by the developer, for example, the same difference threshold or different difference thresholds are set for different throwing items.

[0168] For the duration during which the first avatar is prohibited from using the second throwing item:

[0169] In response to the damage caused by the first throwing item to the second virtual character satisfying the above-mentioned disabling condition, the client will prohibit the first virtual character from using the second throwing item within the limit time corresponding to the first throwing item. The limit time is set by the developer, for example, the same limit time or different limit time is set for different throwing items. Optionally, the limit time belongs to the above-mentioned disabling configuration, and each group of disabling configurations includes a damage threshold, a target game period and a disabling time. If a group of disabling configurations is met, the first virtual character will be prohibited from using the second throwing item within the limit time in the group of disabling configurations.

[0170] In the case where the first throwing prop causes damage to multiple second virtual characters, in response to the damage caused by the first throwing prop to one or more of the multiple second virtual characters satisfying the above-mentioned prohibition condition, the client prohibits the first virtual character from using the second throwing prop within the accumulated time. The accumulated time is determined according to the number of the one or more second virtual characters and the limited time corresponding to the first throwing prop, and the accumulated time is positively correlated with the number of the one or more second virtual characters and the limited time.

[0171] For example, if the client determines that the damage caused by the first throwing item to the three second virtual characters meets the disabling conditions, the restricted time corresponding to the first throwing item will be multiplied by 3 as the time for prohibiting the first virtual character from using the second throwing item.

[0172] Optionally, the client determines the violation frequency of the user account corresponding to the first virtual character in a historical period. When the violation frequency is less than a first frequency threshold, the client will reduce the restriction time corresponding to the first throwing prop. When the violation frequency is greater than a second frequency threshold, the client will increase the restriction time corresponding to the first throwing prop. The second frequency threshold is greater than the first frequency threshold. User account violations include that the user account has been prohibited from using throwing props in past games, or has been on AFK for a long time, or has not been offline but has not participated in the game, etc.

[0173] Optionally, when the time limit corresponding to the first throwing item is reduced, the lower the violation frequency is, the more the amount is reduced. When the time limit corresponding to the first throwing item is increased, the higher the violation frequency is, the more the amount is increased. The specific amount of increase or decrease can be set by the developer.

[0174] Optionally, the first throwing prop is a damaging throwing prop. When prohibiting the first virtual character from using damaging throwing props, the client allows the first virtual character to use non-damaging throwing props, such as allowing the first virtual character to use virtual flash bombs and virtual smoke bombs.

[0175] Optionally, the client also determines whether the damage caused by the first throwing item to the first virtual character satisfies the above-mentioned prohibition condition, and triggers prohibition of the first virtual character from using the second throwing item if the condition is met.

[0176] Step 608: Display prompt information in the user interface.

[0177] The prompt information includes at least one of a first prompt, a second prompt and a third prompt, wherein the first prompt is used to prompt that the first virtual character is prohibited from using the second throwing prop, the second prompt is used to prompt the reason why the first virtual character is prohibited from using the second throwing prop, and the third prompt is used to prompt the duration for which the first virtual character is prohibited from using the second throwing prop.

[0178] For example, continue to refer to Figure 3 (c) The prompt information displayed by the client in the user interface includes the first prompt "Tactical props will be disabled", the second prompt "Due to your behavior of harming teammates" and the third prompt "Last until February 3, 2023 11:00".

[0179] Optionally, the client or server will count the number of illegal games in which the first user account is prohibited from using the second throwing prop in the historical games within the historical duration. If the first user account meets the illegal game conditions, for example, the number of illegal games of the first user account meets the illegal number, and / or the frequency of illegal games of the first user account meets the illegal frequency, the client or server will adopt the following processing method for the first user account. The illegal number and the illegal frequency are set by the developer.

[0180] Matches for the first user account:

[0181] Among the teammate user accounts matched with the first user account, the number of robot accounts is greater than a first number threshold.

[0182] When the client or server receives a match request from the first user account and matches a teammate user account for the team to which the first user account belongs, it will match the first user account with robot accounts whose number is greater than a first threshold. The first threshold is set by the developer, and the virtual character controlled by the robot account in the game is automatically controlled by the system, for example, by artificial intelligence (AI). This solution can match robots as teammates for users who frequently violate the rules. If the user continues to attack his teammates, it will not affect the game experience of his teammates.

[0183] Among the teammate user accounts matched with the first user account, the number of user accounts that meet the target combat style is greater than a second number threshold.

[0184] The target combat style refers to a combat style that prefers to fight independently and not cooperate with teammates. The client or server can determine the user account that meets the target combat style based on the proportion of the user account's virtual character participating in team battles in the game, and match it as a teammate of the first user account when the first user account initiates a game matching request. The second quantity threshold is set by the developer. Through this solution, the first user account can be matched with teammates who do not like to participate in team battles, that is, teammates whose action trajectories are different from those of teammates, thereby reducing the possibility of users attacking teammates when they maliciously attack teammates.

[0185] Among the first team and at least one second team matched for the first user account, the first team has the highest or lowest accumulated points.

[0186] The points of a user account are determined based on the results of the game in which the user account participates. For example, if the game is won, the points are increased, and if the game is lost, the points are reduced. The first team is the team of the first user account, and the second team is the team of the opponent of the first user account. The accumulated points of the first team are determined based on the sum of the points of all user accounts in the first team. In the case where the accumulated points of the first team are the highest, the combat capability of the team matched with the first user account can be the strongest through this solution. At this time, if the first user account attacks teammates, the impact on the combat capability of the team can be reduced. In the case where the accumulated points of the first team are the lowest, the combat capability of the team matched with the first user account can be the weakest through this solution. At this time, if the first user account attacks teammates, it will cause the first user account to fail the game with a high probability, causing the first user account to have a reduced points, which helps to make the first user account spontaneously stop attacking teammates.

[0187] For games in which the first user account participates:

[0188] Reduced the default damage of damaging projectiles used by the first avatar.

[0189] If the first user account meets the above-mentioned illegal game conditions, in the subsequent games it participates in, the client or server will reduce the preset damage of the damaging projectiles used by it, and the amount of reduction is set by the developer. Through this solution, even if the first user account subsequently attacks teammates, the impact of this malicious behavior can be reduced, thereby improving the game experience of other users.

[0190] Before the game starts, the teammate user accounts of the first user account conduct a first vote, and determine whether the first virtual character can use damaging throwing items in the game based on the first vote result.

[0191] If the first user account meets the above-mentioned illegal game conditions, before the game in which the first user account participates, the teammate user account will be triggered to vote on whether the first virtual character can use damaging throwing props. The voting information will be displayed in the user interface of the teammate user account, and the voting information will include the illegal game situation of the first user account. The first user account can explain its illegal game situation and display it in the voting information. If the number of votes against the first virtual character using damaging throwing props is greater, the first virtual character will be prohibited from using damaging throwing props in the game.

[0192] If the first virtual character is prohibited from using damaging throwing items during the game, the teammate user account will be triggered to conduct a second vote. Based on the result of the second vote, the game of the first user account will end and the first virtual character will be taken over by the AI.

[0193] If the first user account meets the above-mentioned illegal game conditions, and in the subsequent games it participates in, the first user account triggers the prohibition of using damaging throwing props again. Then the teammate user account will be triggered to vote on whether the first user account can continue to participate in the game. The voting information will be displayed in the user interface of the teammate user account. The voting information includes the illegal game situation of the first user account. The first user account can explain its illegal game situation and display it in the voting information. If the number of votes against the first user account continuing to participate in the game is greater, the first user account's game will end, and the AI ​​will take over the first virtual character, that is, the AI ​​will continue to control the first virtual character.

[0194] In summary, the method provided in this embodiment can judge in real time whether a user has maliciously attacked other users in the same camp according to the damage caused by the virtual character using throwing props to other virtual characters in the same camp during the game, and prohibit the user from controlling the virtual character to continue to use the same type of throwing props. This can not only improve the accuracy of handling malicious behaviors, but also improve the timeliness of handling malicious behaviors to ensure the normal development of the game.

[0195] The method provided in this embodiment also triggers the prohibition of the first virtual character from using the second throwing prop by determining whether the amount of damage caused by the first throwing prop to the second virtual character meets the damage threshold and whether the time falls within at least one of the target game time periods. This allows flexible setting of the conditions that trigger the prohibition of the use of throwing props, thereby improving the accuracy of judging malicious behavior.

[0196] The method provided in this embodiment also determines whether there is malicious behavior when using different throwing props by setting corresponding disabled configurations for different throwing props. It can consider the properties of the throwing props to specifically set the conditions that trigger the prohibition of using the throwing props, thereby improving the accuracy of judging malicious behavior.

[0197] The method provided in this embodiment also dynamically adjusts the damage threshold according to the number of third virtual characters around the second virtual character, thereby realizing reasonable adjustment of the damage threshold according to the actual situation of the game, lowering the damage threshold when there are no enemies near teammates, and increasing the damage threshold when there are enemies near teammates, which can reduce misjudgment and thus improve the accuracy of judging malicious behavior.

[0198] The method provided in this embodiment also realizes the reasonable adjustment of the damage threshold according to the actual situation of the game by dynamically adjusting the damage threshold according to the health value of the second virtual character. By lowering the damage threshold when the health of teammates is low, misjudgment can be reduced, thereby improving the accuracy of judging malicious behavior.

[0199] The method provided in this embodiment also sets the target game time period according to the time when the virtual characters of different camps fought in the historical games on the same map, thereby achieving accurate division of the target game time period, thereby improving the accuracy of judging malicious behavior.

[0200] The method provided in this embodiment also determines the duration of the ban according to the type of the throwing props when the ban on throwing props is triggered, thereby adopting a reasonable ban duration for different malicious behaviors.

[0201] The method provided in this embodiment also achieves the use of a reasonable banning duration based on the severity of the malicious behavior by accumulating the banning duration according to the number of teammates affected by the malicious behavior when the banning of throwing props is triggered.

[0202] The method provided in this embodiment can also dynamically adjust the restriction time by referring to the user's past violations, thereby avoiding excessive punishment of normal users' erroneous operations and insufficient punishment of malicious users' long-term malicious operations, thereby improving the user's game experience.

[0203] The method provided in this embodiment can also improve the accuracy of determining the amount of damage caused by the throwing props by accumulating the continuous damage as the final settlement damage when the throwing props continue to cause damage.

[0204] The method provided in this embodiment further improves the accuracy of judging malicious behavior by referring to the effective range of the thrown props and the distance between the enemy character when judging malicious behavior.

[0205] The method provided in this embodiment further improves the accuracy of judging malicious behavior by referring to the distance between the effective range of the throwing prop and the estimated moving path of the enemy character when judging malicious behavior.

[0206] The method provided in this embodiment further improves the accuracy of judging malicious behavior by referring to the damage caused to teammates and the damage caused to the enemy by the thrown props when judging malicious behavior.

[0207] The method provided in this embodiment also allows the use of non-damaging throwing props when damaging throwing props are disabled, thereby allowing the banned user to continue using the throwing props while ensuring that other users are not affected, thereby improving the user experience.

[0208] The method provided in this embodiment can also enable the user to obtain relevant information about the prohibited use of throwing props by displaying prompt information, thereby improving the user experience.

[0209] In order to solve the problem that related technologies cannot accurately handle malicious behavior, the method provided in the embodiment of the present application sets three judgment parameters in the game to comprehensively judge whether the behavior of players in the game is "malicious". If it is judged to be "malicious", the player will be immediately prohibited from using harmful projectiles (throwing props) for a period of time. The functions and significance of the three parameters are first explained below.

[0210] The first parameter is the damage caused by a single throw of a projectile to a player (virtual character):

[0211] This parameter is the basic parameter and serves as the core judgment parameter, that is, the damage caused to a certain player by this throw after the player throws the throwing object.

[0212] The second parameter is the time period over which the damage occurs:

[0213] The reason for setting this parameter is that even if the same damage is caused to the same player in different time periods, the degree of "malice" contained in it is different, so it is necessary to distinguish time periods for different judgments. For example, causing 50 points of damage to a teammate at the beginning of the game and causing 50 points of damage to a teammate after a period of time have different meanings. The latter may be an accidental injury to a teammate in a state of war, while the former is more likely to be an act of maliciously harming a teammate.

[0214] The third parameter is the type of projectile:

[0215] The reason for setting this parameter is that different types of projectiles have different damage forms (such as instantaneous damage and continuous damage) and different damage ranges. Therefore, for different projectiles, the damage value caused by "malice" is different. It is necessary to distinguish them and use different penalty standards to improve the accuracy of judging malicious behavior.

[0216] How the penalty takes effect:

[0217] After a player's behavior triggers a ban, the player will be prohibited from using damaging projectiles for a period of time to prevent him from using projectiles to harm teammates again. For example, Table 1 shows the details of the ban configuration.

[0218] Table 1

[0219] Projectile Type Damage caused Time threshold Limit time Grenade 15 0;60 1200 Grenade 30 61;1200 1500 Molotov cocktail 40 0;60 3600 Molotov cocktail 45 61;3600 4500 Poison gas bomb 60 0;60 6000

[0220] As shown in Table 1, the parameters in the first column are the categories of projectiles. Different categories represent different projectiles. The parameters in the second column are the damage caused to a player by a single throw. The third column is the time threshold (target game period), with a semicolon separating the start and end points. For example, 0;60 means the time range is between 0-60 seconds from the start of the game. The fourth column is the limit time (limit duration), which means the time of the ban after meeting the condition threshold of this row.

[0221] The specific method of taking effect is as follows: if the first row of projectiles is a grenade, if a player uses a grenade projectile and causes more than 15 points of damage to a teammate within 0-60 seconds after the start of the game, he will be restricted from using damaging projectiles for 1200 seconds. When he uses it again or tries to switch to other damaging projectiles, it will be displayed Figure 3 The prompt in (c).

[0222] The role of time threshold:

[0223] Continuing with the above example, if this player causes the same 15 points of damage to his teammates within 61-1200 seconds at the beginning of the game, he will not be banned by the first row of rules because he is no longer in the 0-60 second range of the first row. However, if the player causes more than 30 points of damage to his teammates, he will fall into the judgment range of the second row and will be banned from using damaging projectiles for 1500 seconds.

[0224] Handling of multiple simultaneous violations:

[0225] If the player triggers multiple ban rules of different rows at the same time (such as throwing a grenade first and then a Molotov cocktail, and the damage caused is greater than the damage parameters set within the time threshold), or triggers the same row of ban rules multiple times (such as causing more than 15 points of damage to multiple teammates at the same time within 0-60 seconds), the ban time will be accumulated.

[0226] Only damaging projectiles are banned:

[0227] In order to ensure a gentle user experience, once a ban is triggered, only damaging projectiles will be prohibited, and non-damaging projectiles (such as smoke bombs) will not be banned. The conditions for determining damaging projectiles, that is, the projectiles involved in the first column of Table 1 will all be considered damaging projectiles.

[0228] In a specific example, for a projectile that causes damage immediately after it takes effect, Fig. 9 FIG. 1 is a schematic diagram of a judgment process for prohibiting the use of throwing props provided by an exemplary embodiment of the present application. Fig. 9As shown, in step A1, the client detects that the user uses a projectile with immediate effect to cause damage to a teammate. In step A2, the client detects the game time at this time. In step A3, if the damage caused by the projectile to the teammate exceeds the damage threshold of this time period, step A6 is executed; if not, step A4 is executed. In step A4, the client determines whether the projectile causes damage to other teammates. If damage is caused and the damage threshold is met, step A6 is executed; if no damage is caused or the damage threshold is not met, step A5 is executed. In step A5, the client will not ban the user. In step A6, the client sums up all the ban times that meet the ban conditions as the total time for the banned user to use harmful projectiles.

[0229] In a specific example, for a projectile that causes damage over time after it takes effect, Fig.10 FIG. 1 is a schematic diagram of a judgment process for prohibiting the use of throwing props provided by an exemplary embodiment of the present application. Fig.10 As shown, in step B1, the client detects that the user uses a persistently effective projectile to cause damage to a teammate. In step B2, the client detects the game time at this time. In step B3, if the damage caused by the projectile to the teammate exceeds the damage threshold of this period, step B6 is executed, if not, step B4 is executed. In step B4, the client determines whether the projectile causes damage to other teammates. If damage is caused and the damage threshold is met, step B6 is executed. If no damage is caused or the damage threshold is not met, step B5 is executed. In step B5, the client will not ban the user. In step B6, the client sums up all the ban times that meet the ban conditions as the total time for the banned user to use damaging projectiles. In step B7, the client continues to detect the damage caused by the projectile to the teammate until the effective time ends. In step B8, the client determines whether the projectile causes damage to the teammate within the duration. If no damage is caused, step B9 is executed, and if damage is caused, step B10 is executed. In step B9, the client keeps the original ban time unchanged. In step B10, the client determines whether the damage caused by the projectile to the teammates meets the damage threshold. If it does, step B11 is executed; if it does not, step B9 is executed. In step B11, the client calculates the ban time caused by meeting the damage threshold and adds it to the previous ban time.

[0230] When the method provided in the embodiment of the present application is applied to a shooting game in which multiple players form a team, a relatively mild and real-time prevention and control solution is proposed for the phenomenon of using projectiles to injure teammates. By setting a series of thresholds, precise and fixed-point control of this phenomenon is ultimately achieved and the effect of false blocking is avoided. By setting a damage threshold and different time periods relative to the damage threshold, malicious behavior is determined. When a player causes damage to teammates in a corresponding time period that exceeds the threshold configured for the time period, the player can be prohibited from using damaging projectiles for a period of time, which includes at least the following beneficial effects:

[0231] 1. This mechanism will not prohibit players from using other functional throwing objects, and will minimize the impact of the negative experience of "banning".

[0232] 2. This mechanism minimizes the possibility of mis-blocking by setting time thresholds corresponding to different damage thresholds, and different types of projectiles corresponding to different damage thresholds. At the same time, it can classify and manage player behaviors at various time points in the game, and accurately control them.

[0233] 3. This mechanism can take effect immediately. For example, after a player throws the first grenade, the player can be immediately prohibited from using grenades to further harm teammates. Compared with the subsequent reporting and handling, this mechanism is closer to the psychology of the victim players.

[0234] It should be noted that before collecting relevant user data (such as operation data and game data in this application) and during the process of collecting relevant user data, this application can display a prompt interface, pop-up window or output voice prompt information. The prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining user-related data after obtaining the user's confirmation operation on the prompt interface or pop-up window, otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining user-related data are terminated, that is, the user's relevant data is not obtained. In other words, all user data collected by this application are collected with the user's consent and authorization, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0235] It should be noted that the sequence of the method steps provided in the embodiments of the present application can be appropriately adjusted, and the steps can be increased or decreased accordingly according to the circumstances. Any technician familiar with the technical field can easily think of the changed methods within the technical scope disclosed in the present application, and they should be included in the protection scope of the present application, so they will not be repeated here.

[0236] Fig.111 is a schematic diagram of a structure of a device for using a throwing prop provided by an exemplary embodiment of the present application. Fig.11 As shown, the device comprises:

[0237] A display module 1101 is used to display a virtual environment in a user interface, wherein the virtual environment includes a first virtual character and at least one second virtual character participating in the game, wherein the first virtual character and the second virtual character belong to the same camp;

[0238] The display module 1101 is further configured to display the first virtual character using the first throwing prop during the game;

[0239] The disabling module 1102 is used to prohibit the first virtual character from using the second throwing prop in response to the damage caused by the first throwing prop to the second virtual character satisfying a disabling condition, wherein the first throwing prop and the second throwing prop are the same type of throwing props.

[0240] In an optional design, the disabling module 1102 is used to:

[0241] In response to the amount of damage caused by the first throwing prop to the second virtual character meeting the damage threshold, and the time when the first throwing prop causes damage to the second virtual character falls within at least one of the target game time periods, the first virtual character is prohibited from using the second throwing prop.

[0242] In an optional design, the first throwing prop corresponds to at least one set of disabled configurations, each set of disabled configurations includes a damage threshold and a target game period; the disabled module 1102 is used to:

[0243] In response to the amount of damage caused by the first throwing prop to the second virtual character meeting the damage threshold of the i-th group of disabled configurations in the at least one group of disabled configurations, and the time when the first throwing prop causes damage to the second virtual character belongs to the target game period of the i-th group of disabled configurations, the first virtual character is prohibited from using the second throwing prop, where i is a positive integer.

[0244] In an alternative design, such as Fig.12 As shown, the device also includes:

[0245] Processing module 1103, configured to increase the damage threshold when a third virtual character exists within the proximity of the second virtual character;

[0246] The processing module 1103 is further configured to reduce the damage threshold when the third virtual character does not exist within the proximity of the second virtual character;

[0247] The amount of increasing the damage threshold is positively correlated with the number of the third virtual characters in the proximity, and the third virtual characters belong to the hostile camp of the first virtual character.

[0248] In an alternative design, such as Fig.12 As shown, the device also includes:

[0249] The processing module 1103 is configured to reduce the damage threshold if there is a second virtual character with low health value among the at least one second virtual character;

[0250] The second virtual character with low health value is a second virtual character whose health value is lower than the health value threshold, and the amount of reducing the damage threshold is positively correlated with the number of the second virtual characters with low health value.

[0251] In an alternative design, such as Fig.13 As shown, the device also includes:

[0252] An acquisition module 1104 is used to acquire a plurality of game phases of a historical game conducted in a virtual map corresponding to the game, wherein the game phases are used to indicate the moments when virtual characters of various camps participating in the historical game engage in battle;

[0253] A division module 1105 is used to divide the multiple game phases into one or more game time periods;

[0254] The determination module 1106 is configured to determine the target game period according to the one or more game periods.

[0255] In an optional design, the disabling module 1102 is used to:

[0256] In response to the damage caused by the first throwing prop to the second virtual character satisfying the disabling condition, the first virtual character is prohibited from using the second throwing prop within a limited time period corresponding to the first throwing prop.

[0257] In an optional design, the disabling module 1102 is used to:

[0258] In response to the damage caused by the first throwing item to one or more second virtual characters among the plurality of second virtual characters satisfying the disabling condition, prohibiting the first virtual character from using the second throwing item within the accumulated time;

[0259] The accumulated duration is determined according to the number of the one or more second virtual characters and the limited duration corresponding to the first throwing prop, and the accumulated duration is positively correlated with the number of the one or more second virtual characters and the limited duration.

[0260] In an alternative design, such as Fig.14 As shown, the device also includes:

[0261] A determination module 1106, configured to determine a violation frequency of a user account corresponding to the first virtual character in a historical period;

[0262] Processing module 1103, configured to reduce the restriction time corresponding to the first throwing item when the violation frequency is less than a first frequency threshold;

[0263] The processing module 1103 is further configured to increase the time limit corresponding to the first throwing item when the violation frequency is greater than a second frequency threshold;

[0264] The second frequency threshold is greater than the first frequency threshold.

[0265] In an alternative design, such as Fig.15 As shown, the device also includes:

[0266] Determination module 1106 is used to determine the amount of damage caused by the first throwing prop to the second virtual character as the amount of damage caused by the first throwing prop to the second virtual character during the effective time period, if the first throwing prop continues to cause damage to the second virtual character during the effective time period.

[0267] In an optional design, the disabling module 1102 is used to:

[0268] In response to the damage caused by the first throwing prop to the second virtual character meeting the disabling condition, and the effective range of the first throwing prop in the virtual environment is greater than a first distance threshold from the third virtual character, prohibiting the first virtual character from using the second throwing prop;

[0269] The effective range is determined according to the throwing position of the first throwing prop used by the first virtual character and the attack range of the first throwing prop, and the third virtual character belongs to the hostile camp of the first virtual character.

[0270] In an optional design, the disabling module 1102 is used to:

[0271] In response to the damage caused by the first throwing item to the second virtual character satisfying the disabling condition, and the effective range of the first throwing item in the virtual environment is greater than a second distance threshold from the estimated moving path of the third virtual character, prohibiting the first virtual character from using the second throwing item;

[0272] Among them, the estimated movement path is used to estimate the movement path of the third virtual character after the use time, and the estimated movement path is estimated based on the historical movement path of the third virtual character before the use time. The use time is the time when the first virtual character uses the first throwing prop.

[0273] In an optional design, the disabling module 1102 is used to:

[0274] In response to the damage caused by the first throwing item to the second virtual character meeting the disabling condition, and the difference between the first damage amount and the second damage amount is greater than a difference threshold, prohibiting the first virtual character from using the second throwing item;

[0275] The first damage amount is the amount of damage caused by the first throwing item to the third virtual character, the second damage amount is the amount of damage caused by the first throwing item to the second virtual character, and the third virtual character belongs to the hostile camp of the first virtual character.

[0276] In an optional design, the first throwing prop and the second throwing prop are damaging throwing props; Fig.16 As shown, the device also includes:

[0277] The using module 1107 is used to allow the first virtual character to use non-damaging throwing props while prohibiting the first virtual character from using the damaging throwing props.

[0278] In an optional design, the display module 1101 is used to:

[0279] Displaying prompt information in the user interface, the prompt information including at least one of a first prompt, a second prompt, and a third prompt;

[0280] Among them, the first prompt is used to prompt that the first virtual character is prohibited from using the second throwing prop, the second prompt is used to prompt the reason why the first virtual character is prohibited from using the second throwing prop, and the third prompt is used to prompt the duration of the first virtual character being prohibited from using the second throwing prop.

[0281] It should be noted that the device for using the throwing props provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for using the throwing props provided in the above embodiment and the method for using the throwing props are of the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0282] An embodiment of the present application also provides a computer device, which includes: a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the method of using the throwing props provided in the above-mentioned method embodiments.

[0283] For example, Fig.17 It is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application.

[0284] Typically, the terminal 1700 includes a processor 1701 and a memory 1702 .

[0285] The processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0286] The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. The memory 1702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1702 is used to store at least one instruction, which is used to be executed by the processor 1701 to implement the method for using the throwing prop provided in the method embodiment of the present application.

[0287] In some embodiments, the terminal 1700 may further optionally include: a peripheral device interface 1703 and at least one peripheral device. The processor 1701, the memory 1702 and the peripheral device interface 1703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1704, a display screen 1705, a camera assembly 1706, an audio circuit 1707 and a power supply 1708.

[0288] The peripheral device interface 1703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1701 and the memory 1702. In some embodiments, the processor 1701, the memory 1702, and the peripheral device interface 1703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1701, the memory 1702, and the peripheral device interface 1703 may be implemented on a separate chip or circuit board, which is not limited in the embodiments of the present application.

[0289] The radio frequency circuit 1704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1704 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1704 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1704 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1704 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0290] The display screen 1705 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1705 is a touch display screen, the display screen 1705 also has the ability to collect touch signals on the surface or above the surface of the display screen 1705. The touch signal can be input to the processor 1701 as a control signal for processing. At this time, the display screen 1705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1705 can be one, and the front panel of the terminal 1700 is set; in other embodiments, the display screen 1705 can be at least two, which are respectively set on different surfaces of the terminal 1700 or are folded; in some other embodiments, the display screen 1705 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1700. Even, the display screen 1705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1705 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0291] The camera assembly 1706 is used to capture images or videos. Optionally, the camera assembly 1706 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal 1700, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1706 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0292] The audio circuit 1707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1701 for processing, or input them into the radio frequency circuit 1704 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1700. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1701 or the radio frequency circuit 1704 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1707 may also include a headphone jack.

[0293] The power supply 1708 is used to power various components in the terminal 1700. The power supply 1708 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1708 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0294] In some embodiments, the terminal 1700 further includes one or more sensors 1709 , including but not limited to: an acceleration sensor 1710 , a gyroscope sensor 1711 , a pressure sensor 1712 , an optical sensor 1713 , and a proximity sensor 1714 .

[0295] The acceleration sensor 1710 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1700. For example, the acceleration sensor 1710 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1701 can control the touch display screen 1705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1710. The acceleration sensor 1710 can also be used for collecting game or user motion data.

[0296] The gyro sensor 1711 can detect the body direction and rotation angle of the terminal 1700, and the gyro sensor 1711 can cooperate with the acceleration sensor 1710 to collect the user's 3D actions on the terminal 1700. The processor 1701 can implement the following functions based on the data collected by the gyro sensor 1711: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0297] The pressure sensor 1712 can be set on the side frame of the terminal 1700 and / or the lower layer of the touch display screen 1705. When the pressure sensor 1712 is set on the side frame of the terminal 1700, it can detect the user's holding signal of the terminal 1700, and the processor 1701 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1712. When the pressure sensor 1712 is set on the lower layer of the touch display screen 1705, the processor 1701 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 1705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0298] The optical sensor 1713 is used to collect the ambient light intensity. In one embodiment, the processor 1701 can control the display brightness of the touch display screen 1705 according to the ambient light intensity collected by the optical sensor 1713. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1705 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1705 is reduced. In another embodiment, the processor 1701 can also dynamically adjust the shooting parameters of the camera assembly 1706 according to the ambient light intensity collected by the optical sensor 1713.

[0299] The proximity sensor 1714, also called a distance sensor, is usually arranged on the front panel of the terminal 1700. The proximity sensor 1714 is used to collect the distance between the user and the front of the terminal 1700. In one embodiment, when the proximity sensor 1714 detects that the distance between the user and the front of the terminal 1700 is gradually decreasing, the processor 1701 controls the touch display screen 1705 to switch from the screen-on state to the screen-off state; when the proximity sensor 1714 detects that the distance between the user and the front of the terminal 1700 is gradually increasing, the processor 1701 controls the touch display screen 1705 to switch from the screen-off state to the screen-on state.

[0300] Those skilled in the art will understand that Fig.17 The structure shown in the figure does not constitute a limitation on the terminal 1700, and the terminal 1700 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0301] A computer-readable storage medium is also provided in an embodiment of the present application, in which at least one instruction, at least one program, code set or instruction set is stored. When the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor of a computer device, the method for using the throwing props provided in the above-mentioned method embodiments is implemented.

[0302] The present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for using the throwing prop provided in the above-mentioned method embodiments.

[0303] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned readable storage medium may be a read-only memory, a disk or an optical disk, etc.

[0304] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent switching, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for using a throwing prop, characterized in that: The method comprises: Displaying a virtual environment in a user interface, the virtual environment including a first virtual character and at least one second virtual character participating in the game, the first virtual character and the second virtual character belonging to the same camp; During the game, displaying the first virtual character using a first throwing prop; In response to the damage caused by the first throwing prop to the second virtual character satisfying a disabling condition, the first virtual character is prohibited from using a second throwing prop, and the first throwing prop and the second throwing prop are the same type of throwing props.

2. The method according to claim 1, characterized in that In response to the damage caused by the first throwing prop to the second virtual character meeting a disabling condition, prohibiting the first virtual character from using the second throwing prop comprises: In response to the amount of damage caused by the first throwing prop to the second virtual character meeting the damage threshold, and the time when the first throwing prop causes damage to the second virtual character falls within at least one of the target game time periods, the first virtual character is prohibited from using the second throwing prop.

3. The method according to claim 2, characterized in that The first throwing prop corresponds to at least one set of prohibited configurations, and each set of prohibited configurations includes a damage threshold and a target game period; In response to the amount of damage caused by the first throwing item to the second virtual character meeting a damage threshold, and the time when the first throwing item causes damage to the second virtual character falls within at least one of a target game period, prohibiting the first virtual character from using the second throwing item comprises: In response to the amount of damage caused by the first throwing prop to the second virtual character meeting the damage threshold of the i-th group of disabled configurations in the at least one group of disabled configurations, and the time when the first throwing prop causes damage to the second virtual character belongs to the target game period of the i-th group of disabled configurations, the first virtual character is prohibited from using the second throwing prop, where i is a positive integer.

4. The method according to claim 2, characterized in that: The method further comprises: When a third virtual character exists within the vicinity of the second virtual character, raising the damage threshold; When the third virtual character does not exist within the proximity of the second virtual character, lowering the damage threshold; The amount of increasing the damage threshold is positively correlated with the number of the third virtual characters in the proximity, and the third virtual characters belong to the hostile camp of the first virtual character.

5. The method according to claim 2, characterized in that: The method further comprises: In the case where there is a second virtual character with low health value among the at least one second virtual character, lowering the damage threshold; The second virtual character with low health value is a second virtual character whose health value is lower than the health value threshold, and the amount of reducing the damage threshold is positively correlated with the number of the second virtual characters with low health value.

6. The method according to claim 2, characterized in that The method further comprises: Acquire multiple game phases of a historical game conducted in a virtual map corresponding to the game, wherein the game phases are used to indicate the moments when virtual characters of various camps participating in the historical game engage in battle; Divide one or more game time periods according to the multiple game stages; The target game period is determined according to the one or more game periods.

7. The method according to any one of claims 1 to 6, characterized in that: In response to the damage caused by the first throwing prop to the second virtual character meeting a disabling condition, prohibiting the first virtual character from using the second throwing prop comprises: In response to the damage caused by the first throwing prop to the second virtual character satisfying the disabling condition, the first virtual character is prohibited from using the second throwing prop within a limited time period corresponding to the first throwing prop.

8. The method according to claim 7, characterized in that In response to the damage caused by the first throwing prop to the second virtual character meeting the disabling condition, prohibiting the first virtual character from using the second throwing prop within a limited time period corresponding to the first throwing prop, comprises: In response to the damage caused by the first throwing prop to one or more second virtual characters among the plurality of second virtual characters satisfying the disabling condition, prohibiting the first virtual character from using the second throwing prop within the accumulated time; The accumulated duration is determined according to the number of the one or more second virtual characters and the limited duration corresponding to the first throwing prop, and the accumulated duration is positively correlated with the number of the one or more second virtual characters and the limited duration.

9. The method according to any one of claims 1 to 6, characterized in that: In response to the damage caused by the first throwing prop to the second virtual character meeting a disabling condition, prohibiting the first virtual character from using the second throwing prop comprises: In response to the damage caused by the first throwing prop to the second virtual character meeting the disabling condition, and the effective range of the first throwing prop in the virtual environment is greater than a first distance threshold from the third virtual character, prohibiting the first virtual character from using the second throwing prop; The effective range is determined according to the throwing position of the first throwing prop used by the first virtual character and the attack range of the first throwing prop, and the third virtual character belongs to the hostile camp of the first virtual character.

10. The method according to claim 9, characterized in that The method further comprises: In response to the damage caused by the first throwing item to the second virtual character satisfying the disabling condition, and the effective range of the first throwing item in the virtual environment is greater than a second distance threshold from the estimated moving path of the third virtual character, prohibiting the first virtual character from using the second throwing item; Among them, the estimated movement path is used to estimate the movement path of the third virtual character after the use time, and the estimated movement path is estimated based on the historical movement path of the third virtual character before the use time. The use time is the time when the first virtual character uses the first throwing prop.

11. The method according to any one of claims 1 to 6, characterized in that: In response to the damage caused by the first throwing prop to the second virtual character meeting a disabling condition, prohibiting the first virtual character from using the second throwing prop comprises: In response to the damage caused by the first throwing item to the second virtual character meeting the disabling condition, and the difference between the first damage amount and the second damage amount is greater than a difference threshold, prohibiting the first virtual character from using the second throwing item; The first damage amount is the amount of damage caused by the first throwing item to the third virtual character, the second damage amount is the amount of damage caused by the first throwing item to the second virtual character, and the third virtual character belongs to the hostile camp of the first virtual character.

12. A device for using a throwing prop, characterized in that: The device comprises: A display module, configured to display a virtual environment in a user interface, wherein the virtual environment includes a first virtual character and at least one second virtual character participating in the game, wherein the first virtual character and the second virtual character belong to the same camp; The display module is further used to display the first virtual character using the first throwing prop during the game; A disabling module is used to prohibit the first virtual character from using a second throwing prop in response to the damage caused by the first throwing prop to the second virtual character satisfying a disabling condition, wherein the first throwing prop and the second throwing prop are the same type of throwing props.

13. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for using the throwing prop as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The readable storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for using the throwing prop as described in any one of claims 1 to 11.

15. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for using a throwing prop as described in any one of claims 1 to 11.