Description: 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
To Search:
File list (Check if you may need any files):
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