// ------------------------------
// Decompiled by Deathway
// Date : 2007-05-09
// ------------------------------
// GS-N 0.99.60T 0x004B1200
/* GS-N 1.00.18 JPN 0x004CF4C0 - Completed
void gObjSpriteDamage(LPOBJ lpObj, int damage) - Wierd Compilation - Status OK
void gObjTradeCancel(int aIndex) - Wierd Compilation - Status OK
BOOL gObjJoominCheck(int aIndex, char* szInJN) - strcmpi comflict symbols
void SkillFrustrum() - Wrong Symbol NAmes of the zzmath functions
*/
#include "stdafx.h"
#include "user.h"
#include "TLog.h"
#include "LogToFile.h"
#include "GameServer.h"
#include "GameMain.h"
#include "DoppelGanger.h"
#include "MapServerManager.h"
#include "gObjMonster.h"
#include "ObjCalCharacter.h"
#include "ObjUseSkill.h"
#include "DarkSpirit.h"
#include "DSProtocol.h"
#include "DevilSquare.h"
#include "protocol.h"
#include "ImperialGuardian.h"
#include "MonsterAttr.h"
#include "SendNPCInfo.h"
#include "ChaosBox.h"
#include "PacketChecksum.h"
#include "QuestInfo.h"
#include "EledoradoEvent.h"
#include "TNotice.h"
#include "GMMng.h"
#include "zzzmathlib.h"
#include "Gate.h"
#include "ObjAttack.h"
#include "SProtocol.h"
#include "MultiAttackHAckCheck.h"
#include "BattleSoccer.h"
#include "BattleSoccerManager.h"
#include "TUnion.h"
#include "TMonsterAIElement.h"
#include "winutil.h"
#include "Weapon.h"
#include "CrywolfSync.h"
#include "Kanturu.h"
#include "CashShop.h"
#include "Mercenary.h"
#include "KalimaGate.h"
#include "KanturuBattleUserMng.h"
#include "Guardian.h"
#include "MoveCommand.h"
#include "StatMng.h"
#include "SetItemOption.h"
#include "SkillAdditionInfo.h"
#include "PeriodItemEx.h"
#include "TMonsterSkillManager.h"
#include "IllusionTempleEvent_Renewal.h"
#include "BuffEffect.h"
#include "BuffEffectSlot.h"
#include "MasterSkillSystem.h"
#include "PentagramMixSystem.h"
#include "MasterLevelSkillTreeSystem.h"
//Added by HermeX
#include "Crywolf.h"
#include "CrywolfStatue.h"
#include "CrywolfAltar.h"
#include "LifeStone.h"
#include "GuardianStatue.h"
#include "CannonTower.h"
#include "CastleCrown.h"
#include "CastleCrownSwitch.h"
#include "CastleSiegeSync.h"
#include "Raklion.h"
#include "RaklionUtil.h"
#include "RaklionBattleUserMng.h"
#include "RaklionMonsterMng.h"
#include "ItemSocketOptionSystem.h"
#include "ChaosCastle.h"
#include "configread.h"
#include "LastManStanding.h"
#include "MapAttribute.h"
#include "GensSystem.h"
#include "NewPVP.h"
#include "VipSys.h"
#include "ExpManager.h"
#include "QuestExpProgMng.h"
#include "QuestExpInfo.h"
#include "LuckyItemManager.h"
#include "PentagramSystem.h"
#include "MuunSystem.h"
#include "ChaosCastleFinal.h"// directions
#include "MuRummyMng.h"
#include "MineSystem.h"
#include "Shop.h"
#include "PersonalStore.h"
#include "LargeRand.h"
#include "AcheronGuardianEvent.h"
#include "ItemOptionTypeMng.h"
#include "BonusEvent.h"
#include "CItemDrop.h"
#include "DevilSquareFinal.h"
#include "BotSystem.h"
#include "OfflineLevelling.h"
inline bool ObjectMaxRange(int Index)
{
if (Index < 0 || Index > g_ConfigRead.server.GetObjectMax() - 1)
return false;
return true;
}
USER_DATA::USER_DATA()
{
InitializeCriticalSection(&this->m_MasterSkillCriti);
InitializeCriticalSection(&this->m_DarkSideRFCriti);
InitializeCriticalSection(&this->AgiCheckCriti);
this->m_pCMuRummyInfo = new CMuRummyInfo;
this->pPentagramMixBox = new CItem[CHAOS_BOX_SIZE];
this->pPentagramMixBoxMap = new BYTE[CHAOS_BOX_MAP_SIZE];
this->Init();
}
USER_DATA::~USER_DATA()
{
DeleteCriticalSection(&this->m_MasterSkillCriti);
DeleteCriticalSection(&this->m_DarkSideRFCriti);
DeleteCriticalSection(&this->AgiCheckCriti);
if (this->m_pCMuRummyInfo != NULL)
{
delete this->m_pCMuRummyInfo;
this->m_pCMuRummyInfo = NULL;
}
if (this->pPentagramMixBox != NULL)
{
delete[] this->pPentagramMixBox;
this->pPentagramMixBox = NULL;
}
if (this->pPentagramMixBoxMap != NULL)
{
delete[] this->pPentagramMixBoxMap;
this->pPentagramMixBoxMap = NULL;
}
}
void USER_DATA::Init(bool VipReset)
{
memset(this->m_RealNameOfUBF, 0, sizeof (this->m_RealNameOfUBF));
memset(this->GuildName, 0, sizeof (this->GuildName));
this->GuildNumber = 0;
this->iGuildUnionTimeStamp = 0;
this->lpGuild = NULL;
this->GuildStatus = -1;
this->SantaCount = 0;
this->RegisterdLMS = 0;
this->RegisteredLMSRoom = -1;
this->MoveGate = -1;
g_kJewelOfHarmonySystem.InitEffectValue(&this->m_JewelOfHarmonyEffect);
g_kItemSystemFor380.InitEffectValue(&this->m_ItemOptionExFor380);
this->m_iResets = 0;
this->LastAuthTime = 0;
if (g_ConfigRead.server.GetServerType() != SERVER_CASTLE)
{
this->m_bKanturuEntranceByNPC = FALSE;
}
this->SetOpAddMaxAttackDamage = 0;
this->SetOpAddMinAttackDamage = 0;
this->SetOpAddDamage = 0;
this->SetOpIncAGValue = 0;
this->SetOpAddCriticalDamageSuccessRate = 0;
this->SetOpAddCriticalDamage = 0;
this->SetOpAddExDamageSuccessRate = 0;
this->SetOpAddExDamage = 0;
this->SetOpAddSkillAttack = 0;
this->SetOpAddAttackDamage = 0;
this->SetOpAddDefence = 0;
this->SetOpAddMagicPower = 0;
this->SetOpAddDefenceRate = 0;
this->SetOpIgnoreDefense = 0;
this->SetOpDoubleDamage = 0;
this->SetOpTwoHandSwordImproveDamage = 0;
this->SetOpImproveSuccessAttackRate = 0;
this->SetOpReflectionDamage = 0;
this->SetOpImproveSheldDefence = 0;
this->SetOpDecreaseAG = 0;
this->SetOpImproveItemDropRate = 0;
this->IsFullSetItem = false;
this->m_ReqWarehouseOpen = 0;
this->m_MuBotEnable = false;
this->m_MuBotPayTime = 0;
this->m_MuBotTotalTime = 0;
this->m_WCoinC = 0.0;
this->m_WCoinP = 0.0;
this->m_GoblinPoint = 0.0;
this->m_iGensInfoLoad = false;
this->m_iQuestInfoLoad = false;
this->m_iPeriodItemEffectIndex = -1;
this->SkillHellFire2State = 0;
this->SkillHellFire2Count = 0;
this->SkillStrengthenHellFire2State = 0;
this->SkillStrengthenHellFire2Count = 0;
this->PacketsPerSecond = 0;
this->SwearWarning = 0;
this->PlusStatQuestClear = false;
this->ComboSkillquestClear = false;
memset(this->m_Quest, (BYTE)-1, sizeof(this->m_Quest));
this->m_SendQuestInfo = 0;
this->BlessSkillCast = false;
this->RFSkillCount = 0;
this->DarkSideCount = 0;
this->m_btSculptPos = 0;
this->m_btCharmPos = 0;
this->m_btArtifactPos = 0;
this->m_btExpUpCharmPos = 0;
this->MasterLevel = 0;
this->MasterExperience = 0;
this->MasterNextExp = 0;
this->MasterPoint = 0;
this->m_GensInfluence = NONE_INFLUENCE;
this->m_GensClass = 0;
this->m_GensRanking = 0;
this->m_GensAbusingTick = 0;
this->m_ContributePoint = 0;
this->m_NextContributePoint = 0;
this->PentagramInfoLoad = 0;
this->AgilityCheckDelay = GetTickCount();
this->AgilityCheckCount = 0;
this->ISBOT = false;
this->wBotIndex = -1;
for(int i=0;i<5;i++)
{
this->DarkSideTarget[i] = 10000;
}
for (int i=0;i<250;i++)
{
this->m_PentagramJewelInfo_Inven[i].Clear();
}
for (int i=0;i<250;i++)
{
this->m_PentagramJewelInfo_Warehouse[i].Clear();
}
this->m_bUserQuestInfoSent = FALSE;
for (int i = 0; i < MAX_QUESTEXP_USER_INFO; i++)
{
this->m_UserQuestInfo[i].Clear();
}
this->PotionTime = 0;
this->m_dwMSBFlagAttackDisable = GetTickCount();
this->m_bUsePolymorphSkin = false;
this->LastSkillUseCount = 0;
this->LastSkillUseNumber = 0;
this->LastSkillUseTick = GetTickCount64();
this->PentagramMixMoney = 0;
this->PentagramMixSuccessRate = 0;
this->m_PentagramMixLock = FALSE;
this->m_bIsPentagramMixCompleted = false;
this->m_bUsePartyMatching = false;
this->m_bPartyMatchingLeader = false;
this->m_nServerChannel = -1;
this->m_nPartyMatchingIndex = -1;
this->m_nPartyMatchingMemberCount = 0;
this->m_bUseGuildMatching = false;
this->m_bSendNpcPos = FALSE;
this->m_bSendMemberPos = FALSE;
this->m_Resistance_Perfect = 0;
this->m_Resistance_SD = 0;
this->m_Resistance_Stun = 0;
this->m_Resistance_Double = 0;
this->m_Resistance_Critical = 0;
this->m_Resistance_Excellent = 0;
this->m_EnableUseChangeSkin = 0;
this->AntiHackCheckTime = GetTickCount();
this->m_dwMapMoveKeyValue = 0;
this->m_bIsCancelItemSale = false;
this->m_bGremoryCase
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
奇迹MUS10部分源代码 (713个子文件)
bitmap.bmp 1KB
user.cpp 715KB
protocol.cpp 649KB
PacketTwister.cpp 587KB
PacketTwister.cpp 558KB
DSProtocol.cpp 229KB
ChaosBox.cpp 214KB
DSprotocol.cpp 211KB
MasterLevelSkillTreeSystem.cpp 202KB
ObjAttack.cpp 188KB
ObjUseSkill.cpp 169KB
CastleSiege.cpp 169KB
EDSprotocol.cpp 157KB
BloodCastle.cpp 143KB
EDSProtocol.cpp 125KB
ArcaBattle.cpp 121KB
gObjMonster.cpp 118KB
PentagramSystem.cpp 118KB
zzzitem.cpp 117KB
ChaosCastle.cpp 105KB
GMMng.cpp 98KB
ChaosCastleFinal.cpp 93KB
MuunSystem.cpp 92KB
ObjCalCharacter.cpp 88KB
DevilSquareFinal.cpp 86KB
GameMain.cpp 80KB
IllusionTempleProcess_Renewal.cpp 80KB
IllusionTemple.cpp 71KB
Quests.cpp 66KB
DoppelGanger.cpp 65KB
ImperialGuardian.cpp 64KB
PersonalStore.cpp 63KB
MasterSkillSystemS6.cpp 54KB
PentagramMixSystem.cpp 53KB
CashShop.cpp 52KB
QuestExpProgMng.cpp 52KB
JewelOfHarmonySystem.cpp 50KB
ItemSocketOptionSystem.cpp 50KB
DarkSpirit.cpp 46KB
MuRummyMng.cpp 46KB
configread.cpp 44KB
NpcTalk.cpp 42KB
Sprotocol.cpp 42KB
GensSystem.cpp 42KB
NewPVP.cpp 42KB
QuestInfo.cpp 41KB
DevilSquare.cpp 40KB
BuffEffectSlot.cpp 38KB
Crywolf.cpp 37KB
EledoradoEvent.cpp 37KB
QuestExpUserMng.cpp 36KB
Event.cpp 36KB
MineSystem.cpp 35KB
giocp.cpp 34KB
Fprotocol.cpp 33KB
SimpleModulus.cpp 32KB
QuestExpLuaBind.cpp 31KB
BotSystem.cpp 29KB
GremoryCase.cpp 29KB
TMonsterSkillElement.cpp 27KB
BuffEffect.cpp 27KB
giocp.cpp 26KB
KanturuBattleOfMaya.cpp 26KB
ItemOptionTypeMng.cpp 26KB
AcheronGuardianEvent.cpp 25KB
PeriodItemEx.cpp 24KB
ObjBaseAttack.cpp 24KB
LuckyItemManager.cpp 23KB
SProtocol.cpp 23KB
GameServer.cpp 22KB
TMonsterAIElement.cpp 22KB
Shop.cpp 21KB
MagicDamage.cpp 20KB
OfflineLevelling.cpp 20KB
MapClass.cpp 20KB
WinConsole.cpp 20KB
KalimaGate.cpp 20KB
IOCP.cpp 20KB
Kanturu.cpp 19KB
MonsterItemMng.cpp 19KB
SetItemOption.cpp 18KB
SetItemOption.cpp 18KB
eDataServer.cpp 17KB
PartyClass.cpp 17KB
JewelMixSystem.cpp 17KB
IllusionTempleEvent_Renewal.cpp 17KB
RingAttackEvent.cpp 17KB
VipSys.cpp 16KB
XMasAttackEvent.cpp 16KB
LastManStanding.cpp 16KB
MonsterHerd.cpp 16KB
MapServerManager.cpp 16KB
TemporaryUserManager.cpp 16KB
MasterSkillSystem.cpp 15KB
DevilSquareGround.cpp 15KB
Raklion.cpp 15KB
CItemDrop.cpp 15KB
MonsterRegenSystem.cpp 14KB
UnityBattleField.cpp 14KB
RaklionSelupan.cpp 14KB
共 713 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
你知我劲
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功