You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/char/packets_hc_struct.h
+1
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@
23
23
#include"common/hercules.h"
24
24
#include"common/mmo.h"
25
25
#include"common/packetsstatic_len.h"
26
+
#include"common/packetsmacro.h"
26
27
27
28
/* Packets Structs */
28
29
#if !defined(sun) && (!defined(__NETBSD__) ||__NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
Copy file name to clipboardexpand all lines: src/common/charloginpackets.h
+8
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,20 @@
24
24
// Packets sent by Char-Server to Login-Server
25
25
26
26
#include"common/hercules.h"
27
+
#include"common/packetsmacro.h"
27
28
28
29
/* Packets Structs */
29
30
#if !defined(sun) && (!defined(__NETBSD__) ||__NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
30
31
#pragma pack(push, 1)
31
32
#endif// not NetBSD < 6 / Solaris
32
33
34
+
structPACKET_CHARLOGIN_SET_ACCOUNT_ONLINE {
35
+
int16packetType;
36
+
intaccount_id;
37
+
uint8standalone; // 0 - real player (false) / 1 - standalone/server generated (true)
Copy file name to clipboardexpand all lines: src/common/charmappackets.h
+1
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@
23
23
#defineCOMMON_CHARMAPPACKETS_H
24
24
25
25
#include"common/hercules.h"
26
+
#include"common/packetsmacro.h"
26
27
27
28
/* Packets Structs */
28
29
#if !defined(sun) && (!defined(__NETBSD__) ||__NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
Copy file name to clipboardexpand all lines: src/common/mapcharpackets.h
+12
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,24 @@
23
23
#defineCOMMON_MAPCHARPACKETS_H
24
24
25
25
#include"common/hercules.h"
26
+
#include"common/packetsmacro.h"
26
27
27
28
/* Packets Structs */
28
29
#if !defined(sun) && (!defined(__NETBSD__) ||__NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
29
30
#pragma pack(push, 1)
30
31
#endif// not NetBSD < 6 / Solaris
31
32
33
+
structPACKET_MAPCHAR_AUTH_REQ {
34
+
int16packetType;
35
+
intaccount_id;
36
+
intchar_id;
37
+
intlogin_id1;
38
+
uint8sex;
39
+
intclient_addr;
40
+
uint8standalone; // 0 - real player (false) / 1 - standalone/server generated (true)
0 commit comments