1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-25 19:17:45 +00:00
This commit is contained in:
Maru 2018-02-04 17:02:32 -02:00
parent c85009dd6c
commit 1d7ce0d874
5 changed files with 10 additions and 4 deletions

View file

@ -676,6 +676,8 @@ namespace Core {
SetCharaGearParamUI = 0x260,
GearSetEquipMsg = 0x321,
DisableCurrentFestival = 0x386,
ToggleOrchestrionUnlock = 0x396,
Dismount = 0x3a0

View file

@ -1,7 +1,7 @@
#ifndef _CORE_NETWORK_PACKETS_IPCS_H
#define _CORE_NETWORK_PACKETS_IPCS_H
#include<stdint.h>
#include <stdint.h>
namespace Core {
namespace Network {
@ -72,8 +72,11 @@ namespace Packets {
Playtime = 0x00DF, // updated 4.2
CFRegistered = 0x00B8, // updated 4.1
SocialRequestResponse = 0x00BB, // updated 4.1
Chat = 0x00E1, // updated 4.2
SocialRequestResponse = 0x00E5, // updated 4.1
SocialRequestReceive = 0x00E6, // updated 4.2
SocialList = 0x00E7, // updated 4.2
UpdateSearchInfo = 0x00EA, // updated 4.2

View file

@ -29,6 +29,7 @@
#include "Script/ScriptManager.h"
#include "Social/Manager/SocialMgr.h>
#include "Social/FriendList.h"
#include "Script/ScriptManager.h"

View file

@ -453,7 +453,7 @@ void Core::Network::GameConnection::socialListHandler( const Packets::GamePacket
listPacket.data().entries[0].contentId = player.getContentId();
listPacket.data().entries[0].level = player.getLevel();
listPacket.data().entries[0].zoneId = player.getCurrentZone()->getTerritoryId();
listPacket.data().entries[0].zoneId1 = 0x0100;
// listPacket.data().entries[0].zoneId1 = 0x0100;
// TODO: no idea what this does
//listPacket.data().entries[0].one = 1;

View file

@ -141,7 +141,7 @@ Core::Network::Packets::Server::PlayerEntry Group::generatePlayerEntry( GroupMem
entry.classJob = pPlayer->getClass();
entry.level = pPlayer->getLevel();
entry.zoneId = pPlayer->getCurrentZone()->getId();
entry.zoneId = pPlayer->getCurrentZone()->getGuId();
entry.grandCompany = pPlayer->getGc();
memcpy( &entry.fcTag[0], "Meme", 4 );
entry.clientLanguage = 2;