Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/packets.h File Reference

Declaration of class cPackets and derived, all the Uo Packets know. More...

#include "constants.h"
#include "typedefs.h"
#include <string>
#include "abstraction/endian.h"

Go to the source code of this file.

Compounds

struct  buyitem_st
class  cClientPacket
 Base class of all packets send from client to server. More...

class  clPacketAddPartyMember
 Add a new member to party. More...

class  clPacketPartyAccept
 Accept party invitation. More...

class  clPacketPartyCanLoot
 Other party memeber can loot this. More...

class  clPacketPartyDecline
 Decline party invitation. More...

class  clPacketPartyTellAllMessage
 Tell to all party members a message. More...

class  clPacketPartyTellMessage
 Tell to a party member a message. More...

class  clPacketRemovePartyMember
 Remove a member to party. More...

class  cPacket
 Base class of all packets. More...

class  cPacketAddItemIntoCont
 Add Item into Container. More...

class  cPacketAnim
 Character Animation. More...

class  cPacketAttackRequest
 User tries to attack someone. More...

class  cPacketBuy
 Buy Item(s). More...

class  cPacketCharInfo
 Char Location and body type ecc.. More...

class  cPacketCharProfile
 Char Profile. More...

class  cPacketCharProfileReq
 Char Profile Request ( maybe an update ). More...

class  cPacketCharProfileReqOnly
 Char Profile Request. More...

class  cPacketClearSquare
 Clear Square. More...

class  cPacketContainer
 Items in Container. More...

class  cPacketCreateCharacter
 User selects to create a new character. More...

class  cPacketDelete
 Delete object. More...

class  cPacketDeleteCharacter
 Delete Character. More...

class  cPacketDisconnectNotification
 User Special Disconnect. More...

class  cPacketDoubleClick
 User do double click. More...

class  cPacketDragging
 Dragging of Items. More...

class  cPacketDrawContainer
 Draw Container. More...

class  cPacketDrawPlayer
 Draw Game Player. More...

class  cPacketDropItem
 User drop an item. More...

class  cPacketEffect
 Graphical Effect. More...

class  cPacketFeatures
 Features. More...

class  cPacketFightOccuring
 There is a fight going on somewhere on screen. More...

class  cPacketGeneralInfo
 General info packet. More...

class  cPacketGodModeToggle
 Used in God client. More...

class  cPacketIconListMenu
 Show an icon list menu. More...

class  cPacketIdleWarning
 Displays a pre-defined message in client. More...

class  cPacketKick
 Kick Player. More...

class  cPacketLogin
class  cPacketLoginComplete
 Login Complete, start game. More...

class  cPacketLoginDenied
 Login denied. More...

class  cPacketMap
 Map related. More...

class  cPacketMapMessage
 Map Message. More...

class  cPacketMenu
 Show an menu. More...

class  cPacketMenuSelection
 A menu item is selected. More...

class  cPacketMidi
 Play Midi Music. More...

class  cPacketMobileAttributes
 Mobile attributes. More...

class  cPacketMoveACK
 Character Move ACK/ Resync Request. More...

class  cPacketMoveReject
 A movement request is rejected. More...

class  cPacketNewSubserver
 New subserver. More...

class  cPacketOverallLight
 Overall Light Level. More...

class  cPacketPauseResumeClient
 Pause/Resume Client. More...

class  cPacketPDClothing
 Paperdoll Clothing Added. More...

class  cPacketPersonalLight
 Personal Light Level. More...

class  cPacketPickUpItem
 User pick up an item. More...

class  cPacketPlayerStatus
 Get Player Status. More...

class  cPacketPlotCourse
 Plot course for ships. More...

class  cPacketQuestArrow
 Show a quest arrow. More...

class  cPacketRejectMoveItem
 Reject Request to move Items. More...

class  cPacketRename
 Rename Character. More...

class  cPacketResponseToDialog
 Client response to dialog. More...

class  cPacketRessMenu
 Resurrection Menu Choice. More...

class  cPacketSingleClick
 User do single click on an object. More...

class  cPacketSound
 Play Sound Effect. More...

class  cPacketSpeech
 Send speech. More...

class  cPacketStatWindow
 Stat window info. More...

class  cPacketTalkRequest
 User is talking. More...

class  cPacketTargetingCursor
 Targeting Cursor Commands. More...

class  cPacketTime
 Time. More...

class  cPacketUnicodeSpeech
 Send speech ( unicode mode ). More...

class  cPacketUpdatePlayer
 Update player. More...

class  cPacketWalk
 Moves player played by client one step in requested direction. More...

class  cPacketWalkAck
 Character Move ACK/ Resync Request. More...

class  cPacketWalkReject
 Character Move Reject. More...

class  cPacketWarMode
 Request War Mode Change/Send War Mode status. More...

class  cPacketWear
 User drop - wear and item. More...

class  cPacketWeather
 Set Weather. More...

class  cPacketWebBrowser
 Launch web browser. More...

class  cPacketWornItem
 Worn Item. More...

class  cServerPacket
 Base class of all packets send to server to client. More...

class  csPacketAddPartyMembers
 Send all party members after an add. More...

class  csPacketPartyInvite
 Accept party invitation. More...

class  csPacketPartyTellAllMessage
 Tell to all party members a message. More...

class  csPacketPartyTellMessage
 Tell to a party member a message. More...

class  csPacketRemovePartyMembers
 Remove a member to party, and resend list. More...

class  cSubPacketParty
 Party packets. More...

struct  itemincont_st
 struct with informations about items in containers More...

struct  pkg_icon_list_menu_st
struct  text_entry_st

map packets

map relatede packets

#define PKG_MAP   0x56;
#define PKG_MAP_MESSAGE   0x90;

walking packets

walking relatede packets

#define PKG_WALK   0x97;
#define PKG_WALK_ACK   0x22;
#define PKG_WALK_REJECT   0x21;
enum  NOTORIETY {
  NOT_VALID = 0, INNOCENT, GUILDED, ATTACKABLE,
  CRIMINAL, ENEMYY, MURDERER, TRASLUCENT
}

char profile packets

char profile related packets

#define PKG_CHAR_PROFILE   0xB8;

client options packets

client options related packets

#define PKG_FEATURES   0xB9;
#define FEATURE_T2A   0x0001
 enable chat button

#define FEATURE_LBR   0x0002
 plays MP3 instead of midis, 2D LBR client shows new LBR monsters

#define FEATURE_LBR_WITHOUT_CHAT   0x0004
 lbr without chat


utilitys packets

utilitys related packets

#define PKG_WEB_BROWSER   0xA5;

menu packets

menu related packets

#define PKG_MENU   0xB0;
#define PKG_MENU_SELECTION   0xB1;
#define PKG_ICON_LIST_MENU   0x7C;

target packets

target related packets

#define PKG_QUEST_ARROW   0xBA;
#define PKG_TARGETING   0x6C;

party packets

party related packets

#define PKG_GENERAL_INFO   0xBF;
#define GEN_INFO_SUBCMD_PARTY   6
#define PARTY_SUBCMD_ADD   1
#define PARTY_SUBCMD_REMOVE   2
#define PARTY_SUBCMD_MESSAGE   3
#define PARTY_SUBCMD_BROADCAST   4
#define PARTY_SUBCMD_CANLOOT   6
#define PARTY_SUBCMD_INVITE   7
#define PARTY_SUBCMD_ACCEPT   8
#define PARTY_SUBCMD_DECLINE   9

Defines

