文件名称:accountserver2010
- 所属分类:
- 模拟服务器
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 394kb
- 下载次数:
- 0次
- 提 供 者:
- 香*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
魔域帐号服务器 功能分为两部分:
1、客户端登录线程:取得认证ID号AuthenID。
客户端连接到帐号服务器(以后可改为UDP)
登录后服务器到帐号数据库查帐号
返回认证ID号,并断开连接(如出错则返回错误)
将该认证ID号传给计点线程,转发给游戏服务器,用于玩家登录游戏服务器。
2、实时计点:与游戏服务器连接通讯,计算玩家使用的点数。(可提高线程优先级)
游戏服务器启动时登录到帐号服务器。
玩家登录后实时发送计点消息给帐号服务器。
玩家退出时通知帐号服务器。
玩家点数耗尽时通知游戏服务器踢人。
游戏服务器向帐号服务器查询剩余点数(计点、计时、计帐分别处理)
3、主线程:创建两个子线程。处理界面操作。
-Account server functionality is divided into two parts:
1, the client logging thread: obtaining certification ID number AuthenID.
Client to connect to account server (can be changed after the UDP)
Login server account to the account database search
Back certification ID number, and disconnect (such as error return error)
Pass the certification total points thread ID number, forward to the game server, game servers for players to log on.
2, real-time total points: with the game server to connect communications, computing players to use points. (Can increase the thread priority)
Sign in to game server startup account server.
Players log in real time to send a message to the account server design point.
Notify the account server players quit.
Player Points to notify the game server running out kicking.
Game server to server query account surplus points (total points, timing, billing dealt with separately)
3, the main thread: Create two sub-threads. Processing
1、客户端登录线程:取得认证ID号AuthenID。
客户端连接到帐号服务器(以后可改为UDP)
登录后服务器到帐号数据库查帐号
返回认证ID号,并断开连接(如出错则返回错误)
将该认证ID号传给计点线程,转发给游戏服务器,用于玩家登录游戏服务器。
2、实时计点:与游戏服务器连接通讯,计算玩家使用的点数。(可提高线程优先级)
游戏服务器启动时登录到帐号服务器。
玩家登录后实时发送计点消息给帐号服务器。
玩家退出时通知帐号服务器。
玩家点数耗尽时通知游戏服务器踢人。
游戏服务器向帐号服务器查询剩余点数(计点、计时、计帐分别处理)
3、主线程:创建两个子线程。处理界面操作。
-Account server functionality is divided into two parts:
1, the client logging thread: obtaining certification ID number AuthenID.
Client to connect to account server (can be changed after the UDP)
Login server account to the account database search
Back certification ID number, and disconnect (such as error return error)
Pass the certification total points thread ID number, forward to the game server, game servers for players to log on.
2, real-time total points: with the game server to connect communications, computing players to use points. (Can increase the thread priority)
Sign in to game server startup account server.
Players log in real time to send a message to the account server design point.
Notify the account server players quit.
Player Points to notify the game server running out kicking.
Game server to server query account surplus points (total points, timing, billing dealt with separately)
3, the main thread: Create two sub-threads. Processing
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GameBaseCode\BaseFunc.cpp
............\BaseFunc.h
............\GameBaseCode.dsp
............\GameBaseCode.plg
............\I_mydb.h
............\MsgPacket.cpp
............\MsgPacket.h
............\mssccprj.scc
............\MyDatabase.cpp
............\mydatabase.h
............\mydb.h
............\MyField.cpp
............\MyField.h
............\MyRecord.cpp
............\myrecord.h
............\MyRecordset.cpp
............\myrecordset.h
............\NetStringPacker.cpp
............\NetStringPacker.h
............\PrcHeap.cpp
............\PrcHeap.h
............\vssver.scc
............\修改日志.txt
res\AccountServer.ico
...\AccountServer.rc2
...\vssver.scc
account.ini
account.sql
Account.cpp
Account.h
Account.sql.txt
AccountServer.cpp
AccountServer.h
AccountServer.ncb
AccountServer.plg
AccountServer.rc
AccountServer402.exe
AccountServer.dsp
AccountServer.dsw
AccountServer.opt
AccountServer.SUP
AccountServerDlg.cpp
AccountServerDlg.h
AllHeads.h
config.ini
Define.h
EncryptServer.h
gameserver.cfg
Global.cpp
Global.h
IniFile.cpp
IniFile.h
isp.ini
libmySQL.dll
ListenSocket.cpp
ListenSocket.h
logfile.cpp
logfile.h
LoginThread.cpp
LoginThread.h
MsgAccount.cpp
MsgAccount.h
MsgAccount91U.cpp
MsgAccount91U.h
MsgBarAccount.cpp
MsgBarAccount.h
MsgConnect.cpp
MsgConnect.h
MsgConnect91U.cpp
MsgConnect91U.h
MsgFee.cpp
MsgFee.h
MsgLogin.cpp
MsgLogin.h
MsgQueryFee.cpp
MsgQueryFee.h
mssccprj.scc
MyHeap.cpp
MyHeap.h
NetMsg.cpp
NetMsg.h
Online.txt
OnlineTable.cpp
OnlineTable.h
PointThread.cpp
PointThread.h
RC5_321216.cpp
RC5_321216.h
resource.h
ServerSocket.h
ServerSocket.hpp
StdAfx.cpp
StdAfx.h
T_Index.h
ThreadBase.cpp
ThreadBase.h
typedef.cpp
typedef.h
vssver.scc
GameBaseCode\Debug
............\BaseFunc.h
............\GameBaseCode.dsp
............\GameBaseCode.plg
............\I_mydb.h
............\MsgPacket.cpp
............\MsgPacket.h
............\mssccprj.scc
............\MyDatabase.cpp
............\mydatabase.h
............\mydb.h
............\MyField.cpp
............\MyField.h
............\MyRecord.cpp
............\myrecord.h
............\MyRecordset.cpp
............\myrecordset.h
............\NetStringPacker.cpp
............\NetStringPacker.h
............\PrcHeap.cpp
............\PrcHeap.h
............\vssver.scc
............\修改日志.txt
res\AccountServer.ico
...\AccountServer.rc2
...\vssver.scc
account.ini
account.sql
Account.cpp
Account.h
Account.sql.txt
AccountServer.cpp
AccountServer.h
AccountServer.ncb
AccountServer.plg
AccountServer.rc
AccountServer402.exe
AccountServer.dsp
AccountServer.dsw
AccountServer.opt
AccountServer.SUP
AccountServerDlg.cpp
AccountServerDlg.h
AllHeads.h
config.ini
Define.h
EncryptServer.h
gameserver.cfg
Global.cpp
Global.h
IniFile.cpp
IniFile.h
isp.ini
libmySQL.dll
ListenSocket.cpp
ListenSocket.h
logfile.cpp
logfile.h
LoginThread.cpp
LoginThread.h
MsgAccount.cpp
MsgAccount.h
MsgAccount91U.cpp
MsgAccount91U.h
MsgBarAccount.cpp
MsgBarAccount.h
MsgConnect.cpp
MsgConnect.h
MsgConnect91U.cpp
MsgConnect91U.h
MsgFee.cpp
MsgFee.h
MsgLogin.cpp
MsgLogin.h
MsgQueryFee.cpp
MsgQueryFee.h
mssccprj.scc
MyHeap.cpp
MyHeap.h
NetMsg.cpp
NetMsg.h
Online.txt
OnlineTable.cpp
OnlineTable.h
PointThread.cpp
PointThread.h
RC5_321216.cpp
RC5_321216.h
resource.h
ServerSocket.h
ServerSocket.hpp
StdAfx.cpp
StdAfx.h
T_Index.h
ThreadBase.cpp
ThreadBase.h
typedef.cpp
typedef.h
vssver.scc
GameBaseCode\Debug