Method and device for processing virtual items in game, storage medium and electronic device
By displaying item transfer messages on the game interface and allowing players to choose actions, automated virtual item exchange between players in the same team is achieved, solving the problem of low efficiency in existing technologies and improving the gaming experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2023-12-01
- Publication Date
- 2026-07-21
Smart Images

Figure CN117695676B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of data processing, and more specifically, to a method, apparatus, storage medium, and electronic device for processing virtual items in a game. Background Technology
[0002] In related technologies, when at least two players in the same team have virtual game characters who need to exchange virtual items, they often need to communicate via voice or text on their respective graphical user interfaces to confirm whether they possess the corresponding virtual items and agree on a specific location within the game scene to exchange them. However, these communication and item exchange steps consume additional time and effort, resulting in a disjointed gaming experience and low efficiency in item exchange. Therefore, the technical problem of low efficiency in handling virtual items in games remains.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This disclosure provides at least some embodiments of a method, apparatus, storage medium, and electronic device for processing virtual items in games, to at least solve the technical problem of low processing efficiency of virtual items in games.
[0005] According to one embodiment of this disclosure, a method for processing virtual items in a game is provided. The method can provide a first graphical user interface (GUI) via a first terminal device. The GUI displays at least a portion of a game scene, including a first virtual game character and at least one second virtual game character. The second virtual game character belongs to the same game faction as the first virtual game character. The first virtual game character is controlled by the first terminal device, and the second virtual game character is controlled by a second terminal device. The method can include: in response to a selection operation for a target virtual item to be transferred in the game scene, displaying a first item transfer message and / or a second item transfer message on the GUI, wherein the first item transfer message indicates that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message indicates that the target virtual item is allowed to be transferred into the first virtual game character; in response to a selection operation for the first item transfer message or the second item transfer message, determining the selected first item transfer message or second item transfer message as the target item transfer message; and sending the target item transfer message to the second terminal device, so that the second terminal device determines whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
[0006] According to one embodiment of this disclosure, a device for processing virtual items in a game is also provided. The device can provide a first graphical user interface (GUI) via a first terminal device. The GUI displays at least a portion of a game scene, including a first virtual game character and at least one second virtual game character. The second virtual game character belongs to the same game faction as the first virtual game character. The first virtual game character is controlled by the first terminal device, and the second virtual game character is controlled by the second terminal device. The device may include: a display unit, configured to respond to a selection operation for a target virtual item to be transferred in the game scene, displaying a first item transfer message and / or a second item transfer message on the GUI, wherein the first item transfer message indicates that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message indicates that the target virtual item is allowed to be transferred into the first virtual game character; a determination unit, configured to respond to a selection operation for the first item transfer message or the second item transfer message, determining the selected first item transfer message or second item transfer message as the target item transfer message; and a transfer unit, configured to send the target item transfer message to the second terminal device, so that the second terminal device determines whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
[0007] According to one embodiment of this disclosure, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program configured to execute the method for processing virtual items in a game as described above when run.
[0008] According to one embodiment of this disclosure, an electronic device is also provided. The electronic device may include a memory and a processor, the memory storing a computer program, and the processor being configured to run the computer program to perform the method for processing virtual items in a game as described above.
[0009] In this embodiment of the disclosure, during gameplay, players can perform a selection operation on a target virtual item through a first graphical user interface (GUI), thereby displaying a first item transfer message and / or a second item transfer message on the GUI. The terminal device can detect in real time whether the player interacts with the first or second item transfer message. If the player needs to transfer out of the target virtual item, they can perform a selection operation on the first item transfer message; if the player needs to transfer into the target virtual item, they can perform a selection operation on the second item transfer message. The first or second item transfer message containing the selection operation can be identified as the target item transfer message. The target item transfer message can be transmitted to the second terminal device of other players in the same faction as the player in question. The player corresponding to the second terminal device can determine whether they need to transfer the target virtual item with the player who sent the message based on the received target item transfer message. If so, the player on the second terminal device can control a second virtual game character to transfer the target virtual item with the first virtual game character. This disclosure embodiment introduces an automated virtual item exchange mechanism. Through a simple selection operation by the player, a second item transfer message for the desired virtual item or a first item transfer message for the virtual item that can be provided to others can be automatically sent to the terminal devices of other players in the same game faction. Players who receive the above message only need to perform a simple confirmation operation to realize the virtual item exchange between each other. This avoids the situation where players communicate through voice or text input, which consumes a lot of time and energy. Thus, it achieves the goal of improving the efficiency of communication and exchange of virtual items among players in the same game faction, thereby realizing the technical effect of improving the low processing efficiency of virtual items in the game and solving the technical problem of low processing efficiency of virtual items in the game. Attached Figure Description
[0010] The accompanying drawings, which are included to provide a further understanding of this disclosure and form part of this application, illustrate exemplary embodiments of this disclosure and are used to explain this disclosure, but do not constitute an undue limitation of this disclosure. In the drawings:
[0011] Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of processing virtual items in a game, according to an embodiment of this disclosure.
[0012] Figure 2 This is a flowchart of a method for processing virtual items in a game according to one embodiment of the present disclosure;
[0013] Figure 3 This is a schematic diagram illustrating the creation of a message with surplus items according to one embodiment of the present disclosure;
[0014] Figure 4 This is a schematic diagram of a pop-up window containing a message publishing option according to one embodiment of the present disclosure;
[0015] Figure 5 This is a schematic diagram showing target item exchange information appearing above the head of a virtual game character according to one embodiment of the present disclosure;
[0016] Figure 6 This is a schematic diagram of a bubble effect where a virtual game character's head pops up to exchange items, according to one embodiment of this disclosure;
[0017] Figure 7 This is a schematic diagram illustrating the creation of a message requiring props according to one embodiment of this disclosure;
[0018] Figure 8 This is a schematic diagram illustrating the operation of selecting a target virtual item when there is no corresponding item in the backpack according to one embodiment of the present disclosure;
[0019] Figure 9 This is a schematic diagram of a pop-up window containing another message publishing option according to one embodiment of this disclosure;
[0020] Figure 10 A structural block diagram of a device for processing virtual items in a game according to an embodiment of the present disclosure;
[0021] Figure 11 This is a schematic diagram of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0022] To enable those skilled in the art to better understand the present disclosure, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present disclosure, and not all embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present disclosure.
[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0024] In one possible implementation, within the field of data processing, a series of pain points exist when players exchange virtual items. A solution is designed where players can click on the corresponding voice control on their terminal device's game interface to communicate closely with other players in the same game faction in real time to exchange virtual items. Alternatively, players can input corresponding text on the game interface, such as the name and quantity of the desired virtual item, to exchange virtual items.
[0025] However, after experimentation and careful research, the inventors discovered that using the above method to exchange virtual items between players in the same game faction would easily consume extra time and effort, and would differ significantly from the combat interaction methods in real-world scenarios. Therefore, the technical problem of low processing efficiency for virtual items in the game still exists.
[0026] Based on the above, this disclosure proposes a method for processing virtual items in a game. This method can be applied to scenarios where players in the same game faction need to exchange virtual items. Players can perform a selection operation on a target virtual item through a first graphical user interface (GUI), thereby displaying a first item transfer message and a second item transfer message on the GUI. A terminal device can detect in real-time whether the player interacts with the first or second item transfer message. If a player needs to transfer out a target virtual item, they can perform a selection operation on the first item transfer message; if a player needs to transfer in a target virtual item, they can perform a selection operation on the second item transfer message. The first or second item transfer message with the selection operation can be identified as the target item transfer message. This target item transfer message can be transmitted to a second terminal device of another player in the same faction. The player corresponding to the second terminal device can determine whether they need to transfer the target virtual item with the player who sent the message based on the received target item transfer message. If so, the player on the second terminal can control a second virtual game character to transfer the target virtual item with the first virtual game character.
[0027] Considering that related technologies rely solely on voice or text communication, the processing efficiency of virtual items in games is low. However, this embodiment introduces an automated virtual item exchange mechanism. Through a simple selection operation by the player, a second item transfer message for the desired virtual item or a first item transfer message for virtual items that can be provided to others is automatically sent to the terminal devices of other players in the same game faction. Players receiving these messages only need a simple confirmation operation to achieve the exchange of virtual items, avoiding the time and effort consumed by players communicating via voice or text. This improves the efficiency of communication and virtual item exchange among players in the same game faction, thereby addressing the technical problem of low processing efficiency for virtual items in games.
[0028] According to one embodiment of this disclosure, an embodiment of a method for processing virtual items in a game is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0029] This method embodiment can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smartphone (such as an Android phone, iOS phone, etc.), tablet computer, PDA, mobile Internet Device (MID), PAD, game console, and other terminal devices. Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of processing virtual items in a game, according to an embodiment of this disclosure. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a central processing unit (CPU), graphics processing unit (GPU), digital signal processing (DSP) chip, microprocessor (MCU), programmable logic device (FPGA), neural network processor (NPU), tensor processor (TPU), artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data are also shown. Optionally, the mobile terminal may further include a transmission device 106 for communication functions, an input / output device 108, and a display device 110. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0030] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the method for processing virtual items in a game in this embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the aforementioned method for processing virtual items in a game. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0031] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0032] The inputs in input / output device 108 can come from multiple human interface devices (HIDs). Examples include keyboards and mice, gamepads, and other dedicated game controllers (such as steering wheels, fishing rods, dance mats, and remote controls). Some HIDs, in addition to providing input functions, can also provide output functions, such as force feedback and vibration from gamepads, and audio output from controllers.
[0033] Display device 110 may be, for example, a head-up display (HUD), a touchscreen liquid crystal display (LCD), and a touch display (also referred to as a "touchscreen" or "touch display"). The LCD allows a user to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), which allows the user to interact with the GUI by touching and / or gesturing on a touch-sensitive surface. Optional human-computer interaction functions include: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, a call interface, playing digital video, playing digital music, and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0034] Those skilled in the art will understand that Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0035] In one possible implementation, embodiments of this disclosure provide a method for processing virtual items in a game. Figure 2 This is a flowchart illustrating a method for processing virtual items in a game according to one embodiment of this disclosure, such as... Figure 2 As shown, this method, applied to a central server, may include the following steps:
[0036] Step S202: In response to the selection operation of the target virtual item to be transferred in the game scene, a first item transfer message and / or a second item transfer message are displayed on the graphical user interface, wherein the first item transfer message is used to indicate that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message is used to indicate that the target virtual item is allowed to be transferred into the first virtual game character.
[0037] In the technical solution provided by step S202 of this disclosure, the graphical user interface provided on the terminal device can be monitored in real time to determine whether there is a selection operation by the player corresponding to the terminal device for the target virtual item to be transferred in the game scene. If the player is detected to have performed a selection operation on the graphical user interface, the first item transfer message and / or the second item transfer message for the target virtual item to be transferred can be displayed on the graphical user interface. The game can be a first-person shooting game (FPS).
[0038] Optionally, if the terminal device performing the selection operation can be determined as a first terminal device, then the graphical user interface on the first terminal device is determined as a first graphical user interface, and the virtual game object to be manipulated on the first graphical user interface is determined as a first virtual game object. The content displayed on the first graphical user interface may include at least a portion of the game scene. The game scene may include a first virtual character and at least one second virtual game character. The second virtual game character may belong to the same game faction as the first virtual game character, that is, the first virtual game character and the second virtual game character are teammates, that is, the first player controlling the first virtual game character and the second player controlling the second virtual game character are teammates. The first virtual game character may be controlled by the first player's first terminal device. The second virtual game character may be controlled by the second player's second terminal device. A first item transfer message may be used to indicate that the target virtual item is allowed to be transferred out of the first virtual game character. A second item transfer message may be used to indicate that the target virtual item is allowed to be transferred into the first virtual game character.
[0039] In this embodiment, the aforementioned target virtual item can be a virtual item that needs to be exchanged or transferred between players. This virtual item can be a game item, also known as a backpack item or prop, such as virtual items like firearms, bullets, and medkits used in the game. It should be noted that the above virtual items are merely illustrative examples and are not specifically limited here.
[0040] Optionally, during the game's operation, the terminal devices of players in the same game faction can be detected in real time to check whether there is a selection operation for the target virtual item to be transferred on the graphical user interface of the terminal device. That is, when a player has a need to exchange a certain target virtual item, such as lacking a certain target virtual item or having a redundant target virtual item, the player can perform a selection operation on the target virtual item in the game scene in the graphical user interface, thereby displaying the first item transfer message and the second item transfer message corresponding to the target virtual item on the graphical user interface.
[0041] Optionally, in this embodiment of the disclosure, an automated item exchange mechanism, namely an item information system, can be introduced in advance. Through this mechanism, the operations performed by the player on the graphical user interface of the terminal device during the game can be detected in real time. If it is detected that the player has a selection operation on the target virtual item to be exchanged, then a message publishing option including two item transfer messages can be displayed on the player's graphical user interface. Through the above two item transfer messages, it is determined whether the player needs to transfer out or into the target virtual item.
[0042] Step S204: In response to the selection operation for the first item transfer message or the second item transfer message, the selected first item transfer message or the second item transfer message is determined as the target item transfer message.
[0043] In the technical solution provided by step S204 of this disclosure, after detecting the selection operation of the target virtual item to be transferred in the game scene and displaying the first item transfer message and the second item transfer message on the graphical user interface, the player can perform the corresponding selection operation on the first item transfer message or the second item transfer message according to their own needs, and the selected first item transfer message or the second item transfer message can be determined as the target item transfer message. The target item transfer message not only contains the target virtual item that the player corresponding to the first graphical user interface needs to exchange, but also contains the player's transfer or import requirements for the target virtual item.
[0044] Optionally, after displaying message sending options on the first graphical user interface of players who need to exchange items, players can select the appropriate message from the first and second item transfer messages in the message sending options as the target item transfer message, based on their own needs. For example, if a player has a surplus of the target virtual item and needs to ask a teammate if they want it, they can choose the first item transfer message in the message sending options. If a player is short of the target virtual item and needs to ask a teammate if they can give it to them, they can choose the second item transfer message in the message sending options. The player sending the item exchange message and their virtual game character can be called the sender. The player receiving the item exchange message, i.e., the sender's teammate, can be called the receiver.
[0045] Optionally, during the game's operation, two scenarios may exist: Scenario 1: A player has a surplus of items, meaning they have an abundance of a certain virtual item and need to ask other players in the same game faction if they need it; Scenario 2: A player has not picked up a certain item but needs it, meaning they lack a certain virtual item and need to ask other players in the same game faction if they have it. Therefore, to fully consider both scenarios and avoid the inefficiency caused by voice and text input for item exchange requests, in this embodiment, when a player has a need to exchange items, the player can perform a corresponding selection operation on the corresponding first graphical user interface. For example, the player can long-press the desired item in their inventory in the game scene. At this time, corresponding message publishing options will pop up in other locations of the graphical user interface, namely, a first item transfer message and a second item transfer message. The player can perform the corresponding selection operation on the first item transfer message or the second item transfer message according to their own needs to publish the corresponding message for exchanging items to other players in the same game faction. By taking into account settings such as simple player selection and automatic message posting options, the system reduces the amount of actions and voice communication required for players to exchange items, thus improving the efficiency of posting virtual item exchange messages in the game.
[0046] For example, if a player selects 7.62mm bullets in their inventory—for instance, by long-pressing and selecting 30 rounds—a pop-up message option regarding those bullets will appear elsewhere on the graphical user interface. This message option can include a first item transfer message and a second item transfer message. The first item transfer message could be something like, "I can give you 30 rounds of 7.62mm bullets, anyone want them?"; the second item transfer message could be something like, "I need 30 rounds of 7.62mm bullets, anyone want some?" The player can choose between the first and second item transfer messages based on whether they need the bullets themselves or are asking other players in their team if they need them.
[0047] It should be noted that the above-described process and method of performing a selection operation on the target virtual item and popping up the message release option, as well as the contents of the first item transfer message and the second item transfer message in the message release option, are all illustrative examples and are not specifically limited here. As long as the method and process of automatically releasing the virtual item that the player needs to transfer out or into is triggered by the selection operation, they are all within the protection scope of the embodiments disclosed in this disclosure.
[0048] Step S206: Send a target item transfer message to the second terminal device so that the second terminal device can determine whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
[0049] In the technical solution provided by step S206 of this disclosure, after detecting that a selection operation has been performed on the first item transfer message or the second item transfer message, and determining the selected first item transfer message or the second item transfer message as the target item transfer message, the target item transfer message can be transferred to the second terminal device of other players in the same game faction. This allows the second terminal device to determine whether to allow the transfer of the target virtual item between the second virtual game character and the first virtual game character according to the target item transfer message. The target item transfer message can display not only the player who sent the message, but also the target virtual item and its quantity. It should be noted that the content in the target item transfer message is merely illustrative and is not intended to impose specific limitations.
[0050] Optionally, after selecting either the first or second item transfer message as the target item transfer message, the message can be sent to the second terminal devices used by other players in the same game faction. Upon receiving the target item transfer message, the player on the second terminal device can display it on their second graphical user interface. The player on the second terminal device can then determine whether to exchange the item with the player on the first terminal device based on their needs and the quantity of the target virtual item they possess. If an item exchange is necessary, each player can control their respective first and second virtual game characters to exchange items, transferring the target virtual item from the player with sufficient items to the player who needs it.
[0051] For example, if player 1, corresponding to the first terminal device, performs a selection operation on the first item transfer message "30 rounds of 7.62 ammunition can be given", a corresponding target item transfer message can be generated based on the first item transfer message and sent to other players in the same game team as player 1, namely player 2, player 3, and player 4. The target item transfer message on the second graphical user interface corresponding to player 2 can display the main content of the message, namely, "player 1 can give 30 rounds of 7.62 ammunition", and can also display the status of the target virtual item in the backpack of player 2's second virtual game character, such as "currently: 0 rounds; applicable: 1". Player 2 can know from the above target item transfer message that his teammate has 30 rounds of 7.62 ammunition surplus, and that player 2 himself has 0 rounds of such ammunition, and has a gun that can use the ammunition. Player 2 can make a selection from the "not needed" and "need, go" controls displayed in the target item transfer message according to his own needs. If player 2 needs the ammunition, he can click the "need, go" control to control the second virtual game character to go to the location of the first virtual game character to exchange items. If player 2 does not need the bullet, they can click the "Not Need" button.
[0052] Since communicating about item status and determining whether to exchange items solely through voice or text interaction between players inevitably consumes extra time and effort, the efficiency of item exchange among teammates remains low. However, in this embodiment, considering the above situation, an item information system can be introduced. This system allows players to quickly determine their teammates' item status via a graphical user interface or keyboard shortcuts, eliminating the need for voice or text communication. Furthermore, a convenient interactive interface or menu is provided, allowing players to easily select items to offer or request and send requests to other players in the same game team. By simplifying the communication process before item exchange, the efficiency of item exchange among teammates is significantly improved.
[0053] Through steps S202 to S206 above, players can perform a selection operation on a target virtual item on the first graphical user interface, thereby displaying a first item transfer message and / or a second item transfer message on the first graphical user interface. The terminal device can detect in real time whether the player has interacted with the first or second item transfer message. If the player needs to transfer out the target virtual item, they can perform a selection operation on the first item transfer message; if the player needs to transfer into the target virtual item, they can perform a selection operation on the second item transfer message. The first or second item transfer message with the selection operation can be identified as the target item transfer message. The target item transfer message can then be transferred to the second terminal device of another player in the same faction as the player in question. The player corresponding to the second terminal device can determine whether to transfer the target virtual item with the player who sent the target item transfer message based on the received target item transfer message. If so, the player on the second terminal device can control a second virtual game character to transfer the target virtual item with the first virtual game character. This disclosure embodiment introduces an automated virtual item exchange mechanism. Through a simple selection operation by the player, a second item transfer message for the desired virtual item or a first item transfer message for the virtual item that can be provided to others can be automatically sent to the terminal devices of other players in the same game faction. Players who receive the above message only need to perform a simple confirmation operation to realize the virtual item exchange between each other. This avoids the situation where players communicate through voice or text input, which consumes a lot of time and energy. Thus, it achieves the goal of improving the efficiency of communication and exchange of virtual items among players in the same game faction, thereby realizing the technical effect of improving the low processing efficiency of virtual items in the game and solving the technical problem of low processing efficiency of virtual items in the game.
[0054] The methods described above in the embodiments of this disclosure will be further described below.
[0055] As an optional embodiment, step S202, in response to a selection operation for a target virtual item to be transferred in the game scene, displays a first item transfer message and a second item transfer message on the graphical user interface, including: in response to a selection operation for a target virtual item, displaying multiple attribute information of the target virtual item on the graphical user interface; in response to a selection operation for at least one attribute information among the multiple attribute information, determining the selected at least one attribute information as the target attribute information; and generating the first item transfer message and / or the second item transfer message on the graphical user interface based on the target virtual item and the target attribute information.
[0056] In this embodiment, in response to a selection operation on a target virtual item, multiple attribute information of the target virtual item is displayed on the graphical user interface. A selection operation on at least one of the multiple attribute information can determine the selected attribute information as the target attribute information. Based on the target virtual item and its target attribute information, a first item transfer message and / or a second item transfer message can be generated on the graphical user interface. The attribute information can be the name, quantity, or required quantity of the target virtual item to be transferred. It should be noted that the above attribute information is merely illustrative and is not intended to be specific.
[0057] Optionally, before issuing the target item transfer message, a selection operation needs to be performed on the corresponding location in the game scene of the first graphical user interface to select the target virtual item from among the many virtual items of the first virtual game character, and then display the selected target virtual item. Corresponding selection operations can be performed on the attribute information of the target virtual item to adjust the attribute information to the target attribute information. Based on the target virtual item and its target attribute information, a first item transfer message and a second item transfer message are generated.
[0058] For example, if a player needs to create a first item transfer message or a second item transfer message, they can perform a corresponding click operation in the game scene on the first graphical user interface to open the inventory of the first virtual game character. The player can then long-press to select the desired item from all items in the inventory as the target virtual item, based on their needs for exchanging items. Alternatively, they can perform a corresponding swipe operation in the game scene to select the quantity of the target virtual item, i.e., the attribute information of the target virtual item. After the player has completed the selection of the name and quantity of the item to be exchanged, the corresponding message publishing option will pop up in the appropriate location in the game scene. This option can display the first item transfer message and / or the second item transfer message.
[0059] As an optional embodiment, based on the target virtual item and target attribute information, generating a first item transfer message and a second item transfer message on a graphical user interface includes: adding the identification information and target attribute information of the target virtual item to a first information template in the graphical user interface to obtain a first item transfer message, wherein the first information template is used to describe allowing the item to be transferred from a sending object, the sending object including a first virtual game character; adding the identification information and target attribute information of the target virtual item to a second information template in the graphical user interface to obtain a second item transfer message, wherein the second information template is used to describe the item to be transferred to a receiving object, the receiving object including the first virtual game character.
[0060] In this embodiment, the identification information and target attribute information of the target virtual item can be added to a first information template in the graphical user interface to obtain a first item transfer message. Alternatively, the identification information and target attribute information of the target virtual item can be added to a second information template in the graphical user interface to obtain a second item transfer message. The first information template can describe allowing the item to be transferred from a sender, who may include a first virtual game character, representing a player who needs to provide virtual items to other players in the same game faction. The second information template can describe the item to be transferred to a receiver, who may include the first virtual game character, representing a player who needs to request virtual items from other players in the same game faction. The identification information can be the name of the target virtual item. The first information template can be a template filled with identification information and target attribute information that reflects a player having surplus items. The second information template can be a template filled with identification information and target attribute information that reflects a player needing items.
[0061] In this embodiment, considering two scenarios of item exchange during gameplay—namely, a player having surplus items and asking other players in the same faction if they need them, and a player needing a specific item and asking other players in the same faction if they have it—two information templates can be designed: a first information template and a second information template. The first information template can be "I can provide ×× (quantity) of ××× (item), anyone want it?", and the second information template can be "I need ×× (quantity) of ××× (item), anyone give it to me?". Thus, during gameplay, players select the target virtual item and its quantity or required quantity according to their needs. The quantity can be filled into the corresponding position in the first information template, and the target virtual item can be filled into the corresponding position in the item field. Similarly, the required quantity can be filled into the corresponding position in the second information template, and the target virtual item can be filled into the corresponding position in the item field, automatically generating corresponding first and second item transfer messages. This avoids the extra time wasted when sending item exchange requests via voice or manual text input. It achieves the goal of automatically generating the first and second item transfer messages and automatically sending item exchange requests, thereby improving the efficiency of item exchange in the game.
[0062] For example, a player can long-press on an item in their inventory with their right hand and slide to select the quantity of that item. For instance, long-pressing on 7.62 ammunition in the inventory and sliding to select 30 rounds. The 7.62 ammunition and the number 30 can then be filled into the first and second message templates, resulting in the first item transfer message "I can give you 30 rounds of 7.62 ammunition, anyone want them?" and the second item transfer message "I need 30 rounds of 7.62 ammunition, anyone want some?" Based on these two message transfer messages, corresponding message sending options will pop up on the left side of the game scene, allowing the player to quickly select either the first or second item transfer message using their left hand.
[0063] It should be noted that the first item transfer message and the second item transfer message mentioned above are only examples and are not specifically limited here. Any process and method that creates information for exchanging items based on simple clicks or other selection operations is within the protection scope of this disclosure.
[0064] It should be noted that the number of items selected by sliding on the right is only an example and there are no specific restrictions. Players can also set the quantity of different virtual items in the game settings according to their own needs. For example, the number of bullets can be set to large integer multiples such as 30 or 60, while the number of items such as medkits can be set to small numbers such as 1 or 2. In other words, the quantity can be set according to the granularity of the virtual items.
[0065] For another example, during the process of creating a message to exchange items, if the player's virtual game character does not have the item to be exchanged in their inventory, they can also long press and select the quantity needed. For instance, if the corresponding item is not in the inventory, the player can long press the corresponding weapon or empty slot to bring up the options on the left side of the corresponding item, allowing the player to select the item to send the request to.
[0066] As an alternative example, when a player's virtual game character does not have the corresponding item in their inventory, they can click on the character's health bar control. For instance, long-pressing or clicking the health bar can bring up a selection of health-restoring items, or display a persistent image of a throwable item. If the item is available, its icon will be displayed; otherwise, a silhouette will be shown. Long-pressing the silhouette allows the player to select the corresponding item and send an exchange request. It should be noted that the above method and process for sending an exchange request when the desired item is not in the inventory is merely an example and is not intended to impose specific limitations.
[0067] As an optional embodiment, step S204, in response to a selection operation for a first item transfer message or a second item transfer message, determines the selected first item transfer message or second item transfer message as a target item transfer message, including: in response to a selection operation for a first item transfer message or second item transfer message, converting the selected first item transfer message or second item transfer message from an initial message type to a target message type; and determining the first item transfer message of the target message type or the second item transfer message of the target message type as the target item transfer message.
[0068] In this embodiment, a selection operation can be performed on either the first item transfer message or the second item transfer message. When the selection operation is detected, the selected first item transfer message or second item transfer message can be transformed from its initial message type to a target message type. The first item transfer message or the second item transfer message of the target message type is then determined as the target item transfer message corresponding to the target virtual item. The initial message type can be text. The target message type includes, but is not limited to, voice messages and other information types that are easily received by teammates. It should be noted that the above target message types are merely illustrative and are not specifically limited in this embodiment.
[0069] Optionally, to facilitate other players in the same game faction as the player who made the item exchange request to receive the request, it is necessary not only to determine the target item transfer message of the initial message type, but also to determine the target item transfer message of the target message type. This allows other players in the same game faction, i.e., teammates, to not only see the text-type target item transfer message of the exchange item visually on the corresponding graphical user interface, but also hear the voice message about the target item transfer message. This allows for the dissemination of information about the exchange item from multiple angles, facilitating multi-faceted prompts to teammates and achieving the technical effect of making it easier for teammates to receive the target item transfer message of the exchange item.
[0070] As an optional embodiment, step S206, sending a target item transfer message to the second terminal device, includes: in response to the distance between the second virtual game character and the first virtual game character being greater than a distance threshold, displaying the target item transfer message at a first target location on the second graphical user interface of the second terminal device; in response to the distance between the second virtual game character and the first virtual game character not being greater than the distance threshold, displaying the target item transfer message at a second target location in the game scene displayed by the second graphical user interface, wherein the second target location is associated with the first virtual game character.
[0071] In this embodiment, the distance between the second virtual game character and the first virtual game character can be detected. When the detected distance between the two virtual game characters is greater than a distance threshold, a target item transfer message can be displayed at a first target location on the second graphical user interface of the second terminal device. When the distance between the two virtual game characters is less than or equal to the distance threshold, a target item transfer message can be displayed at a second target location in the game scene displayed on the second graphical user interface. The first target location can be the upper left corner of the graphical user interface. The second target location can be associated with the first virtual game character, for example, it can be the top of the first virtual game character's head in the graphical user interface. The distance threshold can be a pre-set distance length, for example, the threshold value can be determined as the boundary between the virtual game character's line of sight and the line of sight outside the line of sight.
[0072] Optionally, when the sender has surplus items and asks teammates if they want them, the distance between the sender and receiver can be checked to see if it is less than or equal to a distance threshold. If it is, it means the sender is within the receiver's line of sight. The sender's second target location, such as above their head, can then display a target item transfer message, such as a bubble effect for item exchange. The receiver can click the bubble effect to move to the sender's location to exchange the target virtual item; if no exchange is needed, the receiver can simply close the bubble effect. It should be noted that the above-mentioned second target location and target item transfer message presentation are merely illustrative examples and are not intended to be specific. Any process or method that allows item exchange through simple clicks of relevant information is within the protection scope of this disclosure.
[0073] Optionally, when the sender has an item surplus and asks teammates if they want it, and the distance between the sender and receiver is detected to be greater than a distance threshold, it indicates that the sender is outside the receiver's line of sight. In this case, a target item transfer message can be displayed in the player list at the top left of the graphical user interface. The text box containing the target item transfer message can point an arrow to the sender. Furthermore, the text box containing the target item transfer message can display "No Need" and "Need, Go" controls, allowing the receiver to click the corresponding control to cancel or exchange items according to their needs.
[0074] As an optional embodiment, the method further includes: acquiring a first notification message generated by the second terminal device in response to a first triggering operation for the target item transfer message, wherein the first notification message indicates that the second terminal device allows the transfer of the target virtual item between the second virtual game character and the first virtual game character according to the target item transfer message; and acquiring a second notification message generated by the second terminal device in response to a second triggering operation for the target item transfer message, wherein the second notification message indicates that the second terminal device prohibits the transfer of the target virtual item between the second virtual game character and the first virtual game character according to the target item transfer message.
[0075] In this embodiment, the second terminal device can be controlled to perform a first triggering operation on the target item transfer message, and a corresponding first notification message can be generated based on the first triggering operation. The second terminal device can also be controlled to perform a second triggering operation on the target item transfer message, generating a corresponding second notification message. The first notification message can indicate that the second terminal device allows the transfer of the target virtual item between the second and first virtual game characters according to the target item transfer message. The second notification message can indicate that the second terminal device prohibits the transfer of the target virtual item between the second and first virtual game characters according to the target item transfer message. The first triggering operation can be clicking a bubble effect or a navigation control to allow the first and second virtual game characters to exchange items. The second triggering operation can be clicking "No Need," canceling the pop-up, or turning off the bubble effect to prevent the first and second virtual game characters from exchanging items. It should be noted that the above first and second triggering operations are merely illustrative examples and are not specifically limited here. Any operation that enables or cancels the exchange of items between virtual game characters within the same game faction is within the protection scope of this disclosure.
[0076] Optionally, when the second virtual game character needs to transfer a target virtual item to the first virtual game character, a first trigger operation to initiate the transfer can be performed on the target item transfer message. For example, if the second virtual game character is within the line of sight of the first virtual game character, the second virtual game character can be controlled to click the bubble effect to go and transfer the target virtual item. If the second virtual game character is not within the line of sight of the first virtual game character, the target virtual item can be transferred by clicking the "Need, Go" control in the target item transfer message in the upper left corner of the second graphical user interface.
[0077] Optionally, when the second virtual game character has a need to avoid transferring the target virtual item with the first virtual game character, a corresponding second trigger operation to cancel the transfer can be performed on the target item transfer message. For example, if the second virtual game character is within the line of sight of the first virtual game character, the second virtual game character can click the "×" shaped control in the upper right corner of the bubble effect to close the bubble effect and thus close the transfer of the target virtual item between the first and second virtual game characters. If the second virtual game character is not within the line of sight of the first virtual game character, the transfer of the target virtual item can be closed by clicking the "Unnecessary" control in the upper left corner of the target item message on the second graphical user interface.
[0078] As an optional embodiment, the method further includes: in response to successfully obtaining the first notification message, transferring the target virtual item between the first virtual game character and the second virtual game character according to the target item transfer message within the area where the first virtual game character is located or within the area where the second virtual game character is located.
[0079] In this embodiment, it can be determined whether the first notification message was successfully received. If so, the target virtual item can be transferred between the first virtual game character and the second virtual game character in the area where the first virtual game character is located or in the area where the second virtual game character is located, according to the target item transfer message.
[0080] Optionally, when the second virtual game character needs to transfer a target virtual item with the first virtual game character, a first trigger operation to initiate the transfer can be executed on the target item transfer message. After the first trigger operation is successfully executed, a first notification message can be generated. That is, at this time, the transfer of the target virtual item between the first and second virtual game characters is allowed. At this time, it is possible to control the second virtual game character to meet with the first virtual game character or for one of them to move to the other's location to exchange items.
[0081] For example, after a bubble effect appears above the recipient's head, the recipient can click on the bubble effect and control the corresponding virtual game character to move to the sender's location to exchange items. Simultaneously, the item information system can provide guidance to the recipient, such as generating a fast-moving path to the sender on the minimap of the game scene. If the distance is far, directional guidance or a flashing dot can be provided to indicate the sender's location. It should be noted that the methods and forms of prompts and guidance provided during the recipient's movement to the sender are merely illustrative and are not intended to impose specific limitations.
[0082] As an optional embodiment, transferring a target virtual item between a first virtual game character and a second virtual game character according to a target item transfer message within the area where the first virtual game character is located includes: if the selected first item transfer message is determined to be a target item transfer message, controlling the target virtual item to be transferred from the first virtual game character to the second virtual game character within the area where the first virtual game character is located; and if the selected second item transfer message is determined to be a target item transfer message, controlling the target virtual item to be transferred from the second virtual game character to the first virtual game character within the area where the first virtual game character is located.
[0083] In this embodiment, when the selected first item transfer message is determined to be the target item transfer message, the target virtual item can be controlled to be transferred from the first virtual game character to the second virtual game character within the area where the first virtual game character is located. When the selected second item transfer message is determined to be the target item transfer message, the target virtual item can be controlled to be transferred from the second virtual game character to the first virtual game character within the area where the first virtual game character is located.
[0084] Optionally, when a player's request is "I have surplus items, do my teammates want them?", it can be determined whether the sender is within the receiver's line of sight. If so, bubbles will appear above both the sender's and receiver's heads. The receiver can click the bubble effect to travel to the sender's location, and upon arrival, the items will be transferred directly to the receiver's inventory. If the player does not need to transfer items, the bubble effect can be turned off.
[0085] Optionally, when a player's request is "I have surplus items, do my teammates want them?", and the sender is not within the recipient's line of sight, the recipient will see a target item transfer message displayed in the upper left corner of the second graphical user interface. This message can display basic information about the target virtual item, the quantity of the item, whether the item is needed, "pathfinding," and "no need." Players can click the "pathfinding" control to send the requested message in the chat channel and navigate to meet the sender for item exchange. In other words, the sender's surplus items can be transferred to the recipient and stored in their inventory. If the player does not need the item exchange, they can cancel the pop-up.
[0086] Because in related technologies, if item exchange is required, players need to find a suitable location to place the item and wait for teammates from the same game faction to pick it up, which differs significantly from real-world combat interactions and is therefore not realistic enough, the technical problem of low realism in item exchange within the game persists. However, in this embodiment, an automated item exchange mechanism can be introduced, enabling items to be automatically delivered to the player who needs them. Once a player confirms a request to provide or receive an item, the item information system can automatically transfer the item from the provider to the recipient, eliminating the need for manual placement and pickup. The recipient can also be referred to as the requester. Based on this method, the technical effect of improving the realism of item exchange in the game can be achieved.
[0087] As an optional embodiment, the method further includes: when the selected second item transfer message is determined to be a target item transfer message, sending a third notification message to a second terminal device, wherein the third notification message is used to request the second virtual game character to go to the area where the first virtual game character is located, so as to control the transfer of the target virtual item from the second virtual game character to the first virtual game character within the area where the first virtual game character is located.
[0088] In this embodiment, when the selected second item transfer message is determined to be the target item transfer message, a third notification message can be sent to the second terminal device. The third notification message can be used to request the second virtual game character to go to the area where the first virtual game character is located, so as to control the transfer of the target virtual item from the second virtual game character to the first virtual game character within the area where the first virtual game character is located. The third notification message can also be used to confirm whether the provider is willing to go to the location of the requester to transfer the target virtual item.
[0089] Optionally, when a player's request is "I need an item, ask my teammates if they have any," this player is the requester. A target item transfer message can be displayed in the upper left corner of the second graphical user interface. This message can show basic information about the target virtual item, its quantity, whether it's used, whether it's "unavailable," "needed, go there," or "needed, come here." Clicking the "needed, come here" control will prompt the recipient to go to the requester's location to exchange the item. If a player in the same game faction doesn't have the item, they can click the "unavailable" control to prompt the requester.
[0090] As an optional embodiment, controlling the transfer of target virtual items between the first virtual game character and the second virtual game character within the area where the second virtual game character is located includes: when the selected second item transfer message is determined to be a target item transfer message, controlling the first virtual game character to go to the area where the second virtual game character is located, so as to control the transfer of target virtual items from the second virtual game character to the first virtual game character within the area where the second virtual game character is located.
[0091] In this embodiment, when the selected second item transfer message is determined to be the target item transfer message, the first virtual game character can be controlled to go to the area where the second virtual game character is located, so that the target virtual item can be transferred from the second virtual game character to the first virtual game character within the area where the second virtual game character is located.
[0092] Optionally, when a player's request is "I need an item, ask my teammates if they have any," this player is the one requesting assistance. A target item transfer message can be displayed in the upper left corner of the second graphical user interface. This message can show basic information about the target virtual item, its quantity, whether it's used, whether it's "unavailable," "needed, go there," or "needed, come here." Players can click the "needed, go there" control to navigate to the recipient's location and complete the item transfer.
[0093] As an optional embodiment, the method further includes: when the selected second item transfer message is determined to be a target item transfer message, using a first notification message to trigger a first graphical user interface to display the attribute information of the target virtual item owned by the first virtual game character.
[0094] In this embodiment, when the selected second item transfer message is determined to be the target item transfer message, the first notification message can be used to trigger the first graphical user interface to display the attribute information of the target virtual item owned by the first virtual game character. The attribute information can be the quantity of the target virtual item owned by the recipient, or the firearms or other props used by the target virtual item.
[0095] Optionally, when a player's request is "I need an item, ask my teammates if they have any," after confirming the second item transfer message as the target item transfer message, the first notification message can be used to determine the quantity of the target virtual item currently used by the recipient, or the quantity of guns currently used by the recipient. For example, if the target virtual item is 7.62 bullets, the first graphical user interface can be triggered to display "My current quantity: × bullets" and "Applicable quantity: × guns".
[0096] It should be noted that the attribute information shown above and the text format for filling in the corresponding attribute information are only illustrative examples, and no specific restrictions are imposed here.
[0097] As an optional embodiment, the method further includes: when the selected first item transfer message is determined to be a target item transfer message, using the target item transfer message to trigger a second graphical user interface of the second terminal device to display the attribute information of the target virtual item owned by the second virtual game character.
[0098] In this embodiment, when the selected first item transfer message is determined to be the target item transfer message, the target item transfer message can be used to trigger the second graphical user interface of the second terminal device to display the attribute information of the target virtual item owned by the second virtual game character. The attribute information can be the quantity of the target virtual item owned by the character, or the firearms or other props used by the target virtual item.
[0099] Optionally, when a player's request is "I have surplus items, do my teammates want them?", after confirming the first item transfer message as the target item transfer message, the first notification message can be used to determine the quantity of the target virtual item currently used by the recipient, or the quantity of guns currently used by the recipient. For example, if the target virtual item is 7.62 bullets, the second graphical user interface can be triggered to display "My current quantity: × bullets" and "Applicable quantity: × guns".
[0100] It should be noted that the attribute information shown above and the text format for filling in the corresponding attribute information are only illustrative examples, and no specific restrictions are imposed here.
[0101] As an optional embodiment, the virtual backpack of the first virtual game character includes target virtual items, wherein step S202, in response to a selection operation for the target virtual item to be transferred in the game scene, displays a first item transfer message and a second item transfer message on the graphical user interface, including: in response to a selection operation for the target virtual item in the virtual backpack, displaying a first item transfer message and a second item transfer message on the graphical user interface.
[0102] In this embodiment, when a selection operation is performed on a target virtual item in the virtual backpack, a first item transfer message and a second item transfer message can be displayed on the graphical user interface. The virtual backpack of the first virtual game character can include the target virtual item. The virtual backpack can also be referred to as a backpack.
[0103] Optionally, when the virtual backpack of the first virtual game character contains the target virtual item that needs to be transferred, the first item transfer message and the second item transfer message can be displayed on the graphical user interface in response to the selection operation of the target virtual item in the virtual backpack.
[0104] Optionally, if there are corresponding items in the backpack that need to be exchanged, you can long press the item in the backpack and select the required quantity to generate the corresponding message publishing options, and display the first item transfer message and the second item transfer message in the message publishing options.
[0105] As an optional embodiment, the virtual backpack of the first virtual game character does not include the target virtual item. In step S202, responding to a selection operation for the target virtual item to be transferred in the game scene, displaying a first item transfer message and a second item transfer message on the graphical user interface includes one of the following: responding to a selection operation for a virtual item used by the first virtual game character, identifying an associated virtual item among the virtual items as the target virtual item, and displaying the first item transfer message and the second item transfer message on the graphical user interface; responding to a target function control of the first virtual game character, identifying the virtual item associated with the target function control as the target virtual item, and displaying the first item transfer message and the second item transfer message on the graphical user interface; responding to a selection operation for first display information of the target virtual item in the game scene, displaying the first item transfer message on the graphical user interface, wherein the first display information indicates that the first virtual game character owns the target virtual item; responding to a selection operation for second display information of the target virtual item in the game scene, displaying the second item transfer message on the graphical user interface, wherein the second display information indicates that the first virtual game character does not own the target virtual item.
[0106] In this embodiment, when the virtual backpack of the first virtual game character does not contain the target virtual item, the auxiliary virtual items among the virtual items can be identified as the target virtual item based on the selection operation of the virtual items used by the first virtual game character, and a first item transfer message and a second item transfer message can be displayed on the graphical user interface. Alternatively, the virtual items associated with the target function control of the first virtual game character can be identified as the target virtual item, and a first item transfer message and a second item transfer message can be displayed on the graphical user interface. Alternatively, a second item transfer message can be displayed on the graphical user interface based on the selection operation of the second display information of the target virtual item in the game scene, wherein the first display message can be used to indicate that the first virtual game character owns the target virtual item. The second display message can indicate that the first virtual game character does not own the target virtual item. The virtual item can be a firearm owned by the first virtual game character. The auxiliary virtual items can be items such as the stock, scope, and magazine included in the owned firearm. The target function control can be the health bar control of the first virtual game character. The virtual items associated with the target function control can be items related to health recovery, such as bandages, first aid kits, and medkits. It should be noted that the virtual items, associated virtual items, target functional controls, and virtual items associated with the target functional controls mentioned above are only examples and are not specifically limited here.
[0107] Optionally, if the first virtual game character does not have the target virtual item to be exchanged in its backpack, and if it is determined that the target virtual item is an accessory virtual item of the virtual item used by the first virtual game character, the user can long-press the empty slot of the virtual item or its accessory to bring up the demand for the corresponding target virtual item and bring up the message publishing option corresponding to the target virtual item, thereby displaying the first item transfer message and / or the second item transfer message.
[0108] Optionally, if the first virtual game character's inventory does not contain the target virtual item for which the item exchange is required, and if it is determined that the target virtual item is a virtual item associated with the target function control, then by clicking or long-pressing the target function control, i.e., the health bar control of the first virtual game, the demand for the corresponding target virtual item can be brought up, and the message publishing option corresponding to the target virtual item can be brought up, thereby displaying the first item transfer message and the second item transfer message.
[0109] The technical solutions of this disclosure will be further illustrated below with reference to preferred embodiments. Specifically, a cross-server solution in a game will be used for further explanation.
[0110] In current FPS games, there are several pain points when players exchange items. First, players need to confirm their needs through voice or text communication, which consumes extra time and effort. Second, finding a suitable location to place the item and waiting for teammates to pick it up also takes time, which is not realistic enough for real-world combat interactions. Furthermore, if a player needs a particular item, they still need to ask a teammate and manually exchange it, which also wastes time. In summary, the current item exchange process is inefficient and lacks realism. Therefore, the technical problem of low efficiency in handling virtual items in games persists.
[0111] To address the aforementioned issues, this disclosure proposes a communication method for exchanging items between FPS teammates. During gameplay, players can perform a selection operation on a target virtual item through a first graphical user interface (GUI), thereby displaying a first item transfer message and / or a second item transfer message on the GUI. A terminal device can detect in real-time whether the player interacts with the first or second item transfer message. If a player needs to transfer out of the target virtual item, they can perform a selection operation on the first item transfer message; if they need to transfer into the target virtual item, they can perform a selection operation on the second item transfer message. The first or second item transfer message containing the selection operation can be identified as the target item transfer message. This target item transfer message can then be forwarded to a second terminal device of another player in the same faction as the player who initiated the transfer. The player corresponding to the second terminal device can determine whether they need to transfer the target virtual item with the player who sent the message based on the received target item transfer message. If so, the player on the second terminal device can control a second virtual game character to transfer the target virtual item with the first virtual game character.
[0112] Because this embodiment introduces an automated virtual item exchange mechanism, players can easily select and send a second item transfer message for the desired virtual item or a first item transfer message for the virtual item they can provide to others to the terminal devices of other players in the same game faction. Players who receive the message only need to confirm to achieve the effect of exchanging virtual items with each other. This avoids the time and effort required for players to communicate through voice or text input, thereby improving the efficiency of communication and exchange of virtual items among players in the same game faction. This achieves the technical effect of improving the low processing efficiency of virtual items in the game and solves the technical problem of low processing efficiency of virtual items in the game.
[0113] In this embodiment, an automated item exchange mechanism, namely an item information system, can be pre-introduced. Through this mechanism, the operations performed by players on the graphical user interface of the terminal device during the game can be detected in real time. If it is detected that the player has a selection operation on the target virtual item to be exchanged, then a message publishing option including two item transfer messages can be displayed on the player's graphical user interface. Through the above two item transfer messages, it is determined whether the player needs to transfer out or into the target virtual item.
[0114] In this embodiment, a user-friendly interface or menu is designed, allowing players to easily select items to offer or request and send a request to the corresponding player. For example, players can select the corresponding item and choose the quantity to offer or request by clicking on a teammate's character avatar or using a shortcut key. An automated item exchange mechanism is introduced, enabling items to be automatically delivered to the corresponding player. Once a player confirms the request to offer or request an item, the system can automatically transfer the item from the offerer to the requester, without requiring manual placement and pickup.
[0115] Alternatively, the first scenario is "I have extra items and I'm asking my teammates if they want them." Figure 3 This is a schematic diagram illustrating the creation of a message with surplus items according to one embodiment of the present disclosure, such as... Figure 3 As shown, players can long-press on an item in their inventory with their right hand and slide to select the quantity. For example, selecting virtual item 4 as the target virtual item from a large selection of virtual items will trigger a corresponding message posting option on the left, which players can quickly select using the left and right swipes. Clicking on the message will send a message indicating a surplus of items. If a player performs a selection action on 7.62mm bullets in their inventory, such as long-pressing on 7.62mm bullets and sliding to select 30 rounds, a message posting option related to those bullets will pop up in another location on the graphical user interface. This message posting option can include a first item transfer message and a second item transfer message. The first item transfer message could be "I can give you 30 rounds of 7.62mm bullets, anyone want them?"; the second item transfer message could be "I need 30 rounds of 7.62mm bullets, anyone want some?". The player can choose between the first and second item transfer messages based on whether they need the bullets themselves or are asking other players in their team if they need them.
[0116] Optionally, Figure 4 This is a schematic diagram of a pop-up window containing message publishing options according to one embodiment of this disclosure, as shown below. Figure 4 As shown, this is a pop-up window generated when clicking the message "I can give you 30 rounds of 7.62 ammo, anyone want some?". This pop-up not only displays the message, but also shows an arrow in the player list indicating the player who sent the message as Player A, and displays the player's current quantity of the item ("I currently have: 0 rounds") and the player's current weapon ("Applicable: 1 weapon"). It also displays "Not needed" and "Needed, proceed" controls.
[0117] Optionally, Figure 5 This is a schematic diagram showing target item exchange information appearing above the head of a virtual game character according to one embodiment of this disclosure, such as... Figure 5As shown, when a sender has an item surplus and asks teammates if they want it, the system can check if the distance between the sender and receiver is less than or equal to a distance threshold. If so, it means the sender is within the receiver's line of sight. The sender's second target location, such as above their head, can then display a message indicating the transfer of the target item. Specifically, an arrow can be used to point to a message pop-up above the sender's head, displaying not only the message "30 rounds of 7.62 ammo available, anyone want it?", but also the player's current quantity of the item ("I currently have: 0 rounds") and the player's current weapon ("Applicable: 1 weapon"). It can also display controls for "Not needed" and "Needed, proceed".
[0118] Optionally, Figure 6 This is a schematic diagram of a bubble effect where a virtual game character's head pops up to exchange items, according to one embodiment of this disclosure. Figure 6 As shown, the receiving player can click the bubble effect to move to the sender's location to exchange the target virtual item; if no exchange is needed, the receiving player can simply click the "×" shaped control to turn off the bubble effect.
[0119] It should be noted that the above-described second target location and target item transfer message presentation are merely illustrative examples and are not intended to impose specific limitations. Any process or method that allows for item exchange through simple clicks on relevant information falls within the protection scope of this disclosure.
[0120] In this embodiment, there is another situation: "I need a prop, so I ask my teammates if they have any." Figure 7 This is a schematic diagram illustrating the creation of a message requiring items according to one embodiment of this disclosure, such as... Figure 7 As shown, if there is a corresponding item in the backpack, such as the target virtual item "7.62 bullets", you can also long press the item and then select the required quantity, such as 30 bullets, and select the second option among the two options that pop up on the left.
[0121] Optionally, Figure 8 This is a schematic diagram illustrating the operation of selecting a target virtual item when there is no corresponding item in the backpack according to one embodiment of this disclosure, such as... Figure 8 As shown, if there is no corresponding item in the backpack, and the item is an accessory to the virtual item of the virtual game character, the player can bring up the left-hand option of the corresponding item by long-pressing the corresponding gun or empty slot, such as the empty slots for scope, stock, grip, and magazine, so that the player can send a request to the teammate.
[0122] Optionally, if the first virtual game character's inventory does not contain the target virtual item for item exchange, and if the target virtual item is determined to be a virtual item associated with a target function control, then by clicking or long-pressing the target function control (i.e., the first virtual game's health bar control), the user can request the corresponding target virtual item and access the message posting options for that target virtual item, thereby displaying the first item transfer message and the second item transfer message.
[0123] Optionally, Figure 9 This is a schematic diagram of a pop-up window containing another message publishing option according to one embodiment of this disclosure, as shown below. Figure 9 As shown, the basic information of the target virtual item can be displayed on the left side of the graphical user interface. Arrows can be used to indicate the player who sent the message (Player A), the quantity of the item, whether the item is used, and whether it is "unavailable," "needed, go there," or "needed, come here." Players can click the "needed, go there" control to navigate to the recipient's location to exchange the item. Clicking the "needed, come here" control will prompt the recipient to go to the location of the person requesting help to exchange the item. If a player in the same game faction does not have the item, they can click the "unavailable" control to prompt the person requesting help.
[0124] In this embodiment, during gameplay, players can perform a selection operation on a target virtual item through a first graphical user interface (GUI), thereby displaying a first item transfer message and / or a second item transfer message on the GUI. The terminal device can detect in real-time whether the player interacts with the first or second item transfer message. If the player needs to transfer out of the target virtual item, they can perform a selection operation on the first item transfer message; if the player needs to transfer into the target virtual item, they can perform a selection operation on the second item transfer message. The first or second item transfer message containing the selection operation can be identified as the target item transfer message. This target item transfer message can then be transmitted to the second terminal devices of other players in the same faction as the player in question. The player corresponding to the second terminal device can determine whether they need to transfer the target virtual item with the player who sent the message based on the received target item transfer message. If so, the player on the second terminal can control a second virtual game character to transfer the target virtual item with the first virtual game character.
[0125] In this embodiment, an automated virtual item exchange mechanism can be introduced. Through a simple selection operation by the player, a second item transfer message for the desired virtual item or a first item transfer message for the virtual item that can be provided to others can be automatically sent to the terminal devices of other players in the same game faction. Players receiving the message only need a simple confirmation operation to achieve the effect of exchanging virtual items with each other. This avoids the time and effort consumed by players communicating through voice or text input, thereby improving the efficiency of communication and exchanging virtual items among players in the same game faction. This achieves the technical effect of improving the low processing efficiency of virtual items in the game, solving the technical problem of low processing efficiency of virtual items in the game.
[0126] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this disclosure.
[0127] This embodiment also provides a device for processing virtual items in a game. This device is used to implement the above embodiments and preferred embodiments, and will not be repeated for details already described. As used below, the term "unit" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0128] Figure 10 This is a structural block diagram of a virtual item processing device in a game according to an embodiment of the present disclosure, such as... Figure 10 As shown, the virtual item processing device 1000 in the game is characterized by providing a first graphical user interface through a first terminal device. The content displayed by the first graphical user interface includes at least a portion of the game scene. The game scene includes a first virtual game character and at least one second virtual game character. The second virtual game character belongs to the same game faction as the first virtual game character. The first virtual game character is controlled by the first terminal device, and the second virtual game character is controlled by the second terminal device. The device may include: a display unit 1002, a determination unit 1004, and a transfer unit 1006.
[0129] Display unit 1002 is used to display a first item transfer message and / or a second item transfer message on a graphical user interface in response to a selection operation for a target virtual item to be transferred in a game scene, wherein the first item transfer message is used to indicate that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message is used to indicate that the target virtual item is allowed to be transferred into the first virtual game character.
[0130] The determining unit 1004 is used to determine the selected first item transfer message or second item transfer message as the target item transfer message in response to a selection operation for the first item transfer message or the second item transfer message.
[0131] The transfer unit 1006 is used to send a target item transfer message to the second terminal device so that the second terminal device can determine whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
[0132] Optionally, the display unit 1002 may include: a first display module, configured to display multiple attribute information of the target virtual item on a graphical user interface in response to a selection operation for the target virtual item; a first determination module, configured to determine the selected at least one attribute information as the target attribute information in response to a selection operation for at least one of the multiple attribute information; and a first generation module, configured to generate a first item transfer message and a second item transfer message on a graphical user interface based on the target virtual item and the target attribute information.
[0133] Optionally, the first generation module may include: a first adding submodule, used to add the identification information and target attribute information of the target virtual item to a first information template in the graphical user interface to obtain a first item transfer message, wherein the first information template is used to describe allowing the item to be transferred from the sending object, and the sending object includes a first virtual game character; and a second adding submodule, used to add the identification information and target attribute information of the target virtual item to a second information template in the graphical user interface to obtain a second item transfer message, wherein the second information template is used to describe the item to be transferred to the receiving object, and the receiving object includes the first virtual game character.
[0134] Optionally, the determining unit 1004 may include: a first conversion module, configured to, in response to a selection operation for a first item transfer message or a second item transfer message, convert the selected first item transfer message or second item transfer message from an initial message type to a target message type; and a second determining module, configured to determine the first item transfer message of the target message type or the second item transfer message of the target message type as the target item transfer message.
[0135] Optionally, the transfer unit 1006 may include: a second display module, configured to display a target item transfer message on a first target location on a second graphical user interface of a second terminal device in response to a distance between the second virtual game character and the first virtual game character being greater than a distance threshold; and a third display module, configured to display a target item transfer message on a second target location in the game scene displayed on the second graphical user interface in response to a distance between the second virtual game character and the first virtual game character not being greater than a distance threshold, wherein the second target location is associated with the first virtual game character.
[0136] Optionally, the device may further include: a first acquisition unit, configured to acquire a first notification message generated by the second terminal device in response to a first trigger operation for a target item transfer message, wherein the first notification message indicates that the second terminal device allows the transfer of the target virtual item between the second virtual game character and the first virtual game character according to the target item transfer message; and a second acquisition unit, configured to acquire a second notification message generated by the second terminal device in response to a second trigger operation for a target item transfer message, wherein the second notification message indicates that the second terminal device prohibits the transfer of the target virtual item between the second virtual game character and the first virtual game character according to the target item transfer message.
[0137] Optionally, the device may further include: a first transfer unit, configured to, in response to successfully acquiring a first notification message, transfer a target virtual item between the first virtual game character and the second virtual game character according to a target item transfer message within the area where the first virtual game character is located or within the area where the second virtual game character is located.
[0138] Optionally, the first transfer unit may include: a third determining module, configured to, when the selected first item transfer message is determined to be a target item transfer message, control the target virtual item to be transferred from the first virtual game character to the second virtual game character within the area where the first virtual game character is located; and a fourth determining module, configured to, when the selected second item transfer message is determined to be a target item transfer message, control the target virtual item to be transferred from the second virtual game character to the first virtual game character within the area where the first virtual game character is located.
[0139] Optionally, the device may further include: a processing unit, configured to send a third notification message to a second terminal device when the selected second item transfer message is determined to be a target item transfer message, wherein the third notification message is used to request the second virtual game character to go to the area where the first virtual game character is located, so as to control the transfer of the target virtual item from the second virtual game character to the first virtual game character within the area where the first virtual game character is located.
[0140] Optionally, the first transfer unit may include: a control module, configured to control the first virtual game character to move to the area where the second virtual game character is located when the selected second item transfer message is determined to be the target item transfer message, so as to control the target virtual item to be transferred from the second virtual game character to the first virtual game character within the area where the second virtual game character is located.
[0141] Optionally, the device may further include: a first determining unit, configured to, upon determining that the selected second item transfer message is a target item transfer message, trigger a first graphical user interface to display attribute information of the target virtual item owned by the first virtual game character using a first notification message.
[0142] Optionally, the display unit 1002 may include: a fourth display module, used to display a first item transfer message and a second item transfer message on a graphical user interface in response to a selection operation for a target virtual item in the virtual backpack.
[0143] Optionally, the display unit 1002 may include: a fifth display module, configured to respond to a selection operation for a virtual item used by the first virtual game character, identify an accessory virtual item among the virtual items as the target virtual item, and display a first item transfer message and a second item transfer message on the graphical user interface; a sixth display module, configured to respond to a target function control for the first virtual game character, identify the virtual item associated with the target function control as the target virtual item, and display a first item transfer message and a second item transfer message on the graphical user interface; a seventh display module, configured to respond to a selection operation for first display information of the target virtual item in the game scene, and display a first item transfer message on the graphical user interface, wherein the first display information indicates that the first virtual game character possesses the target virtual item; and an eighth display module, configured to respond to a selection operation for second display information of the target virtual item in the game scene, and display a second item transfer message on the graphical user interface, wherein the second display information indicates that the first virtual game character does not possess the target virtual item.
[0144] In this embodiment, the display unit responds to a selection operation for a target virtual item to be transferred in the game scene, displaying a first item transfer message and / or a second item transfer message on the graphical user interface. The first item transfer message indicates that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message indicates that the target virtual item is allowed to be transferred into the first virtual game character. The determination unit responds to a selection operation for either the first or second item transfer message, determining the selected message as the target item transfer message. The transfer unit sends the target item transfer message to the second terminal device, enabling the second terminal device to determine whether to transfer the target virtual item between the second and first virtual game characters based on the target item transfer message. This achieves the technical effect of improving the processing efficiency of virtual items in the game, solving the technical problem of low processing efficiency of virtual items in the game.
[0145] It should be noted that the above-mentioned units can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above-mentioned units are located in the same processor; or, the above-mentioned units are located in different processors in any combination.
[0146] Embodiments of this disclosure also provide a computer-readable storage medium storing a computer program configured to perform the steps in any of the above method embodiments when executed.
[0147] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0148] S1, in response to the selection operation of the target virtual item to be transferred in the game scene, a first item transfer message and a second item transfer message are displayed on the graphical user interface, wherein the first item transfer message is used to indicate that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message is used to indicate that the target virtual item is allowed to be transferred into the first virtual game character;
[0149] S2, in response to the selection operation for the first item transfer message or the second item transfer message, the selected first item transfer message or the second item transfer message is determined as the target item transfer message;
[0150] S3, send a target item transfer message to the second terminal device so that the second terminal device can determine whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
[0151] Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0152] Embodiments of this disclosure also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0153] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0154] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0155] S1, in response to the selection operation of the target virtual item to be transferred in the game scene, a first item transfer message and a second item transfer message are displayed on the graphical user interface, wherein the first item transfer message is used to indicate that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message is used to indicate that the target virtual item is allowed to be transferred into the first virtual game character;
[0156] S2, in response to the selection operation for the first item transfer message or the second item transfer message, the selected first item transfer message or the second item transfer message is determined as the target item transfer message;
[0157] S3, send a target item transfer message to the second terminal device so that the second terminal device can determine whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
[0158] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0159] Figure 11 This is a schematic diagram of an electronic device according to an embodiment of the present disclosure. Figure 11 As shown, the electronic device 1100 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments disclosed herein.
[0160] like Figure 11As shown, the electronic device 1100 is presented in the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one processor 1110, at least one memory 1120, a bus 1130 connecting different system components (including memory 1120 and processor 1110), and a display 1140.
[0161] The memory 1120 stores program code that can be executed by the processor 1110, causing the processor 1110 to perform the steps described in the method section of the embodiments of this disclosure according to various exemplary implementations of this disclosure.
[0162] The memory 1120 may include a readable medium in the form of volatile memory cells, such as random access memory (RAM) 11201 and / or cache memory 11202, and may further include read-only memory (ROM) 11203, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0163] In some instances, memory 1120 may also include programs / utilities 11204 having a set (at least one) of program modules 11205, including but not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Memory 1120 may further include memory remotely located relative to processor 1110, which can be connected to electronic device 1100 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0164] Bus 1130 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, peripheral bus, graphics acceleration port, processor 1110, or a local bus using any of the various bus structures.
[0165] The display 1140 may be, for example, a touch screen liquid crystal display (LCD) that allows a user to interact with the user interface of the electronic device 1100.
[0166] Optionally, the electronic device 1100 can also communicate with one or more external devices 1400 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1100, and / or any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via the input / output (I / O) interface 1150. Furthermore, the electronic device 1100 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via the network adapter 1160. Figure 11 As shown, network adapter 1060 communicates with other modules of electronic device 1100 via bus 1130. It should be understood that, although... Figure 11 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Array of Independent Disks (RAID) systems, tape drives, and data backup storage systems.
[0167] The aforementioned electronic device 1100 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply, and / or a camera.
[0168] Those skilled in the art will understand that Figure 11 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, electronic device 1100 may also include components that are more... Figure 11 The more or fewer components shown, or having the same Figure 1 Different configurations are shown. The memory 1120 can be used to store computer programs and corresponding data, such as the computer program and corresponding data corresponding to the method for processing virtual items in a game in this embodiment of the present disclosure. The processor 1110 executes various functional applications and data processing by running the computer program stored in the memory 1120, thereby implementing the aforementioned method for processing virtual items in a game.
[0169] The sequence numbers of the embodiments disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0170] In the above embodiments of this disclosure, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0171] In the several embodiments provided in this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0172] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0173] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0174] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to related technologies, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0175] The above are merely preferred embodiments of this disclosure. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this disclosure, and these improvements and modifications should also be considered within the scope of protection of this disclosure.
Claims
1. A method for processing virtual items in a game, characterized in that, A first graphical user interface is provided through a first terminal device. The content displayed by the first graphical user interface includes at least a portion of the game scene. The game scene includes a first virtual game character and at least one second virtual game character. The second virtual game character belongs to the same game faction as the first virtual game character. The first virtual game character is controlled by the first terminal device, and the second virtual game character is controlled by the second terminal device. The method includes: In response to a selection operation for a target virtual item to be transferred in the game scene, a first item transfer message and / or a second item transfer message are displayed on the graphical user interface, wherein the first item transfer message indicates that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message indicates that the target virtual item is allowed to be transferred into the first virtual game character; In response to a selection operation for the first item transfer message or the second item transfer message, the selected first item transfer message or the second item transfer message is determined as the target item transfer message; The target item transfer message is sent to the second terminal device so that the second terminal device can determine whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
2. The method according to claim 1, characterized in that, In response to a selection operation for a target virtual item to be transferred in the game scene, displaying a first item transfer message and / or a second item transfer message on the graphical user interface includes: In response to a selection operation for the target virtual item, multiple attribute information of the target virtual item is displayed on the graphical user interface; In response to a selection operation on at least one of the plurality of attribute information, the selected at least one attribute information is determined as the target attribute information; Based on the target virtual item and the target attribute information, the first item transfer message and / or the second item transfer message are generated on the graphical user interface.
3. The method according to claim 2, characterized in that, Based on the target virtual item and the target attribute information, the first item transfer message and the second item transfer message are generated on the graphical user interface, including: The identification information and target attribute information of the target virtual item are added to the first information template of the graphical user interface to obtain the first item transfer message. The first information template is used to describe that the item to be transferred is allowed to be transferred from the sending object, and the sending object includes the first virtual game character. The identification information and target attribute information of the target virtual item are added to the second information template of the graphical user interface to obtain the second item transfer message. The second information template is used to describe the transfer of the item to the receiving object, and the receiving object includes the first virtual game character.
4. The method according to claim 1, characterized in that, In response to a selection operation for either the first item transfer message or the second item transfer message, the selected first item transfer message or the second item transfer message is determined as the target item transfer message, including: In response to a selection operation for the first item transfer message or the second item transfer message, the selected first item transfer message or the second item transfer message is converted from the initial message type to the target message type; The first item transfer message of the target message type, or the second item transfer message of the target message type, is identified as the target item transfer message.
5. The method according to claim 1, characterized in that, Sending the target item transfer message to the second terminal device includes: In response to the distance between the second virtual game character and the first virtual game character being greater than a distance threshold, the target item transfer message is displayed on the first target location on the second graphical user interface of the second terminal device; In response to the distance between the second virtual game character and the first virtual game character not being greater than the distance threshold, the target item transfer message is displayed at a second target location in the game scene displayed by the second graphical user interface, wherein the second target location is associated with the first virtual game character.
6. The method according to claim 5, characterized in that, The method further includes: A first notification message is generated by the second terminal device in response to a first trigger operation for the target item transfer message, wherein the first notification message is used to indicate that the second terminal device allows the transfer of the target virtual item between the second virtual game character and the first virtual game character in accordance with the target item transfer message; A second notification message is generated by the second terminal device in response to a second trigger operation for the target item transfer message, wherein the second notification message is used to indicate that the second terminal device prohibits the transfer of the target virtual item between the second virtual game character and the first virtual game character in accordance with the target item transfer message.
7. The method according to claim 6, characterized in that, The method further includes: In response to successfully receiving the first notification message, the target virtual item is transferred between the first virtual game character and the second virtual game character within the area where the first virtual game character is located or within the area where the second virtual game character is located, according to the target item transfer message.
8. The method according to claim 7, characterized in that, Within the area where the first virtual game character is located, the target virtual item is transferred between the first virtual game character and the second virtual game character according to the target item transfer message, including: If the selected first item transfer message is determined to be the target item transfer message, the target virtual item is transferred from the first virtual game character to the second virtual game character within the area where the first virtual game character is located. If the selected second item transfer message is determined to be the target item transfer message, the target virtual item is controlled to be transferred from the second virtual game character to the first virtual game character within the area where the first virtual game character is located.
9. The method according to claim 8, characterized in that, The method further includes: If the selected second item transfer message is determined to be the target item transfer message, a third notification message is sent to the second terminal device. The third notification message is used to request the second virtual game character to go to the area where the first virtual game character is located, so as to control the transfer of the target virtual item from the second virtual game character to the first virtual game character within the area where the first virtual game character is located.
10. The method according to claim 7, characterized in that, Within the area where the second virtual game character is located, controlling the first and second virtual game characters to transfer the target virtual item includes: If the selected second item transfer message is determined to be the target item transfer message, the first virtual game character is controlled to go to the area where the second virtual game character is located, so that the target virtual item is transferred from the second virtual game character to the first virtual game character within the area where the second virtual game character is located.
11. The method according to claim 6, characterized in that, The method further includes: If the selected second item transfer message is determined to be the target item transfer message, the first notification message is used to trigger the first graphical user interface to display the attribute information of the target virtual item owned by the first virtual game character.
12. The method according to claim 1, characterized in that, The method further includes: If the selected first item transfer message is determined to be the target item transfer message, the target item transfer message is used to trigger the second graphical user interface of the second terminal device to display the attribute information of the target virtual item owned by the second virtual game character.
13. The method according to claim 1, characterized in that, The virtual backpack of the first virtual game character includes the target virtual item, wherein, in response to a selection operation for the target virtual item to be transferred in the game scene, displaying a first item transfer message and / or a second item transfer message on the graphical user interface includes: In response to a selection operation for the target virtual item in the virtual backpack, the first item transfer message and / or the second item transfer message are displayed on the graphical user interface.
14. The method according to claim 1, characterized in that, The first virtual game character's virtual inventory does not include the target virtual item, wherein, in response to a selection operation for the target virtual item to be transferred in the game scene, a first item transfer message and / or a second item transfer message are displayed on the graphical user interface, including one of the following: In response to a selection operation of virtual items used by the first virtual game character, the associated virtual items among the virtual items are identified as the target virtual item, and the first item transfer message and / or the second item transfer message are displayed on the graphical user interface; In response to a target function control for the first virtual game character, the virtual item associated with the target function control is identified as the target virtual item, and the first item transfer message and / or the second item transfer message are displayed on the graphical user interface. In response to a selection operation for the first display information of the target virtual item in the game scene, the first item transfer message is displayed on the graphical user interface, wherein the first display information is used to indicate that the first virtual game character owns the target virtual item; In response to a selection operation for the second display information of the target virtual item in the game scene, the second item transfer message is displayed on the graphical user interface, wherein the second display information is used to indicate that the first virtual game character does not own the target virtual item.
15. A device for processing virtual items in a game, characterized in that, A first graphical user interface is provided through a first terminal device. The content displayed by the first graphical user interface includes at least a portion of the game scene. The game scene includes a first virtual game character and at least one second virtual game character. The second virtual game character belongs to the same game faction as the first virtual game character. The first virtual game character is controlled by the first terminal device, and the second virtual game character is controlled by the second terminal device. The device includes: The display unit is configured to respond to a selection operation for a target virtual item to be transferred in the game scene, and to display a first item transfer message and / or a second item transfer message on the graphical user interface, wherein the first item transfer message indicates that the target virtual item is allowed to be transferred out of the first virtual game character, and the second item transfer message indicates that the target virtual item is allowed to be transferred into the first virtual game character; The determining unit is configured to respond to a selection operation for the first item transfer message or the second item transfer message, and determine the selected first item transfer message or the second item transfer message as the target item transfer message; A transfer unit is configured to send the target item transfer message to the second terminal device, so that the second terminal device can determine whether to transfer the target virtual item between the second virtual game character and the first virtual game character based on the target item transfer message.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to perform the method described in any one of claims 1 to 14 when executed by a processor.
17. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method described in any one of claims 1 to 14.