Organized incoming packets

Organized menu options
Added additional debug info
Increased maximum occluders from 500 to 1000
Made occluders generate more often
This commit is contained in:
thedaneeffect committed 2023-01-04 22:13:03 -05:00
1 parent e5072ee11a
commit d6ddc1dd6c
8 files changed
+2803 -2430

No files matched your search

+78 -67
View File
@@ -5,7 +5,7 @@ public final class PacketIn {
public static final int CAMERA_DISABLE_CINEMATIC = 107;
public static final int CAMERA_EFFECT = 35;
public static final int CAMERA_LOOK_AT = 177;
public static final int CAMERA_SET_POSITION = 166;
public static final int CAMERA_POSITION = 166;
public static final int CHAT_COMPONENT = 164;
public static final int CHAT_COMPONENT_STICKY = 218;
public static final int CHAT_MESSAGE = 196;
@@ -36,19 +36,30 @@ public final class PacketIn {
public static final int INVENTORY_UPDATE = 34;
public static final int JINGLE = 121;
public static final int LOCAL_PLAYER = 249;
public static final int LOC_PLACE = 151;
public static final int LOC_REMOVE = 101;
public static final int LOC_UPDATE = 160;
public static final int LOGIN_INFO = 176;
public static final int MESSAGE = 253;
public static final int MINIMAP_STATE = 99;
public static final int MULTIZONE = 61;
public static final int OBJ_PLACE = 44;
public static final int OBJ_REMOVE = 156;
public static final int OBJ_REVEAL = 215;
public static final int OBJ_UPDATE = 84;
public static final int PLAYER_LOC = 147;
public static final int PLAYER_OPTION = 104;
public static final int PRIVACY_SETTINGS = 206;
public static final int RESTORE_VARS = 68;
public static final int PROJECTILE = 117;
public static final int RESTORE_VARPS = 68;
public static final int SCENE_LOAD = 73;
public static final int SCENE_LOAD_INSTANCED = 241;
public static final int SCENE_RESET_SEQ = 1;
public static final int SKILL = 134;
public static final int SONG = 74;
public static final int SOUND = 174;
public static final int SPATIAL_SOUND = 105;
public static final int SPOTANIM = 4;
public static final int SYNC_NPCS = 65;
public static final int SYNC_PLAYERS = 81;
public static final int SYSTEM_UPDATE = 114;
@@ -66,72 +77,72 @@ public final class PacketIn {
public static final int ZONE_UPDATE = 60;
static {
SIZE[4] = 6;
SIZE[8] = 4;
SIZE[24] = 1;
SIZE[34] = -2;
SIZE[35] = 4;
SIZE[36] = 3;
SIZE[44] = 5;
SIZE[SPOTANIM] = 6;
SIZE[COMPONENT_MODEL] = 4;
SIZE[TAB_HINT] = 1;
SIZE[INVENTORY_UPDATE] = -2;
SIZE[CAMERA_EFFECT] = 4;
SIZE[VARP_BYTE] = 3;
SIZE[OBJ_PLACE] = 5;
SIZE[47] = 6;
SIZE[50] = 9;
SIZE[53] = -2;
SIZE[60] = -2;
SIZE[61] = 1;
SIZE[64] = 2;
SIZE[65] = -2;
SIZE[70] = 6;
SIZE[71] = 3;
SIZE[72] = 2;
SIZE[73] = 4;
SIZE[74] = 2;
SIZE[75] = 4;
SIZE[79] = 4;
SIZE[81] = -2;
SIZE[84] = 7;
SIZE[85] = 2;
SIZE[87] = 6;
SIZE[97] = 2;
SIZE[99] = 1;
SIZE[101] = 2;
SIZE[104] = -1;
SIZE[105] = 4;
SIZE[106] = 1;
SIZE[110] = 1;
SIZE[114] = 2;
SIZE[117] = 15;
SIZE[121] = 4;
SIZE[122] = 4;
SIZE[126] = -2;
SIZE[134] = 6;
SIZE[142] = 2;
SIZE[147] = 14;
SIZE[151] = 4;
SIZE[156] = 3;
SIZE[160] = 4;
SIZE[164] = 2;
SIZE[166] = 6;
SIZE[171] = 3;
SIZE[174] = 5;
SIZE[176] = 10;
SIZE[177] = 6;
SIZE[185] = 2;
SIZE[196] = -1;
SIZE[200] = 4;
SIZE[206] = 3;
SIZE[208] = 2;
SIZE[214] = -2;
SIZE[215] = 7;
SIZE[218] = 2;
SIZE[221] = 1;
SIZE[230] = 8;
SIZE[240] = 2;
SIZE[241] = -2;
SIZE[246] = 6;
SIZE[248] = 4;
SIZE[249] = 3;
SIZE[253] = -1;
SIZE[254] = 6;
SIZE[FRIEND_STATUS] = 9;
SIZE[INVENTORY] = -2;
SIZE[ZONE_UPDATE] = -2;
SIZE[MULTIZONE] = 1;
SIZE[ZONE_CLEAR] = 2;
SIZE[SYNC_NPCS] = -2;
SIZE[COMPONENT_POSITION] = 6;
SIZE[TAB_COMPONENT] = 3;
SIZE[INVENTORY_CLEAR] = 2;
SIZE[SCENE_LOAD] = 4;
SIZE[SONG] = 2;
SIZE[COMPONENT_MODEL_NPC] = 4;
SIZE[COMPONENT_SCROLL_Y] = 4;
SIZE[SYNC_PLAYERS] = -2;
SIZE[OBJ_UPDATE] = 7;
SIZE[ZONE_BASE] = 2;
SIZE[VARP_INT] = 6;
SIZE[VIEWPORT_COMPONENT] = 2;
SIZE[MINIMAP_STATE] = 1;
SIZE[LOC_REMOVE] = 2;
SIZE[PLAYER_OPTION] = -1;
SIZE[SPATIAL_SOUND] = 4;
SIZE[TAB_SELECTED] = 1;
SIZE[ENERGY] = 1;
SIZE[SYSTEM_UPDATE] = 2;
SIZE[PROJECTILE] = 15;
SIZE[JINGLE] = 4;
SIZE[COMPONENT_COLOR] = 4;
SIZE[COMPONENT_TEXT] = -2;
SIZE[SKILL] = 6;
SIZE[COMPONENT_RESET_SEQ] = 2;
SIZE[PLAYER_LOC] = 14;
SIZE[LOC_PLACE] = 4;
SIZE[OBJ_REMOVE] = 3;
SIZE[LOC_UPDATE] = 4;
SIZE[CHAT_COMPONENT] = 2;
SIZE[CAMERA_POSITION] = 6;
SIZE[COMPONENT_HIDDEN] = 3;
SIZE[SOUND] = 5;
SIZE[LOGIN_INFO] = 10;
SIZE[CAMERA_LOOK_AT] = 6;
SIZE[COMPONENT_MODEL_PLAYER] = 2;
SIZE[CHAT_MESSAGE] = -1;
SIZE[COMPONENT_SEQ] = 4;
SIZE[PRIVACY_SETTINGS] = 3;
SIZE[VIEWPORT_OVERLAY_COMPONENT] = 2;
SIZE[IGNORE_LIST] = -2;
SIZE[OBJ_REVEAL] = 7;
SIZE[CHAT_COMPONENT_STICKY] = 2;
SIZE[FRIENDSERVER_STATUS] = 1;
SIZE[COMPONENT_MODEL_ROTATION] = 8;
SIZE[WEIGHT] = 2;
SIZE[SCENE_LOAD_INSTANCED] = -2;
SIZE[COMPONENT_MODEL_OBJ] = 6;
SIZE[VIEWPORT_AND_SIDEBAR_COMPONENTS] = 4;
SIZE[LOCAL_PLAYER] = 3;
SIZE[MESSAGE] = -1;
SIZE[HINT] = 6;
}
private PacketIn() {