#define PKG_CREATE_CHARACTER   0x00;
#define PKG_DISCONNECT_NOTIFY   0x01;
#define PKG_TALK_REQUEST   0x03;
#define PKG_GODMODE_TOGGLE   0x04;
#define PKG_ATTACK_REQUEST   0x05;
#define PKG_DB_CLICK   0x06;
#define PKG_PICK_UP   0x07;
#define PKG_DROP_ITEM   0x08;
#define PKG_SINGLE_CLICK   0x09;
#define PKG_STAT_WINDOW   0x11;
#define PKG_DROP_OR_WEAR_ITEM   0x13;
#define PKG_CHAR_INFO   0x1B;
#define PKG_SPEECH   0x1C;
#define PKG_DELETE   0x1D;
#define PKG_DRAW_PLAYER   0x20;
#define PKG_REJECT_MOVEMENT   0x21;
#define PKG_MOVE_ACK   0x22;
#define PKG_DRAGGING   0x23;
#define PKG_DRAW_CONTAINER   0x24;
#define PKG_ADD_ITEM_INTO_CONTAINER   0x25;
#define PKG_KICK   0x26;
#define PKG_REJECT_MOVE_ITEM   0x27;
#define PKG_CLEAR_SQUARE   0x28;
#define PKG_PD_CLOTHING   0x29;
#define PKG_RESS_MENU   0x2C;
#define PKG_MOBILE_ATTRIBUTES   0x2D;
#define PKG_WORN_ITEM   0x2E;
#define PKG_FIGHT_OCCURING   0x2F;
#define PKG_PAUSE_RESUME   0x33;
#define PKG_PLAYER_STATUS   0x34;
#define PKG_BUY   0x3B;
#define PKG_CONTAINER   0x3C;
#define PKG_PERSONAL_LIGHT   0x4E;
#define PKG_OVERALL_LIGHT   0x4F;
#define PKG_IDLE_WARNING   0x53;
#define PKG_SOUND   0x54;
#define PKG_LOGIN_COMPLETE   0x55;
#define PKG_PLOT_COURSE   0x56;
#define PKG_TIME   0x5B;
#define PKG_LOGIN   0x5D;
 Login Character.

#define PKG_WEATHER   0x65;
#define PKG_MIDI   0x6D;
#define PKG_ANIM   0x6E;
#define PKG_EFFECT   0x70;
#define PKG_WAR_MODE   0x72;
#define PKG_RENAME   0x75;
 Ping message.

#define PKG_NEW_SUBSERVER   0x76;
#define PKG_UPDATE_PLAYER   0x77;
#define PKG_RESPONSE_TO_DIALOG   0x7D;
#define PKG_LOGIN_DENIED   0x82;
#define PKG_DELETE_CHARACHTER   0x83;
#define PKG_UNICODE_SPEECH   0xAE;
 Resend Character After delete.


Typedefs

typedef cPacketP_PACKET
 pointer to cPacket

typedef cClientPacketP_CLIENT_PACKET
 pointer to cClientPacket

typedef cServerPacketP_SERVER_PACKET
 pointer to cServerPacket


Detailed Description

Declaration of class cPackets and derived, all the Uo Packets know.

Note:
All these information are from Wolfpack ( very thx to )
client version 3.0.
Todo:
Send skill pkg 0x3a not implemented yet

Bulletin board message [0x71]


Define Documentation

#define FEATURE_LBR   0x0002
 

plays MP3 instead of midis, 2D LBR client shows new LBR monsters

#define FEATURE_LBR_WITHOUT_CHAT   0x0004
 

lbr without chat

#define FEATURE_T2A   0x0001
 

enable chat button

#define GEN_INFO_SUBCMD_PARTY   6
 

#define PARTY_SUBCMD_ACCEPT   8
 

#define PARTY_SUBCMD_ADD   1
 

#define PARTY_SUBCMD_BROADCAST   4
 

#define PARTY_SUBCMD_CANLOOT   6
 

#define PARTY_SUBCMD_DECLINE   9
 

#define PARTY_SUBCMD_INVITE   7
 

#define PARTY_SUBCMD_MESSAGE   3
 

#define PARTY_SUBCMD_REMOVE   2
 

#define PKG_ADD_ITEM_INTO_CONTAINER   0x25;
 

#define PKG_ANIM   0x6E;
 

#define PKG_ATTACK_REQUEST   0x05;
 

#define PKG_BUY   0x3B;
 

#define PKG_CHAR_INFO   0x1B;
 

#define PKG_CHAR_PROFILE   0xB8;
 

#define PKG_CLEAR_SQUARE   0x28;
 

#define PKG_CONTAINER   0x3C;
 

#define PKG_CREATE_CHARACTER   0x00;
 

#define PKG_DB_CLICK   0x06;
 

#define PKG_DELETE   0x1D;
 

#define PKG_DELETE_CHARACHTER   0x83;
 

#define PKG_DISCONNECT_NOTIFY   0x01;
 

#define PKG_DRAGGING   0x23;
 

#define PKG_DRAW_CONTAINER   0x24;
 

#define PKG_DRAW_PLAYER   0x20;
 

#define PKG_DROP_ITEM   0x08;
 

#define PKG_DROP_OR_WEAR_ITEM   0x13;
 

#define PKG_EFFECT   0x70;
 

#define PKG_FEATURES   0xB9;
 

#define PKG_FIGHT_OCCURING   0x2F;
 

#define PKG_GENERAL_INFO   0xBF;
 

#define PKG_GODMODE_TOGGLE   0x04;
 

#define PKG_ICON_LIST_MENU   0x7C;
 

#define PKG_IDLE_WARNING   0x53;
 

#define PKG_KICK   0x26;
 

#define PKG_LOGIN   0x5D;
 

Login Character.

Author:
Endymion
Since:
0.83
Note:
0x5D
Remarks:
ClientIP should not be trusted.

#define PKG_LOGIN_COMPLETE   0x55;
 

#define PKG_LOGIN_DENIED   0x82;
 

#define PKG_MAP   0x56;
 

#define PKG_MAP_MESSAGE   0x90;
 

#define PKG_MENU   0xB0;
 

#define PKG_MENU_SELECTION   0xB1;
 

#define PKG_MIDI   0x6D;
 

#define PKG_MOBILE_ATTRIBUTES   0x2D;
 

#define PKG_MOVE_ACK   0x22;
 

#define PKG_NEW_SUBSERVER   0x76;
 

#define PKG_OVERALL_LIGHT   0x4F;
 

#define PKG_PAUSE_RESUME   0x33;
 

#define PKG_PD_CLOTHING   0x29;
 

#define PKG_PERSONAL_LIGHT   0x4E;
 

#define PKG_PICK_UP   0x07;
 

#define PKG_PLAYER_STATUS   0x34;
 

#define PKG_PLOT_COURSE   0x56;
 

#define PKG_QUEST_ARROW   0xBA;
 

#define PKG_REJECT_MOVE_ITEM   0x27;
 

#define PKG_REJECT_MOVEMENT   0x21;
 

#define PKG_RENAME   0x75;
 

Ping message.

Author:
Endymion
Since:
0.83a
Note:
From ??
0x73
server replies with 0x77 packet

#define PKG_RESPONSE_TO_DIALOG   0x7D;
 

#define PKG_RESS_MENU   0x2C;
 

#define PKG_SINGLE_CLICK   0x09;
 

#define PKG_SOUND   0x54;
 

#define PKG_SPEECH   0x1C;
 

#define PKG_STAT_WINDOW   0x11;
 

#define PKG_TALK_REQUEST   0x03;
 

#define PKG_TARGETING   0x6C;
 

#define PKG_TIME   0x5B;
 

#define PKG_UNICODE_SPEECH   0xAE;
 

Resend Character After delete.

Author:
Endymion
Since:
0.83
Note:
0x86
used on login not in game :)

#define PKG_UPDATE_PLAYER   0x77;
 

#define PKG_WALK   0x97;
 

#define PKG_WALK_ACK   0x22;
 

#define PKG_WALK_REJECT   0x21;
 

#define PKG_WAR_MODE   0x72;
 

#define PKG_WEATHER   0x65;
 

#define PKG_WEB_BROWSER   0xA5;
 

#define PKG_WORN_ITEM   0x2E;
 


Typedef Documentation

typedef cClientPacket* P_CLIENT_PACKET
 

pointer to cClientPacket

typedef cPacket* P_PACKET
 

pointer to cPacket

typedef cServerPacket* P_SERVER_PACKET
 

pointer to cServerPacket


Enumeration Type Documentation

enum NOTORIETY
 

Enumeration values:
NOT_VALID  invalid/across server line
INNOCENT  innocent (blue)
GUILDED  guilded/ally (green)
ATTACKABLE  attackable but not criminal (gray)
CRIMINAL  criminal (gray)
ENEMYY  enemy (orange)
MURDERER  murderer (red)
TRASLUCENT  unknown use (translucent (like 0x4000 hue))
SourceForge.net Logo