#include "Client.h"
#include "DatFile.h"
#include "MasterServer.h"
#include "RecvPacket.h"
#include "WorldManager.h"
#include "WorldServer.h"
#include "Job.h"
#include "cSpell.h"
Defines | |
#define | ATTACK 0x0008 |
#define | MISSILE_ATTACK 0x000A |
#define | TEXT_FROM_CLIENT 0x0015 |
#define | INVENTORY_ADD_ADJUST 0x0019 |
#define | INVENTORY_EQUIP 0x001A |
#define | INVENTORY_DROP 0x001B |
#define | SWEAR_ALLEGIANCE 0x001D |
#define | BREAK_ALLEGIANCE 0x001E |
#define | ALLEGIANCE_PANEL 0x001F |
#define | SEND_TELL_GUID 0x0032 |
#define | TARGET_USE 0x0035 |
#define | USE 0x0036 |
#define | RAISE_VITAL 0x0044 |
#define | RAISE_ATTRIBUTE 0x0045 |
#define | RAISE_SKILL 0x0046 |
#define | TRAIN_SKILL 0x0047 |
#define | CAST_SPELL_NO_TARGET 0x0048 |
#define | CAST_SPELL_TARGET 0x004A |
#define | CHANGE_COMBAT_MODE 0x0053 |
#define | STACK_ITEMS 0x0054 |
#define | SPLIT_ITEMS 0x0055 |
#define | SQUELCH 0x0058 |
#define | SQUELCH_ACCOUNT 0x0059 |
#define | SEND_TELL_NAME 0x005D |
#define | VENDOR_BUY_ITEMS 0x005F |
#define | VENDOR_SELL_ITEMS 0x0060 |
#define | LIFESTONE_RECALL 0x0063 |
#define | CHARACTER_SPAWN 0x00A1 |
#define | CREATE_FELLOWSHIP 0x00A2 |
#define | DISBAND_FELLOWSHIP 0x00A3 |
#define | DISMISS_FELLOW_MEMBER 0x00A4 |
#define | RECRUIT_FELLOW_MEMBER 0x00A5 |
#define | FELLOWSHIP_PANEL 0x00A6 |
#define | WRITE_BOOK 0x00AB |
#define | UNK 0x00AC |
#define | READ_BOOK 0x00AE |
#define | INSCRIBE 0x00BF |
#define | ASSESS 0x00C8 |
#define | GIVE_ITEM 0x00CD |
#define | REMOVE_PRIVS 0x00D3 |
#define | TELE_TO_LB 0x00D6 |
#define | REPORT_ABUSE 0x0140 |
#define | SEND_TELL_MASK 0x0147 |
#define | CLOSE_CONTAINER_FORCED 0x0195 |
#define | MAKE_SHORTCUT 0x019C |
#define | REMOVE_SHORTCUT 0x019D |
#define | ADJUST_SETTINGS 0x01A1 |
#define | SAVE_LIFESTONE_POS 0x01A2 |
#define | DELETE_SPELL_SHORTCUT 0x01A8 |
#define | STOP_ATTACK 0x01B7 |
#define | REQUEST_HEALTH_UPDATE 0x01BF |
#define | RETRIEVE_AGE 0x01C2 |
#define | RETRIEVE_BIRTH 0x01C4 |
#define | EMOTE_TEXT 0x01DF |
#define | EMOTE_COMMAND_TEXT 0x01E1 |
#define | ADD_SPELL_SHORTCUT 0x01E3 |
#define | REMOVE_SPELL_SHORTCUT 0x01E4 |
#define | TELEPORT_TO_PLAYER 0x01E6 |
#define | PING_SERVER 0x01E9 |
#define | BEGIN_TRADE 0x01F6 |
#define | END_TRADE 0x01F7 |
#define | ADD_ITEM_TO_TRADE 0x01F8 |
#define | ACCEPT_TRADE 0x01FA |
#define | WITHDRAW_OFFER 0x01FB |
#define | CLEAR_TRADE_WINDOW 0x0204 |
#define | CONSENT_CLEAR 0x0216 |
#define | CONSENT_LIST 0x0217 |
#define | CONSENT_REMOVE 0x0218 |
#define | PERMIT_ADD 0x0219 |
#define | PERMIT_REMOVE 0x021A |
#define | HOUSE_BUY 0x021C |
#define | HOUSE_MAINTAIN 0x0221 |
#define | HOUSE_ABANDON 0x021F |
#define | HOUSE_BOOT_NAME 0x024A |
#define | HOUSE_BOOT_ALL 0x025F |
#define | HOUSE_GUEST_ADD 0x0245 |
#define | HOUSE_GUEST_REM_NAME 0x0246 |
#define | HOUSE_OPEN_CLOSE 0x0247 |
#define | HOUSE_STORAGE 0x0249 |
#define | HOUSE_BOOT_NAME 0x024A |
#define | HOUSE_STORE_REM_ALL 0x024C |
#define | HOUSE_GUEST_LIST 0x024D |
#define | SET_SPEAKER 0x0251 |
#define | SHOW_SPEAKER 0x0252 |
#define | CLEAR_SPEAKER 0x0253 |
#define | SET_MOTD 0x0254 |
#define | SHOW_MOTD 0x0255 |
#define | CLEAR_MOTD 0x0256 |
#define | HOUSE_GUEST_REM_ALL 0x025E |
#define | HOUSE_BOOT_ALL 0x025F |
#define | HOUSE_RECALL 0x0262 |
#define | GET_OBJECT_MANA 0x0263 |
#define | HOUSE_HOOKS 0x0266 |
#define | HOUSE_GUEST_ALLEG 0x0267 |
#define | JOIN_CHESS_GAME 0x0269 |
#define | LEAVE_CHESS_GAME 0x026A |
#define | MOVE_CHESS_PIECE 0x026B |
#define | OFFER_CHESS_DRAW 0x026E |
#define | HOUSE_AVAIL 0x0270 |
#define | ANSWER_POPUP 0x0275 |
#define | ALLEG_BOOT 0x0277 |
#define | ALLEG_RECALL 0x0278 |
#define | SUICIDE 0x0279 |
#define | ALLEG_INFO 0x027B |
#define | MARKETPLACE_RECALL 0x028D |
#define | PKLITE 0x028F |
#define | PROMOTE_FELLOW_LEADER 0x0290 |
#define | OPEN_CLOSE_FELLOWSHIP 0x0291 |
#define | JUMP 0xF61B |
#define | MOVEMENT_LOW_PRIORITY 0xF61C |
#define | MOVEMENT_HIGH_PRIORITY 0xF753 |
#define | RECIEVE_MELEE_DAMAGE 0x01B2 |
#define | SET_PACK_CONTENTS 0x0196 |
#define | AXE 0x00000001 |
#define | BOW 0x00000002 |
#define | CROSSBOW 0x00000003 |
#define | DAGGER 0x00000004 |
#define | MACE 0x00000005 |
#define | MELEE_DEFENSE 0x00000006 |
#define | MISSILE_DEFENSE 0x00000007 |
#define | SPEAR 0x00000009 |
#define | STAFF 0x0000000A |
#define | SWORD 0x0000000B |
#define | THROWN_WEAPONS 0x0000000C |
#define | UNARMED_COMBAT 0x0000000D |
#define | ARCANE_LORE 0x0000000E |
#define | MAGIC_DEFENSE 0x0000000F |
#define | MANA_CONVERSION 0x00000010 |
#define | ITEM_TINKERING 0x00000012 |
#define | ASSESS_PERSON 0x00000013 |
#define | DECEPTION 0x00000014 |
#define | HEALING 0x00000015 |
#define | S_JUMP 0x00000016 |
#define | LOCKPICK 0x00000017 |
#define | RUN 0x00000018 |
#define | ASSESS_CREATURE 0x0000001B |
#define | WEAPON_TINKERING 0x0000001C |
#define | ARMOR_TINKERING 0x0000001D |
#define | MAGIC_ITEM_TINKERING 0x0000001E |
#define | CREATURE_ENCHANTMENT 0x0000001F |
#define | ITEM_ENCHANTMENT 0x00000020 |
#define | LIFE_MAGIC 0x00000021 |
#define | WAR_MAGIC 0x00000022 |
#define | LEADERSHIP 0x00000023 |
#define | LOYALTY 0x00000024 |
#define | FLETCHING 0x00000025 |
#define | ALCHEMY 0x00000026 |
#define | COOKING 0x00000027 |
#define | SALVAGING 0x00000028 |
Variables | |
cWeapon * | pcW |
cShield * | pcS |
cAmmo * | pcMW |
float | intRange |
DWORD | NPCID |
DWORD | CORPSEID |
Processes client messages according to their pre-defined types.