CN110124313A - A kind of game transcript implementation method, device and server - Google Patents
A kind of game transcript implementation method, device and server Download PDFInfo
- Publication number
- CN110124313A CN110124313A CN201910376508.4A CN201910376508A CN110124313A CN 110124313 A CN110124313 A CN 110124313A CN 201910376508 A CN201910376508 A CN 201910376508A CN 110124313 A CN110124313 A CN 110124313A
- Authority
- CN
- China
- Prior art keywords
- copy
- action script
- event information
- event
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/35—Details of game servers
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/822—Strategy games; Role-playing games
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of game transcript implementation method, device and servers, and wherein game transcript implementation method includes: the event information for obtaining game transcript;Determine the corresponding object matching rule of the event information;According to the object matching rule, the target copy action script to match in default copy movement configuration file with the event information is determined;The target copy action script is run, to realize that copy corresponding to the target copy action script acts.The logical separation that the present invention is acted in game transcript realization based on event and copy, so that game transcript has good maintainable, scalability and configuration flexibility.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of game transcript implementation method, device and server.
Background technique
Game transcript is Massively Multiplayer Online Role Playing Games (full name in English: Massive Multiplayer
Online Role-PlayingGame, english abbreviation: MMORPG) a kind of important game mode, game transcript is empty in game
The a part in the quasi- world, is made of one group of independent map scene, and only player and the team formed with player can enter
The same copy, different players or team can't see each other, can not lean on each other for support.
In the related technology, the implementation method of game transcript is that all interrelated logics of game transcript are encoded to games
In realization, i.e., corresponding game transcript control is directly added in the game identification code flow points that game transcript concern event occurs and patrolled
Volume, this implementation causes the maintainability, scalability and the flexibility of configuration of game transcript to substantially reduce, and increases game
Development cost, and extend the development cycle.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of game transcript implementation method, device and
Server.The technical solution is as follows:
On the one hand, a kind of game transcript implementation method is provided, which comprises
Obtain the event information of game transcript;
Determine the corresponding object matching rule of the event information;
According to the object matching rule, match in determining default copy movement configuration file with the event information
Target copy action script;
The target copy action script is run, to realize that copy corresponding to the target copy action script acts.
On the other hand, a kind of game transcript realization device is provided, described device includes:
First obtains module, for obtaining the event information of game transcript;
First determining module, for determining the corresponding object matching rule of the event information;
Second determining module, for according to object matching rule, determine in default copy movement configuration file with institute
State the target copy action script that event information matches;
Module is run, for running the target copy action script, to realize that the target copy action script institute is right
The copy movement answered.
Further, second determining module includes:
Third determining module, for based on the determining event class with the event information of default copy movement configuration file
At least one corresponding candidate copy action script of type;
Module is chosen, for being selected from least one described candidate copy action script according to the object matching rule
Take the target copy action script to match with the event attribute in the event information.
Optionally, the selection module includes:
5th determining module, for determining that the candidate copy action script is corresponding based on default copy movement configuration file
Predeterminable event attribute;
First judgment module, for judging the event attribute in the event information whether in the predeterminable event attribute model
In enclosing;
6th determining module, for being the event attribute in the event information in the predeterminable event in the result judged
When in range of attributes, determine that candidate copy action script corresponding to the predeterminable event attribute is target copy action script.
Optionally, the selection module further include:
Second judgment module, for judge the event attribute in the event information whether with the predeterminable event attribute phase
Together;
7th determining module, the result judged as in the event information event attribute and the predeterminable event attribute
When identical, determine that candidate copy action script corresponding to the predeterminable event attribute is target copy action script.
Optionally, described device further include:
Second obtains module, for obtaining predeterminable event information and copy action script;
4th determining module, for determining that the mapping between the predeterminable event information and the copy action script is closed
System;
Creation module, for acting configuration file according to the mapping relations creation default copy.
Optionally, the operation module includes:
Third obtains module, for obtaining target copy action script pair described in the default copy movement configuration file
The copy type of action and action attributes answered;
Execution module, for executing the target copy action script according to the copy type of action and action attributes,
To realize that copy corresponding to the target copy action script acts.
On the other hand, a kind of game transcript server, including processor and memory are provided, is stored in the memory
Have at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu,
The code set or instruction set are loaded by the processor and are executed to realize above-mentioned game transcript implementation method.
On the other hand, a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is loaded by processor and is executed to realize such as above-mentioned game transcript implementation method.
Technical solution provided in an embodiment of the present invention has the benefit that
The embodiment of the present invention determines the corresponding object matching rule of the event information by the event information of acquisition game transcript
Then, determine that the target copy to match in default copy movement configuration file with event information acts according to the object matching rule
Script, and the target copy action script is run to realize corresponding copy movement, to be based on thing in game transcript realization
The logical separation of part and copy movement, so that game transcript has good maintainable, scalability and configuration flexibility.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of schematic diagram of application environment provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of game transcript implementation method provided in an embodiment of the present invention;
Fig. 3 be it is provided in an embodiment of the present invention according to object matching rule determine in default copy movement configuration file with thing
A kind of method flow schematic diagram for the target copy action script that part information matches;
Fig. 4 is a schematic diagram of interface display in new hand's guidance game transcript provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another game transcript implementation method provided in an embodiment of the present invention;
Fig. 6 is one kind of the mapping relations between predeterminable event information and copy action script provided in an embodiment of the present invention
Schematic diagram;
Fig. 7 is a kind of structural schematic diagram of game transcript realization device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another game transcript realization device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without making creative work it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, product or server need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
Referring to Fig. 1, its schematic diagram for showing a kind of application environment provided in an embodiment of the present invention, as shown in Figure 1, should
Application environment may include at least one client 01 and the game transcript server 02 that connect with the client 01.
Wherein, client 01 may include smart phone, desktop computer, tablet computer, laptop, digital assistants,
The entity device of the types such as intelligent wearable device also may include the software run in entity device, such as application program
Deng.The operating system run in client 01 in the embodiment of the present invention can include but is not limited to Android system, IOS system,
Linux, windows etc..
Game transcript server 02 and client 01 can be communicated to connect by wired or wireless foundation, the game transcript
Server 02 may include that an independently operated server perhaps distributed server or is made of multiple servers
Server cluster.
A kind of game transcript implementation method of the present invention introduced below, Fig. 2 are a kind of game pair provided in an embodiment of the present invention
The flow diagram of this implementation method, this method can be applied in the game transcript server 02 of application environment shown in Fig. 1.It needs
It is noted that present description provides the method operating procedures as described in embodiment or flow chart, but it is based on routine or nothing
Creative labor may include more or less operating procedure.The step of enumerating in embodiment sequence is only numerous steps
One of rapid execution sequence mode does not represent and unique executes sequence.When system or server product in practice executes,
Can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as parallel processor or multithreading
The environment of processing).It is specific as shown in Fig. 2, the method may include:
S201 obtains the event information of game transcript.
In this specification embodiment, event information in the available game transcript of game transcript server, game pair
It originally may include everyday tasks, plot copy, new hand's copy, battlefield playing method, playing method etc. of forming a team.
Specifically, game transcript server may include business unit and copy motor unit, wherein business unit is used for
The subject logic of running game copy, and be packaged the information that copy motor unit needs to form corresponding event information,
Then event information is sent by receiving interface, copy motor unit receives event information, and according to the event information
Realize corresponding copy movement, concrete implementation will be discussed in detail subsequent.
In this specification embodiment, event information may include event type and event attribute, and event type is game
The generation node of critical event in copy describes, and can be set according to the actual conditions of game transcript, such as may include
Copy creating, monster death, NPC (full name in English: Non Playable Character, Chinese name: non-player role/trip
Play designer creation game role) fall blood, NPC dialogue, player enter copy, technical ability release etc.;Event attribute is important
Be related to property parameters in event, can be set according to the actual conditions of game transcript, for example, may include monster mark,
Fall blood percentage, hit senilicide's mark etc..
It should be noted that event attribute is corresponding with event type, the corresponding event attribute of different event types can
With difference.For example, event type is that monster is dead, then corresponding event attribute may include The dead quantity, dead monster
Identify, kill the monster hit senilicide mark etc.;Event type is that player reaches designated place, then corresponding event attribute can
To include the current position coordinates etc. of player identification, player.
S203 determines the corresponding object matching rule of the event information.
In this specification embodiment, copy motor unit can determine the event according to the event type in event information
The rule of object matching corresponding to information.For example, event type is that player's arrival designated place can be with Corresponding matching rule A, thing
Part type falls blood for NPC can be with Corresponding matching rule B.
It should be noted that a matching rule can be corresponding with multiple event types in this specification embodiment, one
A event type can only correspond to a matching rule.In addition, in the embodiment of the present invention when matching rule is arranged, it can be not
Same matching rule is abstracted as the derived class of the same matcher class, and different specific matching rules is inherited from such, so as to
To realize concurrent development and the isolation of each matching class.
S205, according to object matching rule, determine in default copy movement configuration file with the event information phase
Matched target copy action script.
In this specification embodiment, presetting in copy movement configuration file includes event information and copy action script
Mapping relations are searched in default copy movement configuration file first by object matching rule and are matched with the event information
Object event information, then determine that the object event information is corresponding with the mapping relations of copy action script according to event information
Copy action script, to obtain the target copy action script to match with the event information.
Wherein, copy action script is to indicate the written order i.e. program of copy movement, and shell script is when being executed by being
One interpreter of system is executed by the machine recognizable instruction of translating into of the one rule, and by program sequence.Copy acts foot
It may include that monster refreshes, opens transmission, updates and navigate, triggering dialogue, start variable body, terminate pair that copy corresponding to this, which acts,
This etc..
In practical application, in order to enable the realization of game transcript is precisely controlled, it is described to be advised according to the object matching
Then, determine that the target copy action script to match in default copy movement configuration file with the event information can be using figure
Method shown in 3, this method may include:
S301, it is corresponding extremely with the event type in the event information based on the movement configuration file determination of default copy
A few candidate copy action script.
In this specification embodiment, an event type in default copy movement configuration file can include because of it
Multiple and different event attribute and correspond at least one copy action script.For example, event type is that NPC falls blood, correspond to
Event attribute include falling blood 30%, falling blood 50%, wherein fall the corresponding copy action script A of blood 30%, it is corresponding secondary to fall blood 50%
Copy action script A and copy action script B can then be determined as with event type being that fall blood opposite by NPC by this action script B
The candidate copy action script of two answered.
S303, according to object matching rule, chosen from least one described candidate copy action script with it is described
The target copy action script that event attribute in event information matches.
In practical application, matching rule may include commensurate in scope and exact matching, separately below with both matching rule
Then the step 303 is illustrated.
When object matching rule is commensurate in scope, configuration file can be acted based on default copy and determines the candidate pair
The corresponding predeterminable event attribute of this action script;Judge the event attribute in the event information whether in the predeterminable event category
Within the scope of property;When the result judged is is, determine that candidate copy action script corresponding to the predeterminable event attribute is mesh
Mark copy action script.
For example, event type is that player reaches designated place, presets the event type in copy movement configuration file
Including predeterminable event attribute include predeterminable event attribute P1 (specified point coordinate x1, zone radius r1), predeterminable event attribute P2
(specified point coordinate x2, zone radius r2), and predeterminable event attribute P1 corresponds to copy action script A1, P2 pairs of predeterminable event attribute
Answer copy action script A2.Wherein, the corresponding predeterminable event range of attributes C1 of P1 is the region half using specified point coordinate x1 as the center of circle
Diameter r1 is the circle of radius;The corresponding predeterminable event range of attributes C2 of P2 is using specified point coordinate x2 as the center of circle, and zone radius r2 is
The circle of radius.Event attribute in the event information is the current coordinate x0 of player, if the current coordinate x0 of player fall in it is pre-
If in event attribute range C1, then copy action script A1 can be determined as to target copy action script;If player is current
Coordinate x0 is fallen in predeterminable event range of attributes C2, then copy action script A2 can be determined as to target copy action script.
When object matching rule is exact matching, configuration file can be acted based on default copy and determines the candidate pair
The corresponding predeterminable event attribute of this action script;Judge event attribute in the event information whether with the predeterminable event category
Property is identical;When the result judged is is, determine that candidate copy action script corresponding to the predeterminable event attribute is target
Copy action script.
For example, event type is that NPC falls blood, and what the event type included in default copy movement configuration file presets
Event attribute includes falling blood 30%, falling blood 50%, and falling the corresponding copy action script B1 of blood 30%, and it is dynamic to fall the corresponding copy of blood 50%
Make script B2.If the event attribute in the event information is to fall blood 30%, copy action script B1 can be determined as mesh
Mark copy action script;It, can be true by copy action script B2 if the event attribute in the event information is to fall blood 50%
It is set to target copy action script.
It is to be understood that above-mentioned two specific examples that only target copy action script determines, are not constituted the present invention
Limitation.
S207 runs the target copy action script, to realize copy corresponding to the target copy action script
Movement.
In this specification embodiment, copy motor unit is by operational objective copy action script, so as to realize
The movement of copy corresponding to target copy action script, such as refresh monster, open transmission etc..Game transcript server passes through
It is synchronized with the client of the game transcript, thus by the game transcript interface display after movement to user.
A schematic diagram of interface display being illustrated in figure 4 in new hand's guidance game transcript provided in an embodiment of the present invention,
Wherein, when navigation information 401 is that player p reaches designated place, game transcript server run corresponding navigation switching with more
After new step program, it is synchronized to the information of the display interface of client.
In some embodiments, the target copy action script is being run, to realize the target copy action script
When corresponding copy acts, target copy action script described in the available default copy movement configuration file is corresponding
Copy type of action and action attributes;The target copy, which is executed, according to the copy type of action and action attributes acts foot
This, to realize that copy corresponding to the target copy action script acts.Wherein, copy type of action is for showing that copy is dynamic
What work is, action attributes are used to show the action parameter of corresponding copy movement.For example, copy type of action can be triggering
Dialogue, then corresponding action attributes can be the ID of triggering dialogue;Copy type of action can also be refreshing, then accordingly
Action attributes can be number of refreshing etc..
By the above-mentioned technical proposal of the embodiment of the present invention as it can be seen that the embodiment of the present invention is based on event in game transcript realization
The logical separation acted with copy, so as to the trip that in the development process of game transcript, will be completed by application developer
The subject logic (i.e. the logic of the business unit operation of game transcript server) of play copy, and by project staff according to game
The default copy movement configuration file that event information involved in copy is completed is independent, between program code and planning configuration
It can not interfere with each other, so that game transcript has good maintainable, scalability and configuration flexibility, be conducive to drop
Low development of games cost simultaneously shortens the development cycle, is highly suitable for the MMORPG system for needing complicated game transcript to support.
Referring to Fig. 5, its process signal for showing another game transcript implementation method provided in an embodiment of the present invention
Figure, as shown in figure 5, this method may include:
S501 obtains predeterminable event information and copy action script.
In this specification embodiment, predeterminable event information can be obtained according to target game copy and copy acts foot
This.Wherein, predeterminable event information may include event type and predeterminable event attribute.Event type is important thing in game transcript
The generation node of part describes, and can be set according to the actual conditions of game transcript, such as may include copy creating, monster
Dead, NPC (full name in English: Non Playable Character, Chinese name: non-player role/game designer's creation
Game role) fall blood, NPC dialogue, player enter copy, technical ability release, monster directly patrol disappearance, reach locality etc.;In advance
If event attribute is to be related to property parameters in critical event, can be set according to the actual conditions of game transcript, such as
It may include monster mark, fall blood percentage, hit senilicide's mark, monster The dead quantity etc..
It should be noted that predeterminable event attribute is corresponding with event type, the corresponding default thing of different event types
Part attribute can be different.
Specifically, the acquisition modes of predeterminable event information and copy action script include at least two kinds, one is acquisitions to work as
The predeterminable event information of preceding input and corresponding copy action script;One is act respectively from predeterminable event information bank and copy
It is obtained in script bank, wherein a large amount of general purpose event information is stored in predeterminable event information bank, copy action script is deposited in library
Contain a large amount of general copy action script.
S503 determines the mapping relations between the predeterminable event information and the copy action script.
In this specification embodiment, predeterminable event information and copy can be configured according to the actual demand of game transcript
Mapping relations between action script.For example, predeterminable event information is n, copy action script is m, then available
Mapping relations number of combinations is n*m, can choose from this n*m mapping relations combination and be suitable for reflecting for target game copy
Penetrate relationship.The mapping relations being illustrated in figure 6 between predeterminable event information and copy action script provided in an embodiment of the present invention
A kind of schematic diagram.
S505 creates default copy according to the mapping relations and acts configuration file.
In this specification embodiment, the default copy movement configuration file created is a kind of script that height formats
File presets the form that copy movement configuration file can be excel table to simplify the configuration operation to this document,
In include event type, the predeterminable event attribute corresponding to event type, and the copy corresponding to each predeterminable event attribute
Action script, it is subsequent when program executes, it can first parse the default copy movement configuration file.
In order to enable it is controllable with a line length that the default copy that excel form embodies acts in configuration file, it can
Copy action script to be presented as to the shell script including copy type of action and action attributes, wherein copy type of action
For showing that copy movement is, action attributes are used to show the action parameter of corresponding copy movement.For example, copy acts
Type can be triggering dialogue, then corresponding action attributes can be the ID of triggering dialogue;Copy type of action can also be
Refresh, then corresponding action attributes can be number of refreshing etc..
By the creation process of the above-mentioned default copy movement configuration file of the embodiment of the present invention as it can be seen that the embodiment of the present invention will
The subject logic development process of game transcript and copy movement configuration process it is independent so that the two in forming process mutually not
Interference, the scalability with height simplify the operation for generating game transcript, accelerate the development rate of game transcript.
S507 obtains the event information of target game copy.
S509 determines the corresponding object matching rule of the event information.
S511 is determined and is believed in the default copy movement configuration file with the event according to the object matching rule
The matched target copy action script of manner of breathing.
S513 runs the target copy action script, to realize copy corresponding to the target copy action script
Movement.
Wherein, step S507 is referred in the corresponding steps in embodiment of the method shown in earlier figures 2 to step S513
Content, details are not described herein.
By the above-mentioned technical proposal of the embodiment of the present invention as it can be seen that the embodiment of the present invention is based on event in game transcript realization
The logical separation acted with copy, so as to the trip that in the development process of game transcript, will be completed by application developer
The subject logic (i.e. the logic of the business unit operation of game transcript server) of play copy, and by project staff according to game
The default copy movement configuration file that event information involved in copy is completed is independent, between program code and planning configuration
It can not interfere with each other, so that game transcript has good maintainable, scalability and configuration flexibility, be conducive to drop
Low development of games cost simultaneously shortens the development cycle, is highly suitable for the MMORPG system for needing complicated game transcript to support.
Corresponding with the game transcript implementation method that above-mentioned several embodiments provide, the embodiment of the present invention also provides a kind of trip
Play copy realization device, due to the trip of game transcript realization device provided in an embodiment of the present invention and above-mentioned several embodiments offers
Play copy implementation method it is corresponding, therefore the embodiment of aforementioned game copy implementation method be also applied for it is provided in this embodiment
Game transcript realization device, is not described in detail in the present embodiment.
Referring to Fig. 7, its structural schematic diagram for showing a kind of game transcript realization device provided in an embodiment of the present invention,
As shown in fig. 7, the apparatus may include: first obtains module 710, the first determining module 720, the second determining module 730 and fortune
Row module 740, wherein
First obtains module 710, for obtaining the event information of game transcript;
First determining module 720, for determining the corresponding object matching rule of the event information;
Second determining module 730, for according to object matching rule, determine in default copy movement configuration file with
The target copy action script that the event information matches;
Module 740 is run, for running the target copy action script, to realize target copy action script institute
Corresponding copy movement.
Optionally, second determining module 730 may include:
Third determining module, for based on the determining event class with the event information of default copy movement configuration file
At least one corresponding candidate copy action script of type;
Module is chosen, for being selected from least one described candidate copy action script according to the object matching rule
Take the target copy action script to match with the event attribute in the event information.
In some embodiments, the selection module may include:
5th determining module, for determining that the candidate copy action script is corresponding based on default copy movement configuration file
Predeterminable event attribute;
First judgment module, for judging the event attribute in the event information whether in the predeterminable event attribute model
In enclosing;
6th determining module, for being the event attribute in the event information in the predeterminable event in the result judged
When in range of attributes, determine that candidate copy action script corresponding to the predeterminable event attribute is target copy action script.
In further embodiments, the selection module can also include:
Second judgment module, for judge the event attribute in the event information whether with the predeterminable event attribute phase
Together;
7th determining module, the result judged as in the event information event attribute and the predeterminable event attribute
When identical, determine that candidate copy action script corresponding to the predeterminable event attribute is target copy action script.
Optionally, such as the structural schematic diagram of Fig. 8 another game transcript realization device provided, which can also be wrapped
It includes:
Second obtains module 750, for obtaining predeterminable event information and copy action script;
4th determining module 760, for determining the mapping between the predeterminable event information and the copy action script
Relationship;
Creation module 770, for acting configuration file according to the mapping relations creation default copy.
In some embodiments, the operation module may include:
Third obtains module, for obtaining target copy action script pair described in the default copy movement configuration file
The copy type of action and action attributes answered;
Execution module, for executing the target copy action script according to the copy type of action and action attributes,
To realize that copy corresponding to the target copy action script acts.
The game transcript realization device of the embodiment of the present invention is patrolled in game transcript realization based on what event and copy acted
Separation is collected, so as to which in the development process of game transcript, the main body for the game transcript completed by application developer is patrolled
(i.e. the logic of the business unit operation of game transcript server) is collected, and as project staff's thing according to involved in game transcript
The default copy movement configuration file that part information is completed is independent, can not interfere with each other between program code and planning configuration,
So that game transcript has good maintainable, scalability and configuration flexibility, advantageously reduce development of games at
This simultaneously shortens the development cycle, is highly suitable for the MMORPG system for needing complicated game transcript to support.
The embodiment of the invention provides a kind of game transcript servers, which includes processor and storage
Device is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory, at least one instruction, should
An at least Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as above method embodiment is provided
Game transcript implementation method.
Memory can be used for storing software program and module, and processor is stored in the software program of memory by operation
And module, it is realized thereby executing various function application and game transcript.Memory can mainly include storing program area and deposit
Store up data field, wherein storing program area can application program needed for storage program area, function etc.;Storage data area can store
Created data etc. are used according to the equipment.It, can be in addition, memory may include high-speed random access memory
Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states
Part.Correspondingly, memory can also include Memory Controller, to provide access of the processor to memory.
Embodiment of the method provided by the embodiment of the present invention can be in mobile terminal, terminal, server or class
As execute in arithmetic unit.For running on the server, Fig. 9 is that a kind of game transcript provided in an embodiment of the present invention is real
The hardware block diagram of the server of existing method.As shown in figure 9, the server 900 can generate ratio because configuration or performance are different
Biggish difference may include one or more central processing units (Central Processing Units, CPU) 910
(processing unit that processor 910 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.), for depositing
The memory 830 of data is stored up, the storage medium 920 (such as one of one or more storage application programs 923 or data 922
A or more than one mass memory unit).Wherein, memory 930 and storage medium 920 can be of short duration storage or persistently deposit
Storage.The program for being stored in storage medium 920 may include one or more modules, and each module may include to server
In series of instructions operation.Further, central processing unit 910 can be set to communicate with storage medium 920, service
The series of instructions operation in storage medium 920 is executed on device 900.Server 900 can also include one or more electricity
Source 960, one or more wired or wireless network interfaces 950, one or more input/output interfaces 940, and/
Or, one or more operating systems 921, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM,
FreeBSDTM etc..
Input/output interface 940 can be used for that data are received or sent via a network.Above-mentioned network is specifically real
Example may include the wireless network that the communication providers of server 900 provide.In an example, input/output interface 940 includes
One network adapter (Network Interface Controller, NIC), can pass through base station and other network equipment phases
Even so as to be communicated with internet.In an example, input/output interface 940 can be radio frequency (Radio
Frequency, RF) module, it is used to wirelessly be communicated with internet.
It will appreciated by the skilled person that structure shown in Fig. 9 is only to illustrate, not to above-mentioned electronic device
Structure cause to limit.For example, server 900 may also include than shown in Fig. 9 more perhaps less component or have with
Different configuration shown in Fig. 9.
The embodiments of the present invention also provide a kind of computer readable storage medium, the storage medium may be disposed at service
To save for realizing relevant at least one instruction of game transcript implementation method a kind of in embodiment of the method, at least one among device
Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or the instruction set are by the processing
Device loads and executes the game transcript implementation method to realize above method embodiment offer.
Optionally, in the present embodiment, above-mentioned storage medium can be located in multiple network servers of computer network
At least one network server.Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, only
Read memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), movement
The various media that can store program code such as hard disk, magnetic or disk.
The game transcript implementation method that is there is provided by aforementioned present invention, device, server or storage medium embodiment as it can be seen that
The logical separation that the present invention is acted in game transcript realization based on event and copy, so as in the exploitation of game transcript
Cheng Zhong, by the subject logic for the game transcript completed by application developer, (i.e. the business unit of game transcript server is run
Logic), and as project staff's event information according to involved in game transcript complete default copy act configuration file
It is independent, it can not interfere with each other between program code and planning configuration, so that game transcript has good safeguard
Property, scalability and configuration flexibility, advantageously reduce development of games cost and shorten the development cycle, be highly suitable for needing multiple
The MMORPG system that miscellaneous game transcript is supported.
It should be understood that embodiments of the present invention sequencing is for illustration only, do not represent the advantages or disadvantages of the embodiments.
And above-mentioned this specification specific embodiment is described.Other embodiments are within the scope of the appended claims.One
In a little situations, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment and
Still desired result may be implemented.In addition, process depicted in the drawing not necessarily requires the particular order shown or company
Continuous sequence is just able to achieve desired result.In some embodiments, multitasking and parallel processing it is also possible or
It may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of game transcript implementation method, which is characterized in that the described method includes:
Obtain the event information of game transcript;
Determine the corresponding object matching rule of the event information;
According to the object matching rule, the target to match in default copy movement configuration file with the event information is determined
Copy action script;
The target copy action script is run, to realize that copy corresponding to the target copy action script acts.
2. game transcript implementation method according to claim 1, which is characterized in that described to be advised according to the object matching
Then, determine that the target copy action script to match in default copy movement configuration file with the event information includes:
At least one time corresponding with the event type in the event information is determined based on default copy movement configuration file
Select copy action script;
According to object matching rule, chosen from least one described candidate copy action script in the event information
The target copy action script that matches of event attribute.
3. game transcript implementation method according to claim 2, which is characterized in that described to be advised according to the object matching
Then, the target to match with the event attribute in the event information is chosen from least one described candidate copy action script
Copy action script includes:
The corresponding predeterminable event attribute of the candidate copy action script is determined based on default copy movement configuration file;
Judge the event attribute in the event information whether in the predeterminable event range of attributes;
When the result judged is is, determine that candidate copy action script corresponding to the predeterminable event attribute is target copy
Action script.
4. game transcript implementation method according to claim 2, which is characterized in that described to be advised according to the object matching
Then, the target to match with the event attribute in the event information is chosen from least one described candidate copy action script
Copy action script includes:
The corresponding predeterminable event attribute of the candidate copy action script is determined based on default copy movement configuration file;
Judge whether the event attribute in the event information is identical as the predeterminable event attribute;
When the result judged is is, determine that candidate copy action script corresponding to the predeterminable event attribute is target copy
Action script.
5. game transcript implementation method according to claim 1, which is characterized in that in the event for obtaining game transcript
Before information, the method also includes:
Obtain predeterminable event information and copy action script;
Determine the mapping relations between the predeterminable event information and the copy action script;
Configuration file is acted according to the mapping relations creation default copy.
6. game transcript implementation method according to claim 1, which is characterized in that the operation target copy movement
Script, with realize copy corresponding to the target copy action script movement include:
It obtains the corresponding copy type of action of target copy action script described in the default copy movement configuration file and moves
Make attribute;
The target copy action script is executed according to the copy type of action and action attributes, to realize the target copy
The movement of copy corresponding to action script.
7. a kind of game transcript realization device, which is characterized in that described device includes:
First obtains module, for obtaining the event information of game transcript;
First determining module, for determining the corresponding object matching rule of the event information;
Second determining module, for according to object matching rule, determine in default copy movement configuration file with the thing
The target copy action script that part information matches;
Module is run, for running the target copy action script, to realize corresponding to the target copy action script
Copy movement.
8. game transcript realization device according to claim 7, which is characterized in that second determining module includes:
Third determining module, for based on the movement configuration file determination of default copy and the event type phase in the event information
At least one corresponding candidate copy action script;
Choose module, for according to object matching rule, chosen from least one described candidate copy action script with
The target copy action script that event attribute in the event information matches.
9. game transcript realization device according to claim 7, which is characterized in that described device further include:
Second obtains module, for obtaining predeterminable event information and copy action script;
4th determining module, for determining the mapping relations between the predeterminable event information and the copy action script;
Creation module, for acting configuration file according to the mapping relations creation default copy.
10. a kind of game transcript server, including processor and memory, be stored in the memory at least one instruction,
At least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or refer to
Collection is enabled to be loaded by the processor and executed to realize the game transcript implementation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376508.4A CN110124313A (en) | 2019-05-07 | 2019-05-07 | A kind of game transcript implementation method, device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910376508.4A CN110124313A (en) | 2019-05-07 | 2019-05-07 | A kind of game transcript implementation method, device and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110124313A true CN110124313A (en) | 2019-08-16 |
Family
ID=67576587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910376508.4A Pending CN110124313A (en) | 2019-05-07 | 2019-05-07 | A kind of game transcript implementation method, device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110124313A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112619153A (en) * | 2020-12-25 | 2021-04-09 | 北京冰封互娱科技有限公司 | Game copy creating method and device, storage medium and computing equipment |
WO2022062147A1 (en) * | 2020-09-23 | 2022-03-31 | 完美世界(北京)软件科技发展有限公司 | Game copy display method and device, computer program and medium |
WO2022062146A1 (en) * | 2020-09-23 | 2022-03-31 | 完美世界(北京)软件科技发展有限公司 | Game instance display method and apparatus, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101122867A (en) * | 2007-09-20 | 2008-02-13 | 成都金山互动娱乐科技有限公司 | Implement method for event driving network game server |
CN101795738A (en) * | 2007-09-07 | 2010-08-04 | 安布克斯英国有限公司 | Be used to generate method corresponding to the effect script of game play event |
US20130226926A1 (en) * | 2012-02-29 | 2013-08-29 | Nokia Corporation | Method and apparatus for acquiring event information on demand |
CN104573334A (en) * | 2014-12-24 | 2015-04-29 | 珠海金山网络游戏科技有限公司 | Playing system and method for triggering special effects and sound effects by using tag events |
CN104618347A (en) * | 2015-01-08 | 2015-05-13 | 盟游(北京)科技有限公司 | Device and method for handling game event and network platform |
-
2019
- 2019-05-07 CN CN201910376508.4A patent/CN110124313A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101795738A (en) * | 2007-09-07 | 2010-08-04 | 安布克斯英国有限公司 | Be used to generate method corresponding to the effect script of game play event |
CN101122867A (en) * | 2007-09-20 | 2008-02-13 | 成都金山互动娱乐科技有限公司 | Implement method for event driving network game server |
US20130226926A1 (en) * | 2012-02-29 | 2013-08-29 | Nokia Corporation | Method and apparatus for acquiring event information on demand |
CN104573334A (en) * | 2014-12-24 | 2015-04-29 | 珠海金山网络游戏科技有限公司 | Playing system and method for triggering special effects and sound effects by using tag events |
CN104618347A (en) * | 2015-01-08 | 2015-05-13 | 盟游(北京)科技有限公司 | Device and method for handling game event and network platform |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022062147A1 (en) * | 2020-09-23 | 2022-03-31 | 完美世界(北京)软件科技发展有限公司 | Game copy display method and device, computer program and medium |
WO2022062146A1 (en) * | 2020-09-23 | 2022-03-31 | 完美世界(北京)软件科技发展有限公司 | Game instance display method and apparatus, and storage medium |
CN112619153A (en) * | 2020-12-25 | 2021-04-09 | 北京冰封互娱科技有限公司 | Game copy creating method and device, storage medium and computing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3950079A1 (en) | Method and apparatus for aiming at virtual object, device, and storage medium | |
JP7043567B2 (en) | Input interface system and location game system | |
JP5887458B1 (en) | A game system for searching for a route of a non-player character based on a player's movement history | |
US11724191B2 (en) | Network-based video game editing and modification distribution system | |
US10835824B2 (en) | Seasonal reward distribution system | |
US9898700B2 (en) | Method, apparatus, and artificial intelligence server for determining artificial intelligence behavior | |
US11335058B2 (en) | Spatial partitioning for graphics rendering | |
CN110457200B (en) | Test case generation method and equipment, storage medium and electronic equipment thereof | |
CN110124313A (en) | A kind of game transcript implementation method, device and server | |
CN112755534B (en) | Data processing method, device and storage medium | |
CN107115673A (en) | A kind of behavior of Behavior-based control tree performs method and apparatus | |
CN111701246A (en) | Game AI decision configuration method and device | |
Johnson-Bey et al. | Neighborly: A sandbox for simulation-based emergent narrative | |
CN113230650A (en) | Data processing method and device and computer readable storage medium | |
JP7525988B2 (en) | Video game processing program and video game processing system | |
CN116966573A (en) | Interaction model processing method, device, computer equipment and storage medium | |
CN111388995B (en) | Game artificial intelligence information processing method, system, device and storage medium | |
CN111939565A (en) | Virtual scene display method, system, device, equipment and storage medium | |
Thawonmas et al. | Cellular automata and Hilditch thinning for extraction of user paths in online games | |
Smith | Answer set programming in Proofdoku | |
CN117899487B (en) | Data processing method, device, equipment, storage medium and program product | |
WO2024148924A1 (en) | Method and apparatus for controlling ai virtual object, device, medium, and program product | |
JP5789858B1 (en) | Game server, game control method, game program, game program recording medium, and terminal device | |
Morais et al. | CST-Godot: Bridging the Gap Between Game Engines and Cognitive Agents | |
WO2024199200A1 (en) | Method and apparatus for determining collision event, and storage medium, electronic device and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |