CN103475659A - Fighting method and system based on real-time strategy game - Google Patents

Fighting method and system based on real-time strategy game Download PDF

Info

Publication number
CN103475659A
CN103475659A CN2013104141396A CN201310414139A CN103475659A CN 103475659 A CN103475659 A CN 103475659A CN 2013104141396 A CN2013104141396 A CN 2013104141396A CN 201310414139 A CN201310414139 A CN 201310414139A CN 103475659 A CN103475659 A CN 103475659A
Authority
CN
China
Prior art keywords
module
client
database
technical ability
data
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
Application number
CN2013104141396A
Other languages
Chinese (zh)
Inventor
魏宏家
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU JIYAO NETWORK TECHNOLOGY Co Ltd
Original Assignee
SUZHOU JIYAO NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SUZHOU JIYAO NETWORK TECHNOLOGY Co Ltd filed Critical SUZHOU JIYAO NETWORK TECHNOLOGY Co Ltd
Priority to CN2013104141396A priority Critical patent/CN103475659A/en
Publication of CN103475659A publication Critical patent/CN103475659A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a fighting method and system based on a real-time strategy game. In the operation process of the method, a client-side sends an access request to a database, the database judges the request sent by the client-side through an attribute server, the game enters a fighting state, attribute selection, targets or skills, is carried out again through the attribute server after the game enters the fighting state, then attack is carried out, and whether attack is carried out with skills to continue the game or end the game is judged again after attack is completed. In the implementation process, the system is provided with the client-side, a server-side and the database. The client-side, the server-side and the database are in internet connection with one another, and data exchange among the client-side, the server and the database is carried out through data streams. According to the fighting method based on the real-time strategy game and the game operation system, game developers can have broader prospects, user operation can be further improved, and webgame development needs can be met better.

Description

A kind of method of combat and system based on real time strategy
Technical field
The present invention relates to a kind of method of combat and operating system of game, particularly relate to a kind of method of combat and system based on real time strategy.
Background technology
At present, single-play game and web game occupy critical positions in the game development of China.For web game, attractive spot is interactivity and collaborative, and vision and auditory effect have also occupied the effect of very large composition in game.The player is desirable is to make a call to a close-fitting game of player the other side that defeats with success on game operation, makes the body and mind of oneself obtain joyful.
Therefore, in order to use users' needs, many renewals and development have been carried out between database, communication and server in the design of real time strategy; Also done necessary renewal its fight in service, a kind of new method of operation is provided.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of method of combat and system based on real time strategy, a kind of method of combat based on real time strategy and the operating system of game can be provided, make developer and user's operation of game that further raising be arranged, better adapt to the development need of web game.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of method of combat based on real time strategy is provided, comprises following operating procedure:
(1) send access request by on-line transaction to database by client, the request that database sends client by the attribute service device is judged, preserves judged result data, the state that comes into action of playing in buffer memory simultaneously;
(2) described service end comes into action after state and again by the attribute service device, carries out the attribute selection: target or technical ability;
(3) if the target of being chosen as is carried out technical ability or stage property and selected to be attacked, after completing, attack again judge whether to use technical ability to attack;
(4) if the technical ability of being chosen as selects the mode by discharging class to be attacked target area, after completing, attack again judge whether to use technical ability to attack;
(5) if selecting to reuse technical ability attacks, return to step (3), if select not use technical ability to attack, directly discharge flow process, game enters attacks the clearing step.
In a preferred embodiment of the present invention, when the request that in described step (1), client is sent is judged, judged result has two kinds, is respectively: active and passive.
In a preferred embodiment of the present invention, described step is selected in attack step technical ability or stage property in (3), if select selection, uses technical ability or stage property to carry out the technical ability attack; If do not select, use acquiescence technical ability to be attacked.
In a preferred embodiment of the present invention, the release class described in described step (4) includes appointed area release class and abrupt release class.
In a preferred embodiment of the present invention, provide a kind of based on the real time strategy system, in described system, include: client, service end and database, between described client, service end and database, the Internet connects and carries out each other exchanges data by data flow; Described client is provided with display module for showing game content and client, sends the module that sends request of information to service end, described display module and sending request between module is electrically connected, described service end is provided with accepts the module of receiving information that client sends information, and described module and the display module and sending request between module of receiving information is electrically connected.
In a preferred embodiment of the present invention, described client further is provided with: respond module, for accepting accepting module and, for searching the module of searching of data, described respond module, accepting module and search module and display module, send request between module and be electrically connected at client of back-end data.
 
In a preferred embodiment of the present invention, described service end further is provided with: for sending module from message to client that send, logic judgment module with for the data module of data modification and storage, described sending module, logic judgment module and data module and the module of receiving information are electrically connected to service end.
In a preferred embodiment of the present invention, in described database, further be provided with: database server, attribute service device and chat server, described database server, be electrically connected the running of described database server controlled attribute server and chat server between attribute service device and chat server.
The invention has the beneficial effects as follows: the present invention can provide a kind of method of combat based on real time strategy and the operating system of game, in method step, to do further description in the fight program of game emphasis, and can make the user operate further raising; In system, by rational design is seen in service end, client and database aspect, can make the developer better develop, to adapt to the development need of web game.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, in below describing embodiment, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings, wherein:
Fig. 1 is the structural representation of a kind of method of combat one preferred embodiment based on real time strategy of the present invention;
Fig. 2 is a kind of structural representation based on one preferred embodiment of real time strategy system of the present invention.
Embodiment
Below will the technical scheme in the embodiment of the present invention be clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under the creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, the embodiment of the present invention provides following technical scheme.
In one embodiment, a kind of method of combat based on real time strategy comprises following operating procedure:
(1) send access request by on-line transaction to database by client, the request that database sends client by the attribute service device is judged, when the request that client is sent is judged, judged result has two kinds, be respectively: active and passive, preserve the judged result data in buffer memory, the state that comes into action of playing simultaneously;
(2) described service end comes into action after state and again by the attribute service device, carries out the attribute selection: target or technical ability;
(3) if the target of being chosen as is carried out technical ability or stage property and selected to be attacked, if select selection, use technical ability or stage property to carry out the technical ability attack; If do not select, use acquiescence technical ability to be attacked, after completing, attack again judge whether to use technical ability to attack;
(4) if the technical ability of being chosen as selects the mode by discharging class to be attacked target area, discharge class and include appointed area release class and abrupt release class, after attack completes, again judge whether to use technical ability to attack; By discharging, can be reduced to the BUFF state of gain or declining profit, be embodied directly on the base attribute of battle unit.As the reduction of attack, quickening of translational speed etc.The data of this part variation will be pushed to client in time, guarantee the synchronism of data.
(5) if selecting to reuse technical ability attacks, return to step (3), if select not use technical ability to attack, directly discharge flow process, game enters attacks the clearing step.
In practical operation, in order further to explain flow process and the method for fight, please refer to Fig. 2, to of the present invention, a kind ofly based on the real time strategy system, be further described.
Be different from prior art, in one embodiment, system includes: client, service end and database, described client, between service end and database, the Internet connects and carries out each other exchanges data by data flow, described client is provided with for showing game content and client's display module, send the module that sends request of information to service end, described display module and sending request between module is electrically connected, described service end is provided with accepts the module of receiving information that client sends information, described module and the display module and sending request between module of receiving information is electrically connected.
Preferably, described client further is provided with: respond module, for accepting accepting module and, for searching the module of searching of data, described respond module, accepting module and search module and display module, send request between module and be electrically connected at client of back-end data.
Preferably, described client is responsible for the performance at interface, and game content is shown to the user; Simultaneously, be also the entrance that the user operates.The user, by the operation of client, sends to service end by necessary data, and receives after service end is processed the data of feeding back, and finally in interface, embodies.In some simple query processings, in order to improve reaction speed, alleviate service end pressure simultaneously, also can accomplish in client.
Preferably, some the basic data data in game comprise the building data, task data, and the stage property data, the NPC data, skill data, national data etc., be to build the basic data that game forms.By the Basis of Database data, stipulate the attack of battle unit, attack speed, the key elements such as attack distance.In course of battle, thread is all calculated continual all the time, and by the result of calculation real time propelling movement to client, in this process, client is mainly to receive message, and does simple processing, such as the demonstration of damaging blood etc.Calculate and all completed by client, such operation has guaranteed the fail safe of data.
What preferably, in the use of described method of combat operation, use is A* pathfinding algorithm.A thread is opened in every fight, and A* algorithm per second all has most ,Bing Jiang path, path Real-time Feedback to client in calculating operation unit and target unit.Client is received feedback message, through the processing of logic judgment module, client with showing on display module.
Preferably, described service end further is provided with: for sending module from message to client that send, logic judgment module with for the data module of data modification and storage, described sending module, logic judgment module and data module and the module of receiving information are electrically connected to service end.
The most important function of described service end is guarantee data stable; When receiving the message that client transmits, the data in message are made to checking, it is legal to verify, carries out logical operation, and necessary data are saved in database, finally result is fed back to client.
The behavioral data produced after described server operation, comprise the Operation Log that the player carries out, and a series of behavioral datas such as server running log guarantee the normal operation of game for monitoring.
Preferably, in described database, further be provided with: database server, attribute service device and chat server, the running of described database server controlled attribute server and chat server.
Because this method of combat is had relatively high expectations to the response of service end server, not data-in of the data storehouse of therefore fighting is only calculated and is preserved in buffer memory, can greatly improve response speed like this.Necessary data, can be after fight finishes, and the result of fighting, return to the server of processing game logic, has logical server that the data of change are saved in database.
The user is the data of preserving after entering game, the character data that comprises the player, and the stage property data, a series of and user-dependent data such as trade council's data can be stored in database timely.
In the operation of game, for can be further by system perfecting, the step in the time of can also moving system be carried out the system error handling processing.When connection is abnormal, the user disconnects, and prompting login again, generally comes across user's cause asynchronous with service end of client data; In the time of can't connecting, the user can't be connected with game server, and system will be issued bulletin explanation server health, and inform and recover the time connected, and this situation generally comes across in the regular maintenance and renewal of game.
For the very big protection user's of degree information; in game, user's particulars can not known by anyone; the user can fill in and want some information about oneself that show other users to see, user's core real information can not obtained by other users in game.
In service in system, service end can, to the maintenance of modules, be safeguarded and be divided into three major types: routine maintenance, updating maintenance, Emergency Maintenance.In described routine maintenance, server is regularly withdrawn maintenance, to guarantee the normal stable operation of game, is generally and carries out once in a week, and can before maintenance, notify the user.When described updating maintenance game content need to be upgraded, will carry out updating maintenance, and can prior notice will when carry out updating maintenance, and usually can carry out together updating maintenance when routine maintenance, and can inform more fresh content of user.Game in described Emergency Maintenance in the situation that run into some cause specific users and can't normally be played, can be carried out Emergency Maintenance, and can inform user's progress and solution.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical field, all in like manner be included in scope of patent protection of the present invention.

Claims (8)

1. the method for combat based on real time strategy is characterized in that: comprise following operating procedure:
(1) send access request by on-line transaction to database by client, the request that database sends client by the attribute service device is judged, preserves judged result data, the state that comes into action of playing in buffer memory simultaneously;
(2) described service end comes into action after state and again by the attribute service device, carries out the attribute selection: target or technical ability;
(3) if the target of being chosen as is carried out technical ability or stage property and selected to be attacked, after completing, attack again judge whether to use technical ability to attack;
(4) if the technical ability of being chosen as selects the mode by discharging class to be attacked target area, after completing, attack again judge whether to use technical ability to attack;
(5) if selecting to reuse technical ability attacks, return to step (3), if select not use technical ability to attack, directly discharge flow process, game enters attacks the clearing step.
2. a kind of method of combat based on real time strategy according to claim 1 is characterized in that: when the request that in described step (1), client is sent is judged, judged result has two kinds, is respectively: initiatively and passive.
3. a kind of method of combat based on real time strategy according to claim 1, it is characterized in that: described step is selected in attack step technical ability or stage property in (3), if select selection, uses technical ability or stage property to carry out the technical ability attack; If do not select, use acquiescence technical ability to be attacked.
4. a kind of method of combat based on real time strategy according to claim 1 is characterized in that: the release class described in described step (4) includes appointed area is discharged to class and abrupt release class.
5. according to claim 1 a kind of based on the real time strategy system, it is characterized in that: in system, include: client, service end and database, between described client, service end and database, the Internet connects and carries out each other exchanges data by data flow; Described client is provided with display module for showing game content and client, sends the module that sends request of information to service end, described display module and sending request between module is electrically connected, described service end is provided with accepts the module of receiving information that client sends information, and described module and the display module and sending request between module of receiving information is electrically connected.
6. according to claim 5 a kind of based on the real time strategy system, it is characterized in that: described client further is provided with: respond module, for accepting accepting module and, for searching the module of searching of data, described respond module, accepting module and search module and display module, send request between module and be electrically connected at client of back-end data.
7. according to claim 5 a kind of based on the real time strategy system, it is characterized in that: described service end further is provided with: for sending module from message to client that send, logic judgment module with for the data module of data modification and storage, described sending module, logic judgment module and data module and the module of receiving information are electrically connected to service end.
8. according to claim 5 a kind of based on the real time strategy system, it is characterized in that: in described database, further be provided with: database server, attribute service device and chat server; Described database server, be electrically connected between attribute service device and chat server, the running of described database server controlled attribute server and chat server.
CN2013104141396A 2013-09-12 2013-09-12 Fighting method and system based on real-time strategy game Pending CN103475659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104141396A CN103475659A (en) 2013-09-12 2013-09-12 Fighting method and system based on real-time strategy game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104141396A CN103475659A (en) 2013-09-12 2013-09-12 Fighting method and system based on real-time strategy game

Publications (1)

Publication Number Publication Date
CN103475659A true CN103475659A (en) 2013-12-25

Family

ID=49800355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104141396A Pending CN103475659A (en) 2013-09-12 2013-09-12 Fighting method and system based on real-time strategy game

Country Status (1)

Country Link
CN (1) CN103475659A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104941181A (en) * 2015-06-18 2015-09-30 深圳市新众玩网络科技有限公司 Method and device for achieving real-time game interaction between different intelligent terminals
CN105457275A (en) * 2015-11-23 2016-04-06 网易(杭州)网络有限公司 Method and client side for automatic fighting in online game, mobile terminal and computer terminal
CN105854297A (en) * 2016-04-26 2016-08-17 硬核动视(北京)科技有限责任公司 Military VR (virtual reality) game playing device realizing online and offline real-time multiplayer games and game playing method of military VR game playing device
WO2017054453A1 (en) * 2015-09-29 2017-04-06 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
CN107362534A (en) * 2017-08-14 2017-11-21 成都艺馨达科技有限公司 A kind of method for gaming and game device
CN107398071A (en) * 2017-07-19 2017-11-28 网易(杭州)网络有限公司 Mission Objective system of selection and device
CN110585700A (en) * 2019-08-15 2019-12-20 福建省天奕网络科技有限公司 Method for unified combat entering in single-person mode and multi-person mode and storage medium
CN111569425A (en) * 2020-05-13 2020-08-25 网易(杭州)网络有限公司 Method and device for controlling attribute value of virtual character, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651742A (en) * 2011-02-23 2012-08-29 株式会社都比克 Massively mutliplayer online first person shooting game service system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651742A (en) * 2011-02-23 2012-08-29 株式会社都比克 Massively mutliplayer online first person shooting game service system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: "网络即时战略游戏软件开发结构体系分析", 《博客园》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104941181A (en) * 2015-06-18 2015-09-30 深圳市新众玩网络科技有限公司 Method and device for achieving real-time game interaction between different intelligent terminals
CN104941181B (en) * 2015-06-18 2018-08-31 深圳市新众玩网络科技有限公司 A kind of method and apparatus for realizing real-time interactive of playing between different intelligent terminal
WO2017054453A1 (en) * 2015-09-29 2017-04-06 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
US10786733B2 (en) 2015-09-29 2020-09-29 Tencent Technology (Shenzhen) Company Limited Information processing method, terminal, and computer storage medium for releasing virtual skill object based on user gesture
CN105457275A (en) * 2015-11-23 2016-04-06 网易(杭州)网络有限公司 Method and client side for automatic fighting in online game, mobile terminal and computer terminal
CN105854297A (en) * 2016-04-26 2016-08-17 硬核动视(北京)科技有限责任公司 Military VR (virtual reality) game playing device realizing online and offline real-time multiplayer games and game playing method of military VR game playing device
CN107398071A (en) * 2017-07-19 2017-11-28 网易(杭州)网络有限公司 Mission Objective system of selection and device
CN107362534A (en) * 2017-08-14 2017-11-21 成都艺馨达科技有限公司 A kind of method for gaming and game device
CN107362534B (en) * 2017-08-14 2020-05-26 成都艺馨达科技有限公司 Game method and game device
CN110585700A (en) * 2019-08-15 2019-12-20 福建省天奕网络科技有限公司 Method for unified combat entering in single-person mode and multi-person mode and storage medium
CN110585700B (en) * 2019-08-15 2022-06-07 福建省天奕网络科技有限公司 Method for unified combat entering in single-person mode and multi-person mode and storage medium
CN111569425A (en) * 2020-05-13 2020-08-25 网易(杭州)网络有限公司 Method and device for controlling attribute value of virtual character, electronic device and storage medium
CN111569425B (en) * 2020-05-13 2023-10-27 网易(杭州)网络有限公司 Method and device for controlling attribute value of virtual character, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103475659A (en) Fighting method and system based on real-time strategy game
US10780348B2 (en) Method and device for generating character behaviors in game and storage medium
US8814697B2 (en) Method and apparatus for use in preserving a game state
CN106909432B (en) Online environment intelligent deployment system and method for CTF online competition platform
CN107158705B (en) The update method and device of service
AU2006297649A1 (en) Systems and methods for providing an online lobby
CN109011588A (en) Scene of game exchange method and device
CN103838982A (en) Virtual game object generating method and device
US20150154502A1 (en) Method, apparatus, and artificial intelligence server for determining artificial intelligence behavior
US10994209B2 (en) Shadow banning in social VR setting
CN102468906A (en) Interactive logic fault-tolerance method in online games and online game fault-tolerance system
CN106572099A (en) Cross-server method and system for network game
CN104135506A (en) System and method of load balancing design of network data
CN108479064A (en) A kind of control method and device of game
CN105903193A (en) Method and system for implementing trans-regional distributed match of game
CN110102047B (en) Game operation processing method and device, and game effect display method and device
CN107682356B (en) Data updating method and device, equipment and storage medium
CN104796451B (en) Data processing method and device for the Internet, applications
US20230356082A1 (en) Method and apparatus for displaying event pop-ups, device, medium and program product
JP7178421B2 (en) Information processing method, device, program, and recording medium
CN111957035A (en) Virtual character refreshing method and system and readable storage medium
CN105427147B (en) Method of data synchronization and device and game system based on game time shelves
KR20200116408A (en) Method and apparatus providing game service for settlement of user based on analysis of real time state
CN116570928A (en) Information processing method, device and server based on NFT
US9569466B1 (en) System and method for offline asynchronous user activity in a player versus player online game

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131225

RJ01 Rejection of invention patent application after publication