在好例子网,分享、交流、成长!
您当前所在位置:首页C/C++ 开发实例C/C++游戏开发 → 凤舞天骄服务端内核源代码

凤舞天骄服务端内核源代码

C/C++游戏开发

下载此实例
  • 开发语言:C/C++
  • 实例大小:8.98M
  • 下载次数:16
  • 浏览次数:339
  • 发布时间:2020-05-31
  • 实例类别:C/C++游戏开发
  • 发 布 人:lzm100001
  • 文件格式:.rar
  • 所需积分:2
 相关标签: 服务端 服务

实例介绍

【实例简介】

【实例截图】

ER

├── ERStudio.exe
├── ERStudio.exe~
├── ERStudio.ini
├── EasyRPG.sln
├── Game.ini
├── Include
│   ├── AddOnClass.h
│   ├── AdjustDataSet.h
│   ├── CmdFun.H
│   ├── DMEncrypt.h
│   ├── DMStrBSTree.h
│   ├── DMStrBSTree.inl
│   ├── DMStruct.h
│   ├── DMStruct.inl
│   ├── DMfile.h
│   ├── DMtype.h
│   ├── DebugMem.h
│   ├── DlgStruct.h
│   ├── ERBAPA.h
│   ├── ERBank.h
│   ├── ERBattle.h
│   ├── ERCheck.h
│   ├── ERCmd.h
│   ├── ERCore.h
│   ├── ERDefine.h
│   ├── EREffect.h
│   ├── ERFight.h
│   ├── ERFile.h
│   ├── ERFunc.h
│   ├── ERGem.h
│   ├── ERGift.h
│   ├── ERHacker.h
│   ├── ERLimitQuest.h
│   ├── ERList.h
│   ├── ERLocal.h
│   ├── ERMailSystem.h
│   ├── ERMain.h
│   ├── ERMaster.h
│   ├── ERMate.h
│   ├── ERModuleScan.h
│   ├── ERMsgManage.h
│   ├── ERMySql.h
│   ├── EROperate.h
│   ├── EROptCmd.h
│   ├── ERPreCmd.h
│   ├── ERPrepare.h
│   ├── ERPrestuge.h
│   ├── ERProduce.h
│   ├── ERQuest.h
│   ├── ERRandom.h
│   ├── ERRecode.h
│   ├── ERRefresh.h
│   ├── ERRewardQuest.h
│   ├── ERSave.h
│   ├── ERSaveFast.h
│   ├── ERSpy.h
│   ├── ERStatistic.h
│   ├── ERStatus.h
│   ├── ERTeacher.h
│   ├── ERUser.h
│   ├── ERUserFast.h
│   ├── ERWant.h
│   ├── ERtype.h
│   ├── EasyRPG.h
│   ├── EmExcelTable.h
│   ├── EmExcelTable.inl
│   ├── EmIniFile.h
│   ├── EmString.h
│   ├── ErChain.h
│   ├── ErMsg.h
│   ├── FHDebug.h
│   ├── FHExceptionMng.h
│   ├── FacHomeWar.h
│   ├── FacMatch.h
│   ├── MemCheck.h
│   ├── errmsg.h
│   ├── m_ctype.h
│   ├── m_string.h
│   ├── mempool.h
│   ├── my_alloc.h
│   ├── my_getopt.h
│   ├── my_global.h
│   ├── my_list.h
│   ├── my_pthread.h
│   ├── my_sys.h
│   ├── mysql.h
│   ├── mysql_com.h
│   ├── mysql_version.h
│   ├── mysqld_error.h
│   ├── raid.h
│   ├── resource.h
│   ├── strtoid.h
│   └── vssver.scc
├── Lib
│   └── libmysql.lib
├── OmUtil.dll
├── Source
│   ├── AddOnClass.cpp
│   ├── AdjustDataSet.cpp
│   ├── CmdFun.cpp
│   ├── CmdFun2.cpp
│   ├── DMEncrypt.cpp
│   ├── DMStruct.cpp
│   ├── DMfile.cpp
│   ├── DebugMem.cpp
│   ├── DlgStruct.cpp
│   ├── ERBAPA.cpp
│   ├── ERBank.cpp
│   ├── ERBattle.cpp
│   ├── ERChain.cpp
│   ├── ERCheck.cpp
│   ├── ERCmd.CPP
│   ├── ERCore.cpp
│   ├── EREffect.cpp
│   ├── ERFight.cpp
│   ├── ERFile.cpp
│   ├── ERFunc.CPP
│   ├── ERFunc2.cpp
│   ├── ERFunc3.cpp
│   ├── ERGem.cpp
│   ├── ERGift.cpp
│   ├── ERHacker.cpp
│   ├── ERLimitQuest.cpp
│   ├── ERList.cpp
│   ├── ERLocal.CPP
│   ├── ERMailSystem.cpp
│   ├── ERMain.cpp
│   ├── ERMaster.cpp
│   ├── ERMate.cpp
│   ├── ERModuleScan.cpp
│   ├── ERMySql.cpp
│   ├── EROperate.cpp
│   ├── EROptCmd.cpp
│   ├── ERPreCmd.cpp
│   ├── ERPrepareEx.CPP
│   ├── ERPrestuge.cpp
│   ├── ERProduce.cpp
│   ├── ERQuest.cpp
│   ├── ERRandom.cpp
│   ├── ERRandom2.cpp
│   ├── ERRecode.cpp
│   ├── ERRefresh.cpp
│   ├── ERRewardQuest.cpp
│   ├── ERSave.cpp
│   ├── ERSaveFast.cpp
│   ├── ERSpy.cpp
│   ├── ERStatistic.cpp
│   ├── ERStatus.cpp
│   ├── ERTeacher.cpp
│   ├── ERUser.cpp
│   ├── ERUserFast.cpp
│   ├── ERWant.cpp
│   ├── EmIniFile.cpp
│   ├── EmString.cpp
│   ├── ErMsg.cpp
│   ├── FHExceptionMng.cpp
│   ├── FacHomeWar.cpp
│   ├── FacMatch.cpp
│   ├── MemCheck.cpp
│   ├── New Folder
│   ├── erprepare.ccc
│   ├── erprepare.cpp
│   ├── mempool.cpp
│   ├── res.rc
│   ├── strtoid.cpp
│   └── vssver.scc
├── Temp
│   ├── Include
│   └── Source
│       ├── erprepare.Pre
│       └── erprepare原始.pre
├── UpgradeLog.XML
├── _UpgradeReport_Files
│   ├── UpgradeReport.css
│   ├── UpgradeReport.xslt
│   ├── UpgradeReport_Minus.gif
│   └── UpgradeReport_Plus.gif
├── bin
│   ├── EasyRPG.bld
│   └── EasyRPG.mak
├── easyrpg_test
│   ├── debug
│   │   ├── er.dll
│   │   ├── er.exp
│   │   ├── er.lib
│   │   └── er.rar
│   ├── er_test
│   │   ├── Debug
│   │   ├── Include
│   │   │   ├── AddOnClass.h
│   │   │   ├── AdjustDataSet.h
│   │   │   ├── CharactorDefines.h
│   │   │   ├── CmdFun.H
│   │   │   ├── DMEncrypt.h
│   │   │   ├── DMStrBSTree.h
│   │   │   ├── DMStrBSTree.inl
│   │   │   ├── DMStruct.h
│   │   │   ├── DMStruct.inl
│   │   │   ├── DMfile.h
│   │   │   ├── DMtype.h
│   │   │   ├── DebugMem.h
│   │   │   ├── DlgStruct.h
│   │   │   ├── ERBAPA.h
│   │   │   ├── ERBank.h
│   │   │   ├── ERBattle.h
│   │   │   ├── ERCheck.h
│   │   │   ├── ERCmd.h
│   │   │   ├── ERCore.h
│   │   │   ├── ERDefine.h
│   │   │   ├── EREffect.h
│   │   │   ├── ERFight.h
│   │   │   ├── ERFile.h
│   │   │   ├── ERFunc.h
│   │   │   ├── ERGem.h
│   │   │   ├── ERGift.h
│   │   │   ├── ERHacker.h
│   │   │   ├── ERLimitQuest.h
│   │   │   ├── ERList.h
│   │   │   ├── ERLocal.h
│   │   │   ├── ERMailSystem.h
│   │   │   ├── ERMain.h
│   │   │   ├── ERMaster.h
│   │   │   ├── ERMate.h
│   │   │   ├── ERModuleScan.h
│   │   │   ├── ERMsgManage.h
│   │   │   ├── ERMySql.h
│   │   │   ├── EROperate.h
│   │   │   ├── EROptCmd.h
│   │   │   ├── ERPreCmd.h
│   │   │   ├── ERPrepare.h
│   │   │   ├── ERPrestuge.h
│   │   │   ├── ERProduce.h
│   │   │   ├── ERQuest.h
│   │   │   ├── ERRandom.h
│   │   │   ├── ERRecode.h
│   │   │   ├── ERRefresh.h
│   │   │   ├── ERRewardQuest.h
│   │   │   ├── ERSave.h
│   │   │   ├── ERSaveFast.h
│   │   │   ├── ERSpy.h
│   │   │   ├── ERStatistic.h
│   │   │   ├── ERStatus.h
│   │   │   ├── ERTeacher.h
│   │   │   ├── ERUser.h
│   │   │   ├── ERUserFast.h
│   │   │   ├── ERWant.h
│   │   │   ├── ERtype.h
│   │   │   ├── EasyRPG.h
│   │   │   ├── EmExcelTable.h
│   │   │   ├── EmExcelTable.inl
│   │   │   ├── EmIniFile.h
│   │   │   ├── EmString.h
│   │   │   ├── ErChain.h
│   │   │   ├── ErMsg.h
│   │   │   ├── FHDebug.h
│   │   │   ├── FHExceptionMng.h
│   │   │   ├── FacHomeWar.h
│   │   │   ├── FacMatch.h
│   │   │   ├── MemCheck.h
│   │   │   ├── errmsg.h
│   │   │   ├── m_ctype.h
│   │   │   ├── m_string.h
│   │   │   ├── mempool.h
│   │   │   ├── my_alloc.h
│   │   │   ├── my_getopt.h
│   │   │   ├── my_global.h
│   │   │   ├── my_list.h
│   │   │   ├── my_pthread.h
│   │   │   ├── my_sys.h
│   │   │   ├── mysql.h
│   │   │   ├── mysql_com.h
│   │   │   ├── mysql_version.h
│   │   │   ├── mysqld_error.h
│   │   │   ├── raid.h
│   │   │   ├── resource.h
│   │   │   ├── strtoid.h
│   │   │   └── vssver.scc
│   │   ├── ReadMe.txt
│   │   ├── Source
│   │   │   ├── AddOnClass.cpp
│   │   │   ├── AdjustDataSet.cpp
│   │   │   ├── CmdFun.cpp
│   │   │   ├── CmdFun2.cpp
│   │   │   ├── DMEncrypt.cpp
│   │   │   ├── DMStruct.cpp
│   │   │   ├── DMfile.cpp
│   │   │   ├── DebugMem.cpp
│   │   │   ├── DlgStruct.cpp
│   │   │   ├── ERBAPA.cpp
│   │   │   ├── ERBank.cpp
│   │   │   ├── ERBattle.cpp
│   │   │   ├── ERChain.cpp
│   │   │   ├── ERCheck.cpp
│   │   │   ├── ERCmd.CPP
│   │   │   ├── ERCore.cpp
│   │   │   ├── EREffect.cpp
│   │   │   ├── ERFight.cpp
│   │   │   ├── ERFile.cpp
│   │   │   ├── ERFunc.CPP
│   │   │   ├── ERFunc2.cpp
│   │   │   ├── ERFunc3.cpp
│   │   │   ├── ERGem.cpp
│   │   │   ├── ERGift.cpp
│   │   │   ├── ERHacker.cpp
│   │   │   ├── ERLimitQuest.cpp
│   │   │   ├── ERList.cpp
│   │   │   ├── ERLocal.CPP
│   │   │   ├── ERMailSystem.cpp
│   │   │   ├── ERMain.cpp
│   │   │   ├── ERMaster.cpp
│   │   │   ├── ERMate.cpp
│   │   │   ├── ERModuleScan.cpp
│   │   │   ├── ERMySql.cpp
│   │   │   ├── EROperate.cpp
│   │   │   ├── EROptCmd.cpp
│   │   │   ├── ERPreCmd.cpp
│   │   │   ├── ERPrepareEx.CPP
│   │   │   ├── ERPrestuge.cpp
│   │   │   ├── ERProduce.cpp
│   │   │   ├── ERQuest.cpp
│   │   │   ├── ERRandom.cpp
│   │   │   ├── ERRandom2.cpp
│   │   │   ├── ERRecode.cpp
│   │   │   ├── ERRefresh.cpp
│   │   │   ├── ERRewardQuest.cpp
│   │   │   ├── ERSave.cpp
│   │   │   ├── ERSaveFast.cpp
│   │   │   ├── ERSpy.cpp
│   │   │   ├── ERStatistic.cpp
│   │   │   ├── ERStatus.cpp
│   │   │   ├── ERTeacher.cpp
│   │   │   ├── ERUser.cpp
│   │   │   ├── ERUserFast.cpp
│   │   │   ├── ERWant.cpp
│   │   │   ├── EmIniFile.cpp
│   │   │   ├── EmString.cpp
│   │   │   ├── ErMsg.cpp
│   │   │   ├── FHExceptionMng.cpp
│   │   │   ├── FacHomeWar.cpp
│   │   │   ├── FacMatch.cpp
│   │   │   ├── MemCheck.cpp
│   │   │   ├── New Folder
│   │   │   ├── erprepare.ccc
│   │   │   ├── erprepare.cpp
│   │   │   ├── mempool.cpp
│   │   │   ├── res.rc
│   │   │   ├── strtoid.cpp
│   │   │   └── vssver.scc
│   │   ├── er_test.vcproj
│   │   ├── er_test.vcproj.INKZONE-CN.lincoln.user
│   │   └── libmysql.lib
│   ├── er_test.sln
│   └── er_test.suo
├── lastedit.ini
├── mssccprj.scc
├── vssver.scc
├── 新建 文本文档.txt
└── 外网脚本.lgc
16 directories, 342 files



