Code:
{
Author: Cups, 26th April 2019
Defines constant values used within the game
}
[ENABLE]
// The custom allocated memory for external apps to read from
define(Cups::Pointer, ps_game.exe+600000)
registersymbol(Cups::Pointer)
// The game world instance
define(CWorld::Instance, ps_game.exe+187960)
registersymbol(CWorld::Instance)
// Check if a zone can be entered
define(CMap::IsPartyInsZoneOpenTime, ps_game.exe+2F770)
registersymbol(CMap::IsPartyInsZoneOpenTime)
// CObjectMgr::FreeItem(item = edi)
define(CObjectMgr::FreeItem, ps_game.exe+11710)
registersymbol(CObjectMgr::FreeItem)
// CGameData::GetSkillInfo(id, level)
define(CGameData::GetSkillInfo, ps_game.exe+1BB30)
registersymbol(CGameData::GetSkillInfo)
// CGameData::GetItemInfo(type, typeid)
define(CGameData::GetItemInfo, ps_game.exe+59B0)
registersymbol(CGameData::GetItemInfo)
// CUser::SendCharacterItem(user)
define(CUser::SendCharacterItem, ps_game.exe+92500)
registersymbol(CUser::SendCharacterItem)
// CUser::UseItemSkill(user, skill_info)
define(CUser::UseItemSkill, ps_game.exe+725B0)
registersymbol(CUser::UseItemSkill)
// CUser::ItemCreate(user, item_info, count)
define(CUser::ItemCreate, ps_game.exe+6BD10)
registersymbol(CUser::ItemCreate)
// CUser::ItemRemove(user, bag, slot)
define(CUser::ItemRemove, ps_game.exe+674F0)
registersymbol(CUser::ItemRemove)
// CUser::ItemDelete(user, type, typeid)
define(CUser::ItemDelete, ps_game.exe+6C6A0)
registersymbol(CUser::ItemDelete)
// CUser::ItemDelete(user, bag, slot, move)
define(CUser::ItemDeleteSlot, ps_game.exe+728E0)
registersymbol(CUser::ItemDeleteSlot)
// SConnection::Send(user, packet, length)
define(SConnection::Send, ps_game.exe+ED0E0)
registersymbol(SConnection::Send)
// CUser::UseSkillUser(user, target, skill, time)
define(CUser::UseSkillUser, ps_game.exe+5B0B0)
registersymbol(CUser::UseSkillUser)
// CUser::UseSkillMob(user, mob, skill, time)
define(CUser::UseSkillMob, ps_game.exe+5B270)
registersymbol(CUser::UseSkillMob)
// CUser::EnableAttackRange (player parameter)
define(CUser::EnableAttackRangePlayer, ps_game.exe+57F50)
registersymbol(CUser::EnableAttackRangePlayer)
// CUser::EnableAttackRange (Mob parameter)
define(CUser::EnableAttackRangeMob, ps_game.exe+58000)
registersymbol(CUser::EnableAttackRangeMob)
// CZone::EnterUser(ecx=user, edi=zone)
define(CZone::EnterUser, ps_game.exe+2A420)
registersymbol(CZone::EnterUser)
// CZone::SendUserShape(target=edx, id=ecx, zone=this)
define(CZone::SendUserShape, ps_game.exe+268B0)
registersymbol(CZone::SendUserShape)
// stdcall CUser::StatusDeathResult(user)
define(CUser::StatusDeathResult, ps_game.exe+9CFC0)
registersymbol(CUser::StatusDeathResult)
// CZone::MobGen(id=ecx, count=eax, pos, zone)
define(CZone::MobGen, ps_game.exe+245A0)
registersymbol(CZone::MobGen)
// CZone::NpcCreate(zone=ecx, pos=edi, type, typeId)
define(CZone::NpcCreate, ps_game.exe+255D0)
registersymbol(CZone::NpcCreate)
// CNpcData::GetNpc(ecx=type, eax=id)
define(CNpcData::GetNpc, ps_game.exe+24450)
registersymbol(CNpcData::GetNpc)
// CObjectConnection::PSendViewCombat(user, priority, data, length)?
define(CObjectConnection::PSendViewCombat, ps_game.exe+D56D0)
registersymbol(CObjectConnection::PSendViewCombat)
Save this as "Shaiya.CSX" and import it to cheat engine to enable usage of named fields in scripts / debugging (has several identified structures to make development easier)
Code:
<Structures>
<Structure Name="CUser" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="208" Vartype="Float" Bytesize="4" Description="PosX" DisplayMethod="Unsigned Integer"/>
<Element Offset="212" Vartype="Float" Bytesize="4" Description="PosZ" DisplayMethod="Unsigned Integer"/>
<Element Offset="216" Vartype="Float" Bytesize="4" Description="PosY" DisplayMethod="Unsigned Integer"/>
<Element Offset="224" Vartype="Pointer" Bytesize="4" ChildStruct="CZone" Description="Zone" DisplayMethod="Unsigned Integer"/>
<Element Offset="296" Vartype="4 Bytes" Bytesize="4" Description="CharId" DisplayMethod="Unsigned Integer"/>
<Element Offset="300" Vartype="Byte" Bytesize="1" Description="Slot" DisplayMethod="Unsigned Integer"/>
<Element Offset="301" Vartype="Byte" Bytesize="1" Description="Faction" DisplayMethod="Unsigned Integer"/>
<Element Offset="302" Vartype="Byte" Bytesize="1" Description="Family" DisplayMethod="Unsigned Integer"/>
<Element Offset="303" Vartype="Byte" Bytesize="1" Description="Mode" DisplayMethod="Unsigned Integer"/>
<Element Offset="304" Vartype="Byte" Bytesize="1" Description="Hair" DisplayMethod="Unsigned Integer"/>
<Element Offset="305" Vartype="Byte" Bytesize="1" Description="Face" DisplayMethod="Unsigned Integer"/>
<Element Offset="306" Vartype="Byte" Bytesize="1" Description="Height" DisplayMethod="Unsigned Integer"/>
<Element Offset="307" Vartype="Byte" Bytesize="1" Description="Gender" DisplayMethod="Unsigned Integer"/>
<Element Offset="308" Vartype="Byte" Bytesize="1" Description="Job" DisplayMethod="Unsigned Integer"/>
<Element Offset="310" Vartype="2 Bytes" Bytesize="2" Description="Level" DisplayMethod="Unsigned Integer"/>
<Element Offset="312" Vartype="2 Bytes" Bytesize="2" Description="Statpoints" DisplayMethod="Unsigned Integer"/>
<Element Offset="314" Vartype="2 Bytes" Bytesize="2" Description="Skillpoints" DisplayMethod="Unsigned Integer"/>
<Element Offset="316" Vartype="4 Bytes" Bytesize="4" Description="Experience" DisplayMethod="Unsigned Integer"/>
<Element Offset="320" Vartype="4 Bytes" Bytesize="4" Description="Money" DisplayMethod="Unsigned Integer"/>
<Element Offset="328" Vartype="4 Bytes" Bytesize="4" Description="Kills" DisplayMethod="Unsigned Integer"/>
<Element Offset="332" Vartype="4 Bytes" Bytesize="4" Description="Deaths" DisplayMethod="Unsigned Integer"/>
<Element Offset="336" Vartype="4 Bytes" Bytesize="4" Description="Victories" DisplayMethod="Unsigned Integer"/>
<Element Offset="340" Vartype="4 Bytes" Bytesize="4" Description="Defeats" DisplayMethod="Unsigned Integer"/>
<Element Offset="344" Vartype="4 Bytes" Bytesize="4" Description="KillRank" DisplayMethod="Unsigned Integer"/>
<Element Offset="348" Vartype="4 Bytes" Bytesize="4" Description="DeathRank" DisplayMethod="Unsigned Integer"/>
<Element Offset="354" Vartype="2 Bytes" Bytesize="2" Description="Direction" DisplayMethod="Unsigned Integer"/>
<Element Offset="356" Vartype="2 Bytes" Bytesize="2" Description="HG" DisplayMethod="Unsigned Integer"/>
<Element Offset="358" Vartype="2 Bytes" Bytesize="2" Description="VG" DisplayMethod="Unsigned Integer"/>
<Element Offset="360" Vartype="Byte" Bytesize="1" Description="CG" DisplayMethod="Unsigned Integer"/>
<Element Offset="361" Vartype="Byte" Bytesize="1" Description="OG" DisplayMethod="Unsigned Integer"/>
<Element Offset="362" Vartype="2 Bytes" Bytesize="2" Description="IG" DisplayMethod="Unsigned Integer"/>
<Element Offset="364" Vartype="2 Bytes" Bytesize="2" Description="STR" DisplayMethod="Unsigned Integer"/>
<Element Offset="366" Vartype="2 Bytes" Bytesize="2" Description="DEX" DisplayMethod="Unsigned Integer"/>
<Element Offset="368" Vartype="2 Bytes" Bytesize="2" Description="INT" DisplayMethod="Unsigned Integer"/>
<Element Offset="370" Vartype="2 Bytes" Bytesize="2" Description="WIS" DisplayMethod="Unsigned Integer"/>
<Element Offset="372" Vartype="2 Bytes" Bytesize="2" Description="REC" DisplayMethod="Unsigned Integer"/>
<Element Offset="374" Vartype="2 Bytes" Bytesize="2" Description="LUC" DisplayMethod="Unsigned Integer"/>
<Element Offset="376" Vartype="4 Bytes" Bytesize="4" Description="MaxHitpoints" DisplayMethod="Unsigned Integer"/>
<Element Offset="380" Vartype="4 Bytes" Bytesize="4" Description="MaxMana" DisplayMethod="Unsigned Integer"/>
<Element Offset="384" Vartype="4 Bytes" Bytesize="4" Description="MaxStamina" DisplayMethod="Unsigned Integer"/>
<Element Offset="388" Vartype="String" Bytesize="32" Description="Name" DisplayMethod="Unsigned Integer"/>
<Element Offset="2736" Vartype="4 Bytes" Bytesize="4" Description="DoubleWarehouse" DisplayMethod="Unsigned Integer"/>
<Element Offset="4636" Vartype="4 Bytes" Bytesize="4" Description="AbilityStr" DisplayMethod="Unsigned Integer"/>
<Element Offset="4640" Vartype="4 Bytes" Bytesize="4" Description="AbilityDex" DisplayMethod="Unsigned Integer"/>
<Element Offset="4644" Vartype="4 Bytes" Bytesize="4" Description="AbilityInt" DisplayMethod="Unsigned Integer"/>
<Element Offset="4648" Vartype="4 Bytes" Bytesize="4" Description="AbilityWis" DisplayMethod="Unsigned Integer"/>
<Element Offset="4652" Vartype="4 Bytes" Bytesize="4" Description="AbilityRec" DisplayMethod="Unsigned Integer"/>
<Element Offset="4656" Vartype="4 Bytes" Bytesize="4" Description="AbilityLuc" DisplayMethod="Unsigned Integer"/>
<Element Offset="4660" Vartype="4 Bytes" Bytesize="4" Description="Hitpoints" DisplayMethod="Unsigned Integer"/>
<Element Offset="4664" Vartype="4 Bytes" Bytesize="4" Description="Mana" DisplayMethod="Unsigned Integer"/>
<Element Offset="4668" Vartype="4 Bytes" Bytesize="4" Description="Stamina" DisplayMethod="Unsigned Integer"/>
<Element Offset="4696" Vartype="4 Bytes" Bytesize="4" Description="RegenHitpoints" DisplayMethod="Unsigned Integer"/>
<Element Offset="4700" Vartype="4 Bytes" Bytesize="4" Description="RegenMana" DisplayMethod="Unsigned Integer"/>
<Element Offset="4704" Vartype="4 Bytes" Bytesize="4" Description="RegenStamina" DisplayMethod="Unsigned Integer"/>
<Element Offset="4848" Vartype="4 Bytes" Bytesize="4" Description="AbilityAttackRange" DisplayMethod="Unsigned Integer"/>
<Element Offset="4852" Vartype="4 Bytes" Bytesize="4" Description="AbilityAttackSpeed" DisplayMethod="Unsigned Integer"/>
<Element Offset="4856" Vartype="4 Bytes" Bytesize="4" Description="AbilityMoveSpeed" DisplayMethod="Unsigned Integer"/>
<Element Offset="4860" Vartype="4 Bytes" Bytesize="4" Description="AbilityCritChance" DisplayMethod="Unsigned Integer"/>
<Element Offset="4864" Vartype="4 Bytes" Bytesize="4" Description="PotentialMotive" DisplayMethod="Unsigned Integer"/>
<Element Offset="4876" Vartype="4 Bytes" Bytesize="4" Description="NumBagsUnlocked" DisplayMethod="Unsigned Integer"/>
<Element Offset="4996" Vartype="4 Bytes" Bytesize="4" Description="AbilityHitChance" DisplayMethod="Unsigned Integer"/>
<Element Offset="5000" Vartype="4 Bytes" Bytesize="4" Description="AbilityAttackPower" DisplayMethod="Unsigned Integer"/>
<Element Offset="5004" Vartype="4 Bytes" Bytesize="4" Description="AbilityPhysicalEvasion" DisplayMethod="Unsigned Integer"/>
<Element Offset="5008" Vartype="4 Bytes" Bytesize="4" Description="AbilityPhysicalDefenceReduction" DisplayMethod="Unsigned Integer"/>
<Element Offset="5016" Vartype="4 Bytes" Bytesize="4" Description="AbilityRangeAttackPower" DisplayMethod="Unsigned Integer"/>
<Element Offset="5020" Vartype="4 Bytes" Bytesize="4" Description="AbilityRangeEvasion" DisplayMethod="Unsigned Integer"/>
<Element Offset="5024" Vartype="4 Bytes" Bytesize="4" Description="AbilityRangeDefenceReduction" DisplayMethod="Unsigned Integer"/>
<Element Offset="5028" Vartype="4 Bytes" Bytesize="4" Description="AbilityMagicHitChance" DisplayMethod="Unsigned Integer"/>
<Element Offset="5032" Vartype="4 Bytes" Bytesize="4" Description="AbilityMagicAttackPower" DisplayMethod="Unsigned Integer"/>
<Element Offset="5040" Vartype="4 Bytes" Bytesize="4" Description="AbilityMagicResist" DisplayMethod="Unsigned Integer"/>
<Element Offset="5044" Vartype="4 Bytes" Bytesize="4" Description="AbilityDarknessBlow" DisplayMethod="Unsigned Integer"/>
<Element Offset="5088" Vartype="4 Bytes" Bytesize="4" Description="AbilityDarknessBlow2" DisplayMethod="Unsigned Integer"/>
<Element Offset="5132" Vartype="4 Bytes" Bytesize="4" Description="AbilitySilentBlow" DisplayMethod="Unsigned Integer"/>
<Element Offset="5188" Vartype="Byte" Bytesize="1" Description="IsDead" DisplayMethod="Unsigned Integer"/>
<Element Offset="5196" Vartype="Byte" Bytesize="1" Description="MovementStatus" DisplayMethod="Unsigned Integer"/>
<Element Offset="6132" Vartype="Pointer" Bytesize="4" ChildStruct="CParty" Description="Party" DisplayMethod="Unsigned Integer"/>
<Element Offset="6144" Vartype="4 Bytes" Bytesize="4" Description="GuildId" DisplayMethod="Unsigned Integer"/>
<Element Offset="6148" Vartype="4 Bytes" Bytesize="4" Description="GuildRank" DisplayMethod="Unsigned Integer"/>
<Element Offset="6160" Vartype="Pointer" Bytesize="4" ChildStruct="CGuild" Description="Guild" DisplayMethod="Unsigned Integer"/>
<Element Offset="21892" Vartype="4 Bytes" Bytesize="4" Description="LastEnterGrbTick" DisplayMethod="Unsigned Integer"/>
<Element Offset="22528" Vartype="8 Bytes" Bytesize="8" Description="SessionId" DisplayMethod="Unsigned Integer"/>
<Element Offset="22536" Vartype="Byte" Bytesize="1" Description="AdminStatus" DisplayMethod="Unsigned Integer"/>
<Element Offset="22548" Vartype="Byte" Bytesize="1" Description="IsVisible" DisplayMethod="Unsigned Integer"/>
<Element Offset="22549" Vartype="Byte" Bytesize="1" Description="IsAttackable" DisplayMethod="Unsigned Integer"/>
<Element Offset="22572" Vartype="4 Bytes" Bytesize="4" Description="UserId" DisplayMethod="Unsigned Integer"/>
<Element Offset="22580" Vartype="String" Bytesize="32" Description="Username" DisplayMethod="Unsigned Integer"/>
<Element Offset="22708" Vartype="4 Bytes" Bytesize="4" Description="TeleportType" DisplayMethod="Unsigned Integer"/>
<Element Offset="22712" Vartype="4 Bytes" Bytesize="4" Description="TeleportDelay" DisplayMethod="Unsigned Integer"/>
<Element Offset="22716" Vartype="4 Bytes" Bytesize="4" Description="TeleportMapId" DisplayMethod="Unsigned Integer"/>
<Element Offset="22720" Vartype="Float" Bytesize="4" Description="TeleportDestX" DisplayMethod="Unsigned Integer"/>
<Element Offset="22724" Vartype="Float" Bytesize="4" Description="TeleportDestZ" DisplayMethod="Unsigned Integer"/>
<Element Offset="22728" Vartype="Float" Bytesize="4" Description="TeleportDestY" DisplayMethod="Unsigned Integer"/>
<Element Offset="22860" Vartype="4 Bytes" Bytesize="4" Description="AbilityCharm" DisplayMethod="Unsigned Integer"/>
<Element Offset="22864" Vartype="4 Bytes" Bytesize="4" Description="AbilityExtraGold" DisplayMethod="Unsigned Integer"/>
<Element Offset="22868" Vartype="4 Bytes" Bytesize="4" Description="AbilityEndurance" DisplayMethod="Unsigned Integer"/>
<Element Offset="22872" Vartype="4 Bytes" Bytesize="4" Description="AbilityPreventExpLoss" DisplayMethod="Unsigned Integer"/>
<Element Offset="22876" Vartype="4 Bytes" Bytesize="4" Description="AbilityPreventItemDrop" DisplayMethod="Unsigned Integer"/>
<Element Offset="22880" Vartype="4 Bytes" Bytesize="4" Description="AbilityPreventEquipDrop" DisplayMethod="Unsigned Integer"/>
<Element Offset="22884" Vartype="4 Bytes" Bytesize="4" Description="AbilityWarehouseRecall" DisplayMethod="Unsigned Integer"/>
<Element Offset="22888" Vartype="4 Bytes" Bytesize="4" Description="AbilityDoubleWarehouse" DisplayMethod="Unsigned Integer"/>
<Element Offset="22892" Vartype="4 Bytes" Bytesize="4" Description="AbilityPvpExp" DisplayMethod="Unsigned Integer"/>
<Element Offset="22900" Vartype="4 Bytes" Bytesize="4" Description="AbilityContiRes" DisplayMethod="Unsigned Integer"/>
<Element Offset="23232" Vartype="4 Bytes" Bytesize="4" Description="Points" DisplayMethod="Unsigned Integer"/>
<Element Offset="23236" Vartype="Byte" Bytesize="1" Description="IsBuying" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="ItemContainer" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="8" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="12" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="16" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="20" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="24" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="28" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="32" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="36" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="40" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="44" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="48" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="52" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="56" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="60" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="64" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="68" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="72" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="76" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="80" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="84" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="88" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
<Element Offset="92" Vartype="Pointer" Bytesize="4" ChildStruct="CItem" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CItem" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="65" Vartype="Byte" Bytesize="1" Description="Type" DisplayMethod="Unsigned Integer"/>
<Element Offset="66" Vartype="Byte" Bytesize="1" Description="TypeID" DisplayMethod="Unsigned Integer"/>
<Element Offset="67" Vartype="Byte" Bytesize="1" Description="Count" DisplayMethod="Unsigned Integer"/>
<Element Offset="69" Vartype="2 Bytes" Bytesize="2" Description="Endurance" DisplayMethod="Unsigned Integer"/>
<Element Offset="71" Vartype="Array of byte" Bytesize="6" Description="Lapis" DisplayMethod="Unsigned Integer"/>
<Element Offset="77" Vartype="String" Bytesize="21" Description="Craftname" DisplayMethod="Unsigned Integer"/>
<Element Offset="98" Vartype="4 Bytes" Bytesize="4" Description="MakeTime" DisplayMethod="Unsigned Integer"/>
<Element Offset="102" Vartype="Byte" Bytesize="1" Description="MakeType" DisplayMethod="Unsigned Integer"/>
<Element Offset="114" Vartype="Byte" Bytesize="1" Description="DropType" DisplayMethod="Unsigned Integer"/>
<Element Offset="115" Vartype="4 Bytes" Bytesize="4" Description="DropId" DisplayMethod="Unsigned Integer"/>
<Element Offset="119" Vartype="4 Bytes" Bytesize="4" Description="DropMoney" DisplayMethod="Unsigned Integer"/>
<Element Offset="123" Vartype="Array of byte" Bytesize="22" Description="ExpansionAddValue" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CZone" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="Id" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="stPartyUser" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="Index" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="Pointer" Bytesize="4" ChildStruct="CUser" Description="CUser" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CParty" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="Id" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="4 Bytes" Bytesize="4" Description="LeaderIndex" DisplayMethod="Unsigned Integer"/>
<Element Offset="8" Vartype="Array of byte" Bytesize="240" Description="Members" DisplayMethod="Unsigned Integer"/>
<Element Offset="248" Vartype="4 Bytes" Bytesize="4" Description="ItemDivType" DisplayMethod="Unsigned Integer"/>
<Element Offset="252" Vartype="4 Bytes" Bytesize="4" Description="ItemDivSeq" DisplayMethod="Unsigned Integer"/>
<Element Offset="256" Vartype="4 Bytes" Bytesize="4" Description="MaxUserLevel" DisplayMethod="Unsigned Integer"/>
<Element Offset="260" Vartype="4 Bytes" Bytesize="4" Description="SubLeaderIndex" DisplayMethod="Unsigned Integer"/>
<Element Offset="264" Vartype="Byte" Bytesize="1" Description="IsRaid" DisplayMethod="Unsigned Integer"/>
<Element Offset="265" Vartype="Byte" Bytesize="1" Description="IsAutoJoin" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CGuild" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="Id" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="String" Bytesize="25" Description="Name" DisplayMethod="Unsigned Integer"/>
<Element Offset="29" Vartype="String" Bytesize="21" Description="LeaderName" DisplayMethod="Unsigned Integer"/>
<Element Offset="52" Vartype="4 Bytes" Bytesize="4" Description="OfficerCount" DisplayMethod="Unsigned Integer"/>
<Element Offset="56" Vartype="4 Bytes" Bytesize="4" Description="Faction" DisplayMethod="Unsigned Integer"/>
<Element Offset="64" Vartype="Byte" Bytesize="1" Description="Rank" DisplayMethod="Unsigned Integer"/>
<Element Offset="68" Vartype="4 Bytes" Bytesize="4" Description="Etin" DisplayMethod="Unsigned Integer"/>
<Element Offset="72" Vartype="4 Bytes" Bytesize="4" Description="KeepEtin" DisplayMethod="Unsigned Integer"/>
<Element Offset="76" Vartype="Byte" Bytesize="1" Description="HasHouse" DisplayMethod="Unsigned Integer"/>
<Element Offset="77" Vartype="Byte" Bytesize="1" Description="BoughtHouse" DisplayMethod="Unsigned Integer"/>
<Element Offset="78" Vartype="String" Bytesize="65" Description="Message" DisplayMethod="Unsigned Integer"/>
<Element Offset="144" Vartype="4 Bytes" Bytesize="4" Description="GrbPointsEarned" DisplayMethod="Unsigned Integer"/>
<Element Offset="148" Vartype="4 Bytes" Bytesize="4" Description="EtinReturnCount" DisplayMethod="Unsigned Integer"/>
<Element Offset="152" Vartype="4 Bytes" Bytesize="4" Description="RankJoinCount" DisplayMethod="Unsigned Integer"/>
<Element Offset="156" Vartype="Array of byte" Bytesize="960" Description="GuildBank" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CMap" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="Pointer" Bytesize="4" ChildStruct="CZone" Description="Zone" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="4 Bytes" Bytesize="4" Description="Size" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CZoneNode" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="Pointer" Bytesize="4" ChildStruct="CMap" Description="Map" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="Pointer" Bytesize="4" ChildStruct="CZone" Description="Zone" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CWorld" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="ZoneAllocId" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="Pointer" Bytesize="4" ChildStruct="CZoneNode" Description="ZoneList" DisplayMethod="Unsigned Integer"/>
<Element Offset="8" Vartype="4 Bytes" Bytesize="4" Description="MapCount" DisplayMethod="Unsigned Integer"/>
<Element Offset="12" Vartype="Pointer" Bytesize="4" ChildStruct="CMap" Description="MapList" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="stItemInfo" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="ItemId" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="String" Bytesize="32" Description="Name" DisplayMethod="Unsigned Integer"/>
<Element Offset="36" Vartype="Byte" Bytesize="1" Description="Type" DisplayMethod="Unsigned Integer"/>
<Element Offset="37" Vartype="Byte" Bytesize="1" Description="TypeId" DisplayMethod="Unsigned Integer"/>
<Element Offset="38" Vartype="Byte" Bytesize="1" Description="Faction" DisplayMethod="Unsigned Integer"/>
<Element Offset="39" Vartype="Array of byte" Bytesize="6" Description="Job" DisplayMethod="Unsigned Integer"/>
<Element Offset="46" Vartype="2 Bytes" Bytesize="2" Description="LevelReq" DisplayMethod="Unsigned Integer"/>
<Element Offset="48" Vartype="Byte" Bytesize="1" Description="Mode" DisplayMethod="Unsigned Integer"/>
<Element Offset="50" Vartype="Byte" Bytesize="1" Description="Group" DisplayMethod="Unsigned Integer"/>
<Element Offset="60" Vartype="2 Bytes" Bytesize="2" Description="LapisLevelReq" DisplayMethod="Unsigned Integer"/>
<Element Offset="62" Vartype="2 Bytes" Bytesize="2" Description="MaxReroll" DisplayMethod="Unsigned Integer"/>
<Element Offset="66" Vartype="2 Bytes" Bytesize="2" Description="AttackRange" DisplayMethod="Unsigned Integer"/>
<Element Offset="68" Vartype="Byte" Bytesize="1" Description="AttackSpeed" DisplayMethod="Unsigned Integer"/>
<Element Offset="69" Vartype="Byte" Bytesize="1" Description="Element" DisplayMethod="Unsigned Integer"/>
<Element Offset="70" Vartype="Byte" Bytesize="1" Description="Special" DisplayMethod="Unsigned Integer"/>
<Element Offset="71" Vartype="Byte" Bytesize="1" Description="Slots" DisplayMethod="Unsigned Integer"/>
<Element Offset="72" Vartype="Byte" Bytesize="1" Description="MoveSpeed" DisplayMethod="Unsigned Integer"/>
<Element Offset="73" Vartype="Byte" Bytesize="1" Description="Server" DisplayMethod="Unsigned Integer"/>
<Element Offset="74" Vartype="Byte" Bytesize="1" Description="ItemGroup" DisplayMethod="Unsigned Integer"/>
<Element Offset="75" Vartype="Byte" Bytesize="1" Description="StackSize" DisplayMethod="Unsigned Integer"/>
<Element Offset="76" Vartype="Array of byte" Bytesize="6" Description="Quality" DisplayMethod="Unsigned Integer"/>
<Element Offset="82" Vartype="Array of byte" Bytesize="6" Description="Effect1" DisplayMethod="Unsigned Integer"/>
<Element Offset="88" Vartype="Array of byte" Bytesize="6" Description="Effect2" DisplayMethod="Unsigned Integer"/>
<Element Offset="94" Vartype="Array of byte" Bytesize="6" Description="Effect3" DisplayMethod="Unsigned Integer"/>
<Element Offset="100" Vartype="Array of byte" Bytesize="6" Description="Effect4" DisplayMethod="Unsigned Integer"/>
<Element Offset="106" Vartype="2 Bytes" Bytesize="2" Description="Hitpoints" DisplayMethod="Unsigned Integer"/>
<Element Offset="108" Vartype="2 Bytes" Bytesize="2" Description="Stamina" DisplayMethod="Unsigned Integer"/>
<Element Offset="110" Vartype="2 Bytes" Bytesize="2" Description="Mana" DisplayMethod="Unsigned Integer"/>
<Element Offset="112" Vartype="2 Bytes" Bytesize="2" Description="Str" DisplayMethod="Unsigned Integer"/>
<Element Offset="114" Vartype="2 Bytes" Bytesize="2" Description="Dex" DisplayMethod="Unsigned Integer"/>
<Element Offset="116" Vartype="2 Bytes" Bytesize="2" Description="Rec" DisplayMethod="Unsigned Integer"/>
<Element Offset="118" Vartype="2 Bytes" Bytesize="2" Description="Int" DisplayMethod="Unsigned Integer"/>
<Element Offset="120" Vartype="2 Bytes" Bytesize="2" Description="Wis" DisplayMethod="Unsigned Integer"/>
<Element Offset="122" Vartype="2 Bytes" Bytesize="2" Description="Luc" DisplayMethod="Unsigned Integer"/>
<Element Offset="124" Vartype="2 Bytes" Bytesize="2" Description="Grade" DisplayMethod="Unsigned Integer"/>
<Element Offset="126" Vartype="2 Bytes" Bytesize="2" Description="Drop" DisplayMethod="Unsigned Integer"/>
<Element Offset="128" Vartype="4 Bytes" Bytesize="4" Description="BuyValue" DisplayMethod="Unsigned Integer"/>
<Element Offset="132" Vartype="4 Bytes" Bytesize="4" Description="SellValue" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="stTarget" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="Type" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="4 Bytes" Bytesize="4" Description="Id" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="stSkillInfo" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="2 Bytes" Bytesize="2" Description="Id" DisplayMethod="Unsigned Integer"/>
<Element Offset="2" Vartype="Byte" Bytesize="1" Description="Level" DisplayMethod="Unsigned Integer"/>
<Element Offset="3" Vartype="String" Bytesize="32" Description="Name" DisplayMethod="Unsigned Integer"/>
<Element Offset="35" Vartype="2 Bytes" Bytesize="2" Description="Level" DisplayMethod="Unsigned Integer"/>
<Element Offset="37" Vartype="Byte" Bytesize="1" Description="Faction" DisplayMethod="Unsigned Integer"/>
<Element Offset="38" Vartype="Array of byte" Bytesize="6" Description="Job" DisplayMethod="Unsigned Integer"/>
<Element Offset="44" Vartype="Byte" Bytesize="1" Description="Mode" DisplayMethod="Unsigned Integer"/>
<Element Offset="45" Vartype="Byte" Bytesize="1" Description="Skillpoint" DisplayMethod="Unsigned Integer"/>
<Element Offset="46" Vartype="Byte" Bytesize="1" Description="_TypeShow" DisplayMethod="Unsigned Integer"/>
<Element Offset="47" Vartype="Byte" Bytesize="1" Description="_TypeAttack" DisplayMethod="Unsigned Integer"/>
<Element Offset="48" Vartype="Byte" Bytesize="1" Description="_TypeEffect" DisplayMethod="Unsigned Integer"/>
<Element Offset="49" Vartype="Byte" Bytesize="1" Description="_Type" DisplayMethod="Unsigned Integer"/>
<Element Offset="50" Vartype="Array of byte" Bytesize="16" Description="Weapon" DisplayMethod="Unsigned Integer"/>
<Element Offset="66" Vartype="2 Bytes" Bytesize="2" Description="StaminaCost" DisplayMethod="Unsigned Integer"/>
<Element Offset="68" Vartype="2 Bytes" Bytesize="2" Description="ManaCost" DisplayMethod="Unsigned Integer"/>
<Element Offset="70" Vartype="Byte" Bytesize="1" Description="CastTime" DisplayMethod="Unsigned Integer"/>
<Element Offset="71" Vartype="2 Bytes" Bytesize="2" Description="Cooldown" DisplayMethod="Unsigned Integer"/>
<Element Offset="73" Vartype="Byte" Bytesize="1" Description="AttackRange" DisplayMethod="Unsigned Integer"/>
<Element Offset="74" Vartype="Byte" Bytesize="1" Description="StateType" DisplayMethod="Unsigned Integer"/>
<Element Offset="75" Vartype="Byte" Bytesize="1" Description="Element" DisplayMethod="Unsigned Integer"/>
<Element Offset="76" Vartype="2 Bytes" Bytesize="2" Description="Disable" DisplayMethod="Unsigned Integer"/>
<Element Offset="78" Vartype="2 Bytes" Bytesize="2" Description="PrevSkill" DisplayMethod="Unsigned Integer"/>
<Element Offset="80" Vartype="Byte" Bytesize="1" Description="SuccessType" DisplayMethod="Unsigned Integer"/>
<Element Offset="81" Vartype="Byte" Bytesize="1" Description="SuccessValue" DisplayMethod="Unsigned Integer"/>
<Element Offset="82" Vartype="Byte" Bytesize="1" Description="TargetType" DisplayMethod="Unsigned Integer"/>
<Element Offset="83" Vartype="Byte" Bytesize="1" Description="ApplyRange" DisplayMethod="Unsigned Integer"/>
<Element Offset="84" Vartype="Byte" Bytesize="1" Description="HitCount" DisplayMethod="Unsigned Integer"/>
<Element Offset="85" Vartype="4 Bytes" Bytesize="4" Description="Duration" DisplayMethod="Unsigned Integer"/>
<Element Offset="89" Vartype="Array of byte" Bytesize="2" Description="ByWeapon" DisplayMethod="Unsigned Integer"/>
<Element Offset="91" Vartype="Byte" Bytesize="1" Description="WeaponValue" DisplayMethod="Unsigned Integer"/>
<Element Offset="92" Vartype="Byte" Bytesize="1" Description="Bag" DisplayMethod="Unsigned Integer"/>
<Element Offset="93" Vartype="2 Bytes" Bytesize="2" Description="Threat" DisplayMethod="Unsigned Integer"/>
<Element Offset="95" Vartype="Byte" Bytesize="1" Description="DamageType" DisplayMethod="Unsigned Integer"/>
<Element Offset="96" Vartype="2 Bytes" Bytesize="2" Description="HealthDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="98" Vartype="2 Bytes" Bytesize="2" Description="StaminaDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="100" Vartype="2 Bytes" Bytesize="2" Description="ManaDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="102" Vartype="Byte" Bytesize="1" Description="TimeDamageType" DisplayMethod="Unsigned Integer"/>
<Element Offset="103" Vartype="2 Bytes" Bytesize="2" Description="HealthTimeDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="105" Vartype="2 Bytes" Bytesize="2" Description="StaminaTimeDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="107" Vartype="2 Bytes" Bytesize="2" Description="ManaTimeDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="109" Vartype="2 Bytes" Bytesize="2" Description="HealthAdditionalDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="111" Vartype="2 Bytes" Bytesize="2" Description="StaminaAdditionalDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="113" Vartype="2 Bytes" Bytesize="2" Description="ManaAdditionalDamage" DisplayMethod="Unsigned Integer"/>
<Element Offset="115" Vartype="Array of byte" Bytesize="9" Description="Ability" DisplayMethod="Unsigned Integer"/>
<Element Offset="124" Vartype="2 Bytes" Bytesize="2" Description="HealthHeal" DisplayMethod="Unsigned Integer"/>
<Element Offset="126" Vartype="2 Bytes" Bytesize="2" Description="StaminaHeal" DisplayMethod="Unsigned Integer"/>
<Element Offset="128" Vartype="2 Bytes" Bytesize="2" Description="ManaHeal" DisplayMethod="Unsigned Integer"/>
<Element Offset="130" Vartype="2 Bytes" Bytesize="2" Description="HealthTimeHeal" DisplayMethod="Unsigned Integer"/>
<Element Offset="132" Vartype="2 Bytes" Bytesize="2" Description="StaminaTimeHeal" DisplayMethod="Unsigned Integer"/>
<Element Offset="134" Vartype="2 Bytes" Bytesize="2" Description="ManaTimeHeal" DisplayMethod="Unsigned Integer"/>
<Element Offset="136" Vartype="Byte" Bytesize="1" Description="DefenceType" DisplayMethod="Unsigned Integer"/>
<Element Offset="137" Vartype="Byte" Bytesize="1" Description="DefenceValue" DisplayMethod="Unsigned Integer"/>
<Element Offset="138" Vartype="Byte" Bytesize="1" Description="LimitHitpoints" DisplayMethod="Unsigned Integer"/>
<Element Offset="139" Vartype="Byte" Bytesize="1" Description="RemoveOnDeath" DisplayMethod="Unsigned Integer"/>
<Element Offset="140" Vartype="2 Bytes" Bytesize="2" Description="ChangeType" DisplayMethod="Unsigned Integer"/>
<Element Offset="142" Vartype="2 Bytes" Bytesize="2" Description="ChangeLevel" DisplayMethod="Unsigned Integer"/>
<Element Offset="144" Vartype="4 Bytes" Bytesize="4" Description="ItemLink" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CSkill" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="LocalId" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="4 Bytes" Bytesize="4" Description="Id" DisplayMethod="Unsigned Integer"/>
<Element Offset="8" Vartype="4 Bytes" Bytesize="4" Description="Level" DisplayMethod="Unsigned Integer"/>
<Element Offset="12" Vartype="4 Bytes" Bytesize="4" Description="Number" DisplayMethod="Unsigned Integer"/>
<Element Offset="16" Vartype="4 Bytes" Bytesize="4" Description="TickFreq" DisplayMethod="Unsigned Integer"/>
<Element Offset="20" Vartype="4 Bytes" Bytesize="4" Description="Cooldown" DisplayMethod="Unsigned Integer"/>
<Element Offset="24" Vartype="4 Bytes" Bytesize="4" Description="EndTime" DisplayMethod="Unsigned Integer"/>
<Element Offset="28" Vartype="4 Bytes" Bytesize="4" Description="PrevTick" DisplayMethod="Unsigned Integer"/>
<Element Offset="32" Vartype="Pointer" Bytesize="4" ChildStruct="stTarget" Description="Target" DisplayMethod="Unsigned Integer"/>
<Element Offset="36" Vartype="Pointer" Bytesize="4" ChildStruct="stSkillInfo" Description="Definition" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
</Structures>






