summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-SVN.txt5
-rw-r--r--eAthena.sln37
-rw-r--r--src/char/char.c21
-rw-r--r--src/char/int_guild.c8
-rw-r--r--src/char/int_party.c4
-rw-r--r--src/char/inter.c8
-rw-r--r--src/login/login.c2
-rw-r--r--src/login_sql/login.c2
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/mail.c2
-rw-r--r--src/map/skill.c1
-rw-r--r--vcproj/char-server_txt.vcproj179
-rw-r--r--vcproj/login-server_txt.vcproj167
-rw-r--r--vcproj/map-server_txt.vcproj377
14 files changed, 797 insertions, 18 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index 527b8e7f5..d4ebdfe8b 100644
--- a/Changelog-SVN.txt
+++ b/Changelog-SVN.txt
@@ -2,6 +2,11 @@
Date Added
03/30
+ * text char-server and login-server now build using VC7. You
+ can use the eAthena.sln solution to build all three. These
+ are currently just the text versions of the servers. I have
+ not added projects yet to build the sql versions.
+ [SVN: 1357 MouseJstr]
* Made the map-server build cleanly using Microsoft Visual
Studio.. entirely native code without any cygwin dependency
[SVN: 1345 MouseJstr]
diff --git a/eAthena.sln b/eAthena.sln
new file mode 100644
index 000000000..830da50d5
--- /dev/null
+++ b/eAthena.sln
@@ -0,0 +1,37 @@
+Microsoft Visual Studio Solution File, Format Version 8.00
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "map-server_txt", "vcproj\map-server_txt.vcproj", "{D356871D-58E1-450B-967A-E1E9646175AF}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "login-server_txt", "vcproj\login-server_txt.vcproj", "{D356871D-58E1-450B-967A-E2E9646175AF}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "char-server_txt", "vcproj\char-server_txt.vcproj", "{D356871D-58E1-450B-967A-E3E9646175AF}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfiguration) = preSolution
+ Debug = Debug
+ Release = Release
+ EndGlobalSection
+ GlobalSection(ProjectConfiguration) = postSolution
+ {D356871D-58E1-450B-967A-E1E9646175AF}.Debug.ActiveCfg = Debug|Win32
+ {D356871D-58E1-450B-967A-E1E9646175AF}.Debug.Build.0 = Debug|Win32
+ {D356871D-58E1-450B-967A-E1E9646175AF}.Release.ActiveCfg = Release|Win32
+ {D356871D-58E1-450B-967A-E1E9646175AF}.Release.Build.0 = Release|Win32
+ {D356871D-58E1-450B-967A-E2E9646175AF}.Debug.ActiveCfg = Debug|Win32
+ {D356871D-58E1-450B-967A-E2E9646175AF}.Debug.Build.0 = Debug|Win32
+ {D356871D-58E1-450B-967A-E2E9646175AF}.Release.ActiveCfg = Release|Win32
+ {D356871D-58E1-450B-967A-E2E9646175AF}.Release.Build.0 = Release|Win32
+ {D356871D-58E1-450B-967A-E3E9646175AF}.Debug.ActiveCfg = Debug|Win32
+ {D356871D-58E1-450B-967A-E3E9646175AF}.Debug.Build.0 = Debug|Win32
+ {D356871D-58E1-450B-967A-E3E9646175AF}.Release.ActiveCfg = Release|Win32
+ {D356871D-58E1-450B-967A-E3E9646175AF}.Release.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ EndGlobalSection
+ GlobalSection(ExtensibilityAddIns) = postSolution
+ EndGlobalSection
+EndGlobal
diff --git a/src/char/char.c b/src/char/char.c
index b2fc12ddb..1a5fa49e8 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -2,19 +2,26 @@
// original : char2.c 2003/03/14 11:58:35 Rev.1.5
#include <sys/types.h>
-#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
+
+#ifdef _WIN32
+#include <winsock.h>
+typedef long in_addr_t;
+#else
+#include <sys/socket.h>
#include <netinet/in.h>
-#include <sys/time.h>
-#include <time.h>
+#include <arpa/inet.h>
+#include <netdb.h>
#include <sys/ioctl.h>
+#include <sys/time.h>
#include <unistd.h>
+#endif
+
+#include <time.h>
#include <signal.h>
#include <fcntl.h>
#include <string.h>
-#include <arpa/inet.h>
-#include <netdb.h>
#include <stdarg.h>
#include "../common/strlib.h"
@@ -1073,7 +1080,7 @@ void create_online_files(void) {
char temp[256]; // to prepare what we must display
time_t time_server; // for number of seconds
struct tm *datetime; // variable for time in structure ->tm_mday, ->tm_sec, ...
- int id[online_players_max];
+ int id[4096];
// don't return here if we display nothing, because server[j].users is updated in the first loop.
@@ -1822,7 +1829,7 @@ int parse_tologin(int fd) {
char_log("'ladmin': Receiving a message for broadcast, but no map-server is online." RETCODE);
else {
unsigned char buf[128];
- char message[RFIFOL(fd,4) + 1]; // +1 to add a null terminated if not exist in the packet
+ char message[4096]; // +1 to add a null terminated if not exist in the packet
int lp;
char *p;
memset(message, '\0', sizeof(message));
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index 8b9de1a89..95f0cf099 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -731,7 +731,7 @@ int mapif_guild_noinfo(int fd, int guild_id) {
// ギルド情報まとめ送り
int mapif_guild_info(int fd, struct guild *g) {
- unsigned char buf[4 + sizeof(struct guild)];
+ unsigned char buf[2048];
WBUFW(buf,0) = 0x3831;
memcpy(buf + 4, g, sizeof(struct guild));
@@ -805,7 +805,7 @@ int mapif_guild_broken(int guild_id, int flag) {
// ギルド内発言
int mapif_guild_message(int guild_id, int account_id, char *mes, int len, int sfd) {
- unsigned char buf[len+12];
+ unsigned char buf[2048];
WBUFW(buf,0) = 0x3837;
WBUFW(buf,2) = len + 12;
@@ -832,7 +832,7 @@ int mapif_guild_basicinfochanged(int guild_id, int type, const void *data, int l
// ギルドメンバ情報変更通知
int mapif_guild_memberinfochanged(int guild_id, int account_id, int char_id, int type, const void *data, int len) {
- unsigned char buf[len + 18];
+ unsigned char buf[4096];
WBUFW(buf, 0) = 0x383a;
WBUFW(buf, 2) = len + 18;
@@ -878,7 +878,7 @@ int mapif_guild_alliance(int guild_id1, int guild_id2, int account_id1, int acco
// ギルド役職変更通知
int mapif_guild_position(struct guild *g, int idx) {
- unsigned char buf[sizeof(struct guild_position) + 12];
+ unsigned char buf[2048];
WBUFW(buf,0) = 0x383b;
WBUFW(buf,2) = sizeof(struct guild_position) + 12;
diff --git a/src/char/int_party.c b/src/char/int_party.c
index 8c87f2cb4..31f489d2e 100644
--- a/src/char/int_party.c
+++ b/src/char/int_party.c
@@ -281,7 +281,7 @@ int mapif_party_noinfo(int fd, int party_id) {
// パ?ティ情報まとめ送り
int mapif_party_info(int fd, struct party *p) {
- unsigned char buf[4 + sizeof(struct party)];
+ unsigned char buf[2048];
WBUFW(buf,0) = 0x3821;
memcpy(buf + 4, p, sizeof(struct party));
@@ -368,7 +368,7 @@ int mapif_party_broken(int party_id, int flag) {
// パ?ティ??言
int mapif_party_message(int party_id, int account_id, char *mes, int len, int sfd) {
- unsigned char buf[len+12];
+ unsigned char buf[2048];
WBUFW(buf,0) = 0x3827;
WBUFW(buf,2) = len + 12;
diff --git a/src/char/inter.c b/src/char/inter.c
index a6893aecc..0dca38559 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -296,7 +296,7 @@ int inter_mapif_init(int fd) {
// GMメッセージ送信
int mapif_GMmessage(unsigned char *mes, int len, int sfd) {
- unsigned char buf[len];
+ unsigned char buf[2048];
WBUFW(buf,0) = 0x3800;
WBUFW(buf,2) = len;
@@ -309,7 +309,7 @@ int mapif_GMmessage(unsigned char *mes, int len, int sfd) {
// Wisp/page transmission to all map-server
int mapif_wis_message(struct WisData *wd) {
- unsigned char buf[56 + wd->len];
+ unsigned char buf[2048];
WBUFW(buf, 0) = 0x3801;
WBUFW(buf, 2) = 56 + wd->len;
@@ -337,7 +337,7 @@ int mapif_wis_end(struct WisData *wd, int flag) {
// アカウント変数送信
int mapif_account_reg(int fd, unsigned char *src) {
- unsigned char buf[WBUFW(src,2)];
+ unsigned char buf[2048];
memcpy(WBUFP(buf,0),src,WBUFW(src,2));
WBUFW(buf, 0) = 0x3804;
@@ -489,7 +489,7 @@ int mapif_parse_WisReply(int fd) {
// Received wisp message from map-server for ALL gm (just copy the message and resends it to ALL map-servers)
int mapif_parse_WisToGM(int fd) {
- unsigned char buf[RFIFOW(fd,2)]; // 0x3003/0x3803 <packet_len>.w <wispname>.24B <min_gm_level>.w <message>.?B
+ unsigned char buf[2048]; // 0x3003/0x3803 <packet_len>.w <wispname>.24B <min_gm_level>.w <message>.?B
memcpy(WBUFP(buf,0), RFIFOP(fd,0), RFIFOW(fd,2));
WBUFW(buf, 0) = 0x3803;
diff --git a/src/login/login.c b/src/login/login.c
index 747fe0a94..7dafc7443 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -2841,6 +2841,8 @@ int parse_login(int fd) {
sprintf(ip, "%d.%d.%d.%d", p[0], p[1], p[2], p[3]);
+ memset(&account, 0, sizeof(account));
+
if (session[fd]->eof) {
close(fd);
delete_session(fd);
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 85f08391d..414b0efda 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -1134,6 +1134,8 @@ int parse_login(int fd) {
sprintf(ip, "%d.%d.%d.%d", p[0], p[1], p[2], p[3]);
+ memset(&account, 0, sizeof(account));
+
if (ipban > 0) {
//ip ban
//p[0], p[1], p[2], p[3]
diff --git a/src/map/clif.c b/src/map/clif.c
index 20db97554..3761f52bf 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10871,7 +10871,7 @@ static int packetdb_readdb(void)
char line[1024];
int ln=0;
int cmd,j,k,packet_ver;
- char *str[32],*p,*str2[32],*p2,w1[24],w2[24];
+ char *str[64],*p,*str2[64],*p2,w1[64],w2[64];
struct {
void (*func)(int, struct map_session_data *);
diff --git a/src/map/mail.c b/src/map/mail.c
index 46e80be9f..42a83de52 100644
--- a/src/map/mail.c
+++ b/src/map/mail.c
@@ -1,3 +1,4 @@
+#ifndef TXT_ONLY
// Mail System for eAthena SQL
// Created by Valaris
// moved all strings to msg_athena.conf [Lupus]
@@ -333,3 +334,4 @@ int do_init_mail(void)
return 0;
}
+#endif
diff --git a/src/map/skill.c b/src/map/skill.c
index b6010f151..0ea0c81fa 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9394,6 +9394,7 @@ int skill_readdb(void)
printf("can't read db/skill_unit_db.txt\n");
return 1;
}
+ k = 0;
while (fgets(line,1020,fp)) {
char *split[50];
if (line[0]=='/' && line[1]=='/')
diff --git a/vcproj/char-server_txt.vcproj b/vcproj/char-server_txt.vcproj
new file mode 100644
index 000000000..809c06124
--- /dev/null
+++ b/vcproj/char-server_txt.vcproj
@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="char-server_txt"
+ ProjectGUID="{D356871D-58E1-450B-967A-E3E9646175AF}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug-char"
+ IntermediateDirectory="Debug-char"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\src\common;;src\zlib"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="5"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="WSOCK32.lib"
+ OutputFile="..\char-server.exe"
+ LinkIncremental="2"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/eAthena.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release-char"
+ IntermediateDirectory="Release-char"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="3"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/eAthena.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath="..\src\char\char.c">
+ </File>
+ <File
+ RelativePath="..\src\common\core.c">
+ </File>
+ <File
+ RelativePath="..\src\common\db.c">
+ </File>
+ <File
+ RelativePath="..\src\char\int_guild.c">
+ </File>
+ <File
+ RelativePath="..\src\char\int_party.c">
+ </File>
+ <File
+ RelativePath="..\src\char\int_pet.c">
+ </File>
+ <File
+ RelativePath="..\src\char\int_storage.c">
+ </File>
+ <File
+ RelativePath="..\src\char\inter.c">
+ </File>
+ <File
+ RelativePath="..\src\common\lock.c">
+ </File>
+ <File
+ RelativePath="..\src\common\malloc.c">
+ </File>
+ <File
+ RelativePath="..\src\common\nullpo.c">
+ </File>
+ <File
+ RelativePath="..\src\common\showmsg.c">
+ </File>
+ <File
+ RelativePath="..\src\common\socket.c">
+ </File>
+ <File
+ RelativePath="..\src\common\strlib.c">
+ </File>
+ <File
+ RelativePath="..\src\common\timer.c">
+ </File>
+ <File
+ RelativePath="..\src\common\utils.c">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/vcproj/login-server_txt.vcproj b/vcproj/login-server_txt.vcproj
new file mode 100644
index 000000000..679c06cc7
--- /dev/null
+++ b/vcproj/login-server_txt.vcproj
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="login-server_txt"
+ ProjectGUID="{D356871D-58E1-450B-967A-E2E9646175AF}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug-login"
+ IntermediateDirectory="Debug-login"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="src\common;src\map;src\zlib"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="5"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="WSOCK32.lib"
+ OutputFile="..\login-server.exe"
+ LinkIncremental="2"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/eAthena.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release-login"
+ IntermediateDirectory="Release-login"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="3"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/eAthena.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath="..\src\common\core.c">
+ </File>
+ <File
+ RelativePath="..\src\common\db.c">
+ </File>
+ <File
+ RelativePath="..\src\common\lock.c">
+ </File>
+ <File
+ RelativePath="..\src\login\login.c">
+ </File>
+ <File
+ RelativePath="..\src\common\malloc.c">
+ </File>
+ <File
+ RelativePath="..\src\login\md5calc.c">
+ </File>
+ <File
+ RelativePath="..\src\common\nullpo.c">
+ </File>
+ <File
+ RelativePath="..\src\common\showmsg.c">
+ </File>
+ <File
+ RelativePath="..\src\common\socket.c">
+ </File>
+ <File
+ RelativePath="..\src\common\strlib.c">
+ </File>
+ <File
+ RelativePath="..\src\common\timer.c">
+ </File>
+ <File
+ RelativePath="..\src\common\utils.c">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/vcproj/map-server_txt.vcproj b/vcproj/map-server_txt.vcproj
new file mode 100644
index 000000000..3387ea695
--- /dev/null
+++ b/vcproj/map-server_txt.vcproj
@@ -0,0 +1,377 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="map-server_txt"
+ ProjectGUID="{D356871D-58E1-450B-967A-E1E9646175AF}"
+ Keyword="Win32Proj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug-map"
+ IntermediateDirectory="Debug-map"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\src\common;..\src\map;..\src\zlib"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_WIN32;PACKETVER=6;TXT_ONLY;NEW_006b;__WIN32;LOCALZLIB"
+ MinimalRebuild="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="5"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="4"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="WSOCK32.lib"
+ OutputFile="..\map-server.exe"
+ LinkIncremental="2"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/eAthena.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release-map"
+ IntermediateDirectory="Release-map"
+ ConfigurationType="1"
+ CharacterSet="2">
+ <Tool
+ Name="VCCLCompilerTool"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="4"
+ UsePrecompiledHeader="3"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="TRUE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/eAthena.exe"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCXMLDataGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ <Tool
+ Name="VCManagedWrapperGeneratorTool"/>
+ <Tool
+ Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+ <File
+ RelativePath="..\src\zlib\adler32.c">
+ </File>
+ <File
+ RelativePath="..\src\map\atcommand.c">
+ </File>
+ <File
+ RelativePath="..\src\map\battle.c">
+ </File>
+ <File
+ RelativePath="..\src\map\charcommand.c">
+ </File>
+ <File
+ RelativePath="..\src\map\chat.c">
+ </File>
+ <File
+ RelativePath="..\src\map\chrif.c">
+ </File>
+ <File
+ RelativePath="..\src\map\clif.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\compress.c">
+ </File>
+ <File
+ RelativePath="..\src\common\core.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\crc32.c">
+ </File>
+ <File
+ RelativePath="..\src\common\db.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\deflate.c">
+ </File>
+ <File
+ RelativePath="..\src\common\grfio.c">
+ </File>
+ <File
+ RelativePath="..\src\map\guild.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\inffast.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\inflate.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\inftrees.c">
+ </File>
+ <File
+ RelativePath="..\src\map\intif.c">
+ </File>
+ <File
+ RelativePath="..\src\map\itemdb.c">
+ </File>
+ <File
+ RelativePath="..\src\common\lock.c">
+ </File>
+ <File
+ RelativePath="..\src\map\log.c">
+ </File>
+ <File
+ RelativePath="..\src\map\mail.c">
+ </File>
+ <File
+ RelativePath="..\src\common\malloc.c">
+ </File>
+ <File
+ RelativePath="..\src\map\map.c">
+ </File>
+ <File
+ RelativePath="..\src\map\mob.c">
+ </File>
+ <File
+ RelativePath="..\src\map\npc.c">
+ </File>
+ <File
+ RelativePath="..\src\map\npc_chat.c">
+ </File>
+ <File
+ RelativePath="..\src\common\nullpo.c">
+ </File>
+ <File
+ RelativePath="..\src\map\party.c">
+ </File>
+ <File
+ RelativePath="..\src\map\path.c">
+ </File>
+ <File
+ RelativePath="..\src\map\pc.c">
+ </File>
+ <File
+ RelativePath="..\src\map\pet.c">
+ </File>
+ <File
+ RelativePath="..\src\map\script.c">
+ </File>
+ <File
+ RelativePath="..\src\common\showmsg.c">
+ </File>
+ <File
+ RelativePath="..\src\map\skill.c">
+ </File>
+ <File
+ RelativePath="..\src\common\socket.c">
+ </File>
+ <File
+ RelativePath="..\src\map\status.c">
+ </File>
+ <File
+ RelativePath="..\src\map\storage.c">
+ </File>
+ <File
+ RelativePath="..\src\common\strlib.c">
+ </File>
+ <File
+ RelativePath="..\src\common\timer.c">
+ </File>
+ <File
+ RelativePath="..\src\map\trade.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\trees.c">
+ </File>
+ <File
+ RelativePath="..\src\common\utils.c">
+ </File>
+ <File
+ RelativePath="..\src\map\vending.c">
+ </File>
+ <File
+ RelativePath="..\src\zlib\zutil.c">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+ <File
+ RelativePath="..\src\map\atcommand.h">
+ </File>
+ <File
+ RelativePath="..\src\map\battle.h">
+ </File>
+ <File
+ RelativePath="..\src\common\buffer.h">
+ </File>
+ <File
+ RelativePath="..\src\map\charcommand.h">
+ </File>
+ <File
+ RelativePath="..\src\map\chat.h">
+ </File>
+ <File
+ RelativePath="..\src\map\chrif.h">
+ </File>
+ <File
+ RelativePath="..\src\map\clif.h">
+ </File>
+ <File
+ RelativePath="..\src\common\core.h">
+ </File>
+ <File
+ RelativePath="..\src\common\db.h">
+ </File>
+ <File
+ RelativePath="..\src\common\grfio.h">
+ </File>
+ <File
+ RelativePath="..\src\map\guild.h">
+ </File>
+ <File
+ RelativePath="..\src\map\intif.h">
+ </File>
+ <File
+ RelativePath="..\src\map\itemdb.h">
+ </File>
+ <File
+ RelativePath="..\src\common\lock.h">
+ </File>
+ <File
+ RelativePath="..\src\map\log.h">
+ </File>
+ <File
+ RelativePath="..\src\map\mail.h">
+ </File>
+ <File
+ RelativePath="..\src\common\malloc.h">
+ </File>
+ <File
+ RelativePath="..\src\map\map.h">
+ </File>
+ <File
+ RelativePath="..\src\common\mmo.h">
+ </File>
+ <File
+ RelativePath="..\src\map\mob.h">
+ </File>
+ <File
+ RelativePath="..\src\map\npc.h">
+ </File>
+ <File
+ RelativePath="..\src\common\nullpo.h">
+ </File>
+ <File
+ RelativePath="..\src\map\party.h">
+ </File>
+ <File
+ RelativePath="..\src\map\pc.h">
+ </File>
+ <File
+ RelativePath="..\src\map\pet.h">
+ </File>
+ <File
+ RelativePath="..\src\map\script.h">
+ </File>
+ <File
+ RelativePath="..\src\common\showmsg.h">
+ </File>
+ <File
+ RelativePath="..\src\map\skill.h">
+ </File>
+ <File
+ RelativePath="..\src\common\socket.h">
+ </File>
+ <File
+ RelativePath="..\src\map\status.h">
+ </File>
+ <File
+ RelativePath="..\src\map\storage.h">
+ </File>
+ <File
+ RelativePath="..\src\common\strlib.h">
+ </File>
+ <File
+ RelativePath="..\src\common\timer.h">
+ </File>
+ <File
+ RelativePath="..\src\map\trade.h">
+ </File>
+ <File
+ RelativePath="..\src\common\utils.h">
+ </File>
+ <File
+ RelativePath="..\src\map\vending.h">
+ </File>
+ <File
+ RelativePath="..\src\common\version.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>