<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sylverant.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Protocol%3ACharacter_Data</id>
	<title>Protocol:Character Data - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://sylverant.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Protocol%3ACharacter_Data"/>
	<link rel="alternate" type="text/html" href="https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;action=history"/>
	<updated>2026-04-16T15:57:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=428&amp;oldid=prev</id>
		<title>BlueCrab: BlueCrab moved page Character Data to Protocol:Character Data</title>
		<link rel="alternate" type="text/html" href="https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=428&amp;oldid=prev"/>
		<updated>2021-12-13T05:09:00Z</updated>

		<summary type="html">&lt;p&gt;BlueCrab moved page &lt;a href=&quot;/wiki/index.php?title=Character_Data&quot; class=&quot;mw-redirect&quot; title=&quot;Character Data&quot;&gt;Character Data&lt;/a&gt; to &lt;a href=&quot;/wiki/index.php?title=Protocol:Character_Data&quot; title=&quot;Protocol:Character Data&quot;&gt;Protocol:Character Data&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:09, 13 December 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>BlueCrab</name></author>
	</entry>
	<entry>
		<id>https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=115&amp;oldid=prev</id>
		<title>Fuzziqersoftware at 05:17, 12 January 2010</title>
		<link rel="alternate" type="text/html" href="https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=115&amp;oldid=prev"/>
		<updated>2010-01-12T05:17:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;amp;diff=115&amp;amp;oldid=75&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Fuzziqersoftware</name></author>
	</entry>
	<entry>
		<id>https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=75&amp;oldid=prev</id>
		<title>BlueCrab: Put in the server protocol category.</title>
		<link rel="alternate" type="text/html" href="https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=75&amp;oldid=prev"/>
		<updated>2009-12-29T02:08:16Z</updated>

		<summary type="html">&lt;p&gt;Put in the server protocol category.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:08, 29 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l118&quot;&gt;Line 118:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 118:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#endif /* !PLAYER_H */&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#endif /* !PLAYER_H */&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:PSO Server Protocol]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BlueCrab</name></author>
	</entry>
	<entry>
		<id>https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=74&amp;oldid=prev</id>
		<title>BlueCrab: Add character data page.</title>
		<link rel="alternate" type="text/html" href="https://sylverant.net/wiki/index.php?title=Protocol:Character_Data&amp;diff=74&amp;oldid=prev"/>
		<updated>2009-12-29T02:07:52Z</updated>

		<summary type="html">&lt;p&gt;Add character data page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Since I&amp;#039;m lazy, and don&amp;#039;t feel like doing this the hard way, this is how Sylverant declares character data for PSODC and PSOPC (the relevant struct here is player_t):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/*&lt;br /&gt;
    Sylverant Ship Server&lt;br /&gt;
    Copyright (C) 2009 Lawrence Sebald&lt;br /&gt;
&lt;br /&gt;
    This program is free software: you can redistribute it and/or modify&lt;br /&gt;
    it under the terms of the GNU General Public License version 3 as&lt;br /&gt;
    published by the Free Software Foundation.&lt;br /&gt;
&lt;br /&gt;
    This program is distributed in the hope that it will be useful,&lt;br /&gt;
    but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt;
    GNU General Public License for more details.&lt;br /&gt;
&lt;br /&gt;
    You should have received a copy of the GNU General Public License&lt;br /&gt;
    along with this program.  If not, see &amp;lt;http://www.gnu.org/licenses/&amp;gt;.&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
