文件名称:AccountServer
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 409kb
- 下载次数:
- 1次
- 提 供 者:
- v***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
魔域帐号服务器
一、帐号服务器功能分为两部分:
1、客户端登录线程:取得认证ID号AuthenID。
客户端连接到帐号服务器(以后可改为UDP)
登录后服务器到帐号数据库查帐号
返回认证ID号,并断开连接(如出错则返回错误)
将该认证ID号传给计点线程,转发给游戏服务器,用于玩家登录游戏服务器。
2、实时计点:与游戏服务器连接通讯,计算玩家使用的点数。(可提高线程优先级)
游戏服务器启动时登录到帐号服务器。
玩家登录后实时发送计点消息给帐号服务器。
玩家退出时通知帐号服务器。
玩家点数耗尽时通知游戏服务器踢人。
游戏服务器向帐号服务器查询剩余点数(计点、计时、计帐分别处理)
3、主线程:创建两个子线程。处理界面操作。
-Dungeons & Account server
First, account server functionality is divided into two parts:
1, client log in the thread: obtaining certification ID No. AuthenID.
Client to connect to account server (can be changed after the UDP)
Log in to the account after the server database search account
Return certification ID number, and disconnect the connection (such as the return error error)
ID No. of the certification to the point of thread, forward to the game servers, game servers for players sign.
2, real-time total points: Game server connectivity and communications, computing players use points. (Which can improve the thread priority level)
Game Server startup account to log in to the server.
Players sign after the point of real-time message sent to the account server.
NOTICE account when players quit the server.
NOTICE points when players run out of Game server踢人.
Game server to server query account the remaining points (total points, time, billing deal with sep
一、帐号服务器功能分为两部分:
1、客户端登录线程:取得认证ID号AuthenID。
客户端连接到帐号服务器(以后可改为UDP)
登录后服务器到帐号数据库查帐号
返回认证ID号,并断开连接(如出错则返回错误)
将该认证ID号传给计点线程,转发给游戏服务器,用于玩家登录游戏服务器。
2、实时计点:与游戏服务器连接通讯,计算玩家使用的点数。(可提高线程优先级)
游戏服务器启动时登录到帐号服务器。
玩家登录后实时发送计点消息给帐号服务器。
玩家退出时通知帐号服务器。
玩家点数耗尽时通知游戏服务器踢人。
游戏服务器向帐号服务器查询剩余点数(计点、计时、计帐分别处理)
3、主线程:创建两个子线程。处理界面操作。
-Dungeons & Account server
First, account server functionality is divided into two parts:
1, client log in the thread: obtaining certification ID No. AuthenID.
Client to connect to account server (can be changed after the UDP)
Log in to the account after the server database search account
Return certification ID number, and disconnect the connection (such as the return error error)
ID No. of the certification to the point of thread, forward to the game servers, game servers for players sign.
2, real-time total points: Game server connectivity and communications, computing players use points. (Which can improve the thread priority level)
Game Server startup account to log in to the server.
Players sign after the point of real-time message sent to the account server.
NOTICE account when players quit the server.
NOTICE points when players run out of Game server踢人.
Game server to server query account the remaining points (total points, time, billing deal with sep
(系统自动生成,下载前可以参看下载内容)
下载文件列表
!log!
.....\account 2007-04-26.LOG
.....\account 2007-05-23.LOG
.....\AccountServer 2007-04-26.LOG
.....\AccountServer 2007-05-23.LOG
.....\point 2007-04-26.LOG
.....\point 2007-05-23.LOG
.....\server 2007-04-26.LOG
.....\server 2007-05-23.LOG
!txt!
Account.cpp
Account.h
account.ini
account.sql
Account.sql.txt
AccountServer.cpp
AccountServer.dsp
AccountServer.dsw
AccountServer.h
AccountServer.ncb
AccountServer.opt
AccountServer.plg
AccountServer.rc
AccountServer.SUP
AccountServer402.exe
AccountServerDlg.cpp
AccountServerDlg.h
AccountServer___Win32_Debug_NewDatabase
AllHeads.h
config.ini
Debug
Define.h
EncryptServer.h
GameBaseCode
............\BaseFunc.cpp
............\BaseFunc.h
............\Debug
............\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
............\Release
............\vssver.scc
............\修改日志.txt
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
.....\account 2007-04-26.LOG
.....\account 2007-05-23.LOG
.....\AccountServer 2007-04-26.LOG
.....\AccountServer 2007-05-23.LOG
.....\point 2007-04-26.LOG
.....\point 2007-05-23.LOG
.....\server 2007-04-26.LOG
.....\server 2007-05-23.LOG
!txt!
Account.cpp
Account.h
account.ini
account.sql
Account.sql.txt
AccountServer.cpp
AccountServer.dsp
AccountServer.dsw
AccountServer.h
AccountServer.ncb
AccountServer.opt
AccountServer.plg
AccountServer.rc
AccountServer.SUP
AccountServer402.exe
AccountServerDlg.cpp
AccountServerDlg.h
AccountServer___Win32_Debug_NewDatabase
AllHeads.h
config.ini
Debug
Define.h
EncryptServer.h
GameBaseCode
............\BaseFunc.cpp
............\BaseFunc.h
............\Debug
............\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
............\Release
............\vssver.scc
............\修改日志.txt
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