├── Source
├── ExtraExp.cpp
├── CSAuth
│ ├── StdAfx.cpp
│ ├── CSAuth.lib
│ ├── CSAuth.opt
│ ├── CSAuth.dep
│ ├── CSAuth.plg
│ ├── CSAuth.dsw
│ ├── stdafx.h
│ └── CSAuth.h
├── Data.h
├── curl
│ └── curl
│ │ └── types.h
├── Extra
│ ├── Firewall.h
│ ├── curllib.lib
│ ├── curllib_x64.lib
│ ├── WinLicenseSDK32.lib
│ ├── WinlicenseSDK64.lib
│ ├── SecureEngineSDK32.lib
│ └── SecureEngineSDK64.lib
├── curl_x64
│ └── curl
│ │ └── types.h
├── user.cpp
├── Event.cpp
├── GMMng.cpp
├── Icon5.ico
├── Thumbs.db
├── bitmap.bmp
├── giocp.cpp
├── icon6.ico
├── small.ico
├── smalle.ico
├── BloodCastle.h
├── ChaosBox.cpp
├── GameMain.cpp
├── protocol.cpp
├── DSProtocol.cpp
├── DarkSpirit.cpp
├── DragonEvent.cpp
├── GameServer.aps
├── GameServer.cpp
├── GameServer.ico
├── GameServer.opt
├── GameServer.suo
├── GameServere.ico
├── TTGameServer.ico
├── SOURCE of bk Mode.txt
├── wsJoinServerCli.cpp
├── EProtocol.h
├── JewelOfHarmonySystem.cpp
├── TMonsterSkillElement.cpp
├── TMonsterSkillManager.cpp
├── GameServer.vcxproj.user
├── MuMsg.h
├── Experiments.h
├── TDurMagicKeyChecker.cpp
├── zzzzz.cpp
├── AutoExp.h
├── HappyHour.h
├── News.h
├── IOGSProtocol.h
├── ClosePlayer.h
├── CrywolfStateTimeInfo.cpp
├── GreenEvent.h
├── Guardian.h
├── RainItemEvent.h
├── GMSystem.h
├── GameEvent.cpp
├── CLoginCount.h
├── SkillDelay.h
├── TStatistics.cpp
├── CrywolfObjInfo.cpp
├── ObjSkillAutoLearn.h
├── HitAndUp.h
├── dirpath.h
├── TServerAlertManager.cpp
├── GameEvent.h
├── CCastleEventItemList.cpp
├── NSerialCheck.h
├── Mastering.h
├── TStatistics.h
├── WTEventItemList.cpp
├── ChaosCastleSetItemDrop.cpp
├── ConMember.h
├── SummerEvent.h
├── BlueEvent.h
├── ObjCherryBlossom.h
├── ChinaHackUserKick.cpp
├── AcceptIp.h
├── CrywolfMonster.cpp
├── MoveCheck.h
├── WTEventItemList.h
├── HalloweenEvent.h
├── GameServer.dsw
├── AntiAFK.h
├── KanturuNightmare.cpp
├── ChinaHackUserKick.h
├── BossAttack.h
├── ViewportGuild.h
├── KanturuStateInfo.cpp
├── TServerAlertManager.h
├── SCFPack.h
├── CCastleEventItemList.h
├── CrywolfMonster.h
├── protection.h
├── TSkillElement.h
├── ChaosCastleSetItemDrop.h
├── Mercenary.h
├── AntiFloodSystem.h
├── DirPath.cpp
├── ObjBotReward.h
├── CannonTower.h
├── GensCloseMap.h
├── SCFPvPSystem.h
├── JewelMixSystem.h
├── Version.h
├── IpCache.h
├── SendHackLog.h
├── CastleCrown.h
├── KanturuNightmare.h
├── CrywolfTanker.cpp
├── SetItemMacro.cpp
├── GuardianStatue.h
├── CrywolfTanker.h
├── DbSave.h
├── CrywolfDarkElf.cpp
├── CrywolfDarkElf.h
├── ObjLuckyPenny.h
├── DSGN_ItemMover.h
├── LogToFile.h
├── SkillDelay.cpp
├── KanturuBattleUser.h
├── CLoginCount.cpp
├── WhisperCash.h
├── CastleCrownSwitch.h
├── ComplexModulus.h
├── MossShop.h
├── MDI.h
├── ObjBotVipShop.h
├── LargeRand.h
├── SkillHitBox.h
├── ObjQaA.h
├── LifeStone.h
├── DBSockMng.h
├── KanturuEntranceNPC.h
├── MuMsg.cpp
├── ObjBaseAttack.h
├── TUnionInfo.h
├── ObjBotWarper.h
├── ObjCalCharacter.h
├── DragonEvent.h
├── MultiCheckSum.h
├── ComboAttack.h
├── StatMng.h
├── NSerialCheck.cpp
├── SCFPostServerProtocol.h
├── ObjBotBuffer.h
├── TRandomPoolMgr.h
├── wsJoinServerCli.h
├── Shop.h
├── EProtocol.cpp
├── KanturuObjInfo.h
├── MultiAttackHackCheck.h
├── AttackEvent.h
├── TMonsterAI.h
├── BattleSoccer.h
├── BattleSoccer.cpp
├── KanturuMaya.h
├── CustomWings.h
└── CallStackTrace.h
├── ServerConfigs
├── data
│ ├── Misc
│ │ ├── CSAuth.idx
│ │ ├── Dec1.dat
│ │ ├── Enc2.dat
│ │ ├── CSAuth.tab
│ │ └── SkillAdditionInfo.dat
│ ├── IpList.dat
│ ├── CheckSum.dat
│ ├── DataServer.dat
│ ├── CashShopList.txt
│ ├── Terrains
│ │ ├── T42.att
│ │ ├── T43.att
│ │ ├── (null).att
│ │ ├── Aida.att
│ │ ├── Atlans.att
│ │ ├── Devias.att
│ │ ├── Exile.att
│ │ ├── Icarus.att
│ │ ├── Kalima.att
│ │ ├── Noria.att
│ │ ├── Santa.att
│ │ ├── Silent.att
│ │ ├── Swamp.att
│ │ ├── Tarkan.att
│ │ ├── Vulcan.att
│ │ ├── World.att
│ │ ├── Crywolf.att
│ │ ├── Dungeon.att
│ │ ├── Elbeland.att
│ │ ├── Kantru1.att
│ │ ├── Kantru2.att
│ │ ├── Kantru3.att
│ │ ├── Lorencia.att
│ │ ├── Raklion.att
│ │ ├── Stadium.att
│ │ ├── World65.att
│ │ ├── World66.att
│ │ ├── World67.att
│ │ ├── World68.att
│ │ ├── World69.att
│ │ ├── World70.att
│ │ ├── World71.att
│ │ ├── World72.att
│ │ ├── World73.att
│ │ ├── World74.att
│ │ ├── World75.att
│ │ ├── World78.att
│ │ ├── World79.att
│ │ ├── BloodCastle.att
│ │ ├── Buhwajang.att
│ │ ├── ChaosCastle.att
│ │ ├── CryWolf_WAR.att
│ │ ├── DevilSquare.att
│ │ ├── LandofTrial.att
│ │ ├── LostTower.att
│ │ ├── Stadium_OLD.att
│ │ ├── Terrain66.att
│ │ ├── Terrain67.att
│ │ ├── Terrain68.att
│ │ ├── Terrain69.att
│ │ ├── Terrain70.att
│ │ ├── Terrain71.att
│ │ ├── Terrain72.att
│ │ ├── Terrain73.att
│ │ ├── Terrain74.att
│ │ ├── Terrain75.att
│ │ ├── Terrain78.att
│ │ ├── Terrain79.att
│ │ ├── Terrain80.att
│ │ ├── Terrain81.att
│ │ ├── Terrain82.att
│ │ ├── CryWolf_PEACE.att
│ │ ├── Kanturu_Close.att
│ │ ├── Kanturu_Open.att
│ │ ├── ValleyofLoren.att
│ │ ├── CryWolf_OCCUPIED.att
│ │ └── IllusionTemple.att
│ ├── badsyntax.txt
│ ├── lang
│ │ ├── Message.txt
│ │ └── kor
│ │ │ ├── Skill(kor).txt
│ │ │ ├── item(Kor).txt
│ │ │ ├── item(New).txt
│ │ │ └── commonloc.cfg
│ ├── Events
│ │ ├── Crywolf.dat
│ │ └── BloodCastle.dat
│ ├── dataserver.ini.dat
│ ├── CCSetItemDropRate.txt
│ ├── CashShop
│ │ ├── CashShopList.txt
│ │ └── CashShopOption.dat
│ ├── EventItemBags
│ │ ├── Gold_Box.txt
│ │ ├── LordMix.txt
│ │ ├── BoxOfLuck.txt
│ │ ├── Silver_Box.txt
│ │ ├── BlueRibbonBox.txt
│ │ ├── RedRibbonBox.txt
│ │ ├── BlueChocolateBox.txt
│ │ ├── DeepBlueCandyBox.txt
│ │ ├── GreenRibbonBox.txt
│ │ ├── Old_Jewelry_Box.txt
│ │ ├── PinkChocolateBox.txt
│ │ ├── RedChocolateBox.txt
│ │ ├── HiddenTreasureBox.txt
│ │ ├── Metal_Jewelry_Box.txt
│ │ ├── VermilionCandyBox.txt
│ │ ├── Elegant_Jewelry_Box.txt
│ │ ├── LightPurpleCandyBox.txt
│ │ ├── FriendShip.txt
│ │ └── Illusion.txt
│ ├── Monsters
│ │ ├── MonsterAIRule.txt
│ │ ├── MonsterSkill.txt
│ │ ├── MonsterAIElement.txt
│ │ ├── MonsterAIGroup.txt
│ │ └── MonsterAutomata.txt
│ ├── ConnectMember.txt
│ ├── dataserver.ini
│ ├── Shops
│ │ ├── Elegance_Allen(414).txt
│ │ ├── Fireworks_Merchant(379).txt
│ │ └── Lumen_Barmaid(244).txt
│ └── MapServerInfo.dat
├── SCFData
│ ├── SCF_BlackList.dat
│ ├── SCF_SpawnMonsters.txt
│ ├── EventMobs
│ │ ├── SCF_BlueEvent.dat
│ │ ├── SCF_SummerEvent.dat
│ │ ├── SCF_RaklionEvent.dat
│ │ ├── SCF_BossAttack.dat
│ │ └── SCF_XMasEvent.dat
│ ├── EventsConfig
│ │ ├── SCF_LuckyPenny.ini
│ │ ├── SCF_CherryBlossom.ini
│ │ ├── SCF_RainItemEventPosition.txt
│ │ ├── SCF_BossAttack.ini
│ │ ├── SCF_SummerEvent.ini
│ │ ├── SCF_BlueEvent.ini
│ │ ├── SCF_HideAndSeekEvent.ini
│ │ ├── SCF_HappyHourEvent.ini
│ │ ├── SCF_RaklionEvent.ini
│ │ ├── SCF_HitAndUpEvent.ini
│ │ ├── SCF_GreenEvent.ini
│ │ ├── SCF_Racer.ini
│ │ ├── SCF_LuckyPenny.txt
│ │ ├── SCF_ImperialGuardian.ini
│ │ ├── SCF_MossMerchant.ini
│ │ ├── SCF_QaA.txt
│ │ ├── SCF_Doppelganger.ini
│ │ └── SCF_TitanLottery.txt
│ ├── PointsShops
│ │ ├── SCF_PCPoint.ini
│ │ └── WzShop
│ │ │ ├── SCF_CashShop_Category.txt
│ │ │ └── SCF_CashShop.ini
│ ├── SCFBots
│ │ ├── SCF_BotConfigs.ini
│ │ ├── SCF_BotHideAndSeek.txt
│ │ └── SCF_BotReward.txt
│ ├── SCF_BlackList.ini
│ ├── SCF_CustomQuests.ini
│ ├── SCF_Warehouse.ini
│ ├── CrystalEdition
│ │ └── BotVipShop
│ │ │ └── SCF_VipShop.ini
│ └── SCF_PCPoint.txt
├── TitanLinkServer
│ └── Data
│ │ └── TT_AllowedList.dat
├── Docs & Tools
│ ├── TitanDBUpdater
│ │ ├── Scripts
│ │ │ ├── MuOnline
│ │ │ │ ├── 1-ALTER-OptionData_RKey.tdu
│ │ │ │ ├── 1-ALTER-BotPet_BotVersion.tdu
│ │ │ │ ├── 1-ALTER-Character_Resets.tdu
│ │ │ │ ├── 1-ALTER-Guild_SCFG_Gens.tdu
│ │ │ │ ├── 1-ALTER-OptionData_SkillKey.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFMarried.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFMasterSkill.tdu
│ │ │ │ ├── 1-ALTER-MuExtraData_MAP_SRV.tdu
│ │ │ │ ├── 0-CREATE-MuExtraData.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFGensRank.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFPCPoints.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFSealItem.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFSealTime.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFGensDateLeave.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFMasterLevel.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFMasterPoints.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFScrollItem.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFScrollTime.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFExtInventory.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFGensFamily.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFUpdatedPShop.tdu
│ │ │ │ ├── 1-ALTER-SCFS5Quest_SCFS5Quest.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFGensContribution.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFGensRecvReward.tdu
│ │ │ │ ├── 1-ALTER-GameServerInfo_MuShopItemCount.tdu
│ │ │ │ ├── 1-ALTER-Titan_Rewards_SerialFFFFFFFE.tdu
│ │ │ │ ├── 1-ALTER-Character_SCFMarryHusbandWife.tdu
│ │ │ │ ├── 0-CREATE-OfficialHelper.tdu
│ │ │ │ ├── 0-CREATE-TitanLotteryReward.tdu
│ │ │ │ ├── 0-CREATE-Race_Data.tdu
│ │ │ │ ├── 0-CREATE-Race_LastWinners.tdu
│ │ │ │ ├── 0-CREATE-Resets_Log.tdu
│ │ │ │ ├── 0-CREATE-SCFS5Quest.tdu
│ │ │ │ ├── 0-CREATE-TitanLotteryWinners.tdu
│ │ │ │ ├── 0-CREATE-GuildWarehouse.tdu
│ │ │ │ ├── 0-CREATE-Titan_Rank.tdu
│ │ │ │ ├── 0-CREATE-ExtendedWarehouse.tdu
│ │ │ │ ├── 0-CREATE-TitanLotteryLog.tdu
│ │ │ │ ├── 0-CREATE-TitanLotteryPlayers.tdu
│ │ │ │ ├── 4-CREATE_PROC-TT_GetMuShopItemSerial.tdu
│ │ │ │ ├── 0-CREATE-Titan_Rewards.tdu
│ │ │ │ ├── 4-CREATE_PROC-SCF_GENSRANKINGUPDATE.tdu
│ │ │ │ ├── 5-ALTER_PROC-WZ_SetGuildDelete.tdu
│ │ │ │ └── 0-CREATE-BotPet.tdu
│ │ │ ├── Me_MuOnline
│ │ │ │ ├── 1-ALTER-MEMB_INFO_WCoin.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_WCoinP.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_GoblinCoin.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_MuItemShopList.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_SCFIsVip.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_SCFVipDays.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_SCFVipMoney.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_MuItemShopGiftList.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_MuItemShopGiftMsg.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_SCFLuckyCoins.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_SCFWareVipCount.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_SCFExtWarehouse.tdu
│ │ │ │ ├── 1-ALTER-MEMB_INFO_MuItemShopGiftList - copia.tdu
│ │ │ │ └── 0-CREATE-LuckyCoinsRank.tdu
│ │ │ └── Ranking
│ │ │ │ ├── 0-CREATE-MONSTERSKILLED_INFO.tdu
│ │ │ │ ├── 0-CREATE-IMPERIALGUARDIAN_INFO.tdu
│ │ │ │ ├── 0-CREATE-DUEL_INFO.tdu
│ │ │ │ ├── 0-CREATE-DOPPELGANGER_INFO.tdu
│ │ │ │ ├── 4-CREATE_PROC-TT_IGScore.tdu
│ │ │ │ └── 4-CREATE_PROC-TT_MonstersKilledScore.tdu
│ │ └── TitanDBUpdater.ini
│ ├── TitanDupeFinder
│ │ ├── Readme.txt
│ │ └── Config.ini
│ ├── TitanEditor
│ │ ├── TitanEditor.mdb
│ │ └── Config.ini
│ ├── TitanSerialize
│ │ ├── ForSearch.txt
│ │ ├── Config.ini
│ │ └── Readme.txt
│ ├── S6 & S5E4
│ │ ├── S5E4
│ │ │ └── Data
│ │ │ │ └── lang
│ │ │ │ └── kor
│ │ │ │ ├── Skill(kor).txt
│ │ │ │ └── item(New).txt
│ │ ├── S6E1
│ │ │ └── Data
│ │ │ │ └── lang
│ │ │ │ └── kor
│ │ │ │ ├── Item(New).txt
│ │ │ │ └── itemsetoption(Kor).txt
│ │ └── S6E3
│ │ │ └── Data
│ │ │ └── Lang
│ │ │ └── Kor
│ │ │ └── itemsetoption(Kor).txt
│ └── INSTALLATION.txt
├── GameServer
│ ├── SCF_AntiAFK.ini
│ ├── Data
│ │ └── ServerInfo.dat
│ └── SCF_GMSystem.txt
├── GameServerCS
│ ├── SCF_AntiAFK.ini
│ ├── Data
│ │ └── ServerInfo.dat
│ └── SCF_GMSystem.txt
└── TitanCS
│ └── Data
│ ├── SCF_BlackList.dat
│ ├── SCF_ServerList.cfg
│ └── SCF_Config.ini
├── README.md
├── GGSvr
├── GGSvr.opt
├── GGSvr.suo
├── Release
│ ├── GGSvr.lib
│ ├── GGSvr.obj
│ ├── vc60.idb
│ ├── CSAuth2.obj
│ └── StdAfx.obj
├── GGSvr.dep
├── StdAfx.cpp
├── GGSvr.dsw
├── StdAfx.h
└── Readme.txt
├── Bugs_Revision.txt
├── common
├── classdef.h
├── zzzitem.cpp
├── ReadScript.h
├── MyWinsockBase.cpp
├── TSync.h
├── TSync.cpp
├── WzMemScript.h
└── MyWinsockBase.h
├── include
├── CSAuth.lib
├── MuMsg.dll
├── MuMsg.lib
├── mumsg.exp
├── mumsgold.lib
└── SimpleModulus.lib
└── SimpleModulus
├── Release
├── vc60.idb
├── StdAfx.obj
├── SimpleModulus.lib
└── SimpleModulus.obj
├── SimpleModulus.opt
├── SimpleModulus.suo
├── StdAfx.cpp
├── SimpleModulus.dep
├── SimpleModulus.dsw
├── StdAfx.h
└── Readme.txt
/Source/ExtraExp.cpp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ServerConfigs/data/Misc/CSAuth.idx:
--------------------------------------------------------------------------------
1 | 4
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCF_BlackList.dat:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCF_SpawnMonsters.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Source/CSAuth/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
--------------------------------------------------------------------------------
/Source/Data.h:
--------------------------------------------------------------------------------
1 | #define USERSTATUS 116
2 |
--------------------------------------------------------------------------------
/Source/curl/curl/types.h:
--------------------------------------------------------------------------------
1 | /* not used */
2 |
--------------------------------------------------------------------------------
/ServerConfigs/data/IpList.dat:
--------------------------------------------------------------------------------
1 | "192.168.1.3"
2 |
--------------------------------------------------------------------------------
/Source/Extra/Firewall.h:
--------------------------------------------------------------------------------
1 | void FirewallException();
--------------------------------------------------------------------------------
/Source/curl_x64/curl/types.h:
--------------------------------------------------------------------------------
1 | /* not used */
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # GameServer
2 | Latest Stable GameServer
3 |
--------------------------------------------------------------------------------
/ServerConfigs/TitanLinkServer/Data/TT_AllowedList.dat:
--------------------------------------------------------------------------------
1 | "127.0.0.1"
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventMobs/SCF_BlueEvent.dat:
--------------------------------------------------------------------------------
1 | 1
2 | 0 170 134 15
3 | end
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventMobs/SCF_SummerEvent.dat:
--------------------------------------------------------------------------------
1 | 1
2 | 0 205 125 15
3 | end
--------------------------------------------------------------------------------
/GGSvr/GGSvr.opt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/GGSvr/GGSvr.opt
--------------------------------------------------------------------------------
/GGSvr/GGSvr.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/GGSvr/GGSvr.suo
--------------------------------------------------------------------------------
/Source/user.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/user.cpp
--------------------------------------------------------------------------------
/Bugs_Revision.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Bugs_Revision.txt
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_LuckyPenny.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFLuckyPennyEnabled=1
--------------------------------------------------------------------------------
/Source/Event.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Event.cpp
--------------------------------------------------------------------------------
/Source/GMMng.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GMMng.cpp
--------------------------------------------------------------------------------
/Source/Icon5.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Icon5.ico
--------------------------------------------------------------------------------
/Source/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Thumbs.db
--------------------------------------------------------------------------------
/Source/bitmap.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/bitmap.bmp
--------------------------------------------------------------------------------
/Source/giocp.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/giocp.cpp
--------------------------------------------------------------------------------
/Source/icon6.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/icon6.ico
--------------------------------------------------------------------------------
/Source/small.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/small.ico
--------------------------------------------------------------------------------
/Source/smalle.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/smalle.ico
--------------------------------------------------------------------------------
/common/classdef.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/common/classdef.h
--------------------------------------------------------------------------------
/common/zzzitem.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/common/zzzitem.cpp
--------------------------------------------------------------------------------
/include/CSAuth.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/include/CSAuth.lib
--------------------------------------------------------------------------------
/include/MuMsg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/include/MuMsg.dll
--------------------------------------------------------------------------------
/include/MuMsg.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/include/MuMsg.lib
--------------------------------------------------------------------------------
/include/mumsg.exp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/include/mumsg.exp
--------------------------------------------------------------------------------
/Source/BloodCastle.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/BloodCastle.h
--------------------------------------------------------------------------------
/Source/ChaosBox.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/ChaosBox.cpp
--------------------------------------------------------------------------------
/Source/GameMain.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GameMain.cpp
--------------------------------------------------------------------------------
/Source/protocol.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/protocol.cpp
--------------------------------------------------------------------------------
/common/ReadScript.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/common/ReadScript.h
--------------------------------------------------------------------------------
/include/mumsgold.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/include/mumsgold.lib
--------------------------------------------------------------------------------
/GGSvr/Release/GGSvr.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/GGSvr/Release/GGSvr.lib
--------------------------------------------------------------------------------
/GGSvr/Release/GGSvr.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/GGSvr/Release/GGSvr.obj
--------------------------------------------------------------------------------
/GGSvr/Release/vc60.idb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/GGSvr/Release/vc60.idb
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_CherryBlossom.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFCherryBlossomEnabled=1
--------------------------------------------------------------------------------
/Source/DSProtocol.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/DSProtocol.cpp
--------------------------------------------------------------------------------
/Source/DarkSpirit.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/DarkSpirit.cpp
--------------------------------------------------------------------------------
/Source/DragonEvent.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/DragonEvent.cpp
--------------------------------------------------------------------------------
/Source/GameServer.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GameServer.aps
--------------------------------------------------------------------------------
/Source/GameServer.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GameServer.cpp
--------------------------------------------------------------------------------
/Source/GameServer.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GameServer.ico
--------------------------------------------------------------------------------
/Source/GameServer.opt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GameServer.opt
--------------------------------------------------------------------------------
/Source/GameServer.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GameServer.suo
--------------------------------------------------------------------------------
/Source/GameServere.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/GameServere.ico
--------------------------------------------------------------------------------
/Source/TTGameServer.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/TTGameServer.ico
--------------------------------------------------------------------------------
/GGSvr/Release/CSAuth2.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/GGSvr/Release/CSAuth2.obj
--------------------------------------------------------------------------------
/GGSvr/Release/StdAfx.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/GGSvr/Release/StdAfx.obj
--------------------------------------------------------------------------------
/Source/CSAuth/CSAuth.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/CSAuth/CSAuth.lib
--------------------------------------------------------------------------------
/Source/CSAuth/CSAuth.opt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/CSAuth/CSAuth.opt
--------------------------------------------------------------------------------
/Source/Extra/curllib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Extra/curllib.lib
--------------------------------------------------------------------------------
/common/MyWinsockBase.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/common/MyWinsockBase.cpp
--------------------------------------------------------------------------------
/include/SimpleModulus.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/include/SimpleModulus.lib
--------------------------------------------------------------------------------
/Source/Extra/curllib_x64.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Extra/curllib_x64.lib
--------------------------------------------------------------------------------
/Source/SOURCE of bk Mode.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/SOURCE of bk Mode.txt
--------------------------------------------------------------------------------
/Source/wsJoinServerCli.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/wsJoinServerCli.cpp
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_RainItemEventPosition.txt:
--------------------------------------------------------------------------------
1 | 0
2 | 0 140 124
3 | 0 143 121
4 | 0 142 118
5 | end
--------------------------------------------------------------------------------
/SimpleModulus/Release/vc60.idb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/SimpleModulus/Release/vc60.idb
--------------------------------------------------------------------------------
/Source/EProtocol.h:
--------------------------------------------------------------------------------
1 |
2 | void EProtocolCore(BYTE protoNum, LPBYTE aRecv);
3 | void EProtocolSendTransform(char * aSend);
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_BossAttack.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFBossAttackEnabled=0
4 | SCFBossAttackMinutes=5
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_SummerEvent.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFSummerEventEnabled=0
4 | SCFSummerEventMinutes=5
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/PointsShops/SCF_PCPoint.ini:
--------------------------------------------------------------------------------
1 | [PCPointShop]
2 |
3 | SCFOnlyForGM=0
4 | SCFAddPointsWhenKillMobs=1
5 |
--------------------------------------------------------------------------------
/ServerConfigs/data/CheckSum.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/CheckSum.dat
--------------------------------------------------------------------------------
/ServerConfigs/data/DataServer.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/DataServer.dat
--------------------------------------------------------------------------------
/ServerConfigs/data/Misc/Dec1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Misc/Dec1.dat
--------------------------------------------------------------------------------
/ServerConfigs/data/Misc/Enc2.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Misc/Enc2.dat
--------------------------------------------------------------------------------
/SimpleModulus/Release/StdAfx.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/SimpleModulus/Release/StdAfx.obj
--------------------------------------------------------------------------------
/SimpleModulus/SimpleModulus.opt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/SimpleModulus/SimpleModulus.opt
--------------------------------------------------------------------------------
/SimpleModulus/SimpleModulus.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/SimpleModulus/SimpleModulus.suo
--------------------------------------------------------------------------------
/Source/Extra/WinLicenseSDK32.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Extra/WinLicenseSDK32.lib
--------------------------------------------------------------------------------
/Source/Extra/WinlicenseSDK64.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Extra/WinlicenseSDK64.lib
--------------------------------------------------------------------------------
/Source/JewelOfHarmonySystem.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/JewelOfHarmonySystem.cpp
--------------------------------------------------------------------------------
/Source/TMonsterSkillElement.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/TMonsterSkillElement.cpp
--------------------------------------------------------------------------------
/Source/TMonsterSkillManager.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/TMonsterSkillManager.cpp
--------------------------------------------------------------------------------
/ServerConfigs/data/CashShopList.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/CashShopList.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Misc/CSAuth.tab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Misc/CSAuth.tab
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/T42.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/T42.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/T43.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/T43.att
--------------------------------------------------------------------------------
/ServerConfigs/data/badsyntax.txt:
--------------------------------------------------------------------------------
1 | "'"
2 | "."
3 | ";"
4 | ":"
5 | "."
6 | "`"
7 | "Webzen"
8 | "webzen"
9 | "%"
10 |
--------------------------------------------------------------------------------
/ServerConfigs/data/lang/Message.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/lang/Message.txt
--------------------------------------------------------------------------------
/Source/Extra/SecureEngineSDK32.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Extra/SecureEngineSDK32.lib
--------------------------------------------------------------------------------
/Source/Extra/SecureEngineSDK64.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/Source/Extra/SecureEngineSDK64.lib
--------------------------------------------------------------------------------
/ServerConfigs/data/Events/Crywolf.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Events/Crywolf.dat
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/(null).att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/(null).att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Aida.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Aida.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Atlans.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Atlans.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Devias.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Devias.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Exile.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Exile.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Icarus.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Icarus.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Kalima.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Kalima.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Noria.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Noria.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Santa.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Santa.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Silent.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Silent.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Swamp.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Swamp.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Tarkan.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Tarkan.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Vulcan.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Vulcan.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World.att
--------------------------------------------------------------------------------
/ServerConfigs/data/dataserver.ini.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/dataserver.ini.dat
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-OptionData_RKey.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.OptionData add RKey tinyint NULL
--------------------------------------------------------------------------------
/ServerConfigs/GameServer/SCF_AntiAFK.ini:
--------------------------------------------------------------------------------
1 | [AntiAFK]
2 |
3 | SCFAntiAFKEnabled=1
4 | SCFAntiAFKMinutesCheck=20
5 | SCFAntiAFKMaxWarnings=5
--------------------------------------------------------------------------------
/ServerConfigs/GameServerCS/SCF_AntiAFK.ini:
--------------------------------------------------------------------------------
1 | [AntiAFK]
2 |
3 | SCFAntiAFKEnabled=1
4 | SCFAntiAFKMinutesCheck=20
5 | SCFAntiAFKMaxWarnings=5
--------------------------------------------------------------------------------
/ServerConfigs/data/CCSetItemDropRate.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/CCSetItemDropRate.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Crywolf.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Crywolf.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Dungeon.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Dungeon.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Elbeland.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Elbeland.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Kantru1.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Kantru1.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Kantru2.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Kantru2.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Kantru3.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Kantru3.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Lorencia.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Lorencia.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Raklion.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Raklion.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Stadium.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Stadium.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World65.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World65.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World66.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World66.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World67.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World67.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World68.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World68.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World69.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World69.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World70.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World70.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World71.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World71.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World72.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World72.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World73.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World73.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World74.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World74.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World75.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World75.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World78.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World78.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/World79.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/World79.att
--------------------------------------------------------------------------------
/SimpleModulus/Release/SimpleModulus.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/SimpleModulus/Release/SimpleModulus.lib
--------------------------------------------------------------------------------
/SimpleModulus/Release/SimpleModulus.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/SimpleModulus/Release/SimpleModulus.obj
--------------------------------------------------------------------------------
/ServerConfigs/GameServer/Data/ServerInfo.dat:
--------------------------------------------------------------------------------
1 | [GameServerInfo]
2 | ServerName = Main
3 | ServerCode = 0
4 | ConnectMemberLoad = 0
5 |
6 |
--------------------------------------------------------------------------------
/ServerConfigs/GameServerCS/Data/ServerInfo.dat:
--------------------------------------------------------------------------------
1 | [GameServerInfo]
2 | ServerName = GSCS
3 | ServerCode = 19
4 | ConnectMemberLoad = 0
5 |
6 |
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/BloodCastle.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/BloodCastle.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Buhwajang.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Buhwajang.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/ChaosCastle.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/ChaosCastle.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/CryWolf_WAR.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/CryWolf_WAR.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/DevilSquare.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/DevilSquare.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/LandofTrial.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/LandofTrial.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/LostTower.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/LostTower.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Stadium_OLD.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Stadium_OLD.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain66.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain66.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain67.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain67.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain68.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain68.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain69.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain69.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain70.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain70.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain71.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain71.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain72.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain72.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain73.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain73.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain74.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain74.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain75.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain75.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain78.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain78.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain79.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain79.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain80.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain80.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain81.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain81.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Terrain82.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Terrain82.att
--------------------------------------------------------------------------------
/ServerConfigs/data/lang/kor/Skill(kor).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/lang/kor/Skill(kor).txt
--------------------------------------------------------------------------------
/ServerConfigs/data/lang/kor/item(Kor).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/lang/kor/item(Kor).txt
--------------------------------------------------------------------------------
/ServerConfigs/data/lang/kor/item(New).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/lang/kor/item(New).txt
--------------------------------------------------------------------------------
/GGSvr/GGSvr.dep:
--------------------------------------------------------------------------------
1 | # Microsoft Developer Studio Generated Dependency File, included by GGSvr.mak
2 |
3 | .\StdAfx.cpp : \
4 | ".\StdAfx.h"\
5 |
6 |
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCFBots/SCF_BotConfigs.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | ;(Level x Mult)
4 | SCFBotPet1RelifeMultLevel=10
5 | SCFBotPet2RelifeMultLevel=20
--------------------------------------------------------------------------------
/ServerConfigs/data/CashShop/CashShopList.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/CashShop/CashShopList.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/Gold_Box.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/Gold_Box.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/LordMix.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/LordMix.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Misc/SkillAdditionInfo.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Misc/SkillAdditionInfo.dat
--------------------------------------------------------------------------------
/ServerConfigs/data/Monsters/MonsterAIRule.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Monsters/MonsterAIRule.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Monsters/MonsterSkill.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Monsters/MonsterSkill.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/CryWolf_PEACE.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/CryWolf_PEACE.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Kanturu_Close.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Kanturu_Close.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/Kanturu_Open.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/Kanturu_Open.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/ValleyofLoren.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/ValleyofLoren.att
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_WCoin.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add WCoin int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_WCoinP.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add WCoinP int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-BotPet_BotVersion.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.BotPet add BotVersion Int default(1) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_Resets.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add Resets Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Guild_SCFG_Gens.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Guild add SCFG_Gens smallint default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-OptionData_SkillKey.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.OptionData ALTER COLUMN SkillKey binary(20)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDupeFinder/Readme.txt:
--------------------------------------------------------------------------------
1 | Recomendation:
2 |
3 | Use it with GS closed.
4 | Make a backup from DB before use this program.
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_BlueEvent.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFBlueEventEnabled=0
4 | SCFBlueEventMinutes=5
5 | SCFBlueEventExtraItemDropPer=30
--------------------------------------------------------------------------------
/ServerConfigs/data/CashShop/CashShopOption.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/CashShop/CashShopOption.dat
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/BoxOfLuck.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/BoxOfLuck.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/Silver_Box.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/Silver_Box.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Monsters/MonsterAIElement.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Monsters/MonsterAIElement.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Monsters/MonsterAIGroup.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Monsters/MonsterAIGroup.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Monsters/MonsterAutomata.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Monsters/MonsterAutomata.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/CryWolf_OCCUPIED.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/CryWolf_OCCUPIED.att
--------------------------------------------------------------------------------
/ServerConfigs/data/Terrains/IllusionTemple.att:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/Terrains/IllusionTemple.att
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFMarried.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFMarried Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFMasterSkill.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFMasterSkill varbinary(240)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-MuExtraData_MAP_SRV.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MuExtraData add MAP_SRV int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/BlueRibbonBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/BlueRibbonBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/RedRibbonBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/RedRibbonBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_GoblinCoin.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add GoblinCoin int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_MuItemShopList.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add MuItemShopList varbinary(720)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_SCFIsVip.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add SCFIsVip SmallInt default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_SCFVipDays.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add SCFVipDays Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_SCFVipMoney.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add SCFVipMoney Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-MuExtraData.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[MuExtraData] ([HUNT_ZONE_OPEN] [Int] DEFAULT(1) NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFGensRank.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFGensRank int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFPCPoints.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFPCPoints Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFSealItem.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFSealItem Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFSealTime.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFSealTime Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/BlueChocolateBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/BlueChocolateBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/DeepBlueCandyBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/DeepBlueCandyBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/GreenRibbonBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/GreenRibbonBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/Old_Jewelry_Box.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/Old_Jewelry_Box.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/PinkChocolateBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/PinkChocolateBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/RedChocolateBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/RedChocolateBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_MuItemShopGiftList.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add MuItemShopGiftList varbinary(720)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_MuItemShopGiftMsg.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add MuItemShopGiftMsg varbinary(4995)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_SCFLuckyCoins.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add SCFLuckyCoins Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFGensDateLeave.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFGensDateLeave smalldatetime NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFMasterLevel.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFMasterLevel Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFMasterPoints.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFMasterPoints Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFScrollItem.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFScrollItem Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFScrollTime.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFScrollTime Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanEditor/TitanEditor.mdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/Docs & Tools/TitanEditor/TitanEditor.mdb
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanSerialize/ForSearch.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/Docs & Tools/TitanSerialize/ForSearch.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/HiddenTreasureBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/HiddenTreasureBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/Metal_Jewelry_Box.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/Metal_Jewelry_Box.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/VermilionCandyBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/VermilionCandyBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_SCFWareVipCount.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add SCFWareVipCount Int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFExtInventory.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFExtInventory tinyint default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFGensFamily.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFGensFamily smallint default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFUpdatedPShop.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFUpdatedPShop tinyint default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-SCFS5Quest_SCFS5Quest.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.SCFS5Quest ALTER COLUMN SCFS5Quest varbinary(8000) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_HideAndSeekEvent.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFHideAndSeekEnabled=0
4 | SCFHideAndSeekMinutes=10
5 | SCFHideAndSeekRepeatMsgAfterXSecs=60
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCF_BlackList.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFAntiFloodEnabled=0
4 | SCFAutoAddToBlackList=1
5 | SCFMaxIPConnection=20
6 | SCFAutoCloseAllFloodConnection=1
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/Elegant_Jewelry_Box.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/Elegant_Jewelry_Box.txt
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/LightPurpleCandyBox.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/data/EventItemBags/LightPurpleCandyBox.txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_SCFExtWarehouse.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add SCFExtWarehouse tinyint default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFGensContribution.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFGensContribution int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFGensRecvReward.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFGensRecvReward tinyint default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-GameServerInfo_MuShopItemCount.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.GameServerInfo add MuShopItemCount int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Titan_Rewards_SerialFFFFFFFE.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Titan_Rewards add SerialFFFFFFFE TinyInt default(0) NOT NULL
--------------------------------------------------------------------------------
/Source/GameServer.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/1-ALTER-MEMB_INFO_MuItemShopGiftList - copia.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.MEMB_INFO add GoldChannelTime int default(0) NOT NULL
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/1-ALTER-Character_SCFMarryHusbandWife.tdu:
--------------------------------------------------------------------------------
1 | ALTER TABLE %s.dbo.Character add SCFMarryHusbandWife varchar(10) NOT NULL default ''
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCF_CustomQuests.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFCustomQuestsEnabled=0
4 | SCFCustomQuestsCount=1
5 |
6 | [Path]
7 |
8 | Quest001="..\SCFData\CustomQuests\cQuest001.txt"
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/S6 & S5E4/S5E4/Data/lang/kor/Skill(kor).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/Docs & Tools/S6 & S5E4/S5E4/Data/lang/kor/Skill(kor).txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/S6 & S5E4/S5E4/Data/lang/kor/item(New).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/Docs & Tools/S6 & S5E4/S5E4/Data/lang/kor/item(New).txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/S6 & S5E4/S6E1/Data/lang/kor/Item(New).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/Docs & Tools/S6 & S5E4/S6E1/Data/lang/kor/Item(New).txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Me_MuOnline/0-CREATE-LuckyCoinsRank.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[LuckyCoinsRank] (id int IDENTITY (1, 1),Account nvarchar(10),LuckyCoins int,Date smalldatetime)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-OfficialHelper.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[OfficialHelper]([Name] [varchar](10) NOT NULL PRIMARY KEY NONCLUSTERED,[Data] [varbinary](257) NULL)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-TitanLotteryReward.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[TitanLotteryReward](
2 | [ID] [int] NOT NULL PRIMARY KEY CLUSTERED,
3 | [Reward] [int] NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/S6 & S5E4/S6E1/Data/lang/kor/itemsetoption(Kor).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/Docs & Tools/S6 & S5E4/S6E1/Data/lang/kor/itemsetoption(Kor).txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/S6 & S5E4/S6E3/Data/Lang/Kor/itemsetoption(Kor).txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TitansTech/GameServer/HEAD/ServerConfigs/Docs & Tools/S6 & S5E4/S6E3/Data/Lang/Kor/itemsetoption(Kor).txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-Race_Data.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[Race_Data]([AccountID] [varchar](10) NOT NULL,[Name] [varchar](10) NOT NULL PRIMARY KEY CLUSTERED,[Seconds] [int] NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/data/ConnectMember.txt:
--------------------------------------------------------------------------------
1 | //ADMIN ID EXPIRES ON TYPE EMAIL TAG
2 | //====================================================================================
3 | "DaRKav" //None ADMIN darkav@hotmail.com AAAAAA
4 |
5 |
--------------------------------------------------------------------------------
/GGSvr/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // GGSvr.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-Race_LastWinners.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[Race_LastWinners]([AccountID] [varchar](10) NOT NULL,[Name] [varchar](10) NOT NULL PRIMARY KEY CLUSTERED,[Seconds] [int] NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_HappyHourEvent.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFHappyHourEnabled=0
4 | SCFHappyHourMinutes=15
5 |
6 | [HappyHour]
7 |
8 | SCFHappyHourExtraExperience=100
9 | SCFHappyHourExtraItemDropPer=20
10 |
--------------------------------------------------------------------------------
/Source/MuMsg.h:
--------------------------------------------------------------------------------
1 | #define MSGGET(x, y) ( (x) * 256 + (y) )
2 |
3 | class CMsg
4 | {
5 | public:
6 | void DataFileLoad(char * filename);
7 | LPSTR Get(int);
8 | private:
9 | char msg[32767][256];
10 |
11 | };
12 |
13 | extern CMsg lMsg;
--------------------------------------------------------------------------------
/SimpleModulus/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // SimpleModulus.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-Resets_Log.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[Resets_Log]([AccountID] [varchar](10) NOT NULL,[Name] [varchar](50) NOT NULL,[Reset] [int] NOT NULL,[r_Type] [tinyint] NOT NULL,[Date] [datetime] NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_RaklionEvent.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFRaklionEventEnabled=1
4 | SCFRaklionEventGateIN=290
5 | SCFRaklionEventGateOUT=292
6 | SCFRaklionEventMobsLoad=1
7 | SCFRaklionEventMaxPlayers=10
8 |
9 | SCFRaklionSelupanDropItems=10
--------------------------------------------------------------------------------
/Source/Experiments.h:
--------------------------------------------------------------------------------
1 | void CheckRemoteDebuggerPresent();
2 | void GetTickCountDebug();
3 | void GetHardwareDebug();
4 | void IsDebuggerPresentRuntime();
5 | void IsDebuggerPresentRuntimePIB();
6 | void IsDebuggerPresentRuntimeSetCheck();
7 | void IsDebuggerPresentNTGlobalFlag();
--------------------------------------------------------------------------------
/ServerConfigs/data/dataserver.ini:
--------------------------------------------------------------------------------
1 | [DataServerInfo]
2 | ;////////////////////////////////////////////////////////////////////////////////
3 | ; SYSTEM
4 | ;////////////////////////////////////////////////////////////////////////////////
5 | NewAccountCreate = 1
6 | DBServerPort = 55960
7 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-SCFS5Quest.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[SCFS5Quest]([AccountID] [varchar](10) NOT NULL,[Name] [nvarchar](10) NOT NULL PRIMARY KEY NONCLUSTERED,[SCFS5Quest] [varbinary] (5600) NOT NULL DEFAULT (0),[Type] [smallint] NOT NULL DEFAULT (0))
--------------------------------------------------------------------------------
/Source/CSAuth/CSAuth.dep:
--------------------------------------------------------------------------------
1 | # Microsoft Developer Studio Generated Dependency File, included by CSAuth.mak
2 |
3 | .\CSAuth.cpp : \
4 | ".\CSAuth.h"\
5 |
6 |
7 | .\StdAfx.cpp : \
8 | "..\..\..\..\program files\microsoft visual studio\vc98\include\basetsd.h"\
9 | ".\stdafx.h"\
10 |
11 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-TitanLotteryWinners.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[TitanLotteryWinners](
2 | [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
3 | [AccountID] [varchar](10) NOT NULL,
4 | [Name] [varchar](50) NOT NULL,
5 | [Date] [datetime] NOT NULL)
--------------------------------------------------------------------------------
/Source/TDurMagicKeyChecker.cpp:
--------------------------------------------------------------------------------
1 | // TDurMagicKeyChecker.cpp: implementation of the TMonsterAI class.
2 | // GS-N 1.00.18 JPN 0xXXXXXXXX - Completed (code only in .h file)
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "TDurMagicKeyChecker.h"
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-GuildWarehouse.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[GuildWarehouse]([G_Name] [varchar](10) NOT NULL,[Items] [varbinary](1920) NULL,[Money] [int] NULL DEFAULT (0),[EndUseDate] [smalldatetime] NULL,[DbVersion] [tinyint] NULL DEFAULT (0),[pw] [smallint] NULL DEFAULT (0))
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_HitAndUpEvent.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFHaPEnabled=0
4 | SCFHaPMinutes=1
5 |
6 | [Points]
7 |
8 | SCFHaPMGExtraPoint=1
9 | SCFHaPDLExtraPoint=1
10 | SCFHaPRFExtraPoint=1
11 | SCFHaPFirstClassExtraPoint=1
12 | SCFHaPSecondClassExtraPoint=1
13 | SCFHaPThirdClassExtraPoint=1
--------------------------------------------------------------------------------
/SimpleModulus/SimpleModulus.dep:
--------------------------------------------------------------------------------
1 | # Microsoft Developer Studio Generated Dependency File, included by SimpleModulus.mak
2 |
3 | .\SimpleModulus.cpp : \
4 | ".\SimpleModulus.h"\
5 |
6 |
7 | .\StdAfx.cpp : \
8 | "..\..\..\..\program files\microsoft visual studio\vc98\include\basetsd.h"\
9 | ".\StdAfx.h"\
10 |
11 |
--------------------------------------------------------------------------------
/Source/CSAuth/CSAuth.plg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Build Log
5 |
6 | --------------------Configuration: CSAuth - Win32 Release--------------------
7 |
8 | Command Lines
9 |
10 |
11 |
12 | Results
13 | CSAuth.lib - 0 error(s), 0 warning(s)
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Source/zzzzz.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // GameServer.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
7 | // TODO: reference any additional headers you need in STDAFX.H
8 | // and not in this file
9 |
--------------------------------------------------------------------------------
/ServerConfigs/TitanCS/Data/SCF_BlackList.dat:
--------------------------------------------------------------------------------
1 | //---------------------------------------------------------------------------
2 | //"IP"
3 | //---------------------------------------------------------------------------
4 | // 0-16 characters
5 | //---------------------------------------------------------------------------
6 |
7 | //"192.168.1.47"
--------------------------------------------------------------------------------
/Source/AutoExp.h:
--------------------------------------------------------------------------------
1 |
2 | #if (PACK_EDITION>=3)
3 |
4 | class AutoExpClass
5 | {
6 | public:
7 | void Init(char * FilePath);
8 |
9 | //Vars:
10 | BYTE Enabled;
11 | int Time;
12 | short BaseExp;
13 | BYTE LevelUpPoints;
14 | };
15 |
16 | extern AutoExpClass AutoExp;
17 | void AutoExpClass__AddExp(void * lpParam);
18 |
19 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-Titan_Rank.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[Titan_Rank]([ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,[AccountID] [varchar](10) NOT NULL,[Name] [varchar](10) NOT NULL,[RankDate] [datetime] NOT NULL,[RankType] [tinyint] NOT NULL,[RankSubType] [tinyint] NOT NULL,[RankTop] [tinyint] NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventMobs/SCF_RaklionEvent.dat:
--------------------------------------------------------------------------------
1 | 0
2 | 154 19 5
3 | 161 32 5
4 | 149 41 5
5 | 137 38 5
6 | 138 24 5
7 | 154 15 5
8 | 148 30 15
9 | end
10 | 1
11 | 160 24 1
12 | 154 17 1
13 | 141 17 1
14 | 135 21 1
15 | 136 33 1
16 | 140 44 1
17 | 153 46 1
18 | 163 36 1
19 | 143 14 1
20 | end
21 | 2
22 | 147 29 1
23 | 139 27 1
24 | 154 31 1
25 | end
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanEditor/Config.ini:
--------------------------------------------------------------------------------
1 | [Connection]
2 |
3 | ODBC=MuOnline
4 | ODBC_Me=MuOnline
5 | User=sa
6 | Password=654321
7 |
8 | UseODBC=0
9 | SQLServer=ADMIN-PC\SQLEXPRESS
10 |
11 | [Common]
12 |
13 | UseMD5=1
14 | ResetField=resets
15 | ReloadAccounts=1
16 |
17 | [EditorAdds]
18 |
19 | ItemNewPath=D:\MuServer\Data\Lang\Item(New).txt
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-ExtendedWarehouse.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[ExtendedWarehouse]([AccountID] [varchar](10) NOT NULL,[Items] [varbinary](1920) NULL,[Money] [int] NULL DEFAULT (0),[EndUseDate] [smalldatetime] NULL,[DbVersion] [tinyint] NULL DEFAULT (0),[pw] [smallint] NULL DEFAULT (0),[SCFExtWare] [int] NOT NULL DEFAULT (0))
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_GreenEvent.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFGreenEventSwitch = 0
4 | SCFGreenEventMinutesTime = 15
5 |
6 | [DropItem]
7 |
8 | SCFGreenEventExItemDropRate = 1000
9 | SCFGreenEventExItemDropSkillRate = 100
10 | SCFGreenEventExItemDropLuckRate = 50
11 | SCFGreenEventNormalItemDropSkillRate = 60
12 | SCFGreenEventNormalItemDropLuckRate = 40
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_Racer.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFRaceEnabled=1
4 | SCFRaceRepeatMsgAfterXMins=30
5 | SCFRaceMaxSeconds=60
6 |
7 | [Time]
8 |
9 | DayOfWeekStart=0 //Start at sunday
10 | DayOfWeekEnd=4 //Ends at Wednesday (4-1)
11 |
12 | [Requeriments]
13 |
14 | SCFRaceMinLevel=1
15 | SCFRaceZen=100000
16 | SCFRaceOnlyVIP=0
17 | SCFRaceVipMoney=0
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_LuckyPenny.txt:
--------------------------------------------------------------------------------
1 | 10
2 | //ItemType ItemIndex iLevel iOpt iLuck iSkill iDur iExc iAnc
3 | 14 13 0 0 0 0 0 0 0
4 | end
5 |
6 | 20
7 | //ItemType ItemIndex iLevel iOpt iLuck iSkill iDur iExc iAnc
8 | 14 14 0 0 0 0 0 0 0
9 | end
10 |
11 | 30
12 | //ItemType ItemIndex iLevel iOpt iLuck iSkill iDur iExc iAnc
13 | 14 15 0 0 0 0 0 0 0
14 | end
--------------------------------------------------------------------------------
/Source/HappyHour.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 | #if (PACK_EDITION>=1)
4 |
5 | class cHappyHour
6 | {
7 | public:
8 | void Init(char * FilePath);
9 | void StartEvent();
10 | BOOL Enabled;
11 | BOOL Start;
12 | short ExtraExp;
13 | short ExtraDrop;
14 | short Minutes;
15 | };
16 | void cHappyHour__InsideTrigger(void * lpParam);
17 | extern cHappyHour HappyHour;
18 |
19 | #endif
--------------------------------------------------------------------------------
/Source/News.h:
--------------------------------------------------------------------------------
1 |
2 | class NewsClass
3 | {
4 | public:
5 | void Init(char * FilePath);
6 |
7 | //Vars:
8 | BYTE NewsEnabled;
9 | BYTE MinutesBetweenEachNews;
10 | BYTE TotalNewsSections;
11 | BYTE TotalNewsLines;
12 | BYTE CurrentNewsPosition;
13 | char NewsSectionsList[99][64];
14 | };
15 |
16 | void NewsClass__Announce(void * lpParam);
17 |
18 | extern NewsClass NewsSystem;
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDupeFinder/Config.ini:
--------------------------------------------------------------------------------
1 | [Connection]
2 |
3 | ServerODBC=MuOnline
4 | Name=MuOnline
5 | Login=sa
6 | Password=654321
7 |
8 | [Config]
9 |
10 | SkipNonUpdatedPSHOP=1
11 | SearchEachXMinutes=60
12 | UseExtendedWarehouse=1
13 | ItemNewPath=C:\MuServer\Data\Lang\Kor\Item(new).txt
14 |
15 | [Action]
16 |
17 | DeleteItems=0
18 | BanCharacter=0
19 | BanAccount=0
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Ranking/0-CREATE-MONSTERSKILLED_INFO.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[MONSTERSKILLED_INFO]
2 | (
3 | [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY,
4 | [ServerCode] [int] NOT NULL DEFAULT ((0)),
5 | [Account] [varchar](10) NOT NULL,
6 | [Name] [varchar](10) NOT NULL,
7 | [Monster] [int] NOT NULL DEFAULT ((0)),
8 | [KillCount] [int] NOT NULL DEFAULT ((0))
9 | )
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-TitanLotteryLog.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[TitanLotteryLog](
2 | [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
3 | [Num1] [smallint] NOT NULL,
4 | [Num2] [smallint] NOT NULL,
5 | [Num3] [smallint] NOT NULL,
6 | [Num4] [smallint] NOT NULL,
7 | [Date] [datetime] NOT NULL,
8 | [Reward] [int] NOT NULL,
9 | [Winners] [int] NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Ranking/0-CREATE-IMPERIALGUARDIAN_INFO.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[IMPERIALGUARDIAN_INFO]
2 | (
3 | [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY,
4 | [ServerCode] [int] NOT NULL DEFAULT ((0)),
5 | [Account] [varchar](10) NOT NULL,
6 | [Name] [varchar](10) NOT NULL,
7 | [PlayDay] [tinyint] NOT NULL DEFAULT ((0)),
8 | [WinCount] [int] NOT NULL DEFAULT ((0))
9 | )
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-TitanLotteryPlayers.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[TitanLotteryPlayers](
2 | [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
3 | [AccountID] [varchar](10) NOT NULL,
4 | [Name] [varchar](10) NOT NULL,
5 | [Num1] [smallint] NOT NULL,
6 | [Num2] [smallint] NOT NULL,
7 | [Num3] [smallint] NOT NULL,
8 | [Num4] [smallint] NOT NULL,
9 | [Date] [datetime] NOT NULL)
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Ranking/0-CREATE-DUEL_INFO.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[DUEL_INFO]
2 | (
3 | [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY,
4 | [ServerCode] [int] NOT NULL DEFAULT ((0)),
5 | [Account] [varchar](10) NOT NULL,
6 | [Name] [varchar](10) NOT NULL,
7 | [Win] [int] NOT NULL DEFAULT ((0)),
8 | [Lost] [int] NOT NULL DEFAULT ((0)),
9 | [Average] [int] NOT NULL DEFAULT ((0))
10 | )
--------------------------------------------------------------------------------
/Source/IOGSProtocol.h:
--------------------------------------------------------------------------------
1 |
2 | #define WM_GM_IOGS_CLIENT_MSG_PROC 0x440
3 |
4 |
5 | struct PMSG_IOGSCOMMAND
6 | {
7 | PBMSG_HEAD h;
8 | int CmdNum;
9 | };
10 |
11 | extern wsJoinServerCli wsIOGSServerCli;
12 |
13 | void IOGSClientMsgProc(WPARAM wParam, LPARAM lParam);
14 | BOOL IOGSConnect(char* ConnectServer,int Port ,DWORD wMsg);
15 | void IOGSLogin();
16 | void IOGSProtocolCore(BYTE protoNum, LPBYTE aRecv, int aLen);
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/PointsShops/WzShop/SCF_CashShop_Category.txt:
--------------------------------------------------------------------------------
1 | 1
2 | 10 "W Coin (C)"
3 | 13 "Special"
4 | 14 "Accessory"
5 | 22 "Buff"
6 | 23 "Pet"
7 | 24 "Equipment"
8 | 25 "Ticket"
9 | 26 "Potion"
10 | 11 "W Coin (P)"
11 | 27 "Special"
12 | 28 "Accessory"
13 | 29 "Buff"
14 | 30 "Pet"
15 | 31 "Equipment"
16 | 32 "Ticket"
17 | 46 "Potion"
18 | 33 "Special"
19 | 20 "Goblin Point"
20 | 34 "Buff"
21 | 45 "Special"
22 | end
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/TitanDBUpdater.ini:
--------------------------------------------------------------------------------
1 | // IpAdress Config:
2 | // Put the same value than you put in ODBC Creation, for example could be:
3 | // (local)
4 | // or
5 | // ICARUS\SQLEXPRESS
6 |
7 | [SQLConfig]
8 |
9 | IpAdress=ADMIN-PC\SQLEXPRESS
10 |
11 | DNS1=MuOnline
12 | DNS2=MuOnlineJoinDB
13 | DNS3=Ranking
14 |
15 | User=sa
16 | Password=654321
17 |
18 | [DataBase]
19 |
20 | MuOnline=MuOnline
21 | MeMuOnline=Me_MuOnline
22 | Ranking=Ranking
--------------------------------------------------------------------------------
/Source/ClosePlayer.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef CLOSEPLAYER_H
6 | #define CLOSEPLAYER_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class Ccloseplayer
13 | {
14 | public:
15 |
16 | Ccloseplayer();
17 | virtual ~Ccloseplayer();
18 |
19 | void Load(char* filename);
20 |
21 | private:
22 |
23 |
24 | };
25 |
26 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Ranking/0-CREATE-DOPPELGANGER_INFO.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[DOPPELGANGER_INFO]
2 | (
3 | [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY,
4 | [ServerCode] [int] NOT NULL DEFAULT ((0)),
5 | [Account] [varchar](10) NOT NULL,
6 | [Name] [varchar](10) NOT NULL,
7 | [Win] [int] NOT NULL DEFAULT ((0)),
8 | [Lost] [int] NOT NULL DEFAULT ((0)),
9 | [MobPassed] [int] NOT NULL DEFAULT ((0)),
10 | [MobToPass] [int] NOT NULL DEFAULT ((0))
11 | )
--------------------------------------------------------------------------------
/Source/CrywolfStateTimeInfo.cpp:
--------------------------------------------------------------------------------
1 | // CrywolfStateTimeInfo.cpp: implementation of the CCrywolfStateTimeInfo class.
2 | // GS-N 1.00.18 JPN 0x00568460 - Completed
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "CrywolfStateTimeInfo.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 |
--------------------------------------------------------------------------------
/Source/GreenEvent.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 | #if (PACK_EDITION>=1)
4 |
5 | class cGreenEvent
6 | {
7 | public:
8 | void Init(char * FilePath);
9 | void StartEvent();
10 | BOOL Enabled;
11 | BOOL Start;
12 | short Minutes;
13 | short ExcDropRate;
14 | short ExcItemDropSkill;
15 | short ExcItemDropLuck;
16 | short NormalItemDropSkill;
17 | short NormalItemDropLuck;
18 | };
19 | void cGreenEvent__InsideTrigger(void * lpParam);
20 | extern cGreenEvent GreenEvent;
21 |
22 | #endif
--------------------------------------------------------------------------------
/common/TSync.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef TSYNC_H
6 | #define TSYNC_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | class TSync
14 | {
15 | public:
16 |
17 | TSync();
18 | ~TSync();
19 |
20 | void Lock();
21 | void Unlock();
22 |
23 | private:
24 |
25 | CRITICAL_SECTION m_cs; // 0
26 | LONG m_nLock; // 18
27 | };
28 |
29 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventMobs/SCF_BossAttack.dat:
--------------------------------------------------------------------------------
1 | 1
2 | 170 2 69 120 2
3 | 170 2 70 123 2
4 | 170 2 72 125 1
5 | 170 2 74 125 1
6 | 170 2 76 123 1
7 | 170 2 76 120 1
8 | 170 2 75 118 1
9 | 170 2 73 116 1
10 | 170 2 70 116 1
11 | 170 2 68 118 1
12 | 170 2 73 116 1
13 | 170 2 70 116 1
14 | 170 2 68 118 1
15 | 171 2 71 123 2
16 | 171 2 73 123 2
17 | 171 2 74 121 1
18 | 171 2 73 119 1
19 | 171 2 71 118 1
20 | 171 2 70 120 1
21 | 171 2 71 122 2
22 | 171 2 74 123 2
23 | end
24 | 2
25 | 66 2 72 120 1
26 | end
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventMobs/SCF_XMasEvent.dat:
--------------------------------------------------------------------------------
1 | 1
2 | 466 2 69 25 8 //Evil Goblin
3 | 476 2 69 25 1 //Evil Santa Claus
4 | 477 2 69 25 8 //Evil Snowman
5 |
6 | 466 2 228 185 8 //Evil Goblin
7 | 476 2 228 185 1 //Evil Santa Claus
8 | 477 2 228 185 8 //Evil Snowman
9 |
10 | 466 2 90 162 8 //Evil Goblin
11 | 476 2 90 162 1 //Evil Santa Claus
12 | 477 2 90 162 8 //Evil Snowman
13 |
14 | 466 57 178 186 8 //Evil Goblin
15 | 476 57 178 186 1 //Evil Santa Claus
16 | 477 57 178 186 8 //Evil Snowman
17 | end
--------------------------------------------------------------------------------
/ServerConfigs/TitanCS/Data/SCF_ServerList.cfg:
--------------------------------------------------------------------------------
1 | //---------------------------------------------------------------------------
2 | // "GIndex" | "GSubIndex" | "IP" | "Port" | "Status(SHOW, HIDE)"
3 | //---------------------------------------------------------------------------
4 | // 0-20 | 0-19 | 0-16 characters | 0-65535 | SHOW/HIDE
5 | //---------------------------------------------------------------------------
6 |
7 |
8 | 0 1 "192.168.1.3" 55901 "SHOW"
9 | 0 19 "192.168.1.3" 55919 "HIDE"
10 |
--------------------------------------------------------------------------------
/ServerConfigs/data/Shops/Elegance_Allen(414).txt:
--------------------------------------------------------------------------------
1 | //GM SHop
2 | 14 13 0 1 0 0 0 0 //Jewel of Bless
3 | 14 14 0 1 0 0 0 0 //Jewel of Soul
4 | 14 11 8 0 0 0 0 0 //Box of Kundun +1
5 | 14 11 9 0 0 0 0 0 //Box of Kundun +2
6 | 14 11 10 0 0 0 0 0 //Box of Kundun +3
7 | 14 11 11 0 0 0 0 0 //Box of Kundun +4
8 | 14 11 12 0 0 0 0 0 //Box of Kundun +5
9 | 14 52 0 0 0 0 0 0 //GM Box
10 |
11 | 13 43 0 0 0 0 0 0 //Green Symbol
12 | 13 44 0 0 0 0 0 0 //Pink Symbol
13 | 13 45 0 0 0 0 0 0 //Yellow Symbol
14 |
15 | end
--------------------------------------------------------------------------------
/Source/Guardian.h:
--------------------------------------------------------------------------------
1 | #ifndef GUARDIAN_H
2 | #define GUARDIAN_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 | #if (GS_CASTLE==1)
9 | class CGuardian
10 | {
11 | public:
12 |
13 | CGuardian();
14 | virtual ~CGuardian();
15 |
16 | BOOL CreateGuardian(int iIndex, BYTE cTX, BYTE cTY);
17 | void GuardianAct(int iIndex);
18 | BOOL DeleteGuardian(int iIndex);
19 |
20 | private:
21 |
22 |
23 | };
24 |
25 | extern CGuardian g_CsNPC_Guardian;
26 | #endif
27 |
28 | #endif
--------------------------------------------------------------------------------
/Source/RainItemEvent.h:
--------------------------------------------------------------------------------
1 |
2 | #if (PACK_EDITION>=3)
3 |
4 |
5 | #define cRainItemEvent_DropItemPos_COUNT 100
6 |
7 | struct cRainItemEvent_DropItemPos
8 | {
9 | BYTE map;
10 | BYTE x;
11 | BYTE y;
12 | };
13 |
14 | class cRainItemEvent
15 | {
16 | public:
17 | void StartEvent();
18 | void ReadPositions(char * FilePath);
19 | bool Start;
20 | BYTE posCount;
21 | cRainItemEvent_DropItemPos pos[cRainItemEvent_DropItemPos_COUNT];
22 | };
23 |
24 | extern cRainItemEvent RainItemEvent;
25 |
26 | #endif
--------------------------------------------------------------------------------
/Source/GMSystem.h:
--------------------------------------------------------------------------------
1 | #define GMCommands 20
2 |
3 | struct GMStruct
4 | {
5 | char Name[11];
6 | BYTE CtlCode;
7 | BYTE Day;
8 | BYTE Month;
9 | WORD Year;
10 | BOOL Command[GMCommands];
11 | };
12 |
13 | class cGMSystem
14 | {
15 | public:
16 | void CheckStatus(LPOBJ pObj);
17 | BOOL CheckCommand(LPOBJ pObj,int Command);
18 | void ReadConfig(char * FilePath);
19 | BOOL Enabled;
20 | BOOL Announce;
21 | private:
22 | GMStruct GMpObj[100];
23 | BYTE Count;
24 | };
25 |
26 | extern cGMSystem GMSystem;
--------------------------------------------------------------------------------
/Source/GameEvent.cpp:
--------------------------------------------------------------------------------
1 | // GameEvent.cpp: implementation of the GameEvent class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | /*#include "GameEvent.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | GameEvent::GameEvent()
13 | {
14 |
15 | }
16 |
17 | GameEvent::~GameEvent()
18 | {
19 |
20 | }
21 | */
--------------------------------------------------------------------------------
/ServerConfigs/GameServer/SCF_GMSystem.txt:
--------------------------------------------------------------------------------
1 | //Name GMLevel ExpDay ExpMonth ExpYear /pkclear /pkset /item /skin /gg /gmoveall /whois /addbuff /clearinv /firecracker /addskill /spawn /status ALLBANCOMMANDS /vipstatus /setzen /online /playerinfo /setvip CastleSiegeCMDS
2 | 1
3 | "DaRKav" 32 31 12 2010 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
4 | "IcaruS" 32 31 12 2010 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
5 | "bet0x" 32 31 12 2010 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
6 | end
7 |
--------------------------------------------------------------------------------
/ServerConfigs/GameServerCS/SCF_GMSystem.txt:
--------------------------------------------------------------------------------
1 | //Name GMLevel ExpDay ExpMonth ExpYear /pkclear /pkset /item /skin /gg /gmoveall /whois /addbuff /clearinv /firecracker /addskill /spawn /status ALLBANCOMMANDS /vipstatus /setzen /online /playerinfo /setvip CastleSiegeCMDS
2 | 1
3 | "DaRKav" 32 31 12 2010 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
4 | "IcaruS" 32 31 12 2010 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
5 | "bet0x" 32 31 12 2010 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
6 | end
7 |
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/FriendShip.txt:
--------------------------------------------------------------------------------
1 | //-----------------------------
2 | // Happy Pouch (Love PangPang)
3 | //-----------------------------
4 | 15 0 0 0 1 0
5 | 15 1 0 0 1 0
6 | 15 2 0 0 1 0
7 | 15 3 0 0 1 0
8 | 15 4 0 0 1 0
9 | 15 5 0 0 1 0
10 | 15 6 0 0 1 0
11 | 15 7 0 0 1 0
12 | 15 8 0 0 1 0
13 | 15 9 0 0 1 0
14 | 15 10 0 0 1 0
15 | 15 11 0 0 1 0
16 | 15 12 0 0 1 0
17 | 15 13 0 0 1 0
18 | 15 14 0 0 1 0
19 | 15 15 0 0 1 0
20 | 15 16 0 0 1 0
21 | 15 17 0 0 1 0
22 | 15 18 0 0 1 0
23 | end
24 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/4-CREATE_PROC-TT_GetMuShopItemSerial.tdu:
--------------------------------------------------------------------------------
1 | CREATE Procedure [dbo].[TT_GetMuShopItemSerial]
2 | AS
3 | BEGIN
4 | DECLARE @ItemSerial int
5 | SET NOCOUNT ON
6 | begin transaction
7 | update GameServerInfo set @ItemSerial = MuShopItemCount = MuShopItemCount+1
8 | if ( @@error <> 0 )
9 | begin
10 | rollback transaction
11 | select -1
12 | end
13 | else
14 | begin
15 | commit transaction
16 | select @ItemSerial
17 | end
18 | END
--------------------------------------------------------------------------------
/ServerConfigs/data/lang/kor/commonloc.cfg:
--------------------------------------------------------------------------------
1 | //==============================================================================
2 | //Commonloc File [KOR]
3 | //#www.darksideofmu.com
4 | //by DaRKav (darkav@hotmail.com)
5 | //------------------------------------------------------------------------------
6 | //Revision 31 August, 2009
7 | //==============================================================================
8 |
9 | [ConnectServerInfo]
10 | IP=127.0.0.1
11 | PORT=55557
12 |
13 | [GameServerInfo]
14 | LootingTime=60
15 |
--------------------------------------------------------------------------------
/Source/CLoginCount.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef CLOGINCOUNT_H
6 | #define CLOGINCOUNT_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class CLoginCount
13 | {
14 |
15 | public:
16 |
17 | CLoginCount();
18 | ~CLoginCount();
19 |
20 | void Init();
21 | void Add();
22 | void Delete();
23 | int Get();
24 |
25 | private:
26 |
27 | int m_count;
28 | };
29 |
30 | #endif
--------------------------------------------------------------------------------
/Source/SkillDelay.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef SKILLDELAY_H
6 | #define SKILLDELAY_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class CSkillDelay
13 | {
14 |
15 | public:
16 |
17 | CSkillDelay();
18 | virtual ~CSkillDelay();
19 |
20 | void Init();
21 | BOOL Check(WORD skill);
22 |
23 | private:
24 |
25 | DWORD LastSkillUseTime[256]; // 4
26 | };
27 |
28 | #endif
--------------------------------------------------------------------------------
/Source/TStatistics.cpp:
--------------------------------------------------------------------------------
1 | // TStatistics.cpp: implementation of the TStatistics class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "TStatistics.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | /*TStatistics::TStatistics()
13 | {
14 |
15 | }
16 |
17 | TStatistics::~TStatistics()
18 | {
19 |
20 | }
21 | */
--------------------------------------------------------------------------------
/Source/CrywolfObjInfo.cpp:
--------------------------------------------------------------------------------
1 | // CrywolfObjInfo.cpp: implementation of the CCrywolfObjInfo class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "CrywolfObjInfo.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | CCrywolfObjInfo::CCrywolfObjInfo()
13 | {
14 |
15 | }
16 |
17 | CCrywolfObjInfo::~CCrywolfObjInfo()
18 | {
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/Source/ObjSkillAutoLearn.h:
--------------------------------------------------------------------------------
1 |
2 | #if (PACK_EDITION>=2)
3 |
4 | struct AUTOLEARN_SKILL_INFO
5 | {
6 | WORD number;
7 | WORD requireLevel;
8 | WORD requireReset;
9 | BYTE RequireClass[MAX_TYPE_PLAYER];
10 | };
11 |
12 |
13 | class cObjSkillAutoLearn
14 | {
15 | public:
16 | void Load(char * FileName);
17 | void LevelUp(int aIndex);
18 | BYTE Enabled;
19 | private:
20 | AUTOLEARN_SKILL_INFO skill[MAX_SKILL-1];
21 | int AddSkill(int aIndex, int aSkill);
22 | int Count;
23 | };
24 |
25 | extern cObjSkillAutoLearn ObjSkillAutoLearn;
26 |
27 | #endif
--------------------------------------------------------------------------------
/Source/HitAndUp.h:
--------------------------------------------------------------------------------
1 | #if (PACK_EDITION>=2)
2 |
3 | #include "user.h"
4 |
5 | class cHitAndUp
6 | {
7 | public:
8 | void Init(char * FilePath);
9 | void StartEvent();
10 | int GetAddExtraPoint(BYTE Class);
11 |
12 | BOOL Enabled;
13 | BOOL Start;
14 | short Minutes;
15 | BYTE MGExtraPoint;
16 | BYTE DLExtraPoint;
17 | BYTE RFExtraPoint;
18 | BYTE FirstClassExtraPoint;
19 | BYTE SecondClassExtraPoint;
20 | BYTE ThirdClassExtraPoint;
21 | };
22 |
23 | void cHitAndUp__InsideTrigger(void * lpParam);
24 |
25 | extern cHitAndUp HitAndUp;
26 |
27 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCF_Warehouse.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | //Enabled 1, Dissabled 0
4 | SCFWarehouse3SecondsBeforeOpen=1
5 |
6 | [System]
7 |
8 | // 0 = Normal
9 | // 1 = Extra Warehouse only limited by limit
10 | // 2 = Extra Warehouse only for VIP
11 | // 3 = Extra Warehouse = VipBuy Price
12 |
13 | SCFWarehouseSystem = 0
14 |
15 | //Enabled = 1 Dissabled = 0
16 | SCFUseGuildWarehouseSystem = 0
17 |
18 | [Config]
19 |
20 | //MAX CAN NOT EXCEED 32767
21 |
22 | SCFWarehouseExLimit = 15
23 | SCFWarehouseExVIPPointsValue = 100
24 |
25 | SCFGuildWarehouseMap = 79
--------------------------------------------------------------------------------
/Source/dirpath.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef DIRPATH_H
6 | #define DIRPATH_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class CDirPath
13 | {
14 |
15 | public:
16 |
17 | CDirPath();
18 | virtual ~CDirPath();
19 |
20 | void SetFirstPath(LPSTR dir_path);
21 | LPSTR GetNewPath(LPSTR npath);
22 |
23 | private:
24 |
25 | char m_path[260]; // 4
26 | char m_newpath[260]; // 108
27 | };
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_ImperialGuardian.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFImperialGuardianEventEnabled = 1
4 |
5 | ;=========================================================
6 | ;Event Dificulty Setting
7 | ;=========================================================
8 | ;Difficulty Formula = (((Party Max Level + Party Min Level) * 50) / SCFDoubleGoerEventMaxLevelDifficulty) / 100
9 | ;SCFImperialGuardianMaxLevelDifficulty = 0 => MEANS PLAYER MAX LEVEL
10 | ;=========================================================
11 | SCFImperialGuardianMaxLevelDifficulty = 0
12 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanSerialize/Config.ini:
--------------------------------------------------------------------------------
1 | [Connection]
2 |
3 | ServerODBC=MuOnline
4 | Name=MuOnline
5 | Login=sa
6 | Password=654321
7 |
8 | [Config]
9 |
10 | SkipNonUpdatedPSHOP=1
11 | UseExtendedWarehouse=1
12 | ShowLogs=1
13 |
14 | [Serialize]
15 |
16 | //SerialToChange: (Integer Number)
17 | //0xFFFFFFFF = 4294967295
18 | //0xFFFFFFFE = 4294967294
19 | //0xFFFFFFFD = 4294967293
20 | //0xFFFFFFFC = 4294967292
21 |
22 | ChangeSerials=1
23 | ItemFilterPath=.\ToChange.txt
24 | SerialToChange=0
25 |
26 | [Search]
27 |
28 | ItemFilterPath=.\ForSearch.txt
29 | Serial=0
--------------------------------------------------------------------------------
/Source/TServerAlertManager.cpp:
--------------------------------------------------------------------------------
1 | // TServerAlertManager.cpp: implementation of the TServerAlertManager class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "TServerAlertManager.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | /*TServerAlertManager::TServerAlertManager()
13 | {
14 |
15 | }
16 |
17 | TServerAlertManager::~TServerAlertManager()
18 | {
19 |
20 | }
21 | */
--------------------------------------------------------------------------------
/Source/GameEvent.h:
--------------------------------------------------------------------------------
1 | // GameEvent.h: interface for the GameEvent class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_GAMEEVENT_H__847E696C_185F_4163_887B_1973944B89F8__INCLUDED_)
6 | #define AFX_GAMEEVENT_H__847E696C_185F_4163_887B_1973944B89F8__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | /*class GameEvent
13 | {
14 | public:
15 | GameEvent();
16 | virtual ~GameEvent();
17 |
18 | };*/
19 |
20 | #endif // !defined(AFX_GAMEEVENT_H__847E696C_185F_4163_887B_1973944B89F8__INCLUDED_)
21 |
--------------------------------------------------------------------------------
/Source/CCastleEventItemList.cpp:
--------------------------------------------------------------------------------
1 | // CCastleEventItemList.cpp: implementation of the CCCastleEventItemList class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "CCastleEventItemList.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | /*CCastleEventItemList::CCastleEventItemList()
13 | {
14 |
15 | }
16 |
17 | CCastleEventItemList::~CCastleEventItemList()
18 | {
19 |
20 | }
21 | */
--------------------------------------------------------------------------------
/Source/NSerialCheck.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef NSERIALCHECK_H
6 | #define NSERIALCHECK_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class NSerialCheck
13 | {
14 |
15 | public:
16 |
17 | NSerialCheck();
18 | virtual ~NSerialCheck();
19 |
20 | void init();
21 | BOOL InCheck(BYTE serial);
22 | int GetSerial();
23 | BYTE GetSendSerial();
24 |
25 | private:
26 |
27 | BYTE m_serial; // 4
28 | BYTE m_SendSeiral; // 5
29 | };
30 |
31 | #endif
--------------------------------------------------------------------------------
/Source/Mastering.h:
--------------------------------------------------------------------------------
1 |
2 | class MasteringClass
3 | {
4 | public:
5 | void AddSkillUpPoints(int aIndex,int Points);
6 | void LoadSkill(LPOBJ lpObj, int MasterPoints,int Skill);
7 | BYTE ReqSkillPoints(WORD skill);
8 | void CalcMagicPower(LPOBJ lpObj);
9 | void AddMagicPower(LPOBJ lpObj, DWORD MagicNr);
10 | void GCSkillAddRecv(PMSG_SKILLMASTERADD* lpMsg, int aIndex);
11 | BOOL CheckAddSkill (int PlayerID, DWORD Skill, int & SkillPosition);
12 | void InfoSend(int aIndex);
13 | void LevelUp(LPOBJ lpObj);
14 | void S6E2RestoreMagic(int aIndex, int Skill);
15 | };
16 |
17 | extern MasteringClass Mastering;
18 |
--------------------------------------------------------------------------------
/Source/TStatistics.h:
--------------------------------------------------------------------------------
1 | // TStatistics.h: interface for the TStatistics class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_TSTATISTICS_H__7D95F743_60FD_49DB_99CD_16AB68F8EEDC__INCLUDED_)
6 | #define AFX_TSTATISTICS_H__7D95F743_60FD_49DB_99CD_16AB68F8EEDC__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | /*class TStatistics
13 | {
14 | public:
15 | TStatistics();
16 | virtual ~TStatistics();
17 |
18 | };*/
19 |
20 | #endif // !defined(AFX_TSTATISTICS_H__7D95F743_60FD_49DB_99CD_16AB68F8EEDC__INCLUDED_)
21 |
--------------------------------------------------------------------------------
/Source/WTEventItemList.cpp:
--------------------------------------------------------------------------------
1 | // WTEventItemList.cpp: implementation of the WTEventItemList class.
2 | // GS-N 1.00.18 JPN 0xXXXXXXXX - Completed (non- code file)
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "WTEventItemList.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | /*WTEventItemList::WTEventItemList()
13 | {
14 |
15 | }
16 |
17 | WTEventItemList::~WTEventItemList()
18 | {
19 |
20 | }
21 | */
--------------------------------------------------------------------------------
/Source/ChaosCastleSetItemDrop.cpp:
--------------------------------------------------------------------------------
1 | // ChaosCastleSetItemDrop.cpp: implementation of the CChaosCastleSetItemDrop class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "ChaosCastleSetItemDrop.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | /*CChaosCastleSetItemDrop::CChaosCastleSetItemDrop()
13 | {
14 |
15 | }
16 |
17 | CChaosCastleSetItemDrop::~CChaosCastleSetItemDrop()
18 | {
19 |
20 | }
21 | */
--------------------------------------------------------------------------------
/Source/ConMember.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 |
6 | #ifndef CONMEMBER_H
7 | #define CONMEBMER_H
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 | class CConMember
14 | {
15 | public:
16 |
17 | CConMember();
18 | virtual ~CConMember();
19 |
20 | void Init();
21 | BOOL IsMember(LPSTR AccountID);
22 | void Load(LPSTR filename);
23 |
24 | private:
25 |
26 | std::map m_szAccount;
27 |
28 | };
29 |
30 |
31 |
32 | extern CConMember ConMember;
33 |
34 | #endif
--------------------------------------------------------------------------------
/Source/SummerEvent.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 | #if (PACK_EDITION>=1)
4 |
5 | struct EventMobSummer
6 | {
7 | short Number;
8 | short ID;
9 | short Pos;
10 | };
11 |
12 | class cSummerEvent
13 | {
14 | public:
15 | void Init(char * FilePath);
16 | void ReadMonsters(char * FilePath);
17 | void SetMonsters();
18 | void ClearMonsters();
19 | void StartEvent();
20 | //Vars
21 | BOOL Enabled;
22 | BOOL Start;
23 | short Minutes;
24 | EventMobSummer Monster[256];
25 | short MonsterCount;
26 | };
27 |
28 | void cSummerEvent__InsideTrigger(void * lpParam);
29 |
30 | extern cSummerEvent SummerEvent;
31 |
32 | #endif
--------------------------------------------------------------------------------
/Source/BlueEvent.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 | #if (PACK_EDITION>=1)
4 |
5 | struct EventMob
6 | {
7 | short Number;
8 | short ID;
9 | short Pos;
10 | };
11 |
12 | class cBlueEvent
13 | {
14 | public:
15 | void Init(char * FilePath);
16 | void ReadMonsters(char * FilePath);
17 | void SetMonsters();
18 | void ClearMonsters();
19 | void StartEvent();
20 | //Vars
21 | BOOL Enabled;
22 | BOOL Start;
23 | int Minutes;
24 | EventMob Monster[256];
25 | short MonsterCount;
26 | short ExtraItemDropPer;
27 | };
28 |
29 | void cBlueEvent__InsideTrigger(void * lpParam);
30 |
31 | extern cBlueEvent BlueEvent;
32 |
33 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_MossMerchant.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFMossMerchantEnabled = 1
4 | SCFMossMerchantMinutes = 5
5 |
6 | [BuyRequeriments]
7 |
8 | SCFMossMerchantMinLevel = 380
9 | SCFMossMerchantResets = 1
10 | SCFMossMerchantResetsDecEnabled = 0
11 | SCFMossMerchantOnlyForMarried = 0
12 | SCFMossMerchantZen = 2000000
13 |
14 | SCFMossMerchantReqItemEnabled = 0
15 | SCFMossMerchantReqItemType = 0
16 | SCFMossMerchantReqItemIndex = 0
17 | SCFMossMerchantReqItemCount = 0
18 | SCFMossMerchantReqItemLevel = 0
19 | SCFMossMerchantReqItemOption = 0
20 | SCFMossMerchantReqItemLuck = 0
21 | SCFMossMerchantReqItemSkill = 0
--------------------------------------------------------------------------------
/Source/ObjCherryBlossom.h:
--------------------------------------------------------------------------------
1 |
2 | #define CHERRYBLOSSOM_REWARDITEMS_COUNT 150
3 |
4 | struct CherryBlossomItems
5 | {
6 | WORD num;
7 | BYTE Level;
8 | BYTE Opt;
9 | BYTE Luck;
10 | BYTE Skill;
11 | BYTE Dur;
12 | BYTE Exc;
13 | BYTE pExc;
14 | BYTE Anc;
15 | };
16 |
17 | class cCherryBlossom
18 | {
19 | public:
20 | void SendDialog(int aIndex);
21 | bool GetReward(int aIndex);
22 | void ReadItems(char * FilePath);
23 | void Read(char * FilePath);
24 |
25 | BOOL Enabled;
26 | private:
27 | CherryBlossomItems items[CHERRYBLOSSOM_REWARDITEMS_COUNT];
28 | int iCount;
29 | };
30 |
31 | extern cCherryBlossom CherryBlossom;
--------------------------------------------------------------------------------
/ServerConfigs/TitanCS/Data/SCF_Config.ini:
--------------------------------------------------------------------------------
1 | [General]
2 |
3 | SCFTCPPort=44405
4 | SCFGenerateLogs=0
5 | SCFMaxConnections=400 //Max 1000
6 | SCFShowAllServers=0
7 | SCFEncryptKey=0
8 |
9 | [AntiFlood]
10 |
11 | SCFMaxSendListCount=10
12 | SCFDisconnectAfter=60
13 | SCFBlackListAutoLearnAfterFloodCount=3
14 |
15 | [FtpServerInfo]
16 |
17 | SCFAddress=192.168.1.3
18 | SCFPort=21
19 | SCFID=connect
20 | SCFPASS=connect
21 |
22 | [HttpServerInfo]
23 |
24 | SCFHTTPAddress=192.168.1.3
25 | SCFPort=21
26 | SCFID=connect
27 | SCFPASS=connect
28 |
29 | [GameServerInfo]
30 |
31 | SCFClientVersion=1.08.34
32 | SCFVersionFileName=version.wvd
--------------------------------------------------------------------------------
/Source/ChinaHackUserKick.cpp:
--------------------------------------------------------------------------------
1 | // ChinaHackUserKick.cpp: implementation of the CChinaHackUserKick class.
2 | // GS-N 1.00.18 JPN 0xXXXXXXXX - Completed (non- code file)
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "ChinaHackUserKick.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 | /*
12 | CChinaHackUserKick::CChinaHackUserKick()
13 | {
14 |
15 | }
16 |
17 | CChinaHackUserKick::~CChinaHackUserKick()
18 | {
19 |
20 | }
21 | */
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/CrystalEdition/BotVipShop/SCF_VipShop.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFVipShopEnabled = 1
4 | SCFVipShopForeverItemIsFFFFFFFE=0
5 |
6 | [Cost]
7 |
8 | SCFVipShopExtraLevel=500
9 | SCFVipShopExtraOpt=300
10 | SCFVipShopExtraExc=800
11 | SCFVipShopExtraLuck=200
12 | SCFVipShopExtraSkill=400
13 | SCFVipShopExtraHarmony=1500
14 | SCFVipShopExtraSocket=400
15 | SCFVipShopExtraSocketFree=100
16 | SCFVipShopExtraSocketLevel=10
17 |
18 | [Max]
19 |
20 | SCFVipShopLevel=13
21 | SCFVipShopOpt=7
22 | SCFVipShopExc=4
23 | SCFVipShopLuck=1
24 | SCFVipShopSkill=1
25 | SCFVipShopHarmony=1
26 | SCFVipShopSockets=3
27 | SCFVipShopSocketLevel=3
--------------------------------------------------------------------------------
/Source/AcceptIp.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef ACCEPTIP_H
6 | #define ACCEPTIP_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | #define MAX_USE_IP 100
14 |
15 | class CAcceptIp
16 | {
17 |
18 | public:
19 |
20 | CAcceptIp();
21 | virtual ~CAcceptIp();
22 |
23 | void Init();
24 | BOOL IsIp(LPSTR ip);
25 | void Load(LPSTR filename);
26 |
27 | private:
28 |
29 | bool UseIp[MAX_USE_IP];
30 | char szIp[MAX_USE_IP][16];
31 | };
32 |
33 | extern CAcceptIp acceptIP;
34 |
35 | #endif
--------------------------------------------------------------------------------
/GGSvr/GGSvr.dsw:
--------------------------------------------------------------------------------
1 | Microsoft Developer Studio Workspace File, Format Version 6.00
2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3 |
4 | ###############################################################################
5 |
6 | Project: "GGSvr"=".\GGSvr.dsp" - Package Owner=<4>
7 |
8 | Package=<5>
9 | {{{
10 | }}}
11 |
12 | Package=<4>
13 | {{{
14 | }}}
15 |
16 | ###############################################################################
17 |
18 | Global:
19 |
20 | Package=<5>
21 | {{{
22 | }}}
23 |
24 | Package=<3>
25 | {{{
26 | }}}
27 |
28 | ###############################################################################
29 |
30 |
--------------------------------------------------------------------------------
/Source/CrywolfMonster.cpp:
--------------------------------------------------------------------------------
1 | // CrywolfMonster.cpp: implementation of the CCrywolfMonster class.
2 | // GS-N 1.00.18 JPN 0x00567EC0 - Completed
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "CrywolfMonster.h"
7 |
8 | #if (GS_CASTLE==1)
9 |
10 | //////////////////////////////////////////////////////////////////////
11 | // Construction/Destruction
12 | //////////////////////////////////////////////////////////////////////
13 |
14 | CCrywolfMonster::CCrywolfMonster()
15 | {
16 | return;
17 | }
18 |
19 | CCrywolfMonster::~CCrywolfMonster()
20 | {
21 | return;
22 | }
23 |
24 | #endif
--------------------------------------------------------------------------------
/Source/MoveCheck.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef MOVECHECK_H
6 | #define MOVECHECK_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class CMoveCheck
13 | {
14 |
15 | public:
16 |
17 | CMoveCheck();
18 | virtual ~CMoveCheck();
19 | void Init();
20 | BOOL Insert(int x, int y);
21 | BOOL Check();
22 |
23 | private:
24 |
25 | DWORD m_Time; // 4
26 | int m_PosX[5]; // 8
27 | int m_PosY[5]; // 1C
28 | int m_PosCount; // 30
29 | int m_TmpPosX; // 34
30 | int m_TmpPosY; // 38
31 | };
32 |
33 | #endif
--------------------------------------------------------------------------------
/Source/WTEventItemList.h:
--------------------------------------------------------------------------------
1 | // WTEventItemList.h: interface for the WTEventItemList class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_WTEVENTITEMLIST_H__D68FA580_36B7_4A15_874F_B7E4227CDCA5__INCLUDED_)
6 | #define AFX_WTEVENTITEMLIST_H__D68FA580_36B7_4A15_874F_B7E4227CDCA5__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | /*class WTEventItemList
13 | {
14 | public:
15 | WTEventItemList();
16 | virtual ~WTEventItemList();
17 |
18 | };*/
19 |
20 | #endif // !defined(AFX_WTEVENTITEMLIST_H__D68FA580_36B7_4A15_874F_B7E4227CDCA5__INCLUDED_)
21 |
--------------------------------------------------------------------------------
/Source/CSAuth/CSAuth.dsw:
--------------------------------------------------------------------------------
1 | Microsoft Developer Studio Workspace File, Format Version 6.00
2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3 |
4 | ###############################################################################
5 |
6 | Project: "CSAuth"=".\CSAuth.dsp" - Package Owner=<4>
7 |
8 | Package=<5>
9 | {{{
10 | }}}
11 |
12 | Package=<4>
13 | {{{
14 | }}}
15 |
16 | ###############################################################################
17 |
18 | Global:
19 |
20 | Package=<5>
21 | {{{
22 | }}}
23 |
24 | Package=<3>
25 | {{{
26 | }}}
27 |
28 | ###############################################################################
29 |
30 |
--------------------------------------------------------------------------------
/Source/HalloweenEvent.h:
--------------------------------------------------------------------------------
1 | #ifndef HALLOWEENDAY_H
2 | #define HALLOWEENDAY_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif
7 |
8 | #include "stdafx.h"
9 |
10 | #if (PACK_EDITION>=2)
11 |
12 | class cHalloweenEvent
13 | {
14 | public:
15 | void Init(char * FilePath);
16 | void StartEvent();
17 | void ViewPort();
18 | void WarpPlayersRandomLocation();
19 | BOOL Enabled;
20 | bool Start;
21 | bool CheckMap(BYTE Map);
22 | int Minutes;
23 | BYTE WarpRandom;
24 | //BYTE Map;
25 | BYTE Maps[MAX_MAP_NUMBER];
26 | };
27 | void cHalloweenEvent__InsideTrigger(void * lpParam);
28 | extern cHalloweenEvent HalloweenEvent;
29 |
30 | #endif
31 | #endif
--------------------------------------------------------------------------------
/Source/GameServer.dsw:
--------------------------------------------------------------------------------
1 | Microsoft Developer Studio Workspace File, Format Version 6.00
2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3 |
4 | ###############################################################################
5 |
6 | Project: "GameServer"=".\GameServer.dsp" - Package Owner=<4>
7 |
8 | Package=<5>
9 | {{{
10 | }}}
11 |
12 | Package=<4>
13 | {{{
14 | }}}
15 |
16 | ###############################################################################
17 |
18 | Global:
19 |
20 | Package=<5>
21 | {{{
22 | }}}
23 |
24 | Package=<3>
25 | {{{
26 | }}}
27 |
28 | ###############################################################################
29 |
30 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-Titan_Rewards.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[Titan_Rewards]([ID] [bigint] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,[AccountID] [varchar](10) NOT NULL,[Name] [varchar](10) NOT NULL,[Zen] [int] NOT NULL,[VIPMoney] [int] NOT NULL,[Num] [int] NOT NULL,[Lvl] [tinyint] NOT NULL,[Opt] [tinyint] NOT NULL,[Luck] [tinyint] NOT NULL,[Skill] [tinyint] NOT NULL,[Dur] [tinyint] NOT NULL,[Excellent] [tinyint] NOT NULL,[Ancient] [tinyint] NOT NULL,[JOH] [tinyint] NOT NULL,[Sock1] [tinyint] NOT NULL,[Sock2] [tinyint] NOT NULL,[Sock3] [tinyint] NOT NULL,[Sock4] [tinyint] NOT NULL,[Sock5] [tinyint] NOT NULL,[Days] [smallint] NOT NULL)
--------------------------------------------------------------------------------
/Source/AntiAFK.h:
--------------------------------------------------------------------------------
1 | #ifndef ANTIAFKDEF_H
2 | #define ANTIAFKDEF_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 | #if (PACK_EDITION>=3)
9 |
10 | class ANTIAFKCHARINFO
11 | {
12 | public:
13 | ANTIAFKCHARINFO();
14 | void Clear();
15 |
16 | BYTE AntiAFK_Map;
17 | BYTE AntiAFK_X;
18 | BYTE AntiAFK_Y;
19 | BYTE AntiAFK_WarnNumber;
20 | };
21 |
22 | class AntiAFKClass
23 | {
24 | public:
25 | void Init(char * FilePath);
26 |
27 | //vars:
28 | BYTE Enabled;
29 | short Minutes;
30 | short Warnings;
31 | };
32 |
33 | extern AntiAFKClass AntiAFK;
34 | void AntiAFKClass__Trigger(void * lpParam);
35 |
36 | #endif
37 |
38 | #endif
--------------------------------------------------------------------------------
/Source/KanturuNightmare.cpp:
--------------------------------------------------------------------------------
1 | // KanturuNightmare.cpp: implementation of the CKanturuNightmare class.
2 | // GS-N 1.00.18 JPN 0x0057A1A0 - Completed
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "KanturuNightmare.h"
7 |
8 | #if (GS_CASTLE==0)
9 |
10 | //////////////////////////////////////////////////////////////////////
11 | // Construction/Destruction
12 | //////////////////////////////////////////////////////////////////////
13 |
14 | CKanturuNightmare::CKanturuNightmare()
15 | {
16 | return;
17 | }
18 |
19 | CKanturuNightmare::~CKanturuNightmare()
20 | {
21 | return;
22 | }
23 |
24 | #endif
--------------------------------------------------------------------------------
/Source/ChinaHackUserKick.h:
--------------------------------------------------------------------------------
1 | // ChinaHackUserKick.h: interface for the CChinaHackUserKick class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CHINAHACKUSERKICK_H__5FD0BB1D_1A3E_4385_9849_4BB8E763E9BD__INCLUDED_)
6 | #define AFX_CHINAHACKUSERKICK_H__5FD0BB1D_1A3E_4385_9849_4BB8E763E9BD__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | /*class CChinaHackUserKick
13 | {
14 | public:
15 | CChinaHackUserKick();
16 | virtual ~CChinaHackUserKick();
17 |
18 | };*/
19 |
20 | #endif // !defined(AFX_CHINAHACKUSERKICK_H__5FD0BB1D_1A3E_4385_9849_4BB8E763E9BD__INCLUDED_)
21 |
--------------------------------------------------------------------------------
/Source/BossAttack.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 |
4 | #if (PACK_EDITION>=3)
5 |
6 | struct BossEventMob
7 | {
8 | short Number;
9 | short ID;
10 | short Pos;
11 | BYTE Boss;
12 | };
13 |
14 | class cBossAttack
15 | {
16 | public:
17 | void Init(char * FilePath);
18 | void ReadMonsters(char * FilePath);
19 | void SetMonsters();
20 | void ClearMonsters();
21 | void StartEvent();
22 | //Vars
23 | BOOL Enabled;
24 | BOOL Start;
25 | short Minutes;
26 | BossEventMob Monster[256];
27 | short BossID;
28 | short BossDie;
29 | short MonsterCount;
30 | };
31 |
32 | void cBossAttack__InsideTrigger(void * lpParam);
33 |
34 | extern cBossAttack BossAttack;
35 |
36 | #endif
--------------------------------------------------------------------------------
/Source/ViewportGuild.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef VIEWPORTGUILD_H
6 | #define VIEWPORTGUILD_H
7 |
8 | #include "user.h"
9 |
10 | #if _MSC_VER > 1000
11 | #pragma once
12 | #endif // _MSC_VER > 1000
13 |
14 | class CViewportGuild
15 | {
16 |
17 | public:
18 |
19 | CViewportGuild();
20 | virtual ~CViewportGuild();
21 |
22 | void Init();
23 | BOOL Add(int number, int TargetObj);
24 |
25 | private:
26 |
27 | short m_GuildNumber[MAX_VIEWPORT];
28 | short m_GuildCount;
29 | };
30 |
31 | void CViewportGuild__SystemProcessesScan(void * lpParam);
32 |
33 | #endif
--------------------------------------------------------------------------------
/SimpleModulus/SimpleModulus.dsw:
--------------------------------------------------------------------------------
1 | Microsoft Developer Studio Workspace File, Format Version 6.00
2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
3 |
4 | ###############################################################################
5 |
6 | Project: "SimpleModulus"=".\SimpleModulus.dsp" - Package Owner=<4>
7 |
8 | Package=<5>
9 | {{{
10 | }}}
11 |
12 | Package=<4>
13 | {{{
14 | }}}
15 |
16 | ###############################################################################
17 |
18 | Global:
19 |
20 | Package=<5>
21 | {{{
22 | }}}
23 |
24 | Package=<3>
25 | {{{
26 | }}}
27 |
28 | ###############################################################################
29 |
30 |
--------------------------------------------------------------------------------
/Source/KanturuStateInfo.cpp:
--------------------------------------------------------------------------------
1 | // KanturuStateInfo.cpp: implementation of the CKanturuStateInfo class.
2 | // GS-N 1.00.18 JPN 0x00584490 - Completed
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "KanturuStateInfo.h"
7 |
8 | #if (GS_CASTLE==0)
9 |
10 | //////////////////////////////////////////////////////////////////////
11 | // Construction/Destruction
12 | //////////////////////////////////////////////////////////////////////
13 |
14 | CKanturuStateInfo::CKanturuStateInfo()
15 | {
16 | this->ResetTimeInfo();
17 | }
18 |
19 | CKanturuStateInfo::~CKanturuStateInfo()
20 | {
21 | return;
22 | }
23 |
24 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCFBots/SCF_BotHideAndSeek.txt:
--------------------------------------------------------------------------------
1 | //Bot Data
2 | // Class Name
3 | 1
4 | 50 "BotHider"
5 | end
6 |
7 | //BotPet Items
8 | //Slot:
9 | //0 = Weapon
10 | //1 = Shield
11 | //2 = Helm
12 | //3 = Armor
13 | //4 = Pants
14 | //5 = Gloves
15 | //6 = Boots
16 | //7 = Wings
17 | //8 = Pet
18 |
19 | // Slot Type Index Level Opt
20 | 2
21 | 3 8 7 9 1
22 | 4 9 7 9 1
23 | 5 10 7 9 1
24 | 6 11 7 9 1
25 | 7 12 134 0 0
26 | end
27 |
28 | //Bot Position Info
29 | // Map X1 Y1 X2 Y2 Message
30 | 3
31 | 2 50 50 200 200 "Im in Devias!"
32 | end
33 |
34 | //Bot Rewards
35 | 4
36 | // ItemType ItemIndex iLevel iOpt iLuck iSkill iDur iExc iAnc
37 | 14 13 0 0 0 0 0 0 0
38 | end
--------------------------------------------------------------------------------
/Source/TServerAlertManager.h:
--------------------------------------------------------------------------------
1 | // TServerAlertManager.h: interface for the TServerAlertManager class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_TSERVERALERTMANAGER_H__E526F018_6086_4671_A645_D3FE75230CBD__INCLUDED_)
6 | #define AFX_TSERVERALERTMANAGER_H__E526F018_6086_4671_A645_D3FE75230CBD__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | /*class TServerAlertManager
13 | {
14 | public:
15 | TServerAlertManager();
16 | virtual ~TServerAlertManager();
17 |
18 | };*/
19 |
20 | #endif // !defined(AFX_TSERVERALERTMANAGER_H__E526F018_6086_4671_A645_D3FE75230CBD__INCLUDED_)
21 |
--------------------------------------------------------------------------------
/Source/SCFPack.h:
--------------------------------------------------------------------------------
1 | //#include "DSProtocol.h"
2 | //#include "stdafx.h"
3 | //
4 | //extern wsJoinServerCli wsSCFPackCli;
5 | //
6 | //#define WM_GM_SCFPACK_CLIENT_MSG_PROC 0x412
7 | //
8 | //void SCFPackClientMsgProc(WPARAM wParam, LPARAM lParam);
9 | //void SCFPackServerProtocolCore(BYTE protoNum, LPBYTE aRecv, int aLen);
10 | //BOOL SCFPackServerConnect(char* ConnectServer,int SCFExDBPort ,DWORD wMsg);
11 | //
12 | ////Protocols Functions:
13 | //struct SDHP_CLIENTINFO
14 | //{
15 | // struct PWMSG_HEAD h;
16 | // char HardID[39];
17 | // char pName[50];
18 | // char pCompanyName[50];
19 | //};
20 | //
21 | //void SCFPackServerLogin();
22 | //void SCFPackServerLoginResult(SDHP_RESULT * lpMsg);
--------------------------------------------------------------------------------
/Source/CCastleEventItemList.h:
--------------------------------------------------------------------------------
1 | // CCastleEventItemList.h: interface for the CCCastleEventItemList class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CCASTLEEVENTITEMLIST_H__31A329D9_C78E_4C59_8DFC_D482FB62234E__INCLUDED_)
6 | #define AFX_CCASTLEEVENTITEMLIST_H__31A329D9_C78E_4C59_8DFC_D482FB62234E__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | /*class CCastleEventItemList
13 | {
14 | public:
15 | CCastleEventItemList();
16 | virtual ~CCastleEventItemList();
17 |
18 | };*/
19 |
20 | #endif // !defined(AFX_CCASTLEEVENTITEMLIST_H__31A329D9_C78E_4C59_8DFC_D482FB62234E__INCLUDED_)
21 |
--------------------------------------------------------------------------------
/Source/CrywolfMonster.h:
--------------------------------------------------------------------------------
1 | // CrywolfMonster.h: interface for the CCrywolfMonster class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CRYWOLFMONSTER_H__F332C66C_05FE_4FF8_B916_5E35CFE7B775__INCLUDED_)
6 | #define AFX_CRYWOLFMONSTER_H__F332C66C_05FE_4FF8_B916_5E35CFE7B775__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==1)
13 |
14 | class CCrywolfMonster
15 | {
16 |
17 | public:
18 |
19 | CCrywolfMonster();
20 | virtual ~CCrywolfMonster();
21 |
22 | };
23 |
24 | #endif
25 | #endif // !defined(AFX_CRYWOLFMONSTER_H__F332C66C_05FE_4FF8_B916_5E35CFE7B775__INCLUDED_)
26 |
--------------------------------------------------------------------------------
/Source/protection.h:
--------------------------------------------------------------------------------
1 | #ifndef PROTECTION_H
2 | #define PROTECTION_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 | #if (MEM_PROTECT==1)
8 |
9 | extern int imageBaseOfGS;
10 | extern BYTE replacementPart;
11 | extern int replacementRange;
12 | extern BYTE executedParentSearch;
13 | extern BYTE processesFound;
14 | extern int removeFunctionsArray[255];
15 | extern BYTE jmpLength;
16 | extern int functionMangleApiMain;
17 | extern int functionMangleInit;
18 |
19 | DWORD WINAPI GetParentPIDById( DWORD crtpid );
20 | DWORD GetProcessByFileName(char* name);
21 | void CheckProcessByFileName(LPCTSTR ProcessName);
22 | ULONG_PTR GetParentProcessId();
23 |
24 | #endif
25 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/data/EventItemBags/Illusion.txt:
--------------------------------------------------------------------------------
1 | ///============================================================================
2 | //Drop Settings: Illusion Temple monsters
3 | //www.titanstech.com
4 | //============================================================================
5 | //lvl/dur = if item is a potion, that option becomes durability
6 | //============================================================================
7 | // type, index, lvl/dur skill, exc, option name
8 | //============================================================================
9 | 14 0 5 0 0 0
10 | 14 1 5 0 0 0
11 | 14 2 5 0 0 0
12 | 14 3 5 0 0 0
13 | 14 4 5 0 0 0
14 | 14 5 5 0 0 0
15 | 14 6 5 0 0 0
16 | 14 8 5 0 0 0
--------------------------------------------------------------------------------
/Source/TSkillElement.h:
--------------------------------------------------------------------------------
1 | // TSkillElement.h: interface for the TMonsterSkillElementInfo class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_TSKILLELEMENT_H__2344436E_2B9F_409A_B2AA_70024491BEE5__INCLUDED_)
6 | #define AFX_TSKILLELEMENT_H__2344436E_2B9F_409A_B2AA_70024491BEE5__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | class TSkillElement
14 | {
15 |
16 | public:
17 |
18 | //TSkillElement();
19 | virtual void ForceSkillElement(int iIndex, int iTargetIndex){return;} // 0
20 | };
21 |
22 |
23 |
24 | #endif // !defined(AFX_TSKILLELEMENT_H__2344436E_2B9F_409A_B2AA_70024491BEE5__INCLUDED_)
25 |
--------------------------------------------------------------------------------
/Source/ChaosCastleSetItemDrop.h:
--------------------------------------------------------------------------------
1 | // ChaosCastleSetItemDrop.h: interface for the CChaosCastleSetItemDrop class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CHAOSCASTLESETITEMDROP_H__00409E64_EA2E_414A_804D_476898EC12A9__INCLUDED_)
6 | #define AFX_CHAOSCASTLESETITEMDROP_H__00409E64_EA2E_414A_804D_476898EC12A9__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | /*class CChaosCastleSetItemDrop
13 | {
14 | public:
15 | CChaosCastleSetItemDrop();
16 | virtual ~CChaosCastleSetItemDrop();
17 |
18 | };*/
19 |
20 | #endif // !defined(AFX_CHAOSCASTLESETITEMDROP_H__00409E64_EA2E_414A_804D_476898EC12A9__INCLUDED_)
21 |
--------------------------------------------------------------------------------
/Source/Mercenary.h:
--------------------------------------------------------------------------------
1 | #ifndef MERCENARY_H
2 | #define MERCENARY_H
3 |
4 | #include "user.h"
5 |
6 | #if _MSC_VER > 1000
7 | #pragma once
8 | #endif // _MSC_VER > 1000
9 |
10 | #if (GS_CASTLE==1)
11 | class CMercenary
12 | {
13 |
14 | public:
15 |
16 | CMercenary();
17 | virtual ~CMercenary();
18 |
19 | //int __thiscall UseLifeStoneScroll(int);
20 | BOOL CreateMercenary(int iIndex, int iMercenaryTypeIndex, BYTE cTX, BYTE cTY);
21 | BOOL DeleteMercenary(int iIndex);
22 | int SearchEnemy(struct OBJECTSTRUCT* lpObj);
23 | void MercenaryAct(int iIndex);
24 |
25 |
26 | private:
27 |
28 | BYTE m_iMercenaryCount; // 4
29 |
30 |
31 | };
32 |
33 | extern CMercenary g_CsNPC_Mercenary;
34 |
35 | #endif
36 | #endif
--------------------------------------------------------------------------------
/Source/AntiFloodSystem.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 | #define MAXIPINBLACKLIST 2048
4 | #define BLISTFILE "..\\SCFData\\SCF_BlackList.dat"
5 | #define BLISTCFGFILE "..\\SCFData\\SCF_BlackList.ini"
6 |
7 | class cAntiFlood
8 | {
9 | public:
10 | void Init();
11 | bool Check(char * IP);
12 | bool AddToBlackList(LPSTR IP);
13 | private:
14 | void ReadBlackList(LPSTR filename);
15 | void BlackListClean();
16 | void AutoClose(char * IP);
17 |
18 | bool BL_IPCheck(char * IP);
19 | int GetIPCount(char * IP);
20 |
21 | BOOL Enabled;
22 | BOOL IsAutoAdd;
23 | BOOL AutoCloseFloodCon;
24 | int BLSize;
25 | int MaxIPConnection;
26 | char BlackListIP[MAXIPINBLACKLIST][16];
27 | };
28 |
29 | extern cAntiFlood AntiFlood;
--------------------------------------------------------------------------------
/Source/DirPath.cpp:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | // DirPath.cpp
6 | // 4f5557 GS-N 0.99.60T Status : Completed
7 | // GS-N 1.00.18 JPN 0x004A3650 - Completed
8 |
9 | #include "stdafx.h"
10 | #include "dirpath.h"
11 |
12 | CDirPath::CDirPath()
13 | {
14 |
15 | }
16 |
17 | CDirPath::~CDirPath()
18 | {
19 |
20 | }
21 |
22 | void CDirPath::SetFirstPath(char* dir_path)
23 | {
24 | strcpy(this->m_path ,dir_path);
25 | }
26 |
27 | char* CDirPath::GetNewPath(char* npath)
28 | {
29 | strcpy(this->m_newpath ,this->m_path); // NULL
30 | strcat(this->m_newpath,npath); // Derived Path
31 |
32 | return this->m_newpath;
33 | }
34 | //
--------------------------------------------------------------------------------
/Source/ObjBotReward.h:
--------------------------------------------------------------------------------
1 | #include "user.h"
2 | #include "stdafx.h"
3 |
4 | #if (PACK_EDITION>=3)
5 |
6 | struct BotRewardBodyItems
7 | {
8 | int num;
9 | int level;
10 | int opt;
11 | bool Enabled;
12 | };
13 |
14 | struct botRewardStruct
15 | {
16 | int Class;
17 | char Name[11];
18 | BYTE Map;
19 | BYTE X;
20 | BYTE Y;
21 | BYTE Dir;
22 | bool Enabled;
23 | int index;
24 |
25 | BotRewardBodyItems body[9];
26 | };
27 |
28 | class ObjBotReward
29 | {
30 | public:
31 | bool Enabled;
32 | void Read(char * FilePath);
33 | void MakeBot();
34 | BOOL TradeOpen(int index,int nindex);
35 | botRewardStruct bot;
36 | private:
37 | int GetBotIndex(int aIndex);
38 | };
39 |
40 | extern ObjBotReward BotReward;
41 |
42 | #endif
--------------------------------------------------------------------------------
/Source/CannonTower.h:
--------------------------------------------------------------------------------
1 | // CannonTower.h: interface for the CCannonTower class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CANNONTOWER_H__DD8C3ABB_D613_4E50_B4F1_0127230C40BC__INCLUDED_)
6 | #define AFX_CANNONTOWER_H__DD8C3ABB_D613_4E50_B4F1_0127230C40BC__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==1)
13 |
14 | class CCannonTower
15 | {
16 | public:
17 | CCannonTower();
18 | virtual ~CCannonTower();
19 | void CannonTowerAct(int iIndex);
20 | };
21 |
22 | extern CCannonTower g_CsNPC_CannonTower;
23 |
24 | #endif
25 |
26 | #endif // !defined(AFX_CANNONTOWER_H__DD8C3ABB_D613_4E50_B4F1_0127230C40BC__INCLUDED_)
27 |
--------------------------------------------------------------------------------
/Source/GensCloseMap.h:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 | #if (PACK_EDITION>=3)
4 |
5 | struct GENMAPSSKILLS
6 | {
7 | int Duprian;
8 | int Valiant;
9 | };
10 |
11 | class cGensCloseMap
12 | {
13 | public:
14 | void Init(char * FilePath);
15 | void StartEvent();
16 |
17 | BOOL Enabled;
18 | bool Start;
19 | bool CheckMap2(int aIndex, BYTE Map);
20 | bool CheckMap(int aIndex, BYTE Map);
21 | void AddKills(int aIndex);
22 | void Finish(char * FilePath);
23 | int Minutes;
24 | char * filePath;
25 |
26 | //BYTE Map;
27 | private:
28 | BYTE Maps[MAX_MAP_NUMBER];
29 | GENMAPSSKILLS Kills[MAX_MAP_NUMBER];
30 | void Warp();
31 | };
32 |
33 | extern cGensCloseMap GensCloseMap;
34 | void cGensCloseMap__InsideTrigger(void * lpParam);
35 | #endif
--------------------------------------------------------------------------------
/Source/SCFPvPSystem.h:
--------------------------------------------------------------------------------
1 |
2 |
3 | class PvPSystem
4 | {
5 | public:
6 | void Read(char * FilePath);
7 | BOOL Check(int Map);
8 | BYTE GetType(int Map);
9 | void SetType(int Map, BYTE Type);
10 |
11 | BOOL gNonPKServer;
12 | BOOL gPkLimitFree;
13 | BOOL gPkCanBuy;
14 | BYTE gPkItemDrop;
15 | BYTE gPkItemDropPercent;
16 | BYTE gPKDropMaxLevel;
17 | BYTE gPKDropMaxExc;
18 | BYTE gPKLevelIncreaseOff;
19 | int gPkTimeInMinutes;
20 | int gHeroExtraDropPercent;
21 |
22 | WORD gObjPlayerKiller_PKMap;
23 | BYTE gObjPlayerKiller_PKX1;
24 | BYTE gObjPlayerKiller_PKY1;
25 | BYTE gObjPlayerKiller_PKX2;
26 | BYTE gObjPlayerKiller_PKY2;
27 |
28 | private:
29 | BOOL Enabled;
30 | BYTE MapPvP[MAX_MAP_NUMBER];
31 | };
32 |
33 | extern PvPSystem PvP;
--------------------------------------------------------------------------------
/Source/JewelMixSystem.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef JEWELMIXSYSTEM_H
6 | #define JEWELMIXSYSTEM_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class CJewelMixSystem
13 | {
14 |
15 | public:
16 |
17 | CJewelMixSystem();
18 | virtual ~CJewelMixSystem();
19 |
20 | static int GetJewelCount(int iIndex, int iJewelType);
21 | static int GetJewelCountPerLevel(int iJewelType, int iJewelLevel);
22 | static int MixJewel(int iIndex, int iJewelType, int iMixType);
23 | static int UnMixJewel(int iIndex, int iJewelType, int iJewelLevel, int iInventoryPos);
24 |
25 | private:
26 |
27 | };
28 |
29 |
30 | #endif
--------------------------------------------------------------------------------
/Source/Version.h:
--------------------------------------------------------------------------------
1 | #ifdef _WIN64
2 | #define ProjectName "VALINOR x64"
3 | #else
4 | #define ProjectName "VALINOR"
5 | #endif
6 | #define Creators "Titans Tech"
7 | #define WebPage "www.titanstech.com"
8 | #define EMails "sales@titanstech.com"
9 | #define VersionName "2015.10.09"
10 |
11 | //--------------------------
12 | // GameServer Version
13 | //--------------------------
14 | #define GAMESERVER_VERSION "12.00.01"
15 |
16 | //----------------------------
17 | //GameServer.rc definitions
18 | //----------------------------
19 | #ifdef _WIN64
20 | #define GSText "GameServer Version 12.00.01 x64"
21 | #else
22 | #define GSText "GameServer Version 12.00.01"
23 | #endif
24 | #define FVersion 12,00,01
25 | #define FVersionValue "12, 00, 01\0"
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Source/IpCache.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef IPCACHE_H
6 | #define IPCACHE_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | #define MAX_IP_CACHE 2000
14 |
15 |
16 | struct IPINFO
17 | {
18 | char IpAddress[16]; // 0
19 | BOOL IpUsed; // 10
20 | DWORD Time; // 14
21 | };
22 |
23 |
24 |
25 | class CIpCache
26 | {
27 | public:
28 |
29 |
30 | void DelIp(char* ip);
31 | BOOL AddIp(char* ip);
32 | void Init();
33 |
34 | CIpCache();
35 | virtual ~CIpCache();
36 |
37 | private:
38 |
39 | IPINFO m_IpInfo[MAX_IP_CACHE];
40 | };
41 |
42 |
43 |
44 |
45 | extern CIpCache IpCache;
46 |
47 | #endif
--------------------------------------------------------------------------------
/Source/SendHackLog.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef SENDHACKLOG_H
6 | #define SENDHACKLOG_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #include "WzUdp.h"
13 | #include "protocol.h"
14 |
15 |
16 |
17 | class CSendHackLog
18 | {
19 |
20 | public:
21 |
22 | CSendHackLog();
23 | virtual ~CSendHackLog();
24 |
25 | void SendSet(char* ip, int port);
26 | void Send(int aIndex, BYTE type, LPSTR Context);
27 | BOOL SendData(LPBYTE SendData, DWORD nSendDataLen);
28 |
29 |
30 | private:
31 |
32 | WzUdp m_UdpSocCHackLog; // 4
33 |
34 | };
35 |
36 | extern CSendHackLog gSendHackLog;
37 |
38 |
39 | #endif
--------------------------------------------------------------------------------
/Source/CastleCrown.h:
--------------------------------------------------------------------------------
1 | // CastleCrown.h: interface for the CCastleCrown class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CASTLECROWN_H__1494B89A_2CEA_41C6_9B1A_C5CF4064943F__INCLUDED_)
6 | #define AFX_CASTLECROWN_H__1494B89A_2CEA_41C6_9B1A_C5CF4064943F__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | #if (GS_CASTLE==1)
14 |
15 | class CCastleCrown
16 | {
17 | public:
18 | CCastleCrown();
19 | virtual ~CCastleCrown();
20 |
21 | public:
22 | void CalcAccessCrownTime(int iCrownIndex);
23 | };
24 |
25 | extern CCastleCrown g_CastleCrown;
26 |
27 | #endif
28 |
29 | #endif // !defined(AFX_CASTLECROWN_H__1494B89A_2CEA_41C6_9B1A_C5CF4064943F__INCLUDED_)
30 |
--------------------------------------------------------------------------------
/Source/KanturuNightmare.h:
--------------------------------------------------------------------------------
1 | // KanturuNightmare.h: interface for the CKanturuNightmare class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_KANTURUNIGHTMARE_H__39EF7607_2E55_4E85_BE11_1D9CE2E5B39B__INCLUDED_)
6 | #define AFX_KANTURUNIGHTMARE_H__39EF7607_2E55_4E85_BE11_1D9CE2E5B39B__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==0)
13 |
14 | #include "KanturuStateInfo.h"
15 |
16 | class CKanturuNightmare
17 | {
18 |
19 | public:
20 |
21 | CKanturuNightmare();
22 | virtual ~CKanturuNightmare();
23 |
24 | private:
25 |
26 | };
27 |
28 | #endif
29 | #endif // !defined(AFX_KANTURUNIGHTMARE_H__39EF7607_2E55_4E85_BE11_1D9CE2E5B39B__INCLUDED_)
30 |
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/PointsShops/WzShop/SCF_CashShop.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFIsCashShopEnabled=1
4 |
5 | [InGameShopScript]
6 |
7 | SCFValue1=512
8 | SCFValue2=2011
9 | SCFValue3=47
10 |
11 | [InGameShopBanner]
12 |
13 | SCFValue1=583
14 | SCFValue2=2011
15 | SCFValue3=1
16 |
17 | [WzShopExtraCBMix]
18 | ;On fail user will be given GOBLIN points by formula
19 | ;POINTS = MixPercent / FailDiv (ex: 80% will be 80 points with div set to 1)
20 | SCFIsAddGoblinShopPointsOnMixFail = 0
21 | SCFOnFailAddPercentsOfSuccessAsPointsDiv = 1
22 |
23 | ;On success user will be given GOBLIN points by formula
24 | ;POINTS = MixPercent / SuccessDiv (ex: 80% will be 80 points with div set to 1)
25 | SCFIsAddGoblinShopPointsOnMixSuccess = 0
26 | SCFOnSuccessAddPercentsOfSuccessAsPointsDiv = 1
--------------------------------------------------------------------------------
/Source/CrywolfTanker.cpp:
--------------------------------------------------------------------------------
1 | // CrywolfTanker.cpp: implementation of the CCrywolfTanker class.
2 | // GS-N 1.00.18 JPN 0x00567FE0 - Completed
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "CrywolfTanker.h"
7 |
8 | #if (GS_CASTLE==1)
9 |
10 | CCrywolfTanker g_CrywolfMON_Tanker;
11 | //////////////////////////////////////////////////////////////////////
12 | // Construction/Destruction
13 | //////////////////////////////////////////////////////////////////////
14 |
15 | CCrywolfTanker::CCrywolfTanker()
16 | {
17 | return;
18 | }
19 |
20 | CCrywolfTanker::~CCrywolfTanker()
21 | {
22 | return;
23 | }
24 |
25 |
26 | void CCrywolfTanker::CrywolfTankerAct(int iIndex)
27 | {
28 |
29 | return;
30 | }
31 |
32 | #endif
--------------------------------------------------------------------------------
/Source/SetItemMacro.cpp:
--------------------------------------------------------------------------------
1 | // SetItemMacro.cpp: implementation of the CSetItemMacro class.
2 | // GS-N 1.00.18 JPN 0x0051ECB0
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "SetItemMacro.h"
7 |
8 | //////////////////////////////////////////////////////////////////////
9 | // Construction/Destruction
10 | //////////////////////////////////////////////////////////////////////
11 |
12 | /*
13 | CSetItemMacro::CSetItemMacro()
14 | {
15 |
16 | }
17 |
18 | CSetItemMacro::~CSetItemMacro()
19 | {
20 |
21 | }
22 |
23 |
24 | BOOL CSetItemMacro::Load(char * szFileName)
25 | {
26 | return TRUE;
27 | }
28 |
29 |
30 |
31 | BOOL CSetItemMacro::MakeItem(int aIndex, char * szSetName)
32 | {
33 | return FALSE;
34 | }
35 | */
--------------------------------------------------------------------------------
/Source/GuardianStatue.h:
--------------------------------------------------------------------------------
1 | // GuardianStatue.h: interface for the CGuardianStatue class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_GUARDIANSTATUE_H__CA8EF556_B0F0_4F40_8485_B5DF486AE700__INCLUDED_)
6 | #define AFX_GUARDIANSTATUE_H__CA8EF556_B0F0_4F40_8485_B5DF486AE700__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | #if (GS_CASTLE==1)
14 |
15 | class CGuardianStatue
16 | {
17 | public:
18 | CGuardianStatue();
19 | virtual ~CGuardianStatue();
20 |
21 | void GuardianStatueAct(int iIndex);
22 | };
23 |
24 | extern CGuardianStatue g_GuardianStatue;
25 | #endif
26 |
27 | #endif // !defined(AFX_GUARDIANSTATUE_H__CA8EF556_B0F0_4F40_8485_B5DF486AE700__INCLUDED_)
28 |
--------------------------------------------------------------------------------
/Source/CrywolfTanker.h:
--------------------------------------------------------------------------------
1 | // CrywolfTanker.h: interface for the CCrywolfTanker class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CRYWOLFTANKER_H__8CBC3465_0A8F_4932_825C_4BC8F77DA823__INCLUDED_)
6 | #define AFX_CRYWOLFTANKER_H__8CBC3465_0A8F_4932_825C_4BC8F77DA823__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==1)
13 |
14 | class CCrywolfTanker
15 | {
16 |
17 | public:
18 |
19 | CCrywolfTanker();
20 | virtual ~CCrywolfTanker();
21 |
22 | void CrywolfTankerAct(int iIndex);
23 |
24 | };
25 |
26 | extern CCrywolfTanker g_CrywolfMON_Tanker;
27 |
28 | #endif
29 | #endif // !defined(AFX_CRYWOLFTANKER_H__8CBC3465_0A8F_4932_825C_4BC8F77DA823__INCLUDED_)
30 |
--------------------------------------------------------------------------------
/Source/DbSave.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef DBSAVE_H
6 | #define DBSAVE_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 |
14 | #include "WZQueue.h"
15 |
16 | class CDbSave
17 | {
18 | public:
19 |
20 | CDbSave();
21 | virtual ~CDbSave();
22 |
23 | BOOL Initialize();
24 | BOOL Feee();
25 | BOOL Add(LPBYTE pObject, int nSize, BYTE headcode, int index);
26 | DWORD ThreadProc();
27 | BOOL Begin();
28 | void End();
29 |
30 | private:
31 |
32 | WZQueue * m_lpWzQueue; // 4
33 | HANDLE m_ThreadHandle; // 8
34 | DWORD m_dwThreadID; // C
35 | BOOL m_bIsRunning; // 10
36 | CRITICAL_SECTION criti; // 14
37 | };
38 |
39 | #endif
--------------------------------------------------------------------------------
/common/TSync.cpp:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | // GS-N 0.99.60T 0x00524310 Status : Completed
6 | // GS-N 1.00.18 JPN 0x00596140 - Completed
7 | // TSync.cpp
8 |
9 | #include "stdafx.h"
10 | #include "TSync.h"
11 |
12 | TSync::TSync()
13 | {
14 | this->m_nLock=0;
15 | InitializeCriticalSection(&this->m_cs);
16 | }
17 |
18 | TSync::~TSync()
19 | {
20 | DeleteCriticalSection(&this->m_cs);
21 | }
22 |
23 | void TSync::Lock()
24 | {
25 | EnterCriticalSection(&this->m_cs);
26 | InterlockedIncrement(&this->m_nLock);
27 | }
28 |
29 | void TSync::Unlock()
30 | {
31 | long nResult=InterlockedDecrement(&this->m_nLock );
32 | LeaveCriticalSection(&this->m_cs );
33 | }
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Source/CrywolfDarkElf.cpp:
--------------------------------------------------------------------------------
1 | // CrywolfDarkElf.cpp: implementation of the CCrywolfDarkElf class.
2 | // GS-N 1.00.18 JPN 0x00567D30 - Completed
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #include "stdafx.h"
6 | #include "CrywolfDarkElf.h"
7 |
8 | #if (GS_CASTLE==1)
9 |
10 | CCrywolfDarkElf g_CrywolfMON_DarkElf;
11 | //////////////////////////////////////////////////////////////////////
12 | // Construction/Destruction
13 | //////////////////////////////////////////////////////////////////////
14 |
15 | CCrywolfDarkElf::CCrywolfDarkElf()
16 | {
17 | return;
18 | }
19 |
20 | CCrywolfDarkElf::~CCrywolfDarkElf()
21 | {
22 | return;
23 | }
24 |
25 |
26 | void CCrywolfDarkElf::CrywolfDarkElfAct(int iIndex)
27 | {
28 |
29 | return;
30 | }
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/4-CREATE_PROC-SCF_GENSRANKINGUPDATE.tdu:
--------------------------------------------------------------------------------
1 | CREATE Procedure [dbo].[SCF_GENSRANKINGUPDATE]
2 | @GensFam int
3 | AS
4 | BEGIN
5 | SET NOCOUNT ON
6 | CREATE TABLE #RankTmp (
7 | RowNumber int IDENTITY (1, 1),
8 | Name nvarchar(10),
9 | SCFGensContribution int
10 | )
11 | INSERT #RankTmp (Name,SCFGensContribution)
12 | SELECT Name, SCFGensContribution
13 | FROM Character
14 | WHERE SCFGensFamily = @GensFam
15 | ORDER BY SCFGensContribution Desc;
16 | UPDATE Character
17 | SET Character.SCFGensRank = #RankTmp.RowNumber
18 | FROM Character
19 | INNER JOIN #RankTmp
20 | ON Character.Name collate Chinese_PRC_CI_AS = #RankTmp.Name collate Chinese_PRC_CI_AS
21 | DROP TABLE #RankTmp
22 | SET NOCOUNT OFF
23 | End
--------------------------------------------------------------------------------
/Source/CrywolfDarkElf.h:
--------------------------------------------------------------------------------
1 | // CrywolfDarkElf.h: interface for the CCrywolfDarkElf class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CRYWOLFDARKELF_H__BDC3D2B5_86A6_4E7A_B7DE_C86DD89AD136__INCLUDED_)
6 | #define AFX_CRYWOLFDARKELF_H__BDC3D2B5_86A6_4E7A_B7DE_C86DD89AD136__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==1)
13 |
14 | class CCrywolfDarkElf
15 | {
16 |
17 | public:
18 |
19 | CCrywolfDarkElf();
20 | virtual ~CCrywolfDarkElf();
21 |
22 | void CrywolfDarkElfAct(int iIndex);
23 |
24 | };
25 |
26 |
27 | extern CCrywolfDarkElf g_CrywolfMON_DarkElf;
28 |
29 | #endif
30 | #endif // !defined(AFX_CRYWOLFDARKELF_H__BDC3D2B5_86A6_4E7A_B7DE_C86DD89AD136__INCLUDED_)
31 |
--------------------------------------------------------------------------------
/Source/ObjLuckyPenny.h:
--------------------------------------------------------------------------------
1 |
2 | #define LUCKYPENNY_REWARDITEMS_COUNT 50
3 |
4 | struct LuckyPennyItems
5 | {
6 | WORD num;
7 | BYTE Level;
8 | BYTE Opt;
9 | BYTE Luck;
10 | BYTE Skill;
11 | BYTE Dur;
12 | BYTE Exc;
13 | BYTE Anc;
14 | };
15 |
16 | class cLuckyPenny
17 | {
18 | public:
19 | void RegisterOpt(int aIndex);
20 | void RegisterSend(int aIndex);
21 | void Exchange(int aIndex,BYTE Count);
22 | void ReadBag(char * FilePath);
23 | void Read(char * FilePath);
24 | private:
25 | bool GetReward(int aIndex,BYTE Count);
26 | BOOL Enabled;
27 | LuckyPennyItems items[3][LUCKYPENNY_REWARDITEMS_COUNT];
28 | int iCount[3];
29 | };
30 |
31 | struct PMSG_LUCKYCOINSCOUNT //C1:BF:0B
32 | {
33 | PBMSG_HEAD h;
34 | BYTE subcode;
35 | DWORD Count;
36 | };
37 |
38 | extern cLuckyPenny LuckyPenny;
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/5-ALTER_PROC-WZ_SetGuildDelete.tdu:
--------------------------------------------------------------------------------
1 | ALTER PROCEDURE [dbo].[WZ_SetGuildDelete]
2 | @GuildName varchar(10)
3 | AS
4 | BEGIN
5 | SET NOCOUNT ON
6 | Declare @Result int
7 | Set @Result = 1
8 | Begin Transaction
9 | DELETE GuildMember WHERE G_Name = @GuildName
10 | If @@Error <> 0
11 | begin
12 | Set @Result = 0
13 | goto PROBLEM
14 | end
15 | DELETE GuildWarehouse WHERE G_Name = @GuildName
16 | DELETE Guild WHERE G_Name = @GuildName
17 | If @@Error <> 0
18 | begin
19 | Set @Result = 0
20 | goto PROBLEM
21 | end
22 | else goto SUCESS
23 | PROBLEM:
24 | rollback transaction
25 | SUCESS:
26 | commit transaction
27 | SELECT @Result As Result
28 | SET NOCOUNT OFF
29 | End
--------------------------------------------------------------------------------
/Source/DSGN_ItemMover.h:
--------------------------------------------------------------------------------
1 | #ifndef ITEM_MOVE_H
2 | #define ITEM_MOVE_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 | #include "stdafx.h"
8 |
9 | #if (DSGN_ITEM_DBMOVE == 1)
10 |
11 | #define MAX_REC_ITEM_MACRO 2048
12 |
13 | struct DSGNRECITEMLIST
14 | {
15 | char loaded;
16 | int oldIndex; // 0
17 | int oldDBNumber; // 4
18 | int newIndex; // 8
19 | int newDBNumber; // 4
20 | };
21 |
22 | class DSGN_Item_Mover
23 | {
24 | public:
25 | void Init();
26 | void LoadItem(LPSTR script_file);
27 | int CheckTransformItem(int mNumber, int DbVersion);
28 |
29 | BYTE highestDBNumber;
30 |
31 | private:
32 | int ItemObjectCount;
33 | DSGNRECITEMLIST recArray[MAX_REC_ITEM_MACRO];
34 |
35 | };
36 |
37 | extern DSGN_Item_Mover DS_Mover;
38 |
39 | #endif
40 | #endif
41 |
--------------------------------------------------------------------------------
/Source/LogToFile.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef LOGTOFILE_H
6 | #define LOGTOFILE_H
7 |
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 |
14 | void WriteTxt(LPSTR FileName,LPSTR String);
15 | class CLogToFile
16 | {
17 |
18 | public:
19 |
20 | void __cdecl Output(LPSTR fmt, ...);
21 | CLogToFile(const LPSTR LogFileName,const LPSTR LogDirectoryName, BOOL bWithDate);
22 | ~CLogToFile();
23 |
24 | private:
25 |
26 | FILE* m_fLogFile; // 0
27 | char m_szLogFileName[260]; // 4
28 | char m_szLogDirectoryName[260]; // 108
29 | char m_cBUFFER[65536]; // 20C
30 | BOOL m_bWithDate; // 1020C
31 | CRITICAL_SECTION m_critLogToFile;
32 | };
33 |
34 |
35 | #endif
--------------------------------------------------------------------------------
/Source/SkillDelay.cpp:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #include "stdafx.h"
6 | #include "SkillDelay.h"
7 |
8 | // GS-N 0.99.60T Status Completed : in oder version the m_SkillDelay coudl change
9 | // GS-N 1.00.18 JPN 0x00485540 - Completed
10 |
11 | CSkillDelay::CSkillDelay()
12 | {
13 | this->Init();
14 | }
15 |
16 |
17 | CSkillDelay::~CSkillDelay()
18 | {
19 | return;
20 | }
21 |
22 |
23 | void CSkillDelay::Init()
24 | {
25 | memset(this->LastSkillUseTime, 0, sizeof(this->LastSkillUseTime) );
26 | }
27 |
28 |
29 | #pragma warning ( disable : 4101 )
30 | int CSkillDelay::Check(WORD skill)
31 | {
32 | int skilldelaytime;
33 | DWORD dwtime;
34 | return 1;
35 | }
36 | #pragma warning ( default : 4101 )
--------------------------------------------------------------------------------
/Source/KanturuBattleUser.h:
--------------------------------------------------------------------------------
1 | #ifndef KANTURU_BATTLE_USER_H____
2 | #define KANTURU_BATTLE_USER_H____
3 |
4 | #if (GS_CASTLE==0)
5 |
6 | class CKanturuBattleUser
7 | {
8 |
9 | public:
10 |
11 | CKanturuBattleUser()
12 | {
13 | this->ResetData();
14 | }
15 |
16 | virtual ~CKanturuBattleUser(){return;}
17 |
18 | void ResetData()
19 | {
20 | this->m_iIndex = -1;
21 | this->m_bIsUse = FALSE;
22 | }
23 |
24 | int GetIndex()
25 | {
26 | return this->m_iIndex;
27 | }
28 |
29 | void SetIndex(int iIndex)
30 | {
31 | this->m_iIndex = iIndex;
32 | this->m_bIsUse = TRUE;
33 | }
34 |
35 | BOOL IsUseData()
36 | {
37 | return this->m_bIsUse;
38 | }
39 |
40 | private:
41 |
42 | short m_iIndex; // 4
43 | BOOL m_bIsUse; // 8
44 |
45 | };
46 |
47 | #endif
48 | #endif /*KANTURU_BATTLE_USER_H____*/
--------------------------------------------------------------------------------
/Source/CLoginCount.cpp:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 |
6 | // GS-N 0.99.60T Status : Completed
7 | // GS-N 1.00.18 0x0049EC20 JPN - Completed
8 |
9 | #include "stdafx.h"
10 | #include "CLoginCount.h"
11 |
12 |
13 |
14 | CLoginCount::CLoginCount()
15 | {
16 | this->Init();
17 | }
18 |
19 | CLoginCount::~CLoginCount()
20 | {
21 | return;
22 | }
23 |
24 | void CLoginCount::Init()
25 | {
26 | this->m_count=0;
27 | }
28 |
29 | void CLoginCount::Add()
30 | {
31 | this->m_count++;
32 | }
33 |
34 | void CLoginCount::Delete()
35 | {
36 | this->m_count--;
37 |
38 | if ( this->m_count < 0 )
39 | {
40 | this->m_count = 0;
41 | }
42 | }
43 |
44 | int CLoginCount::Get()
45 | {
46 | return this->m_count;
47 | }
48 |
49 |
--------------------------------------------------------------------------------
/Source/WhisperCash.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 |
6 | #ifndef WHISPERCASH_H
7 | #define WHISPERCASH_H
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 | struct WCHSH_STRUCT
14 | {
15 | BOOL Live; // 0
16 | char szId[10]; // 4
17 | int m_Index; // 10
18 | DWORD m_Time; // 14
19 | };
20 |
21 |
22 |
23 | class CWhisperCash
24 | {
25 |
26 | public:
27 |
28 | CWhisperCash();
29 | virtual ~CWhisperCash();
30 |
31 | int AddCash(char* id);
32 | void DelCash(char* id);
33 | int SearchCash(char* id);
34 | void TimeCheckCashDelete();
35 | //void __thiscall Init();
36 |
37 | private:
38 |
39 | WCHSH_STRUCT WChash[2]; // 4
40 | int WChashCount; // 34
41 |
42 | };
43 |
44 | #endif
--------------------------------------------------------------------------------
/Source/CastleCrownSwitch.h:
--------------------------------------------------------------------------------
1 | // CastleCrownSwitch.h: interface for the CCastleCrownSwitch class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_CASTLECROWNSWITCH_H__E1DF5DA3_E594_4900_AF02_A71558C39951__INCLUDED_)
6 | #define AFX_CASTLECROWNSWITCH_H__E1DF5DA3_E594_4900_AF02_A71558C39951__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==1)
13 |
14 | class CCastleCrownSwitch
15 | {
16 | public:
17 | CCastleCrownSwitch();
18 | virtual ~CCastleCrownSwitch();
19 |
20 | public:
21 | void CrownSwitchPushTime(int iSwitchIndex);
22 | };
23 |
24 | extern CCastleCrownSwitch g_CastleCrownSwitch;
25 | #endif
26 |
27 | #endif // !defined(AFX_CASTLECROWNSWITCH_H__E1DF5DA3_E594_4900_AF02_A71558C39951__INCLUDED_)
28 |
--------------------------------------------------------------------------------
/Source/ComplexModulus.h:
--------------------------------------------------------------------------------
1 | #if (ISEX700 == 1)
2 |
3 | #ifndef COMPLEXMODULUS_H
4 | #define COMPLEXMODULUS_H
5 |
6 | class CComplexModulus
7 | {
8 | protected:
9 |
10 | static DWORD KEYS[];
11 |
12 | public:
13 |
14 | int Encrypt(void * lpDest, void * lpSource, int iSize);
15 | int Decrypt(void * lpDest, void * lpSource, int iSize);
16 | void FixPacket_F3(unsigned char* lpBody,int iSize);
17 |
18 | protected:
19 |
20 | void EncryptBlock(unsigned long* lpdwFrom,unsigned long* lpdwTo);
21 | void DecryptBlock(unsigned long* lpdwFrom,unsigned long* lpdwTo);
22 | int CComplexModulus::AddBits(void*lpDest,int iDestBitPos,void*lpSource,int iBitSourcePos,int iBitLen);
23 | DWORD Rol(DWORD x,BYTE shift);
24 | DWORD Ror(DWORD x,BYTE shift);
25 | };
26 |
27 | extern CComplexModulus g_ComplexModulusCS;
28 |
29 | #endif
30 |
31 | #endif
--------------------------------------------------------------------------------
/Source/MossShop.h:
--------------------------------------------------------------------------------
1 |
2 | #include "user.h"
3 |
4 | class cMossShop
5 | {
6 | public:
7 | void Init(char * FilePath);
8 | void BuyItem(LPOBJ lpObj, BYTE Pos);
9 | void StartEvent();
10 | void SetMonster();
11 | void LoadMonster();
12 | void ClearMonster();
13 |
14 | short MobID;
15 | short MobPos;
16 | short MobNr;
17 |
18 | BOOL Enabled;
19 | BOOL Start;
20 | short Minutes;
21 |
22 | private:
23 | short LevelReq;
24 | short ResetsReq;
25 | BOOL ResetsDecEnabled;
26 | BOOL OnlyForMarried;
27 | int ZenReq;
28 |
29 | short ItemEnabledReq;
30 | short ItemTypeReq;
31 | short ItemIndexReq;
32 | short ItemCountReq;
33 | short ItemLevelReq;
34 | short ItemOptionReq;
35 | short ItemLuckReq;
36 | short ItemSkillReq;
37 | };
38 |
39 | void MossShop__InsideTrigger(void * lpParam);
40 | extern cMossShop MossShop;
41 |
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanSerialize/Readme.txt:
--------------------------------------------------------------------------------
1 | Recomendation:
2 |
3 | Use it with GS closed.
4 | Make a backup from DB before use this program.
5 | Use it by your own risk.
6 |
7 | Little explanation:
8 |
9 | [Serialize] section
10 |
11 | SerialToChange is for select the item serial to change example all items with serial 0
12 | ChangeSerials=1 means all items with X serials will get an auto serial
13 | ItemFilterPath means will transform all items with X serial from that list of items (example u can exclude potions in that file, so potions will not change serial)
14 |
15 | [Search] section
16 |
17 | ItemFilterPath means will search all items from X serial from DB with that filter of items and will displayed and save in logs (will get account and character and position of item)
18 | Serial means search all items with that serial.
--------------------------------------------------------------------------------
/Source/MDI.h:
--------------------------------------------------------------------------------
1 |
2 | class MDI
3 | {
4 | public:
5 | BOOL Init(char * Class, char * Name, HINSTANCE hInstance,LPSTR lpCmdLine);
6 | ATOM MyRegisterClass(HINSTANCE hInstance);
7 | BOOL InitInstance(HINSTANCE hInstance, int nCmdShow);
8 | HWND CreateMDIClient(const HWND hParent,const HINSTANCE hInst);
9 | void OnCreate(HWND hwnd,CREATESTRUCT *cs);
10 | bool RegisterMdiChild(WNDPROC wp,char * s,const HINSTANCE hInst);
11 | HWND CreateMDIChildWnd(const HWND hParent,const HINSTANCE hInst,DWORD dwStyle,
12 | const RECT& rc,const int id,char * caption,
13 | char * classname);
14 | void CreateLogInst();
15 |
16 | HINSTANCE hInstance;
17 | HWND hwnd;
18 | HWND hwndParent;
19 | HWND ChildLog;
20 | char ClassName[64];
21 | char WindowName[64];
22 | LPSTR lpCmdLine;
23 | };
24 |
25 | extern MDI mdi;
--------------------------------------------------------------------------------
/Source/ObjBotVipShop.h:
--------------------------------------------------------------------------------
1 | #include "user.h"
2 | #include "stdafx.h"
3 |
4 | #if (PACK_EDITION>=3)
5 | #if (CRYSTAL_EDITION == 1)
6 |
7 | #define MAX_BOTVIPSHOP 10
8 |
9 | struct BotVipShopBodyItems
10 | {
11 | int num;
12 | BYTE level;
13 | BYTE opt;
14 | bool Enabled;
15 | };
16 |
17 | struct botVipShopStruct
18 | {
19 | int Class;
20 | BYTE OnlyVip;
21 | char Name[11];
22 | BYTE Map;
23 | BYTE X;
24 | BYTE Y;
25 | BYTE Dir;
26 | bool Enabled;
27 | int index;
28 | BotVipShopBodyItems body[9];
29 | };
30 |
31 | class ObjBotVipShop
32 | {
33 | public:
34 | bool Enabled;
35 | void Read(char * FilePath);
36 | void MakeBot();
37 | BOOL TradeOpen(int index,int nindex);
38 | botVipShopStruct bot[MAX_BOTVIPSHOP];
39 | private:
40 | int GetBotIndex(int aIndex);
41 | };
42 | extern ObjBotVipShop BotVipShop;
43 |
44 | #endif
45 | #endif
--------------------------------------------------------------------------------
/Source/LargeRand.h:
--------------------------------------------------------------------------------
1 | #ifndef LARGERAND_H
2 | #define LARGERAND_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 |
9 | #define MAX_LARGE_RAND_STATE 625
10 |
11 | class CLargeRand
12 | {
13 | public:
14 |
15 | CLargeRand();
16 | virtual ~CLargeRand();
17 |
18 | void seedMT(DWORD seed);
19 | DWORD reloadMT();
20 | DWORD randomMT()
21 | {
22 | this->left--;
23 |
24 | if ( this->left< 0 )
25 | {
26 | return this->reloadMT();
27 | }
28 |
29 | DWORD y = *next;
30 | next++;
31 | y ^= ( (DWORD)y >> (DWORD)11 );
32 | y ^= ( y << 7 ) & 2636928640;
33 | y ^= ( y << 15 ) & 4022730752;
34 |
35 | return y ^ ( y >> 18 );
36 | };
37 |
38 | private:
39 |
40 | DWORD state[MAX_LARGE_RAND_STATE]; // 4
41 | DWORD * next; // 9C8
42 | int left; // 9CC
43 | };
44 |
45 | DWORD GetLargeRand();
46 |
47 | #endif
--------------------------------------------------------------------------------
/Source/SkillHitBox.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef SKILLHITBOX_H
6 | #define SKILLHITBOX_H
7 |
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 |
14 | #define SKILL_HIT_MAX_INDEX 36
15 | #define SKILL_HIT_MAX_SUBINDEX 441
16 |
17 | class CSkillHitBox
18 | {
19 |
20 | public:
21 |
22 | CSkillHitBox();
23 | virtual ~CSkillHitBox();
24 |
25 | void Init();
26 | int Check(int dir, int x, int y);
27 | int HitCheck(int dir, int x, int y, int tx, int ty);
28 | BOOL Load(char* filename);
29 |
30 |
31 | private:
32 |
33 | BYTE m_Table[SKILL_HIT_MAX_INDEX][SKILL_HIT_MAX_SUBINDEX]; // 4
34 |
35 | };
36 |
37 | extern CSkillHitBox SkillSpearHitBox;
38 | extern CSkillHitBox SkillElectricSparkHitBox;
39 |
40 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Ranking/4-CREATE_PROC-TT_IGScore.tdu:
--------------------------------------------------------------------------------
1 | CREATE PROCEDURE [dbo].[TT_IGScore]
2 | @ServerCode INT,
3 | @AccountID VARCHAR(10),
4 | @Name VARCHAR(10),
5 | @PlayDay TINYINT
6 | As
7 | Begin
8 | BEGIN TRANSACTION
9 | SET NOCOUNT ON
10 |
11 | IF EXISTS (SELECT NULL FROM IMPERIALGUARDIAN_INFO WHERE Account = @AccountID AND Name = @Name AND ServerCode = @ServerCode AND PlayDay = @PlayDay)
12 | UPDATE IMPERIALGUARDIAN_INFO SET WinCount = WinCount+1 WHERE Account = @AccountID AND Name = @Name AND ServerCode = @ServerCode AND PlayDay = @PlayDay
13 | ELSE
14 | INSERT INTO IMPERIALGUARDIAN_INFO (ServerCode, Account, Name, WinCount, PlayDay) VALUES (@ServerCode,@AccountID,@Name,1,@PlayDay)
15 |
16 | IF(@@Error <> 0 )
17 | ROLLBACK TRANSACTION
18 | ELSE
19 | COMMIT TRANSACTION
20 |
21 | SET NOCOUNT OFF
22 | End
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/Ranking/4-CREATE_PROC-TT_MonstersKilledScore.tdu:
--------------------------------------------------------------------------------
1 | CREATE PROCEDURE [dbo].[TT_MonstersKilledScore]
2 | @ServerCode INT,
3 | @AccountID VARCHAR(10),
4 | @Name VARCHAR(10),
5 | @Monster INT
6 | As
7 | Begin
8 | BEGIN TRANSACTION
9 | SET NOCOUNT ON
10 |
11 | IF EXISTS (SELECT NULL FROM MONSTERSKILLED_INFO WHERE Account = @AccountID AND Name = @Name AND ServerCode = @ServerCode AND Monster = @Monster)
12 | UPDATE MONSTERSKILLED_INFO SET KillCount = KillCount+1 WHERE Account = @AccountID AND Name = @Name AND ServerCode = @ServerCode AND Monster = @Monster
13 | ELSE
14 | INSERT INTO MONSTERSKILLED_INFO (ServerCode, Account, Name, KillCount, Monster) VALUES (@ServerCode,@AccountID,@Name,1,@Monster)
15 |
16 | IF(@@Error <> 0 )
17 | ROLLBACK TRANSACTION
18 | ELSE
19 | COMMIT TRANSACTION
20 |
21 | SET NOCOUNT OFF
22 | End
--------------------------------------------------------------------------------
/Source/ObjQaA.h:
--------------------------------------------------------------------------------
1 |
2 |
3 | #define QaA_QUESTIONSCOUNT 50
4 | #define QaA_ANSWERSCOUNT 3
5 | #define MAX_QaA_REWARD 50
6 |
7 | struct QuestionsStruct
8 | {
9 | BYTE ID;
10 | char Question[100];
11 | char CorrectAnswer;
12 | char Answer[QaA_ANSWERSCOUNT][100];
13 | BYTE AnswersCnt;
14 | };
15 |
16 | class cObjQaA
17 | {
18 | public:
19 | void Read(char * FilePath);
20 | void StartEvent();
21 | void AnswerCmd(int aIndex, char * pAnswer);
22 | void SendReward();
23 | int SearchQuestion(BYTE ID);
24 |
25 | QuestionsStruct Question[QaA_QUESTIONSCOUNT];
26 | botReward_Data_Struct reward[MAX_QaA_REWARD];
27 | BYTE QuestionsCnt;
28 | BYTE RewardCount;
29 | BYTE Enabled;
30 | BYTE MaxQuestions;
31 | int CurrentQuestion;
32 | int PlayerIDReply;
33 | bool Start;
34 | bool StartAnswer;
35 | };
36 |
37 | void cObjQaA__InsideTrigger(void * lpParam);
38 |
39 | extern cObjQaA ObjQaA;
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/INSTALLATION.txt:
--------------------------------------------------------------------------------
1 | ==========================================
2 | = TITANSTECH - http://www.titanstech.com =
3 | = SIMPLE INSTALL DOCUMENT =
4 | ==========================================
5 |
6 | 1.- REQS:
7 |
8 | ---------
9 | SOFTWARE:
10 | Microsoft SQL Server 2008.
11 | Microsoft Windows 2008.
12 |
13 | ---------
14 | HARDWARE:
15 | CORE2DUO 2 GHZ or more.
16 | 4 GB of RAM.
17 | 20 GB OF HD SPACE.
18 |
19 | 2.- INSTALLATION.
20 |
21 | a) Install SQL with mix mode and TCP enable.
22 | b) Update Microsoft Windows and SQL Server.
23 | c) Open TitanMUInstaller folder, edit Config.ini.
24 | d) Run TitanMUInstaller.exe and do this steps: 1 Normal Install, Then Upgrade step by step on every button.
25 | e) Same as before but on folder TitanDBUpdater. Configure the ini file then run the exe.
26 | f) Enjoy.
27 |
28 | Questions to bet0x@titanstech.com (EMAIL or MSN).
29 |
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_QaA.txt:
--------------------------------------------------------------------------------
1 | 1
2 | // Enabled //MaxQuestions Per Round
3 | 1 3
4 | end
5 |
6 | 2
7 | // ID Question Answer
8 | 1 "With BotTrader, 1 Bless and 1 Soul =" "A"
9 | 2 "Bot Alchemist..." "B"
10 | 3 "Bot VipShop is in:" "C"
11 | end
12 |
13 | 3
14 | // QID Answers
15 | 1 "A) Random Wing"
16 | 1 "B) Chaos"
17 | 1 "C) Rena"
18 |
19 | 2 "A) Give random items"
20 | 2 "B) Transfer opts from one item to other"
21 |
22 | 3 "A) Devias"
23 | 3 "B) Noria"
24 | 3 "C) Lorencia"
25 | end
26 |
27 | 4
28 | //Rewards: Apply in BotReward (random reward)
29 | // Zen VipMoney ItemType ItemIndex iLevel iOpt iLuck iSkill iDur iExc iAnc iSock1 iSock2 iSock3 iSock4 iSock5 iJOH iDays ForeverFFFESerial
30 | 200000 0 13 64 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0
31 | 200000 0 13 65 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0
32 | 200000 0 13 67 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0
33 | end
--------------------------------------------------------------------------------
/ServerConfigs/data/Events/BloodCastle.dat:
--------------------------------------------------------------------------------
1 | //==============
2 | // BLOOD CASTLE
3 | //==============
4 |
5 | //Blood Castle time settings
6 | // Time will be open(min) / Duration - Event(min) / Time to close after the weapon is delivered to the Archangel(min)
7 | 0
8 | 5 15 1
9 | end
10 |
11 |
12 | // Configuration and range to drop items disappear
13 | // item drop rate(gItemDropPer(10)/n) / exc item drop rate(1/n) / time for items to disappear
14 | 1
15 | 1000 1200 1
16 | end
17 |
18 |
19 | // castle door health
20 | // BC Lvl | Hp Crystal Statue | HP gate/door
21 | 2
22 | 0 65000 150000 // Blood Castle 1
23 | 1 105000 205000 // Blood Castle 2
24 | 2 145000 260000 // Blood Castle 3
25 | 3 185000 325000 // Blood Castle 4
26 | 4 225000 400000 // Blood Castle 5
27 | 5 265000 480000 // Blood Castle 6
28 | 6 305000 565000 // Blood Castle 7
29 | 7 345000 665000 // Blood Castle 8
30 | end
31 |
--------------------------------------------------------------------------------
/ServerConfigs/data/MapServerInfo.dat:
--------------------------------------------------------------------------------
1 | 0
2 | // Normal Servers
3 | 0 0 1 SXX.XX.XX.XX 55901 //[Main]
4 |
5 | // PVP Servers
6 | 11 0 1 SXX.XX.XX.XX 55911 //[PVP]
7 |
8 | // Castle Siege Servers
9 | 19 0 0 SXX.XX.XX.XX 55919 //[Castle]
10 | end
11 |
12 |
13 |
14 | 1
15 | // Normal Servers
16 | 0 0 30 19 //Lorren
17 | 0 0 31 19 //DareDevil
18 | 0 0 34 19 //CryWolf
19 | 0 0 41 19 //Barraks
20 | 0 0 42 19 //Refuge
21 | 0 0 56 19 //Swamp
22 |
23 | // PVP Servers
24 | 11 0 30 19 //Lorren
25 | 11 0 31 19 //DareDevil
26 | 11 0 34 19 //CryWolf
27 | 11 0 41 19 //Barraks
28 | 11 0 42 19 //Refuge
29 | 11 0 56 19 //Swamp
30 |
31 | // Castle Siege Servers
32 | 19 1 30 -1 //Lorren
33 | 19 1 31 -1 //DareDevil
34 | 19 1 34 -1 //CryWolf
35 | 19 1 41 -1 //Barraks
36 | 19 1 42 -1 //Refuge
37 | 19 1 56 -1 //Swamp
38 | end
39 |
--------------------------------------------------------------------------------
/Source/LifeStone.h:
--------------------------------------------------------------------------------
1 | // LifeStone.h: interface for the CLifeStone class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_LIFESTONE_H__9E5B6740_42C2_41D9_AB3E_74F5FB0DE015__INCLUDED_)
6 | #define AFX_LIFESTONE_H__9E5B6740_42C2_41D9_AB3E_74F5FB0DE015__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | #if (GS_CASTLE==1)
14 |
15 |
16 | class CLifeStone
17 | {
18 | public:
19 | CLifeStone();
20 | virtual ~CLifeStone();
21 |
22 | void LifeStoneAct(int iIndex);
23 | void SendLifeStoneState(int iIndex);
24 | BOOL CreateLifeStone(int iIndex);
25 | int DeleteLifeStone(int iIndex);
26 | int SetReSpawnUserXY(int iUserIndex);
27 | };
28 |
29 | extern CLifeStone g_CsNPC_LifeStone;
30 |
31 | #endif
32 |
33 | #endif // !defined(AFX_LIFESTONE_H__9E5B6740_42C2_41D9_AB3E_74F5FB0DE015__INCLUDED_)
34 |
--------------------------------------------------------------------------------
/SimpleModulus/StdAfx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #if !defined(AFX_STDAFX_H__6537ECB1_7D29_480C_9BAE_2D1DBE342E7B__INCLUDED_)
7 | #define AFX_STDAFX_H__6537ECB1_7D29_480C_9BAE_2D1DBE342E7B__INCLUDED_
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
14 |
15 | #include "windows.h"
16 | #include "winbase.h"
17 | #include "iostream"
18 |
19 | // TODO: reference additional headers your program requires here
20 |
21 | //{{AFX_INSERT_LOCATION}}
22 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
23 |
24 | #endif // !defined(AFX_STDAFX_H__6537ECB1_7D29_480C_9BAE_2D1DBE342E7B__INCLUDED_)
25 |
--------------------------------------------------------------------------------
/Source/DBSockMng.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef DBSOCKMNG_H
6 | #define DBSOCKMNG_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #include "wsJoinServerCli.h"
13 |
14 | #define DS_UNINITIALIZED -1
15 | #define DS_0 0
16 | #define DS_1 1
17 |
18 |
19 | class DBSockMng
20 | {
21 |
22 | public:
23 |
24 | DBSockMng();
25 | virtual ~DBSockMng();
26 |
27 | void Connect();
28 | void ActiveChange();
29 | int Send(int server, char* buf, int len);
30 | int Send(char* buf, int len);
31 | int MsgProc(int line, WPARAM wParam, LPARAM lParam);
32 | //int __thiscall GetActiveDS();
33 |
34 |
35 | public:
36 |
37 | wsJoinServerCli wsCDBS[2]; // 0
38 | int m_ActiveServer; /// 320054
39 | } ;
40 |
41 |
42 | extern DBSockMng cDBSMng;
43 |
44 | #endif /* DBSOCKMNG_H */
--------------------------------------------------------------------------------
/Source/KanturuEntranceNPC.h:
--------------------------------------------------------------------------------
1 | // KanturuEntranceNPC.h: interface for the CKanturuEntranceNPC class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_KANTURUENTRANCENPC_H__A062469A_13C1_449C_A227_A97ECE1B50C2__INCLUDED_)
6 | #define AFX_KANTURUENTRANCENPC_H__A062469A_13C1_449C_A227_A97ECE1B50C2__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==0)
13 |
14 | class CKanturuEntranceNPC
15 | {
16 |
17 | public:
18 |
19 | CKanturuEntranceNPC();
20 | virtual ~CKanturuEntranceNPC();
21 |
22 | void NotifyEntranceInfo(int iIndex);
23 | void NotifyResultEnterKanturuBossMap(int iIndex);
24 |
25 | private:
26 |
27 | };
28 |
29 | extern CKanturuEntranceNPC g_KanturuEntranceNPC;
30 |
31 | #endif
32 | #endif // !defined(AFX_KANTURUENTRANCENPC_H__A062469A_13C1_449C_A227_A97ECE1B50C2__INCLUDED_)
33 |
--------------------------------------------------------------------------------
/Source/MuMsg.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 | #include "GMMng.h"
3 | #include "LogToFile.h"
4 | #include "logproc.h"
5 | #include "GameMain.h"
6 | #include "protocol.h"
7 | #include "..\common\winutil.h"
8 | #include "giocp.h"
9 |
10 | CMsg lMsg;
11 |
12 | void CMsg::DataFileLoad(char * filename)
13 | {
14 | unsigned char szTemp[256];
15 | int Index;
16 | int Type;
17 | int SubIndex;
18 |
19 | FILE* WTFFile;
20 |
21 | WTFFile = fopen(filename, "r");
22 | while (!feof(WTFFile))
23 | {
24 | memset(&szTemp, 0, sizeof(szTemp) );
25 | fscanf(WTFFile,"%d %d %[^\n]%*c",&Type,&SubIndex,szTemp);
26 | Index = MSGGET(Type,SubIndex);
27 | if(Index == 3724)
28 | {
29 | int i=0;
30 | i=4;
31 | }
32 | if(Index < 32767)
33 | {
34 | strcpy(this->msg[Index],(char*)szTemp);
35 | }
36 | }
37 | fclose(WTFFile);
38 | }
39 |
40 | LPSTR CMsg::Get(int Index)
41 | {
42 | return ((char*)this->msg[Index]);
43 | }
--------------------------------------------------------------------------------
/Source/ObjBaseAttack.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJBASEATTACK_H
2 | #define OBJBASEATTACK_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 | #include "user.h"
9 |
10 |
11 | class CObjBaseAttack
12 | {
13 |
14 | public:
15 |
16 | CObjBaseAttack();
17 | virtual ~CObjBaseAttack();
18 |
19 | int DecreaseArrow(LPOBJ lpObj);
20 | int CheckAttackArea(LPOBJ lpObj, LPOBJ lpTargetObj);
21 | int PkCheck(LPOBJ lpObj, LPOBJ lpTargetObj);
22 | int ResistanceCheck(LPOBJ lpObj, LPOBJ lpTargetObj, int skill);
23 | int MissCheckPvP(LPOBJ lpObj, LPOBJ lpTargetObj, int skill, int skillSuccess, int magicsend, BOOL& bAllMiss);
24 | int GetTargetDefense(LPOBJ lpObj, LPOBJ lpTargetObj, unsigned char& MsgDamage);
25 | int GetPartyMemberCount(LPOBJ lpObj);
26 |
27 | virtual int MissCheck(LPOBJ lpObj, LPOBJ lpTargetObj, int skill, int skillSuccess, int magicsend, BOOL& bAllMiss); // 4
28 |
29 |
30 | };
31 |
32 | #endif
--------------------------------------------------------------------------------
/Source/TUnionInfo.h:
--------------------------------------------------------------------------------
1 | #ifndef TUNIONINFO_H
2 | #define TUNIONINFO_H
3 |
4 |
5 | #if _MSC_VER > 1000
6 | #pragma once
7 | #endif // _MSC_VER > 1000
8 |
9 | #include "..\common\TSync.h"
10 |
11 | #define MAX_UNION_GUILD 100
12 | #define MAX_UNION_MEMBER 5
13 |
14 | class TUnionInfo
15 | {
16 |
17 | public:
18 |
19 | TUnionInfo();
20 | virtual ~TUnionInfo();
21 |
22 | int IsUnionMember(int iGuildNumber);
23 | int IsRivalMember(int iGuildNumber);
24 | int SetUnionMaster(int iGuildNumber, char* szGuildName);
25 | int GetUnionMemberCount();
26 | int GetRivalMemberCount();
27 | void Clear(int iRelationShipType);
28 |
29 | public:
30 |
31 | int m_iUnionTimeStamp; // 4
32 | int m_iRivalTimeStamp; // 8
33 | int m_iMasterGuild; // C
34 | char m_szMasterGuild[9]; // 10
35 | std::vector m_vtUnionMember; // 1C
36 | std::vector m_vtRivalMember; // 2C
37 | TSync m_Sync; // 3C
38 |
39 | };
40 |
41 |
42 | #endif
--------------------------------------------------------------------------------
/Source/CSAuth/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #if !defined(AFX_STDAFX_H__6537ECB1_7D29_480C_9BAE_2D1DBE342E7B__INCLUDED_)
7 | #define AFX_STDAFX_H__6537ECB1_7D29_480C_9BAE_2D1DBE342E7B__INCLUDED_
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
14 |
15 | #include "windows.h"
16 | #include "winbase.h"
17 | #include "iostream"
18 | #include
19 |
20 | // TODO: reference additional headers your program requires here
21 |
22 | //{{AFX_INSERT_LOCATION}}
23 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
24 |
25 | #endif // !defined(AFX_STDAFX_H__6537ECB1_7D29_480C_9BAE_2D1DBE342E7B__INCLUDED_)
26 |
--------------------------------------------------------------------------------
/Source/ObjBotWarper.h:
--------------------------------------------------------------------------------
1 | #include "user.h"
2 | #include "stdafx.h"
3 |
4 | #if (PACK_EDITION>=3)
5 |
6 | #define MAX_BOTWARPER 10
7 |
8 | struct BotWarperBodyItems
9 | {
10 | int num;
11 | BYTE level;
12 | BYTE opt;
13 | bool Enabled;
14 | };
15 |
16 | struct botWarperStruct
17 | {
18 | int Class;
19 | BYTE OnlyVip;
20 | int Zen;
21 | int MinLevel;
22 | int MinReset;
23 | int VipMoney;
24 | char Name[11];
25 | BYTE Map;
26 | BYTE X;
27 | BYTE Y;
28 | BYTE Dir;
29 | bool Enabled;
30 | int index;
31 | BotWarperBodyItems body[9];
32 |
33 | BYTE Warp_Map;
34 | BYTE Warp_X;
35 | BYTE Warp_Y;
36 | };
37 |
38 | class ObjBotWarper
39 | {
40 | public:
41 | bool Enabled;
42 | void Read(char * FilePath);
43 | void MakeBot();
44 | BOOL TradeOpen(int index,int nindex);
45 | botWarperStruct bot[MAX_BOTWARPER];
46 | private:
47 | int GetBotIndex(int aIndex);
48 | };
49 | extern ObjBotWarper BotWarper;
50 |
51 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/data/Shops/Fireworks_Merchant(379).txt:
--------------------------------------------------------------------------------
1 | 14 3 0 100 0 0 0 0 //Healing Big Potion [1] [1x1] [1]
2 | 14 6 0 100 0 0 0 0 //Mana Big Potion [2] [1x1] [1]
3 | 14 8 0 100 0 0 0 0 //Anti-Poison Potion [3] [1x1] [1]
4 |
5 | 14 9 1 0 0 0 0 0 //Olive of Love [4] [1x2] [1,2]
6 | 14 10 0 0 0 0 0 0 //Teleport [5] [1x2] [1,2]
7 | 14 9 0 0 0 0 0 0 //Alcohol [6] [1x2] [1,2]
8 |
9 | 13 29 0 0 0 0 0 0 //Armor of Guardman [7,8] [2x2] [1,2]
10 |
11 | 14 20 0 0 0 0 0 0 //Sentimental Charm [1] [1x1] [2]
12 | 4 7 7 255 1 1 2 0 //Arrows +5 [2] [1x1] [2]
13 | 4 15 7 255 1 1 2 0 //Bolts +5 [3] [1x1] [2]
14 |
15 | //Misc
16 | 13 9 0 0 0 0 1 0 //Poison Ring
17 | 13 8 0 0 0 0 1 0 //Ice Ring
18 | 13 21 0 0 0 0 1 0 //Ring of Fire
19 | 13 22 0 0 0 0 1 0 //Ring of Earth
20 |
21 | 13 13 0 0 0 0 1 0 //Fire Necklace
22 | 13 12 0 0 0 0 1 0 //Lightning Necklace
23 | 13 25 0 0 0 0 1 0 //Ice Necklace
24 | 13 26 0 0 0 0 1 0 //Wind Necklace
25 | end
--------------------------------------------------------------------------------
/GGSvr/StdAfx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #if !defined(AFX_STDAFX_H__9FC6D806_B9BC_4C9E_87D3_658EB12555AF__INCLUDED_)
7 | #define AFX_STDAFX_H__9FC6D806_B9BC_4C9E_87D3_658EB12555AF__INCLUDED_
8 |
9 | #if _MSC_VER > 1000
10 | #pragma once
11 | #endif // _MSC_VER > 1000
12 |
13 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
14 |
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
20 |
21 | // TODO: reference additional headers your program requires here
22 |
23 | //{{AFX_INSERT_LOCATION}}
24 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
25 |
26 | #endif // !defined(AFX_STDAFX_H__9FC6D806_B9BC_4C9E_87D3_658EB12555AF__INCLUDED_)
27 |
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCFBots/SCF_BotReward.txt:
--------------------------------------------------------------------------------
1 | //======================================================================================
2 | //BotReward Must be in Safe Zone
3 | //======================================================================================
4 | //Class = 0,1,2 DW,SM,GM
5 | // = 16,17,18 DK,BK,BM
6 | // = 32,33,34 Elf,ME,HE
7 | // = 48,49,50 MG,DM
8 | // = 64,65,66 DL,LE
9 | // = 80,81,82 SU,BS,DS
10 | //======================================================================================
11 | //Class Name Map X Y Dir
12 | 1
13 | 81 "[Bot]Rew" 2 220 82 5
14 | end
15 |
16 | //BotPet Items
17 | //Slot:
18 | //0 = Weapon
19 | //1 = Shield
20 | //2 = Helm
21 | //3 = Armor
22 | //4 = Pants
23 | //5 = Gloves
24 | //6 = Boots
25 | //7 = Wings
26 | //8 = Pet
27 |
28 | //Slot Type Index Level Opt
29 | 2
30 | 2 7 53 15 1
31 | 3 8 53 15 1
32 | 4 9 53 15 1
33 | 5 10 53 15 1
34 | 6 11 53 15 1
35 | 7 12 43 0 0
36 | end
--------------------------------------------------------------------------------
/Source/ObjCalCharacter.h:
--------------------------------------------------------------------------------
1 | #ifndef OBJCALCHARACTER_H
2 | #define OBJCALCHARACTER_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 | #include "user.h"
9 | #include "..\common\zzzitem.h"
10 |
11 | void gObjSantaBuffApply(LPOBJ lpObj);
12 | void gObjFixGagesOverflow(LPOBJ lpObj);
13 | void gObjCalCharacter(int aIndex);
14 | void GObjExtItemApply(LPOBJ lpObj);
15 | void gObjSocketItemApply(LPOBJ lpObj);
16 | void gObjCalcSetItemStat(LPOBJ lpObj);
17 | void gObjGetSetItemOption(LPOBJ lpObj, LPBYTE pSetOptionTable , LPBYTE pSetOptionCountTable , int * pSetOptionCount);
18 | void gObjCalcSetItemOption(LPOBJ lpObj);
19 | void gObjSetItemStatPlusSpecial(LPOBJ lpObj, int option, int ivalue);
20 | void gObjSetItemPlusSpecial(LPOBJ lpObj, int option, int ivalue);
21 | void gObjSetItemApply(LPOBJ lpObj);
22 | BOOL gObjValidItem(LPOBJ lpObj, CItem * lpItem, int pos);
23 | void gObjCalcShieldPoint(LPOBJ lpObj);
24 |
25 | #endif
--------------------------------------------------------------------------------
/GGSvr/Readme.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : GGSvr
3 | ========================================================================
4 |
5 |
6 | AppWizard has created this GGSvr library for you.
7 |
8 | This file contains a summary of what you will find in each of the files that
9 | make up your GGSvr application.
10 |
11 | /////////////////////////////////////////////////////////////////////////////
12 |
13 | StdAfx.h, StdAfx.cpp
14 | These files are used to build a precompiled header (PCH) file
15 | named GGSvr.pch and a precompiled types file named StdAfx.obj.
16 |
17 | /////////////////////////////////////////////////////////////////////////////
18 | Other notes:
19 |
20 | AppWizard uses "TODO:" to indicate parts of the source code you
21 | should add to or customize.
22 |
23 |
24 | /////////////////////////////////////////////////////////////////////////////
25 |
--------------------------------------------------------------------------------
/Source/DragonEvent.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef DRAGONEVENT_H
6 | #define DRAGONEVENT_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | class CDragonEvent
13 | {
14 |
15 | public:
16 |
17 | CDragonEvent();
18 | virtual ~CDragonEvent();
19 |
20 | BYTE GetState(){return this->EventState;} // Dagon event line 30.h
21 | BYTE GetMapNumber(){return this->m_MapNumber;} // Dragon event line 35.h
22 | void Init();
23 | void Start();
24 | void End();
25 | void Run();
26 | void DragonActive();
27 | void SetMenualStart(BOOL bMenualStart){this->m_bMenualStart = bMenualStart;}
28 | void Start_Menual();
29 | void End_Menual();
30 |
31 | private:
32 |
33 | BYTE EventState; // 4
34 | DWORD EventStartTime; // 8
35 | BYTE m_MapNumber; // C
36 | BOOL m_bMenualStart; // 10
37 |
38 | };
39 |
40 | #endif
--------------------------------------------------------------------------------
/Source/MultiCheckSum.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef MULTICHECKSUM_H
6 | #define MULTICHECKSUM_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #include "user.h"
13 |
14 | #define MAX_MULTICHECKSUM 10
15 |
16 | class CMultiCheckSum
17 | {
18 | public:
19 |
20 | int LoadFile();
21 |
22 |
23 | CMultiCheckSum();
24 | virtual ~CMultiCheckSum();
25 |
26 | void Init();
27 | void SetFilePath(char* filepath);
28 | int CompareCheckSum(int aIndex, DWORD TableNum, DWORD Key);
29 |
30 | private:
31 |
32 | BOOL LoadFile(char* filename, int index);
33 | int m_dwLoaded[MAX_MULTICHECKSUM]; // 4
34 | DWORD m_dwgCheckSum[MAX_MULTICHECKSUM][MAX_CHECKSUM_KEY]; // 2C
35 | char m_sFilePath[255]; // A02C
36 |
37 |
38 | };
39 |
40 | extern CMultiCheckSum g_MultiChecksum;
41 |
42 | #endif /*MULTICHECKSUM_H*/
--------------------------------------------------------------------------------
/Source/ComboAttack.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef COMBOATTACK_H
6 | #define COMBOATTACK_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | struct ComboSkillData
13 | {
14 |
15 | public:
16 |
17 | void Init() // line : 19
18 | {
19 | this->dwTime = 0;
20 | this->Skill[0] = -1;
21 | this->Skill[1] = -1;
22 | this->Skill[2] = -1;
23 | this->ProgressIndex = -1;
24 | }; // line : 23
25 |
26 | DWORD dwTime; // 0
27 | WORD Skill[3]; // 4
28 | int ProgressIndex; // 8
29 |
30 | };
31 |
32 | class CComboAttack
33 | {
34 |
35 | public:
36 |
37 | CComboAttack();
38 | virtual ~CComboAttack();
39 |
40 | private:
41 |
42 | int GetSkillPos(int skillnum);
43 |
44 | public:
45 |
46 | BOOL CheckCombo(int aIndex, int skillnum);
47 |
48 | };
49 |
50 | extern CComboAttack gComboAttack;
51 |
52 | #endif
--------------------------------------------------------------------------------
/Source/StatMng.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef STATMNG_H
6 | #define STATMNG_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #define STAT_TABLE_SIZE 500
13 |
14 | class CStatMng
15 | {
16 |
17 | public:
18 |
19 | CStatMng();
20 | virtual ~CStatMng();
21 |
22 | void Init();
23 | int GetMaxStat(int level, int Class);
24 | int GetMaxMinusStat(int iLevel, int iClass);
25 |
26 | private:
27 |
28 | int gObjNormalAddStatTable[STAT_TABLE_SIZE]; // 4
29 | int gObjMagumAddStatTable[STAT_TABLE_SIZE]; // 7D4
30 | int gObjDarkLordAddStatTable[STAT_TABLE_SIZE]; // FA4
31 | int gObjNormalMinusStatTable[STAT_TABLE_SIZE]; // 1774
32 | int gObjMagumMinusStatTable[STAT_TABLE_SIZE]; // 1F44
33 | int gObjDarkLordMinusStatTable[STAT_TABLE_SIZE]; // 2714
34 |
35 | };
36 |
37 | extern CStatMng gStatMng;
38 |
39 | #endif
--------------------------------------------------------------------------------
/Source/NSerialCheck.cpp:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #include "stdafx.h"
6 | #include "NSerialCheck.h"
7 |
8 | // GS-N 0.99.60T // 452a00 Status : Completed
9 | // GS-M 1.00.18 JPN 0x00461D30 - Completed
10 |
11 |
12 |
13 | NSerialCheck::NSerialCheck()
14 | {
15 | this->init();
16 | }
17 |
18 | NSerialCheck::~NSerialCheck()
19 | {
20 | return;
21 | }
22 |
23 | void NSerialCheck::init()
24 | {
25 | this->m_serial=-1;
26 | this->m_SendSeiral=0;
27 | }
28 |
29 | BOOL NSerialCheck::InCheck(unsigned char serial)
30 | {
31 | BYTE m_s=this->m_serial;
32 | m_s++;
33 |
34 | if ( m_s == serial )
35 | {
36 | this->m_serial = serial;
37 | return TRUE;
38 | }
39 |
40 | return FALSE;
41 | }
42 |
43 | int NSerialCheck::GetSerial()
44 | {
45 | return this->m_serial;
46 | }
47 |
48 | BYTE NSerialCheck::GetSendSerial()
49 | {
50 | return this->m_SendSeiral++;
51 | }
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_Doppelganger.ini:
--------------------------------------------------------------------------------
1 | [Common]
2 |
3 | SCFDoppelGangerEventEnabled = 1
4 | //On Success Open Silver TreasureBox EventItemBag, Other way appears larvas
5 | SCFDoppelGangerInterimChestRate=25
6 | //When x or more monsters pass the player start point event will fail (max 255)
7 | SCFDoppelGangerMaxMonstersPassInPortal=3
8 |
9 | SCFDoppelNormalMobsDropItems=1
10 |
11 | [MonsterStats]
12 |
13 | //Use SCF_DoppelGanger.dat MonsterInfo
14 | SCFDoppelGangerAutoIncrementMobStat=1
15 |
16 | //Increase Monsters Stat percent for member party count.
17 | SCFDoppelGangerPartyIncrementMobStat2=25
18 | SCFDoppelGangerPartyIncrementMobStat3=50
19 | SCFDoppelGangerPartyIncrementMobStat4=100
20 | SCFDoppelGangerPartyIncrementMobStat5=150
21 |
22 | [EventItemBagDrop]
23 |
24 | //Allow Drop EventItemBag when kill some boss.
25 |
26 | SCFDoppelGangerKillSlaughtererDropBag=0
27 | SCFDoppelGangerKillFuriosSlaughtererDropBag=0
28 | SCFDoppelGangerKillIceWalkerDropBag=1
--------------------------------------------------------------------------------
/Source/SCFPostServerProtocol.h:
--------------------------------------------------------------------------------
1 | #include "DSProtocol.h"
2 | #include "stdafx.h"
3 | #include "user.h"
4 |
5 | extern wsJoinServerCli wsSCFPSCli;
6 |
7 | #define WM_GM_SCFPS_CLIENT_MSG_PROC 0x420
8 |
9 | struct SDHP_POSTINFO
10 | {
11 | struct PBMSG_HEAD h;
12 | unsigned short ServerCode;
13 | char Name[11];
14 | char Chat[60];
15 | };
16 |
17 | struct SDHP_ALLSVRMSGSENDINFO
18 | {
19 | struct PBMSG_HEAD h;
20 | unsigned short ServerCode;
21 | char Chat[60];
22 | };
23 |
24 | void SCFPSClientMsgProc(WPARAM wParam, LPARAM lParam);
25 | void SCFPSServerProtocolCore(BYTE protoNum, LPBYTE aRecv, int aLen);
26 | BOOL SCFPSServerConnect(char* ConnectServer,int SCFPSPort ,DWORD wMsg);
27 | void SCFPostServerLogin();
28 | void SCFPostServerLoginResult(SDHP_RESULT * lpMsg);
29 | void SCFPostServerRecvPost(SDHP_POSTINFO * lpMsg);
30 | void SCFPostSend(int aIndex, char * chat);
31 | void SCFAllServerMsgRecv(SDHP_ALLSVRMSGSENDINFO * lpMsg);
32 | void SCFAllServerMsgSend(char * chat);
--------------------------------------------------------------------------------
/SimpleModulus/Readme.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | STATIC LIBRARY : SimpleModulus
3 | ========================================================================
4 |
5 |
6 | AppWizard has created this SimpleModulus library for you.
7 |
8 | This file contains a summary of what you will find in each of the files that
9 | make up your SimpleModulus application.
10 |
11 | /////////////////////////////////////////////////////////////////////////////
12 |
13 | StdAfx.h, StdAfx.cpp
14 | These files are used to build a precompiled header (PCH) file
15 | named SimpleModulus.pch and a precompiled types file named StdAfx.obj.
16 |
17 | /////////////////////////////////////////////////////////////////////////////
18 | Other notes:
19 |
20 | AppWizard uses "TODO:" to indicate parts of the source code you
21 | should add to or customize.
22 |
23 |
24 | /////////////////////////////////////////////////////////////////////////////
25 |
--------------------------------------------------------------------------------
/Source/ObjBotBuffer.h:
--------------------------------------------------------------------------------
1 | #include "user.h"
2 | #include "stdafx.h"
3 |
4 | #if (PACK_EDITION>=3)
5 |
6 | #define MAX_BOTBUFFER 30
7 | #define MAX_BOTBUFFERSKILLS 5
8 |
9 | struct BotBufferBodyItems
10 | {
11 | int num;
12 | int level;
13 | int opt;
14 | bool Enabled;
15 | };
16 |
17 | struct botBufferSkill
18 | {
19 | WORD skill;
20 | int time;
21 | };
22 |
23 | struct botBufferStruct
24 | {
25 | int Class;
26 | int OnlyVip;
27 | char Name[11];
28 | BYTE Map;
29 | BYTE X;
30 | BYTE Y;
31 | BYTE Dir;
32 | bool Enabled;
33 | int index;
34 | WORD MaxLevel;
35 | BotBufferBodyItems body[9];
36 | botBufferSkill skill[MAX_BOTBUFFERSKILLS];
37 | BYTE SkillCount;
38 | };
39 |
40 | class ObjBotBuffer
41 | {
42 | public:
43 | bool Enabled;
44 | void Read(char * FilePath);
45 | void MakeBot();
46 | BOOL TradeOpen(int index,int nindex);
47 | botBufferStruct bot[MAX_BOTBUFFER];
48 | private:
49 | int GetBotIndex(int aIndex);
50 | };
51 | extern ObjBotBuffer BotBuff;
52 |
53 | #endif
--------------------------------------------------------------------------------
/Source/TRandomPoolMgr.h:
--------------------------------------------------------------------------------
1 | // TRandomPoolMgr.h: interface for the TRandomPoolMgr class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #ifndef AFX_TRANDOMPOOLMGR_H__0C5848DA_9287_401A_8703_05D713CA4A05__INCLUDED_
6 | #define AFX_TRANDOMPOOLMGR_H__0C5848DA_9287_401A_8703_05D713CA4A05__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | enum eRandomPoolSelectType
14 | {
15 | eRANDOMPOOL_BY_RANDOM = 0x0,
16 | eRANDOMPOOL_BY_WEIGHT = 0x1
17 | };
18 |
19 |
20 |
21 | class TRandomPoolMgr
22 | {
23 | public:
24 |
25 | TRandomPoolMgr();
26 | virtual ~TRandomPoolMgr();
27 |
28 | void InitPool();
29 | bool AddValue(int index, int weight);
30 | int GetRandomValue(enum eRandomPoolSelectType eSelectType);
31 |
32 | private:
33 |
34 | std::map m_listPool; // 4
35 | int m_iSumWeight; // 14
36 | };
37 |
38 | #endif // !defined(AFX_TRANDOMPOOLMGR_H__0C5848DA_9287_401A_8703_05D713CA4A05__INCLUDED_)
39 |
--------------------------------------------------------------------------------
/Source/wsJoinServerCli.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef WSJOINSERVERCLI_H
6 | #define WSJOINSERVERCLI_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #include "..\common\MyWinsockBase.h"
13 |
14 |
15 | #define MAX_WS_BUF_LEN 819200
16 |
17 |
18 | class wsJoinServerCli : public MyWinsockBase
19 | {
20 |
21 | public:
22 |
23 | BOOL SetProtocolCore(WsProtocolCore pc);
24 | BOOL FDWRITE_MsgDataSend();
25 | BOOL DataRecv();
26 | BOOL DataSend(PCHAR buf, int len);
27 | BOOL Connect(LPSTR ip_addr, WORD port, DWORD WinMsgNum);
28 |
29 | wsJoinServerCli();
30 | virtual ~wsJoinServerCli();
31 |
32 | protected:
33 |
34 | BYTE m_SendBuf[MAX_WS_BUF_LEN]; // 1C
35 | int m_SendBufLen; // C801C
36 | BYTE m_RecvBuf[MAX_WS_BUF_LEN]; // C8020
37 | int m_RecvBufLen; // 190020
38 | WsProtocolCore wsProtocolCore; // 190024
39 | };
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/ServerConfigs/data/Shops/Lumen_Barmaid(244).txt:
--------------------------------------------------------------------------------
1 | //==============================================================================
2 | //www.titanstech.com
3 | //------------------------------------------------------------------------------
4 | //Revised 11 Aug, 2005
5 | //==============================================================================
6 | //shop6 - Daivas Bar
7 | //
8 |
9 | 14 10 0 0 0 0 0 0 //Teleport
10 | 14 9 0 0 0 0 0 0 //Alcohol
11 |
12 | //Orbs
13 | 12 11 1 0 0 0 0 0 //Summon Golem
14 | 12 11 2 0 0 0 0 0 //Summon Assassin
15 | 12 11 3 0 0 0 0 0 //Summon Yeti
16 |
17 | //MG & DK Orbs
18 | 12 7 0 0 0 0 0 0 //Orb of twisting slash
19 | 12 13 0 0 0 0 0 0 //Unicorn Attack (Blade Knight/Dark Knight/MG)
20 | 12 14 0 0 0 0 0 0 //Mass Healing (Blade Knight)
21 |
22 | //Misc
23 | 13 9 0 0 0 0 0 0 //Poison Ring
24 | 13 8 0 0 0 0 0 0 //Ice Ring
25 |
26 | 13 13 0 0 0 0 0 0 //Fire Necklace
27 | 13 12 0 0 0 0 0 0 //Lightning Necklace
28 |
29 | 13 29 0 0 0 0 0 0 //Armor of Guardman
30 | end
31 |
--------------------------------------------------------------------------------
/Source/Shop.h:
--------------------------------------------------------------------------------
1 | #ifndef ___SHOP_H
2 | #define ___SHOP_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 | #include "..\common\zzzitem.h"
9 |
10 | #define MAX_ITEM_IN_SHOP 120
11 |
12 | class CShop
13 | {
14 |
15 | public:
16 |
17 | CShop();
18 | virtual ~CShop();
19 |
20 | void Init();
21 | BOOL LoadShopItem(char* filename);
22 | BOOL LoadMossShopItem(char* filename );
23 | int InsertItem(int type, int index, int level, int dur, int op1, int op2, int op3, int Exc);
24 | int InentoryMapCheck(int sx, int sy, int width, int height);
25 |
26 |
27 | public:
28 |
29 | BYTE ShopInventoryMap[MAX_ITEM_IN_SHOP]; // 4
30 | int ItemCount; // 7C
31 | CItem m_item[MAX_ITEM_IN_SHOP]; // 80
32 | BYTE SendItemData[MAX_ITEM_IN_SHOP*(MAX_ITEM_INFO+1)]; // 5300
33 | int SendItemDataLen; // 56C0
34 |
35 | CItem moss_item[5][MAX_ITEM_IN_SHOP]; // 80
36 | int moss_ItemCount[5]; // 7C
37 | };
38 |
39 | BOOL ShopDataLoad();
40 | extern CShop ShopC[MAX_SHOP];
41 |
42 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/Docs & Tools/TitanDBUpdater/Scripts/MuOnline/0-CREATE-BotPet.tdu:
--------------------------------------------------------------------------------
1 | CREATE TABLE [dbo].[BotPet]([AccountID] [varchar](10) NOT NULL,[Name] [nvarchar](10) NOT NULL PRIMARY KEY NONCLUSTERED,[cLevel] [int] NOT NULL DEFAULT ((1)),[Class] [tinyint] NULL,[Experience] [bigint] NULL DEFAULT ((0)),[Power] [smallint] NULL,[Defense] [smallint] NULL,[Inventory] [varbinary](1728) NULL,[MagicList] [varbinary](180) NULL,[Life] [real] NOT NULL DEFAULT ((1)),[MaxLife] [real] NOT NULL DEFAULT ((1)),[Mana] [real] NOT NULL DEFAULT ((1)),[MaxMana] [real] NOT NULL DEFAULT ((1)),[MapNumber] [smallint] NULL,[MapPosX] [smallint] NULL,[MapPosY] [smallint] NULL,[CDate] [smalldatetime] NULL,[BotLife] [int] NOT NULL DEFAULT ((0)),[BotMaxLife] [int] NOT NULL DEFAULT ((1)),[BotLvlUpDefense] [int] NOT NULL DEFAULT ((1)),[BotLvlUpPower] [int] NOT NULL DEFAULT ((1)),[BotLvlUpLife] [int] NOT NULL DEFAULT ((1)),[BotLvlUpMana] [int] NOT NULL DEFAULT ((1)),[BotLvlUpExp] [int] NOT NULL DEFAULT ((10)),[BotLvlUpMaxLevel] [int] NOT NULL DEFAULT ((400)))
--------------------------------------------------------------------------------
/Source/EProtocol.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 | #include "..\common\MyWinsockBase.h"
3 | #include "wsJoinServerCli.h"
4 | #include "GameServer.h"
5 | #include "GameMain.h"
6 | #include "DBSockMng.h"
7 | #include "SCFExDBProtocol.h"
8 | #include "logproc.h"
9 | #include "..\common\winutil.h"
10 | #include "event.h"
11 | #include "EDSProtocol.h"
12 | #include "SCFExDB_Defines.h"
13 |
14 |
15 | void EProtocolCore(BYTE protoNum, LPBYTE aRecv)
16 | {
17 | BYTE pResult[256] = {0};
18 | memcpy(&pResult[0],&aRecv[0],3);
19 | memcpy(&pResult[4],&aRecv[4],(aRecv[1]-1-3));
20 | pResult[1] -= 1;
21 | pResult[2] = aRecv[3];
22 | EventChipEventProtocolCore(pResult[2],(LPBYTE)pResult,pResult[2]);
23 | }
24 |
25 | void EProtocolSendTransform(char * aSend)
26 | {
27 | char pSend [256] = {0};
28 | memcpy(&pSend[0],&aSend[0],3);
29 | memcpy(&pSend[3],&aSend[3],(aSend[1]-1));
30 | pSend[1] += 1;
31 | pSend[2] = SCFExDB_GSSend_EProtocol;
32 | pSend[3] = aSend[2];
33 |
34 | cDBSMng.Send((PCHAR)&pSend, pSend[1]);
35 | }
--------------------------------------------------------------------------------
/Source/KanturuObjInfo.h:
--------------------------------------------------------------------------------
1 | #ifndef KANTURU_OBJ_INFO_H___
2 | #define KANTURU_OBJ_INFO_H___
3 |
4 | #if (GS_CASTLE==0)
5 |
6 | #define MAX_KANTURU_OBJ_INDEX 800
7 |
8 | class CKanturuObjInfo
9 | {
10 |
11 | public:
12 |
13 | CKanturuObjInfo()
14 | {
15 | this->Reset();
16 | }
17 |
18 | virtual ~CKanturuObjInfo(){return;}
19 |
20 | void Reset()
21 | {
22 | for ( int iCount=0;iCountm_iObjIndex[iCount]=-1;
25 | }
26 |
27 | this->m_iObjCount=0;
28 | }
29 |
30 | BOOL AddObj(int iIndex)
31 | {
32 | if ( this->m_iObjCount >= MAX_KANTURU_OBJ_INDEX )
33 | {
34 | return FALSE;
35 | }
36 |
37 | this->m_iObjIndex[this->m_iObjCount] = iIndex;
38 | this->m_iObjCount++;
39 |
40 | return TRUE;
41 | }
42 |
43 | int GetCount()
44 | {
45 | return this->m_iObjCount;
46 | }
47 |
48 | public:
49 |
50 | short m_iObjCount; // 4
51 | short m_iObjIndex[MAX_KANTURU_OBJ_INDEX]; // 8
52 | };
53 |
54 | #endif
55 | #endif /*KANTURU_OBJ_INFO_H___*/
--------------------------------------------------------------------------------
/Source/MultiAttackHackCheck.h:
--------------------------------------------------------------------------------
1 | #ifndef MULTIATTACKHACKCHECK_H
2 | #define MULTIATTACKHACKCHECK_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 | #include "user.h"
9 |
10 | #define MAX_MULTI_ATTACK_INFO 40
11 | #define MULTI_ATTACK_SERIAL_SIZE 255
12 |
13 | struct MULTIATTACK_HACKCHECK
14 | {
15 | short number; // 0
16 | BYTE Serial[MULTI_ATTACK_SERIAL_SIZE]; // 2
17 | };
18 |
19 |
20 | class CMultiAttackHackCheck
21 | {
22 |
23 | public:
24 |
25 | CMultiAttackHackCheck();
26 | virtual ~CMultiAttackHackCheck();
27 |
28 | void Init();
29 | int Insert(int aTargetIndex, WORD skillnum, BYTE serial);
30 | int CheckPenetrationSkill(int aTargetIndex, WORD skillnum, BYTE serial);
31 | int CheckFireScreamSkill(int iTargetIndex, WORD btSkillnum, BYTE btSerial);
32 |
33 |
34 | private:
35 |
36 | int m_iCount; // 4
37 | MULTIATTACK_HACKCHECK m_Table[MAX_MULTI_ATTACK_INFO]; // 8
38 |
39 | };
40 |
41 | extern CMultiAttackHackCheck gMultiAttackHackCheck[OBJMAX];
42 |
43 | #endif
--------------------------------------------------------------------------------
/Source/AttackEvent.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-05-09
4 | // ------------------------------
5 | #ifndef ATTACKEVENT_H
6 | #define ATTACKEVENT_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #define MAX_ATTACK_EVENT_CREATE_MAP 2
13 |
14 | class CAttackEvent
15 | {
16 | public:
17 |
18 | CAttackEvent();
19 | virtual ~CAttackEvent();
20 | void Init();
21 | void Start();
22 | void End();
23 | void Run();
24 | void Active();
25 | void Start_Menual();
26 | void SetMenualStart(BOOL bMenualStart){this->m_bMenualStart = bMenualStart;}; // line : 39
27 | void End_Menual();
28 |
29 | private:
30 |
31 | bool EventState; // 4
32 | DWORD EventStartTime; // 8
33 | BYTE m_MapNumber; // C
34 | BYTE m_BossMap55; // 10
35 | BYTE m_BossMapX55; // 14
36 | BYTE m_BossMapY55; // 18
37 | BYTE m_BossMap53; // 1C
38 | BYTE m_BossMapX53; // 20
39 | BYTE m_BossMapY53; // 24
40 | BOOL m_bMenualStart; // 28
41 |
42 | };
43 |
44 |
45 | #endif
--------------------------------------------------------------------------------
/Source/TMonsterAI.h:
--------------------------------------------------------------------------------
1 | // TMonsterAI.h: interface for the TMonsterAI class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_TMONSTERAI_H__0780F804_C72A_4667_BB23_25ECCA8C056A__INCLUDED_)
6 | #define AFX_TMONSTERAI_H__0780F804_C72A_4667_BB23_25ECCA8C056A__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 |
13 | class TMonsterAI
14 | {
15 |
16 | public:
17 |
18 | TMonsterAI();
19 | virtual ~TMonsterAI();
20 |
21 | static void MonsterMove(int iIndex);
22 | static void MonsterMoveProc();
23 | static void MonsterAIProc();
24 | static BOOL RunAI(int iIndex, int iMonsterClass);
25 | static BOOL UpdateCurrentAIUnit(int iIndex);
26 | static void MonsterStateMsgProc(int iIndex);
27 | static void ProcessStateMsg(struct OBJECTSTRUCT* lpObj, int iMsgCode, int iIndex, int aMsgSubCode);
28 |
29 | private:
30 |
31 | };
32 |
33 |
34 |
35 | #endif // !defined(AFX_TMONSTERAI_H__0780F804_C72A_4667_BB23_25ECCA8C056A__INCLUDED_)
36 |
--------------------------------------------------------------------------------
/Source/BattleSoccer.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-07-09
4 | // ------------------------------
5 | #ifndef BATTLESOCCER_H
6 | #define BATTLESOCCER_H
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #include "BattleGround.h"
13 | #include "GuildClass.h"
14 |
15 | #define MAX_BATTLESOCCER_GROUND 1
16 |
17 | class CBattleSoccer : public CBattleGround
18 | {
19 |
20 | public:
21 |
22 | CBattleSoccer();
23 | virtual ~CBattleSoccer();
24 |
25 | void SetGoalMove(int set_code);
26 | int GetGoalMove();
27 | void SetGoalLeftRect(int x, int y, int xl, int yl);
28 | void SetGoalRightRect(int x, int y, int xl, int yl);
29 |
30 | public:
31 |
32 | int m_goalmove; // 60 - d
33 | short m_BallIndex; // 64 - D
34 | RECT m_GoalLeft; // 68 - D
35 | RECT m_GoalRight; // 78 - D
36 | _GUILD_INFO_STRUCT* m_RedTeam; // 88 - D
37 | _GUILD_INFO_STRUCT* m_BlueTeam; // 8C - D
38 | };
39 |
40 | extern CBattleSoccer * gBSGround[MAX_BATTLESOCCER_GROUND];
41 |
42 | #endif
--------------------------------------------------------------------------------
/Source/BattleSoccer.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 | #include "BattleSoccer.h"
3 | // GS-N 0.99.60T 0x00459AC0 - Completed
4 | // GS-N 1.00.18 JPN 0x004691D0 - Completed
5 |
6 | CBattleSoccer * gBSGround[MAX_BATTLESOCCER_GROUND];
7 |
8 | CBattleSoccer::CBattleSoccer()
9 | {
10 | this->m_goalmove = 0;
11 | this->m_BallIndex = 0;
12 | }
13 |
14 |
15 | CBattleSoccer::~CBattleSoccer()
16 | {
17 | return;
18 | }
19 |
20 | void CBattleSoccer::SetGoalMove(int set_code)
21 | {
22 | this->m_goalmove = set_code;
23 | }
24 |
25 | int CBattleSoccer::GetGoalMove()
26 | {
27 | return this->m_goalmove;
28 | }
29 |
30 | void CBattleSoccer::SetGoalLeftRect(int x, int y, int xl, int yl)
31 | {
32 | this->m_GoalLeft.left = x;
33 | this->m_GoalLeft.top = y;
34 | this->m_GoalLeft.right = xl;
35 | this->m_GoalLeft.bottom = yl;
36 | }
37 |
38 |
39 | void CBattleSoccer::SetGoalRightRect(int x, int y, int xl, int yl)
40 | {
41 | this->m_GoalRight.left = x;
42 | this->m_GoalRight.top = y;
43 | this->m_GoalRight.right = xl;
44 | this->m_GoalRight.bottom = yl;
45 | }
46 |
--------------------------------------------------------------------------------
/Source/KanturuMaya.h:
--------------------------------------------------------------------------------
1 | // KanturuMaya.h: interface for the CKanturuMaya class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_KANTURUMAYA_H__8768002F_4B22_480A_8F6A_10AE05568C27__INCLUDED_)
6 | #define AFX_KANTURUMAYA_H__8768002F_4B22_480A_8F6A_10AE05568C27__INCLUDED_
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #if (GS_CASTLE==0)
13 |
14 | class CKanturuMaya
15 | {
16 |
17 | public:
18 |
19 | CKanturuMaya();
20 | virtual ~CKanturuMaya();
21 |
22 | void Init();
23 | void KanturuMayaAct_IceStorm(int iSkillUsingRate);
24 | void KanturuMayaAct_Hands();
25 | void SetMayaObjIndex(int iIndex){this->m_iMayaObjIndex = iIndex;}
26 | //int __thiscall GetMayaObjIndex();
27 |
28 | private:
29 |
30 | short m_iMayaObjIndex; // 4
31 | BOOL m_bMonsterKillCount; // 8
32 | int m_iMayaSkillTime; // C
33 | short m_iIceStormCount; // 10
34 |
35 | };
36 |
37 | #endif
38 | #endif // !defined(AFX_KANTURUMAYA_H__8768002F_4B22_480A_8F6A_10AE05568C27__INCLUDED_)
39 |
--------------------------------------------------------------------------------
/common/WzMemScript.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 | #ifndef WZMEMSCRIPT
6 | #define WZMEMSCRIPT
7 |
8 | #if _MSC_VER > 1000
9 | #pragma once
10 | #endif // _MSC_VER > 1000
11 |
12 | #include "..\include\ReadScript.h"
13 |
14 |
15 |
16 |
17 |
18 |
19 | class CWzMemScript
20 | {
21 | public:
22 |
23 | CWzMemScript();
24 | virtual ~CWzMemScript();
25 |
26 | int SetBuffer( char* buffer, int buffersize);
27 | void SetScriptParsingBuffer(char* buffer, int size);
28 | enum SMDToken GetToken();
29 | //enum SMDToken __thiscall TokenType();
30 | int GetNumber();
31 | char* GetString();
32 |
33 | protected:
34 |
35 | int GetC();
36 | void UnGetC(int ch);
37 |
38 | private:
39 |
40 | char* m_pBuffer; // 4
41 | int m_iBufferSize; // 8
42 | int m_iBufferCount; // C
43 | HANDLE m_hFile; // 10
44 | char * m_Token; // 14
45 | float TokenNumber; // 18
46 | char TokenString[100]; // 1C
47 | enum SMDToken CurrentToken; // 80
48 | };
49 |
50 | #endif
--------------------------------------------------------------------------------
/Source/CSAuth/CSAuth.h:
--------------------------------------------------------------------------------
1 | #ifndef CCSAUTH_H___
2 | #define CCSAUTH_H___
3 |
4 |
5 | #ifdef CSAUTH_EXPORTS
6 | #define CSAUTH_API __declspec(dllexport)
7 | #else
8 | #define CSAUTH_API __declspec(dllimport)
9 | #endif
10 |
11 |
12 | class CCSAuth
13 | {
14 |
15 | public:
16 |
17 | CCSAuth(void);
18 | ~CCSAuth();
19 |
20 | void Init();
21 | BOOL IsAuth();
22 | void np_srandom(int iSeed);
23 | int np_random();
24 | DWORD GetAuthDword();
25 | //BOOL TransAuthDword(DWORD dwAuth);
26 | //GetAuthResults
27 | //EncryptPacket
28 | //DecryptPacket
29 | // CheckLastPacket
30 | DWORD PPGetLastError();
31 |
32 | private:
33 |
34 | DWORD m_dwRandomSeed; // unk0 : Confirmed
35 | DWORD m_dwAuthDword; // unk4 : Confirmed
36 | BOOL m_bIsAuth; // unk8 : Confirmed
37 | int unkC;
38 | int unk10[10];
39 | // Cover until 0x38
40 | int unk38;
41 | int unk3C;
42 | int unk40[12];
43 | // Cover until 0x70
44 | DWORD m_dwLastError; // unk70 : Confirmed
45 |
46 |
47 | };
48 |
49 | int _LoadAuthTable(char* filename);
50 | int _LoadAuthIndex(char * filename);
51 |
52 | #endif
--------------------------------------------------------------------------------
/Source/CustomWings.h:
--------------------------------------------------------------------------------
1 |
2 | #if (CRYSTAL_EDITION == 1)
3 |
4 | struct sAbsorbDmg
5 | {
6 | BYTE Opt1;
7 | BYTE Opt2;
8 | float Opt3;
9 | bool Loaded;
10 | };
11 |
12 | struct sIncreaseDmg
13 | {
14 | BYTE Opt1;
15 | BYTE Opt2;
16 | float Opt3;
17 | bool Loaded;
18 | };
19 |
20 | struct sDefenseLevel
21 | {
22 | BYTE Opt1;
23 | bool Loaded;
24 | };
25 |
26 | struct sExcAttrib
27 | {
28 | BYTE Opt1;
29 | BYTE Opt2;
30 | BYTE Opt3;
31 | BYTE Opt4;
32 | bool Loaded;
33 | };
34 |
35 | struct sOptions
36 | {
37 | sAbsorbDmg AbsorbDmg;
38 | sIncreaseDmg IncreaseDmg;
39 | sDefenseLevel DefenseLevel;
40 | sExcAttrib ExcAttrib;
41 | };
42 |
43 | class cCustomWings
44 | {
45 | public:
46 | void Read(char * FilePath);
47 | float GetAbsorbDmg(int ItemID, BYTE Level, int AttackDamage);
48 | int GetIncreaseDmg(int ItemID, BYTE Level, int AttackDamage);
49 | WORD GetDefenseLevel(int ItemID, BYTE Level, int Defense);
50 | BYTE GetExcOption(int ItemID, BYTE Option);
51 | private:
52 | sOptions Options[55];
53 | };
54 |
55 | extern cCustomWings CWings;
56 |
57 | #endif
--------------------------------------------------------------------------------
/Source/CallStackTrace.h:
--------------------------------------------------------------------------------
1 | #ifndef CALLSTACKTRACE_H
2 | #define CALLSTACKTRACE_H
3 |
4 | #if _MSC_VER > 1000
5 | #pragma once
6 | #endif // _MSC_VER > 1000
7 |
8 | class CCallStackTrace
9 | {
10 |
11 | public:
12 |
13 | CCallStackTrace(char * const szLogID,char * const szLogFileName, char * const szLogDirectoryName);
14 | virtual ~CCallStackTrace();
15 |
16 | int SaveCallStack(BOOL bWriteInFile);
17 | //char* __thiscall GetCallStackLogBuffer();
18 |
19 | private:
20 |
21 | void Output();
22 | int TraceStack(BOOL bWriteInFile);
23 | unsigned long CCallStackTrace::ConvertAddress(HANDLE hProcess,DWORD address, char* output_buffer);
24 |
25 | static unsigned long __stdcall CCallStackTrace::GetModuleBase(HANDLE hProcess, DWORD address);
26 |
27 | private:
28 |
29 | FILE * m_fLogFile; // 4
30 | char m_szLogID[260]; // 8
31 | char m_szLogFileName[260]; // 10C
32 | char m_szLogDirectoryName[260]; // 210
33 | char m_szCallFuncName[260]; // 314
34 | CRITICAL_SECTION m_critLogToFile; // 418
35 | std::string m_strCallStackLog; // 430
36 |
37 |
38 | };
39 |
40 |
41 | #endif
--------------------------------------------------------------------------------
/common/MyWinsockBase.h:
--------------------------------------------------------------------------------
1 | // ------------------------------
2 | // Decompiled by Deathway
3 | // Date : 2007-03-09
4 | // ------------------------------
5 |
6 |
7 | #ifndef MYWINSOCKBASE_H
8 | #define MYWINSOCKBASE_H
9 |
10 | #if _MSC_VER > 1000
11 | #pragma once
12 | #endif // _MSC_VER > 1000
13 |
14 | #define MY_WINSOCK_VERSION 0x202 // 2.2
15 |
16 | #include
17 |
18 | typedef void (*WsProtocolCore)(BYTE,LPBYTE, int);
19 |
20 | class MyWinsockBase
21 | {
22 | private:
23 |
24 | BOOL Startup();
25 |
26 | public:
27 |
28 | BOOL CreateSocket(HWND hWnd);
29 | BOOL Close(SOCKET socket);
30 | BOOL Close();
31 | BOOL Close2(SOCKET socket);
32 | SOCKET GetSocket();
33 | int GetSendBuffSize();
34 | int GetRecvBuffSize();
35 | BOOL GetConnect();
36 | void SetConnect(BOOL connected);
37 |
38 | MyWinsockBase();
39 | ~MyWinsockBase();
40 |
41 | protected:
42 |
43 | int m_iMaxSockets; // 0
44 | HWND m_hWnd; // 4
45 | SOCKET m_socket; // 8
46 | int m_sendbufsize; // C
47 | int m_recvbufsize; // 10
48 | BOOL m_Connect; // 14
49 | };
50 |
51 |
52 |
53 | #endif
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/EventsConfig/SCF_TitanLottery.txt:
--------------------------------------------------------------------------------
1 | // Type: 0 = Zen ; 1 = VIPMoney --> What character will win
2 | // TypeCost: 0 = Zen ; 1 = VIPMoney --> What character will pay
3 | // Taxes = (Percent of ticket will be used for next accumulated ammount)
4 | // MinReward: If reward is less than MinReward then give MinReward
5 | // MaxReward: if reward is higher than MaxReward then give MaxReward
6 | // MaxTicketBuy: How much tickets can buy one account (0 = infinite)
7 | // AdditionalReward: If are X or less winners give them an extra Reward (BotReward) (0 dissabled)
8 | // All Rewards and Additional Rewards will give to players with BotReward
9 |
10 | 1
11 | //Enabled Type TypeCost Cost Taxes MaxNumber MinReward MaxReward MaxTicketBuy AdditionalReward
12 | 1 0 0 200000 25 100 250000 1000000 3 3
13 | end
14 |
15 | //Additional Reward for Winners (only if are X winners) JUST ONE LINE
16 | 2
17 | // Zen VipMoney ItemType ItemIndex iLevel iOpt iLuck iSkill iDur iExc iAnc iSock1 iSock2 iSock3 iSock4 iSock5 iJOH iDays ForeverFFFESerial
18 | 200000 0 7 1 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0
19 | end
--------------------------------------------------------------------------------
/ServerConfigs/SCFData/SCF_PCPoint.txt:
--------------------------------------------------------------------------------
1 | //Index ID Level Opt Luck Skill Dur Exc Slt1 Slt2 Slt3 Slt4 Slt5 Cost
2 | //--------------------------------------------------------------------------------------------------------------------------
3 | 1
4 | 13 43 0 0 0 0 255 0 0 0 0 0 0 6
5 | 13 44 0 0 0 0 255 0 0 0 0 0 0 9
6 | 13 45 0 0 0 0 255 0 0 0 0 0 0 15
7 | 14 55 0 0 0 0 255 0 0 0 0 0 0 9
8 | 14 56 0 0 0 0 255 0 0 0 0 0 0 15
9 | 14 57 0 0 0 0 255 0 0 0 0 0 0 30
10 | end
11 |
12 | //MobID Points
13 | //-------------------------------------------------------------------------------------------------------------------------
14 | 2
15 | 18 1
16 | 25 1
17 | 38 2
18 | 67 2
19 | 49 2
20 | 59 3
21 | 63 3
22 | 77 4
23 | 161 1
24 | 181 2
25 | 189 3
26 | 197 4
27 | 267 5
28 | 275 6
29 | 338 6
30 | 42 6
31 | 43 1
32 | 44 2
33 | 55 1
34 | 78 1
35 | 54 1
36 | 53 1
37 | 81 2
38 | 83 2
39 | 79 3
40 | 80 3
41 | 82 3
42 | 135 3
43 | 295 5
44 | 300 3
45 | 301 4
46 | 302 3
47 | 303 3
48 | 309 4
49 | 349 6
50 | 360 5
51 | 361 6
52 | 362 5
53 | 363 5
54 | 364 6
55 | 409 4
56 | 410 4
57 | 411 4
58 | 412 5
59 | 446 5
60 | 459 6
61 | end
--------------------------------------------------------------------------------