#ifndef PLAYER_H&lt;br /&gt;
#define PLAYER_H&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;inttypes.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#ifdef PACKED&lt;br /&gt;
#undef PACKED&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
#define PACKED __attribute__((packed))&lt;br /&gt;
&lt;br /&gt;
/* The header attached before the player data when sending to a lobby client. */&lt;br /&gt;
typedef struct dc_player_hdr {&lt;br /&gt;
    uint32_t tag;&lt;br /&gt;
    uint32_t guildcard;&lt;br /&gt;
    uint32_t ip_addr;&lt;br /&gt;
    uint32_t client_id;&lt;br /&gt;
    char name[16];&lt;br /&gt;
} PACKED dc_player_hdr_t;&lt;br /&gt;
&lt;br /&gt;
typedef struct pc_player_hdr {&lt;br /&gt;
    uint32_t tag;&lt;br /&gt;
    uint32_t guildcard;&lt;br /&gt;
    uint32_t ip_addr;&lt;br /&gt;
    uint32_t client_id;&lt;br /&gt;
    uint16_t name[16];&lt;br /&gt;
} PACKED pc_player_hdr_t;&lt;br /&gt;
&lt;br /&gt;
/* These structures heavily based on those in newserv. */&lt;br /&gt;
typedef struct item {&lt;br /&gt;
    uint16_t equipped;&lt;br /&gt;
    uint16_t tech;&lt;br /&gt;
    uint32_t flags;&lt;br /&gt;
&lt;br /&gt;
    union {&lt;br /&gt;
        uint8_t data_b[12];&lt;br /&gt;
        uint16_t data_w[6];&lt;br /&gt;
        uint32_t data_l[3];&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    uint32_t item_id;&lt;br /&gt;
&lt;br /&gt;
    union {&lt;br /&gt;
        uint8_t data2_b[4];&lt;br /&gt;
        uint16_t data2_w[2];&lt;br /&gt;
        uint32_t data2_l;&lt;br /&gt;
    };&lt;br /&gt;
} PACKED item_t;&lt;br /&gt;
&lt;br /&gt;
typedef struct inventory {&lt;br /&gt;
    uint8_t item_count;&lt;br /&gt;
    uint8_t hpmats_used;&lt;br /&gt;
    uint8_t tpmats_used;&lt;br /&gt;
    uint8_t language;&lt;br /&gt;
    item_t items[30];&lt;br /&gt;
} PACKED inventory_t;&lt;br /&gt;
&lt;br /&gt;
typedef struct player {&lt;br /&gt;
    inventory_t inv;&lt;br /&gt;
    uint16_t atp;&lt;br /&gt;
    uint16_t mst;&lt;br /&gt;
    uint16_t evp;&lt;br /&gt;
    uint16_t hp;&lt;br /&gt;
    uint16_t dfp;&lt;br /&gt;
    uint16_t ata;&lt;br /&gt;
    uint16_t lck;&lt;br /&gt;
    uint16_t unk1;&lt;br /&gt;
    uint32_t unk2[2];&lt;br /&gt;
    uint32_t level;&lt;br /&gt;
    uint32_t exp;&lt;br /&gt;
    uint32_t meseta;&lt;br /&gt;
    char name[16];&lt;br /&gt;
    uint32_t unk3[2];&lt;br /&gt;
    uint32_t name_color;&lt;br /&gt;
    uint8_t model;&lt;br /&gt;
    uint8_t unused[15];&lt;br /&gt;
    uint32_t name_color_checksum;&lt;br /&gt;
    uint8_t section;&lt;br /&gt;
    uint8_t ch_class;&lt;br /&gt;
    uint8_t v2flags;&lt;br /&gt;
    uint8_t version;&lt;br /&gt;
    uint32_t v1flags;&lt;br /&gt;
    uint16_t costume;&lt;br /&gt;
    uint16_t skin;&lt;br /&gt;
    uint16_t face;&lt;br /&gt;
    uint16_t head;&lt;br /&gt;
    uint16_t hair;&lt;br /&gt;
    uint16_t hair_r;&lt;br /&gt;
    uint16_t hair_g;&lt;br /&gt;
    uint16_t hair_b;&lt;br /&gt;
    float prop_x;&lt;br /&gt;
    float prop_y;&lt;br /&gt;
    uint8_t config[0x48];&lt;br /&gt;
    uint8_t techniques[0x14];&lt;br /&gt;
} PACKED player_t;&lt;br /&gt;
&lt;br /&gt;
#undef PACKED&lt;br /&gt;
&lt;br /&gt;
#endif /* !PLAYER_H */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>BlueCrab</name></author>
	</entry>
</feed>