【核心代码】

/////////////////////////////////////////////////
//	ERCore.cpp	:	V0021
//	Written by	:	Liu Gang
//	V0010	:	Mar.22.2000
//	V0020	:	Aug.30.2000
//	V0021	:	May.25.2001
//	取消各种属性的最大数量限制
//	V0022	:	July.31.2002
//	对整型属性进行优化,减少内存消耗,增加访问速度
//	V0023	:	Jun.08.2003 wubanghai
//	增加AddEffect()虚函数,作用列表遍历操作
//	Copyright(C)	:	1999-2000, DreaMakers@
/////////////////////////////////////////////////
// EasyRPG游戏引擎	游戏元素基本数据结构(修改级别:1)
/////////////////////////////////////////////////
#include "stdio.h"	// FILE
#include "string.h"	// memset(), strcpy(), strcmp(), strstr()
#include "MemCheck.h"	// LNEW
#include "ERCore.h"
#include "ERMsg.h"	// ER_Error()
#include "EmString.h"	// StrCompare()
#include "strtoid.h"	// 快速查找命令,字符串-》ID
#include "ERList.h"	// OBJ_TYPE_BASE
#include "ERFunc.h"	// ER_GetObjList()
#include "EROperate.h"
#include "ERCheck.h"
// declared in ERList.cpp
// 非结构化
extern BOOL IsIDValid( int nID );
extern int gnLoadVersion; // ERUser.cpp
/////////////////////////////////////////////////
//[WangXiaoye] 整数属性列表扩展( 256 -> 300 ) [2006-5-26:11-05]
#define INT_LIST_MAX	300	//整型属性的最大个数
#define STR_LIST_MAX	256	//字符属性的最大个数
#define EFF_LIST_MAX	256	//作用属性的最大个数
#define STA_LIST_MAX	256	//状态属性的最大个数
enumStringIndexTable gBaseEnumStringTableIndex[OBJECT_ATTRIB_INT_MAX];
enumStringIndexTable gPersonEnumStringTableIndex[PERSON_ATTRIB_INT_MAX];
enumStringIndexTable gPlayerEnumStringTableIndex[PLAYER_ATTRIB_INT_MAX];
enumStringIndexTable gItemEnumStringTableIndex[ITEM_ATTRIB_INT_MAX];
enumStringIndexTable gRoomEnumStringTableIndex[ROOM_ATTRIB_INT_MAX];
enumStringIndexTable gQuestEnumStringTableIndex[QUEST_ATTRIB_INT_MAX];
enumStringIndexTable gSkillEnumStringTableIndex[SKILL_ATTRIB_INT_MAX];
enumStringIndexTable gSeriesEnumStringTableIndex[SERIES_ATTRIB_INT_MAX];
enumStringIndexTable gEnhanceEnumStringTableIndex[ENHANCE_ATTRIB_INT_MAX];
//////////////////////////////////////////////////////////////////////////


标签: 服务端 服务

实例下载地址

凤舞天骄服务端内核源代码

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警