Merge branch 'master' of github.com:rathena/rathena

This commit is contained in:
lighta 2013-11-26 00:00:25 -05:00
commit 2ddf95230b
24 changed files with 2129 additions and 172 deletions

7
.gitignore vendored
View File

@ -87,6 +87,13 @@
/tools/*.ilk /tools/*.ilk
/tools/*.pdb /tools/*.pdb
# /vcproj-13/
/vcproj-13/char-server_sql
/vcproj-13/login-server_sql
/vcproj-13/mapcache
/vcproj-13/map-server_sql
/vcproj-13/*.user
# /vcproj-12/ # /vcproj-12/
/vcproj-12/char-server_sql /vcproj-12/char-server_sql
/vcproj-12/login-server_sql /vcproj-12/login-server_sql

View File

@ -707,7 +707,8 @@
705: %s is VIP for %d years, %d months, %d days, %d hours and %d minutes. 705: %s is VIP for %d years, %d months, %d days, %d hours and %d minutes.
706: This player is now VIP for %d years, %d months, %d days, %d hours and %d minutes. 706: This player is now VIP for %d years, %d months, %d days, %d hours and %d minutes.
707: You are VIP until 707: You are VIP until
//708-899 free 708: Player '%s' is now VIP until :
//709-899 free
//------------------------------------ //------------------------------------
// More atcommands message // More atcommands message

View File

@ -295,7 +295,7 @@
2289,0,2355,20,0,0,0,0,"Verit Hunting (Nightmare)" 2289,0,2355,20,0,0,0,0,"Verit Hunting (Nightmare)"
2290,82800,0,0,0,0,0,0,"Verit Hunting - Cooldown" 2290,82800,0,0,0,0,0,0,"Verit Hunting - Cooldown"
2291,82800,0,0,0,0,0,0,"Mummy Hunting - Cooldown" 2291,82800,0,0,0,0,0,0,"Mummy Hunting - Cooldown"
2292,0,2354,20,0,0,0,0,"Mummy Hunting (Nightmare)" 2292,0,2360,20,0,0,0,0,"Mummy Hunting (Nightmare)"
// New Novice Ground // New Novice Ground
2299,0,0,0,0,0,0,0,"Training Center: Talk to Lisa" 2299,0,0,0,0,0,0,0,"Training Center: Talk to Lisa"

View File

@ -1505,20 +1505,20 @@
2357,G_N_MIMIC,Nightmare Mimic,Nightmare Mimic,137,63101,1,0,0,1,1345,1758,210,40,71,180,35,21,61,0,10,12,1,0,60,0x3795,100,972,500,288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2357,G_N_MIMIC,Nightmare Mimic,Nightmare Mimic,137,63101,1,0,0,1,1345,1758,210,40,71,180,35,21,61,0,10,12,1,0,60,0x3795,100,972,500,288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2358,N_ARCLOUSE,Nightmare Arclouse,Nightmare Arclouse,134,48013,1,2506,2303,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,1096,3500,938,3000,943,800,912,500,716,300,997,20,912,2500,0,0,0,0,4240,1 2358,N_ARCLOUSE,Nightmare Arclouse,Nightmare Arclouse,134,48013,1,2506,2303,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,1096,3500,938,3000,943,800,912,500,716,300,997,20,912,2500,0,0,0,0,4240,1
2359,G_N_ARCLOUSE,Nightmare Arclouse,Nightmare Arclouse,134,48013,1,0,0,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2359,G_N_ARCLOUSE,Nightmare Arclouse,Nightmare Arclouse,134,48013,1,0,0,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2360,N_ANCIENT_MUMMY,Nightmare Ancient Mummy,Nightmare Ancient Mummy,141,90157,1,4712,4001,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,930,4500,934,1800,2624,2,2611,150,13735,10,756,150,757,100,0,0,0,0,4248,1 2360,N_ANCIENT_MUMMY,Nightmare Ancient Mummy,Nightmare Ancient Mummy,141,90157,1,4712,4001,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,930,4500,934,1800,2624,2,2611,150,12735,10,756,150,757,100,0,0,0,0,4248,1
2361,G_N_ANCIENT_MUMMY,Nightmare Ancient Mummy,Nightmare Ancient Mummy,141,90157,1,0,0,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2361,G_N_ANCIENT_MUMMY,Nightmare Ancient Mummy,Nightmare Ancient Mummy,141,90157,1,0,0,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2362,N_AMON_RA,Nightmare Amon Ra,Nightmare Amon Ra,145,2515784,1,1626487,1302087,3,4106,7307,367,301,86,89,120,131,101,92,14,12,2,7,62,0x1A4,170,854,2016,480,813243,607,5500,608,3500,732,5500,5053,150,2615,50,7211,7000,985,3800,616,400,1552,10,607,3000,0,0,0,0,4236,1 2362,N_AMON_RA,Nightmare Amon Ra,Nightmare Amon Ra,145,2515784,1,1626487,1302087,3,4106,7307,367,301,86,89,120,131,101,92,14,12,2,7,62,0x1A4,170,854,2016,480,813243,607,5500,608,3500,732,5500,5053,150,2615,50,7211,7000,985,3800,616,400,1552,10,607,3000,0,0,0,0,4236,1
// Eclage (14.2) // Eclage (14.2)
2363,MENBLATT,Menblatt,Menblatt,143,82200,1,4150,3421,3,816,1017,79,50,70,68,40,55,108,30,10,12,1,4,44,0x3795,145,472,1056,480,0,0,0,0,0,0,0,6516,2000,6524,50,6499,2000,15051,1000,2169,100,969,2000,6499,10000,0,0,0,0,0,0 2363,MENBLATT,Menblatt,Menblatt,143,82200,1,4150,3421,3,816,1017,79,50,70,68,40,55,108,30,10,12,1,4,44,0x3795,145,472,1056,480,0,0,0,0,0,0,0,6557,4000,7168,2000,7163,4608,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2364,PETAL,Petal,Petal,141,81031,1,4058,3361,1,671,844,73,33,70,82,55,45,108,25,10,12,1,2,24,0x3795,200,1500,768,480,0,0,0,0,0,0,0,6558,2000,12346,1000,1026,1000,6089,250,0,0,0,0,0,0,0,0,0,0,0,0 2364,PETAL,Petal,Petal,141,81031,1,4058,3361,1,671,844,73,33,70,82,55,45,108,25,10,12,1,2,24,0x3795,200,1500,768,480,0,0,0,0,0,0,0,6558,4000,12346,2000,1026,2000,6089,500,0,0,0,0,0,0,0,0,0,0,0,0
2365,CENERE,Cenere,Cenere,146,130131,1,7117,5712,1,1802,2833,87,81,67,39,30,35,95,45,10,12,0,3,24,0x3795,300,1500,720,360,0,0,0,0,0,0,0,6561,2000,7322,500,7001,1500,7320,1000,0,0,0,0,0,0,0,0,0,0,0,0 2365,CENERE,Cenere,Cenere,146,130131,1,7117,5712,1,1802,2833,87,81,67,39,30,35,95,45,10,12,0,3,24,0x3795,300,1500,720,360,0,0,0,0,0,0,0,6561,4000,7322,1000,7001,3000,7320,2000,0,0,0,0,0,0,0,0,0,0,0,0
2366,ANTIQUE_BOOK,Antique Book,Antique Book,148,134615,1,7225,5870,1,1861,3074,74,42,67,53,32,44,125,5,10,12,0,0,60,0x3795,150,864,960,480,0,0,0,0,0,0,0,6560,2000,7015,1000,1097,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2366,ANTIQUE_BOOK,Antique Book,Antique Book,148,134615,1,7225,5870,1,1861,3074,74,42,67,53,32,44,125,5,10,12,0,0,60,0x3795,150,864,960,480,0,0,0,0,0,0,0,6560,4000,7015,2000,1097,2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2367,LICHTERN_B,Blue Lichtern,Blue Lichtern,149,131211,1,7187,5701,1,1513,2923,76,41,124,74,60,55,92,50,10,12,0,0,81,0x3795,150,480,1728,480,0,0,0,0,0,0,0,1000,1000,1001,1000,995,20,12812,5,0,0,0,0,0,0,0,0,0,0,0,0 2367,LICHTERN_B,Blue Lichtern,Blue Lichtern,149,131211,1,7187,5701,1,1513,2923,76,41,124,74,60,55,92,50,10,12,0,0,81,0x3795,150,480,1728,480,0,0,0,0,0,0,0,1000,2000,1001,2000,995,40,12812,10,0,0,0,0,0,0,0,0,0,0,0,0
2368,LICHTERN_Y,Yellow Lichtern,Yellow Lichtern,147,131513,1,7071,5810,1,1416,2977,84,51,141,94,75,91,144,50,10,12,0,0,88,0x3795,150,0,3456,480,0,0,0,0,0,0,0,1000,1000,1001,1000,997,20,12815,5,0,0,0,0,0,0,0,0,0,0,0,0 2368,LICHTERN_Y,Yellow Lichtern,Yellow Lichtern,147,131513,1,7071,5810,1,1416,2977,84,51,141,94,75,91,144,50,10,12,0,0,88,0x3795,150,0,3456,480,0,0,0,0,0,0,0,1000,2000,1001,2000,997,40,12815,10,0,0,0,0,0,0,0,0,0,0,0,0
2369,LICHTERN_R,Red Lichtern,Red Lichtern,149,135718,1,7201,6013,1,1647,3096,111,53,147,77,66,65,133,50,10,12,0,0,83,0x3795,150,0,4032,480,0,0,0,0,0,0,0,1000,1000,1001,1000,994,20,12813,5,0,0,0,0,0,0,0,0,0,0,0,0 2369,LICHTERN_R,Red Lichtern,Red Lichtern,149,135718,1,7201,6013,1,1647,3096,111,53,147,77,66,65,133,50,10,12,0,0,83,0x3795,150,0,4032,480,0,0,0,0,0,0,0,1000,2000,1001,2000,994,40,12813,10,0,0,0,0,0,0,0,0,0,0,0,0
2370,LICHTERN_G,Green Lichtern,Green Lichtern,151,133451,1,7214,5710,1,1547,3141,120,57,121,60,58,62,102,50,10,12,0,0,82,0x3795,100,0,2304,480,0,0,0,0,0,0,0,1000,1000,1001,1000,996,20,12814,5,0,0,0,0,0,0,0,0,0,0,0,0 2370,LICHTERN_G,Green Lichtern,Green Lichtern,151,133451,1,7214,5710,1,1547,3141,120,57,121,60,58,62,102,50,10,12,0,0,82,0x3795,100,0,2304,480,0,0,0,0,0,0,0,1000,2000,1001,2000,996,40,12814,10,0,0,0,0,0,0,0,0,0,0,0,0
2371,FAITHFUL_MANAGER,Faithful Manager,Faithful Manager,155,151548,1,8676,6501,3,2091,3698,204,141,80,28,40,25,88,45,10,12,2,0,80,0x3795,200,480,1536,480,0,0,0,0,0,0,0,6559,2000,12353,1000,970,25,971,25,0,0,0,0,0,0,0,0,0,0,0,0 2371,FAITHFUL_MANAGER,Faithful Manager,Faithful Manager,155,151548,1,8676,6501,3,2091,3698,204,141,80,28,40,25,88,45,10,12,2,0,80,0x3795,200,480,1536,480,0,0,0,0,0,0,0,6559,4000,12353,2000,970,50,971,50,0,0,0,0,0,0,0,0,0,0,0,0
// Additional Monsters // Additional Monsters
2372,SOIL,Soil,Soil,1,15,0,0,0,1,1,2,100,99,0,0,0,0,0,0,7,12,0,3,22,0x40,2000,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 2372,SOIL,Soil,Soil,1,15,0,0,0,1,1,2,100,99,0,0,0,0,0,0,7,12,0,3,22,0x40,2000,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

View File

@ -1072,7 +1072,7 @@
2312,5,6,1,-1,0,0,5,1,no,0,0,0,weapon,0,0x0, LG_PINPOINTATTACK,Pinpoint Attack 2312,5,6,1,-1,0,0,5,1,no,0,0,0,weapon,0,0x0, LG_PINPOINTATTACK,Pinpoint Attack
2313,0,6,4,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, LG_FORCEOFVANGUARD,Force of Vanguard 2313,0,6,4,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, LG_FORCEOFVANGUARD,Force of Vanguard
2314,1,6,1,-1,0,0,1,1,no,0,0,0,weapon,0,0x0, LG_RAGEBURST,Rage Burst 2314,1,6,1,-1,0,0,1,1,no,0,0,0,weapon,0,0x0, LG_RAGEBURST,Rage Burst
2315,0,6,4,0,0x2,3,3,1,yes,0,0,0,none,2,0x0, LG_SHIELDSPELL,Shield Spell 2315,0,6,4,0:6:0,0x2,3,3,1,yes,0,0,0,none,2,0x0, LG_SHIELDSPELL,Shield Spell
2316,0,6,4,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, LG_EXEEDBREAK,Exceed Break 2316,0,6,4,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, LG_EXEEDBREAK,Exceed Break
2317,0,6,2,-1,0x2,0,5,1,yes,0,0,0,none,3:4:5:6:7,0x0, LG_OVERBRAND,Over Brand 2317,0,6,2,-1,0x2,0,5,1,yes,0,0,0,none,3:4:5:6:7,0x0, LG_OVERBRAND,Over Brand
2318,0,6,4,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, LG_PRESTIGE,Prestige 2318,0,6,4,0,0x1,0,5,1,yes,0,0,0,none,0,0x0, LG_PRESTIGE,Prestige

View File

@ -36,7 +36,7 @@ ve_in,237,125,0 script King Crab#job_shu 107,{
mes "Those arrogant fellows deserve a bitter lesson."; mes "Those arrogant fellows deserve a bitter lesson.";
mes "How dare a little rookie attack you, boss!"; mes "How dare a little rookie attack you, boss!";
next; next;
if (.@job_check) { if (!.@job_check) {
mes "[King Crab]"; mes "[King Crab]";
mes "Khhha ha ha ha ha ha!!!!"; mes "Khhha ha ha ha ha ha!!!!";
mes "One more cup of beer, here!!!"; mes "One more cup of beer, here!!!";

40
rAthena-13.sln Normal file
View File

@ -0,0 +1,40 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "char-server_sql", "vcproj-13\char-server_sql.vcxproj", "{D356871D-58E1-450B-967A-E4E9646175AF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "login-server_sql", "vcproj-13\login-server_sql.vcxproj", "{D356871D-58E1-450B-967A-E5E9646175AF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "map-server_sql", "vcproj-13\map-server_sql.vcxproj", "{D356871D-58E1-450B-967A-E6E9646175AF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mapcache", "vcproj-13\mapcache.vcxproj", "{D356871D-58E1-450B-967A-E7E9646175AF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D356871D-58E1-450B-967A-E4E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
{D356871D-58E1-450B-967A-E4E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
{D356871D-58E1-450B-967A-E4E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
{D356871D-58E1-450B-967A-E4E9646175AF}.Release|Win32.Build.0 = Release|Win32
{D356871D-58E1-450B-967A-E5E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
{D356871D-58E1-450B-967A-E5E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
{D356871D-58E1-450B-967A-E5E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
{D356871D-58E1-450B-967A-E5E9646175AF}.Release|Win32.Build.0 = Release|Win32
{D356871D-58E1-450B-967A-E6E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
{D356871D-58E1-450B-967A-E6E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
{D356871D-58E1-450B-967A-E6E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
{D356871D-58E1-450B-967A-E6E9646175AF}.Release|Win32.Build.0 = Release|Win32
{D356871D-58E1-450B-967A-E7E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
{D356871D-58E1-450B-967A-E7E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
{D356871D-58E1-450B-967A-E7E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
{D356871D-58E1-450B-967A-E7E9646175AF}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1571,20 +1571,20 @@ REPLACE INTO `mob_db` VALUES (2356,'N_MIMIC','Nightmare Mimic','Nightmare Mimic'
REPLACE INTO `mob_db` VALUES (2357,'G_N_MIMIC','Nightmare Mimic','Nightmare Mimic',137,63101,1,0,0,1,1345,1758,210,40,71,180,35,21,61,0,10,12,1,0,60,0x3795,100,972,500,288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2357,'G_N_MIMIC','Nightmare Mimic','Nightmare Mimic',137,63101,1,0,0,1,1345,1758,210,40,71,180,35,21,61,0,10,12,1,0,60,0x3795,100,972,500,288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2358,'N_ARCLOUSE','Nightmare Arclouse','Nightmare Arclouse',134,48013,1,2506,2303,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,1096,3500,938,3000,943,800,912,500,716,300,997,20,912,2500,0,0,0,0,4240,1); REPLACE INTO `mob_db` VALUES (2358,'N_ARCLOUSE','Nightmare Arclouse','Nightmare Arclouse',134,48013,1,2506,2303,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,1096,3500,938,3000,943,800,912,500,716,300,997,20,912,2500,0,0,0,0,4240,1);
REPLACE INTO `mob_db` VALUES (2359,'G_N_ARCLOUSE','Nightmare Arclouse','Nightmare Arclouse',134,48013,1,0,0,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2359,'G_N_ARCLOUSE','Nightmare Arclouse','Nightmare Arclouse',134,48013,1,0,0,1,1104,1445,101,45,65,85,51,45,251,31,10,12,1,4,42,0x3795,100,960,500,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2360,'N_ANCIENT_MUMMY','Nightmare Ancient Mummy','Nightmare Ancient Mummy',141,90157,1,4712,4001,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,930,4500,934,1800,2624,2,2611,150,13735,10,756,150,757,100,0,0,0,0,4248,1); REPLACE INTO `mob_db` VALUES (2360,'N_ANCIENT_MUMMY','Nightmare Ancient Mummy','Nightmare Ancient Mummy',141,90157,1,4712,4001,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,930,4500,934,1800,2624,2,2611,150,12735,10,756,150,757,100,0,0,0,0,4248,1);
REPLACE INTO `mob_db` VALUES (2361,'G_N_ANCIENT_MUMMY','Nightmare Ancient Mummy','Nightmare Ancient Mummy',141,90157,1,0,0,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2361,'G_N_ANCIENT_MUMMY','Nightmare Ancient Mummy','Nightmare Ancient Mummy',141,90157,1,0,0,1,1841,2188,142,51,126,75,61,85,187,24,10,12,1,1,49,0x3795,175,1772,120,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2362,'N_AMON_RA','Nightmare Amon Ra','Nightmare Amon Ra',145,2515784,1,1626487,1302087,3,4106,7307,367,301,86,89,120,131,101,92,14,12,2,7,62,0x1A4,170,854,2016,480,813243,607,5500,608,3500,732,5500,5053,150,2615,50,7211,7000,985,3800,616,400,1552,10,607,3000,0,0,0,0,4236,1); REPLACE INTO `mob_db` VALUES (2362,'N_AMON_RA','Nightmare Amon Ra','Nightmare Amon Ra',145,2515784,1,1626487,1302087,3,4106,7307,367,301,86,89,120,131,101,92,14,12,2,7,62,0x1A4,170,854,2016,480,813243,607,5500,608,3500,732,5500,5053,150,2615,50,7211,7000,985,3800,616,400,1552,10,607,3000,0,0,0,0,4236,1);
# Eclage (14.2) # Eclage (14.2)
REPLACE INTO `mob_db` VALUES (2363,'MENBLATT','Menblatt','Menblatt',143,82200,1,4150,3421,3,816,1017,79,50,70,68,40,55,108,30,10,12,1,4,44,0x3795,145,472,1056,480,0,0,0,0,0,0,0,6516,2000,6524,50,6499,2000,15051,1000,2169,100,969,2000,6499,10000,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2363,'MENBLATT','Menblatt','Menblatt',143,82200,1,4150,3421,3,816,1017,79,50,70,68,40,55,108,30,10,12,1,4,44,0x3795,145,472,1056,480,0,0,0,0,0,0,0,6557,4000,7168,2000,7163,4608,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2364,'PETAL','Petal','Petal',141,81031,1,4058,3361,1,671,844,73,33,70,82,55,45,108,25,10,12,1,2,24,0x3795,200,1500,768,480,0,0,0,0,0,0,0,6558,2000,12346,1000,1026,1000,6089,250,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2364,'PETAL','Petal','Petal',141,81031,1,4058,3361,1,671,844,73,33,70,82,55,45,108,25,10,12,1,2,24,0x3795,200,1500,768,480,0,0,0,0,0,0,0,6558,4000,12346,2000,1026,2000,6089,500,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2365,'CENERE','Cenere','Cenere',146,130131,1,7117,5712,1,1802,2833,87,81,67,39,30,35,95,45,10,12,0,3,24,0x3795,300,1500,720,360,0,0,0,0,0,0,0,6561,2000,7322,500,7001,1500,7320,1000,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2365,'CENERE','Cenere','Cenere',146,130131,1,7117,5712,1,1802,2833,87,81,67,39,30,35,95,45,10,12,0,3,24,0x3795,300,1500,720,360,0,0,0,0,0,0,0,6561,4000,7322,1000,7001,3000,7320,2000,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2366,'ANTIQUE_BOOK','Antique Book','Antique Book',148,134615,1,7225,5870,1,1861,3074,74,42,67,53,32,44,125,5,10,12,0,0,60,0x3795,150,864,960,480,0,0,0,0,0,0,0,6560,2000,7015,1000,1097,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2366,'ANTIQUE_BOOK','Antique Book','Antique Book',148,134615,1,7225,5870,1,1861,3074,74,42,67,53,32,44,125,5,10,12,0,0,60,0x3795,150,864,960,480,0,0,0,0,0,0,0,6560,4000,7015,2000,1097,2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2367,'LICHTERN_B','Blue Lichtern','Blue Lichtern',149,131211,1,7187,5701,1,1513,2923,76,41,124,74,60,55,92,50,10,12,0,0,81,0x3795,150,480,1728,480,0,0,0,0,0,0,0,1000,1000,1001,1000,995,20,12812,5,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2367,'LICHTERN_B','Blue Lichtern','Blue Lichtern',149,131211,1,7187,5701,1,1513,2923,76,41,124,74,60,55,92,50,10,12,0,0,81,0x3795,150,480,1728,480,0,0,0,0,0,0,0,1000,2000,1001,2000,995,40,12812,10,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2368,'LICHTERN_Y','Yellow Lichtern','Yellow Lichtern',147,131513,1,7071,5810,1,1416,2977,84,51,141,94,75,91,144,50,10,12,0,0,88,0x3795,150,0,3456,480,0,0,0,0,0,0,0,1000,1000,1001,1000,997,20,12815,5,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2368,'LICHTERN_Y','Yellow Lichtern','Yellow Lichtern',147,131513,1,7071,5810,1,1416,2977,84,51,141,94,75,91,144,50,10,12,0,0,88,0x3795,150,0,3456,480,0,0,0,0,0,0,0,1000,2000,1001,2000,997,40,12815,10,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2369,'LICHTERN_R','Red Lichtern','Red Lichtern',149,135718,1,7201,6013,1,1647,3096,111,53,147,77,66,65,133,50,10,12,0,0,83,0x3795,150,0,4032,480,0,0,0,0,0,0,0,1000,1000,1001,1000,994,20,12813,5,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2369,'LICHTERN_R','Red Lichtern','Red Lichtern',149,135718,1,7201,6013,1,1647,3096,111,53,147,77,66,65,133,50,10,12,0,0,83,0x3795,150,0,4032,480,0,0,0,0,0,0,0,1000,2000,1001,2000,994,40,12813,10,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2370,'LICHTERN_G','Green Lichtern','Green Lichtern',151,133451,1,7214,5710,1,1547,3141,120,57,121,60,58,62,102,50,10,12,0,0,82,0x3795,100,0,2304,480,0,0,0,0,0,0,0,1000,1000,1001,1000,996,20,12814,5,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2370,'LICHTERN_G','Green Lichtern','Green Lichtern',151,133451,1,7214,5710,1,1547,3141,120,57,121,60,58,62,102,50,10,12,0,0,82,0x3795,100,0,2304,480,0,0,0,0,0,0,0,1000,2000,1001,2000,996,40,12814,10,0,0,0,0,0,0,0,0,0,0,0,0);
REPLACE INTO `mob_db` VALUES (2371,'FAITHFUL_MANAGER','Faithful Manager','Faithful Manager',155,151548,1,8676,6501,3,2091,3698,204,141,80,28,40,25,88,45,10,12,2,0,80,0x3795,200,480,1536,480,0,0,0,0,0,0,0,6559,2000,12353,1000,970,25,971,25,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2371,'FAITHFUL_MANAGER','Faithful Manager','Faithful Manager',155,151548,1,8676,6501,3,2091,3698,204,141,80,28,40,25,88,45,10,12,2,0,80,0x3795,200,480,1536,480,0,0,0,0,0,0,0,6559,4000,12353,2000,970,50,971,50,0,0,0,0,0,0,0,0,0,0,0,0);
# Additional Monsters # Additional Monsters
REPLACE INTO `mob_db` VALUES (2372,'SOIL','Soil','Soil',1,15,0,0,0,1,1,2,100,99,0,0,0,0,0,0,7,12,0,3,22,0x40,2000,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); REPLACE INTO `mob_db` VALUES (2372,'SOIL','Soil','Soil',1,15,0,0,0,1,1,2,100,99,0,0,0,0,0,0,7,12,0,3,22,0x40,2000,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
@ -2332,4 +2332,12 @@ REPLACE INTO `mob_db` VALUES (2476,'MG_AMDARAIS','Amdarias','Amdarias',143,32839
#3107,E_EASTER_BUNNY #3107,E_EASTER_BUNNY
#3108,JITTERBUG1 #3108,JITTERBUG1
#3109,JITTERBUG2 #3109,JITTERBUG2
#
#3201,JT_LUCKYCASE
#3202,JT_ORGANIC_JAKK
#3203,JT_INORGANIC_JAKK
#3204,JT_PIXY_PINK_PORING
#3205,JT_PIXY_BLUE_PORING
#3206,JT_LITTLE_GOLDPORING
#3207,JT_E_AQUA_ELEMENTAL

View File

@ -8,9 +8,9 @@
// (Interlocked CompareExchange, Add .. and so on ..) // (Interlocked CompareExchange, Add .. and so on ..)
// //
// Implementation varies / depends on: // Implementation varies / depends on:
// - Architecture // - Architecture
// - Compiler // - Compiler
// - Operating System // - Operating System
// //
// our Abstraction is fully API-Compatible to Microsofts implementation @ NT5.0+ // our Abstraction is fully API-Compatible to Microsofts implementation @ NT5.0+
// //
@ -19,67 +19,72 @@
#if defined(_MSC_VER) #if defined(_MSC_VER)
#include "../common/winapi.h" #include "../common/winapi.h"
// This checks if C/C++ Compiler Version is 18.00
#if _MSC_VER < 1800
#if !defined(_M_X64) #if !defined(_M_X64)
// When compiling for windows 32bit, the 8byte interlocked operations are not provided by microsoft // When compiling for windows 32bit, the 8byte interlocked operations are not provided by microsoft
// (because they need at least i586 so its not generic enough.. ... ) // (because they need at least i586 so its not generic enough.. ... )
forceinline int64 InterlockedCompareExchange64(volatile int64 *dest, int64 exch, int64 _cmp){ forceinline int64 InterlockedCompareExchange64(volatile int64 *dest, int64 exch, int64 _cmp){
_asm{ _asm{
lea esi,_cmp; lea esi,_cmp;
lea edi,exch; lea edi,exch;
mov eax,[esi]; mov eax,[esi];
mov edx,4[esi]; mov edx,4[esi];
mov ebx,[edi]; mov ebx,[edi];
mov ecx,4[edi]; mov ecx,4[edi];
mov esi,dest; mov esi,dest;
lock CMPXCHG8B [esi]; lock CMPXCHG8B [esi];
} }
} }
forceinline volatile int64 InterlockedIncrement64(volatile int64 *addend){ forceinline volatile int64 InterlockedIncrement64(volatile int64 *addend){
__int64 old; __int64 old;
do{ do{
old = *addend; old = *addend;
}while(InterlockedCompareExchange64(addend, (old+1), old) != old); }while(InterlockedCompareExchange64(addend, (old+1), old) != old);
return (old + 1); return (old + 1);
} }
forceinline volatile int64 InterlockedDecrement64(volatile int64 *addend){ forceinline volatile int64 InterlockedDecrement64(volatile int64 *addend){
__int64 old; __int64 old;
do{ do{
old = *addend; old = *addend;
}while(InterlockedCompareExchange64(addend, (old-1), old) != old); }while(InterlockedCompareExchange64(addend, (old-1), old) != old);
return (old - 1); return (old - 1);
} }
forceinline volatile int64 InterlockedExchangeAdd64(volatile int64 *addend, int64 increment){ forceinline volatile int64 InterlockedExchangeAdd64(volatile int64 *addend, int64 increment){
__int64 old; __int64 old;
do{ do{
old = *addend; old = *addend;
}while(InterlockedCompareExchange64(addend, (old + increment), old) != old); }while(InterlockedCompareExchange64(addend, (old + increment), old) != old);
return old; return old;
} }
forceinline volatile int64 InterlockedExchange64(volatile int64 *target, int64 val){ forceinline volatile int64 InterlockedExchange64(volatile int64 *target, int64 val){
__int64 old; __int64 old;
do{ do{
old = *target; old = *target;
}while(InterlockedCompareExchange64(target, val, old) != old); }while(InterlockedCompareExchange64(target, val, old) != old);
return old; return old;
} }
#endif //endif 32bit windows #endif //endif 32bit windows
#endif //endif _msc_ver check
#elif defined(__GNUC__) #elif defined(__GNUC__)
#if !defined(__x86_64__) && !defined(__i386__) #if !defined(__x86_64__) && !defined(__i386__)
@ -87,17 +92,17 @@ forceinline volatile int64 InterlockedExchange64(volatile int64 *target, int64 v
#endif #endif
static forceinline int64 InterlockedExchangeAdd64(volatile int64 *addend, int64 increment){ static forceinline int64 InterlockedExchangeAdd64(volatile int64 *addend, int64 increment){
return __sync_fetch_and_add(addend, increment); return __sync_fetch_and_add(addend, increment);
}//end: InterlockedExchangeAdd64() }//end: InterlockedExchangeAdd64()
static forceinline int32 InterlockedExchangeAdd(volatile int32 *addend, int32 increment){ static forceinline int32 InterlockedExchangeAdd(volatile int32 *addend, int32 increment){
return __sync_fetch_and_add(addend, increment); return __sync_fetch_and_add(addend, increment);
}//end: InterlockedExchangeAdd() }//end: InterlockedExchangeAdd()
static forceinline int64 InterlockedIncrement64(volatile int64 *addend){ static forceinline int64 InterlockedIncrement64(volatile int64 *addend){
return __sync_add_and_fetch(addend, 1); return __sync_add_and_fetch(addend, 1);
}//end: InterlockedIncrement64() }//end: InterlockedIncrement64()
@ -107,27 +112,27 @@ static forceinline int32 InterlockedIncrement(volatile int32 *addend){
static forceinline int64 InterlockedDecrement64(volatile int64 *addend){ static forceinline int64 InterlockedDecrement64(volatile int64 *addend){
return __sync_sub_and_fetch(addend, 1); return __sync_sub_and_fetch(addend, 1);
}//end: InterlockedDecrement64() }//end: InterlockedDecrement64()
static forceinline int32 InterlockedDecrement(volatile int32 *addend){ static forceinline int32 InterlockedDecrement(volatile int32 *addend){
return __sync_sub_and_fetch(addend, 1); return __sync_sub_and_fetch(addend, 1);
}//end: InterlockedDecrement() }//end: InterlockedDecrement()
static forceinline int64 InterlockedCompareExchange64(volatile int64 *dest, int64 exch, int64 cmp){ static forceinline int64 InterlockedCompareExchange64(volatile int64 *dest, int64 exch, int64 cmp){
return __sync_val_compare_and_swap(dest, cmp, exch); return __sync_val_compare_and_swap(dest, cmp, exch);
}//end: InterlockedCompareExchange64() }//end: InterlockedCompareExchange64()
static forceinline int32 InterlockedCompareExchange(volatile int32 *dest, int32 exch, int32 cmp){ static forceinline int32 InterlockedCompareExchange(volatile int32 *dest, int32 exch, int32 cmp){
return __sync_val_compare_and_swap(dest, cmp, exch); return __sync_val_compare_and_swap(dest, cmp, exch);
}//end: InterlockedCompareExchnage() }//end: InterlockedCompareExchnage()
static forceinline int64 InterlockedExchange64(volatile int64 *target, int64 val){ static forceinline int64 InterlockedExchange64(volatile int64 *target, int64 val){
return __sync_lock_test_and_set(target, val); return __sync_lock_test_and_set(target, val);
}//end: InterlockedExchange64() }//end: InterlockedExchange64()

View File

@ -9197,13 +9197,15 @@ ACMD_FUNC(vip) {
char timestr[21]; char timestr[21];
time_t now=time(NULL); time_t now=time(NULL);
split_time(pl_sd->vip.time*60,&year,&month,&day,&hour,&minute,&second); split_time(pl_sd->vip.time*60,&year,&month,&day,&hour,&minute,&second);
sprintf(atcmd_output,msg_txt(sd,705),pl_sd->status.name,year,month,day,hour,minute); //%s is VIP for %d years, %d months, %d days, %d hours and %d minutes. sprintf(atcmd_output,msg_txt(sd,705),pl_sd->status.name,year,month,day,hour,minute); // %s is VIP for %d years, %d months, %d days, %d hours and %d minutes.
clif_displaymessage(pl_sd->fd, atcmd_output); clif_displaymessage(pl_sd->fd, atcmd_output);
sprintf(atcmd_output,msg_txt(sd,706),year,month,day,hour,minute); //This player is now VIP for %d years, %d months, %d days, %d hours and %d minutes. sprintf(atcmd_output,msg_txt(sd,706),year,month,day,hour,minute); // This player is now VIP for %d years, %d months, %d days, %d hours and %d minutes.
clif_displaymessage(fd, atcmd_output); clif_displaymessage(fd, atcmd_output);
timestamp2string(timestr,20,now+pl_sd->vip.time*60,"%Y-%m-%d %H:%M"); timestamp2string(timestr,20,now+pl_sd->vip.time*60,"%Y-%m-%d %H:%M");
sprintf(atcmd_output,"%s : %s",msg_txt(sd,707),timestr); //You are VIP until : sprintf(atcmd_output,"%s : %s",msg_txt(sd,707),timestr); // You are VIP until : %s
clif_displaymessage(pl_sd->fd, atcmd_output); clif_displaymessage(pl_sd->fd, atcmd_output);
sprintf(atcmd_output, msg_txt(sd,708), pl_sd->status.name); // Player '%s' is now VIP until : %s
strcat(atcmd_output, timestr);
clif_displaymessage(fd, atcmd_output); clif_displaymessage(fd, atcmd_output);
} }
chrif_req_vipActive(pl_sd, viptime, 3); chrif_req_vipActive(pl_sd, viptime, 3);

View File

@ -1206,8 +1206,13 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam
if (((TBL_MOB*)bl)->class_==mob_splendide[i]) { if (((TBL_MOB*)bl)->class_==mob_splendide[i]) {
DAMAGE_ADDRATE(sce->val1) DAMAGE_ADDRATE(sce->val1)
break; break;
}
} }
/* Self Buff that destroys the armor of any target hit with melee or ranged physical attacks */
if( sc->data[SC_SHIELDSPELL_REF] && sc->data[SC_SHIELDSPELL_REF]->val1 == 1 && flag&BF_WEAPON ) {
skill_break_equip(src,bl, EQP_ARMOR, 10000, BCT_ENEMY); // 100% chance (http://irowiki.org/wiki/Shield_Spell#Level_3_spells_.28refine_based.29)
status_change_end(src,SC_SHIELDSPELL_REF,INVALID_TIMER);
}
}
if( sc->data[SC_POISONINGWEAPON] if( sc->data[SC_POISONINGWEAPON]
&& ((flag&BF_WEAPON) && (!skill_id || skill_id == GC_VENOMPRESSURE)) //chk skill type poison_smoke is a unit && ((flag&BF_WEAPON) && (!skill_id || skill_id == GC_VENOMPRESSURE)) //chk skill type poison_smoke is a unit
&& (damage > 0 && rnd()%100 < sc->data[SC_POISONINGWEAPON]->val3 )) //did some dammage and chance ok (why no additional effect ?? && (damage > 0 && rnd()%100 < sc->data[SC_POISONINGWEAPON]->val3 )) //did some dammage and chance ok (why no additional effect ??
@ -3396,7 +3401,7 @@ static int battle_calc_attack_skill_ratio(struct Damage wd, struct block_list *s
if( shield_data ) if( shield_data )
skillratio += shield_data->def * 10; skillratio += shield_data->def * 10;
} else } else
skillratio += 2400; //2500% skillratio = 0; // Prevent damage since level 2 is MATK. [Aleos]
break; break;
case LG_MOONSLASHER: case LG_MOONSLASHER:
skillratio += -100 + (120 * skill_lv + ((sd) ? pc_checkskill(sd,LG_OVERBRAND) : 5) * 80); skillratio += -100 + (120 * skill_lv + ((sd) ? pc_checkskill(sd,LG_OVERBRAND) : 5) * 80);
@ -5917,6 +5922,11 @@ int64 battle_calc_return_damage(struct block_list* bl, struct block_list *src, i
rdamage += rd1 * 70 / 100; // Target receives 70% of the amplified damage. [Rytech] rdamage += rd1 * 70 / 100; // Target receives 70% of the amplified damage. [Rytech]
} }
} }
if( sc->data[SC_SHIELDSPELL_DEF] && sc->data[SC_SHIELDSPELL_DEF]->val1 == 2 && !(src->type == BL_MOB && is_boss(src)) ){
rdamage += damage * sc->data[SC_SHIELDSPELL_DEF]->val2 / 100;
if (rdamage < 1) rdamage = 1;
}
} }
} }
} else { } else {

View File

@ -1080,6 +1080,12 @@ static bool itemdb_parse_dbrow(char** str, const char* source, int line, int scr
id->type = IT_ETC; id->type = IT_ETC;
} }
if( id->type != IT_SHADOWGEAR && id->equip&EQP_SHADOW_GEAR )
{
ShowWarning("Item %d (%s) have invalid equipment slot! Making it an etc item.\n", nameid, id->jname);
id->type = IT_ETC;
}
id->wlv = cap_value(atoi(str[15]), REFINE_TYPE_ARMOR, REFINE_TYPE_MAX); id->wlv = cap_value(atoi(str[15]), REFINE_TYPE_ARMOR, REFINE_TYPE_MAX);
#ifdef RENEWAL #ifdef RENEWAL
itemdb_re_split_atoi(str[16],&id->elv,&id->elvmax); itemdb_re_split_atoi(str[16],&id->elv,&id->elvmax);

View File

@ -665,7 +665,7 @@ struct {
#define EQP_HELM (EQP_HEAD_LOW|EQP_HEAD_MID|EQP_HEAD_TOP) #define EQP_HELM (EQP_HEAD_LOW|EQP_HEAD_MID|EQP_HEAD_TOP)
#define EQP_ACC (EQP_ACC_L|EQP_ACC_R) #define EQP_ACC (EQP_ACC_L|EQP_ACC_R)
#define EQP_COSTUME (EQP_COSTUME_HEAD_TOP|EQP_COSTUME_HEAD_MID|EQP_COSTUME_HEAD_LOW|EQP_COSTUME_GARMENT) #define EQP_COSTUME (EQP_COSTUME_HEAD_TOP|EQP_COSTUME_HEAD_MID|EQP_COSTUME_HEAD_LOW|EQP_COSTUME_GARMENT)
//#define EQP_SHADOW_GEAR (EQP_SHADOW_ARMOR|EQP_SHADOW_WEAPON|EQP_SHADOW_SHIELD|EQP_SHADOW_SHOES|EQP_SHADOW_ACC_R|EQP_SHADOW_ACC_L) #define EQP_SHADOW_GEAR (EQP_SHADOW_ARMOR|EQP_SHADOW_WEAPON|EQP_SHADOW_SHIELD|EQP_SHADOW_SHOES|EQP_SHADOW_ACC_R|EQP_SHADOW_ACC_L)
#define EQP_SHADOW_ACC (EQP_SHADOW_ACC_R|EQP_SHADOW_ACC_L) #define EQP_SHADOW_ACC (EQP_SHADOW_ACC_R|EQP_SHADOW_ACC_L)
/// Equip positions that use a visible sprite /// Equip positions that use a visible sprite

View File

@ -8798,110 +8798,104 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
break; break;
case LG_SHIELDSPELL: case LG_SHIELDSPELL:
if( flag&1 ) { if( flag&1 )
int duration = (sd) ? sd->bonus.shieldmdef * 2000 : 10000; sc_start(src,bl,SC_SILENCE,100,skill_lv,(sd)?sd->bonus.shieldmdef * 2000 : 10000);
sc_start(src,bl,SC_SILENCE,100,skill_lv,duration); else if( sd ) {
} else if( sd ) { int opt = rnd()%3 + 1;
int opt = skill_lv; int val = 0, splash = 0;
int rate = rnd()%100; struct item_data *shield_data = sd->inventory_data[sd->equip_index[EQI_HAND_L]];
int val, brate; if( !shield_data || shield_data->type != IT_ARMOR ) { // No shield?
clif_skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0);
break;
}
switch( skill_lv ) { switch( skill_lv ) {
case 1: case 1: // DEF based
{ val = shield_data->def;
struct item_data *shield_data = sd->inventory_data[sd->equip_index[EQI_HAND_L]]; if( !val ) {
if( !shield_data || shield_data->type != IT_ARMOR ) { // No shield? clif_skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0);
clif_skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0);
break;
}
brate = shield_data->def * 10;
if( rate < 50 )
opt = 1;
else if( rate < 75 )
opt = 2;
else
opt = 3;
switch( opt ) {
case 1:
sc_start(src,bl,SC_SHIELDSPELL_DEF,100,opt,-1);
clif_skill_damage(src,bl,tick, status_get_amotion(src), 0, -30000, 1, skill_id, skill_lv, 6);
if( rate < brate )
map_foreachinrange(skill_area_sub,src,skill_get_splash(skill_id,skill_lv),BL_CHAR,src,skill_id,skill_lv,tick,flag|BCT_ENEMY|1,skill_castend_damage_id);
status_change_end(bl,SC_SHIELDSPELL_DEF,INVALID_TIMER);
break;
case 2:
val = shield_data->def / 10; // % Reflected damage.
sc_start2(src,bl,SC_SHIELDSPELL_DEF,brate,opt,val,shield_data->def * 1000);
break;
case 3:
val = shield_data->def; // Attack increase.
sc_start2(src,bl,SC_SHIELDSPELL_DEF,brate,opt,val,shield_data->def * 3000);
break;
}
}
break;
case 2:
brate = sd->bonus.shieldmdef * 20;
if( rate < 30 )
opt = 1;
else if( rate < 60 )
opt = 2;
else
opt = 3;
switch( opt ) {
case 1:
sc_start(src,bl,SC_SHIELDSPELL_MDEF,100,opt,-1);
clif_skill_damage(src,bl,tick, status_get_amotion(src), 0, -30000, 1, skill_id, skill_lv, 6);
if( rate < brate )
map_foreachinrange(skill_area_sub,src,skill_get_splash(skill_id,skill_lv),BL_CHAR,src,skill_id,skill_lv,tick,flag|BCT_ENEMY|2,skill_castend_damage_id);
status_change_end(bl,SC_SHIELDSPELL_MDEF,INVALID_TIMER);
break;
case 2:
sc_start(src,bl,SC_SHIELDSPELL_MDEF,100,opt,-1);
clif_skill_damage(src,bl,tick, status_get_amotion(src), 0, -30000, 1, skill_id, skill_lv, 6);
if( rate < brate )
map_foreachinrange(skill_area_sub,src,skill_get_splash(skill_id,skill_lv),BL_CHAR,src,skill_id,skill_lv,tick,flag|BCT_ENEMY|1,skill_castend_nodamage_id);
break;
case 3:
if( sc_start(src,bl,SC_SHIELDSPELL_MDEF,brate,opt,sd->bonus.shieldmdef * 30000) )
clif_skill_nodamage(src,bl,PR_MAGNIFICAT,skill_lv,
sc_start(src,bl,SC_MAGNIFICAT,100,1,sd->bonus.shieldmdef * 30000));
break;
}
break;
case 3:
{
struct item *it = &sd->status.inventory[sd->equip_index[EQI_HAND_L]];
if( !it ) { // No shield?
clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
break; break;
} }
brate = it->refine * 5;
if( rate < 25 )
opt = 1;
else if( rate < 50 )
opt = 2;
else
opt = 3;
switch( opt ) { switch( opt ) {
case 1: case 1: // Deals Neutral property damage around Self. Knocks them back 2 cells.
val = 105 * it->refine / 10; if( val < 41 )
sc_start2(src,bl,SC_SHIELDSPELL_REF,brate,opt,val,skill_get_time(skill_id,skill_lv)); splash = 1;
else if( val < 81 )
splash = 2;
else
splash = 3;
if( sc_start(src,bl,SC_SHIELDSPELL_DEF,100,opt,INVALID_TIMER) )
status_change_end(bl,SC_SHIELDSPELL_DEF,INVALID_TIMER);
clif_skill_damage(src,bl,tick, status_get_amotion(src), 0, -30000, 1, skill_id, skill_lv, 6);
map_foreachinrange(skill_area_sub,src,splash,BL_CHAR,src,skill_id,skill_lv,tick,flag|BCT_ENEMY|1,skill_castend_damage_id);
break; break;
case 2: case 3: case 2: // Reflects melee attacks. (Does not work against Bosses).
if( rate < brate ) val = shield_data->def / 10;
{ sc_start2(src,bl,SC_SHIELDSPELL_DEF,100,opt,val,shield_data->def * 1000);
val = sstatus->max_hp * (11 + it->refine) / 100; break;
status_heal(bl, val, 0, 3); case 3: // Increases ATK for the spell duration.
} val = shield_data->def;
sc_start2(src,bl,SC_SHIELDSPELL_DEF,100,opt,val,shield_data->def * 3000);
break; break;
/*case 3:
// Full protection. I need confirm what effect should be here. Moved to case 2 to until we got it.
break;*/
} }
} break;
case 2: // MDEF based
val = sd->bonus.shieldmdef;
if( !val ) {
clif_skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0);
break;
}
if( val < 4 )
splash = 1;
else if( val < 6 )
splash = 2;
else
splash = 3;
switch( opt ) {
case 1: // Deals Holy property magic damage around Self.
if( sc_start(src,bl,SC_SHIELDSPELL_MDEF,100,opt,INVALID_TIMER) )
status_change_end(bl,SC_SHIELDSPELL_MDEF,INVALID_TIMER);
clif_skill_damage(src,bl,tick, status_get_amotion(src), 0, -30000, 1, skill_id, skill_lv, 6);
map_foreachinrange(skill_area_sub, src, splash, BL_CHAR, src, skill_id, skill_lv, tick, flag|BCT_ENEMY|2, skill_castend_damage_id);
break;
case 2: // Casts Lex Divina around Self.
if( sc_start(src,bl,SC_SHIELDSPELL_MDEF,100,opt,INVALID_TIMER) )
status_change_end(bl,SC_SHIELDSPELL_MDEF,INVALID_TIMER);
map_foreachinrange(skill_area_sub,src,splash,BL_CHAR,src,skill_id,skill_lv,tick,flag|BCT_ENEMY|1,skill_castend_nodamage_id);
break;
case 3: // Casts Magnificat.
if( sc_start(src,bl,SC_SHIELDSPELL_MDEF,100,opt,INVALID_TIMER) )
status_change_end(bl,SC_SHIELDSPELL_MDEF,INVALID_TIMER);
clif_skill_nodamage(src,bl,PR_MAGNIFICAT,skill_lv,sc_start(src,bl,SC_MAGNIFICAT,100,1,sd->bonus.shieldmdef * 30000));
break;
}
break;
case 3: // refine based
{
struct item *shield = &sd->status.inventory[sd->equip_index[EQI_HAND_L]];
if( !shield || !shield->refine ) {
clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
break;
}
switch( opt ) {
case 1: // Allows you to break armor at a 100% rate when you do damage.
sc_start(src,bl,SC_SHIELDSPELL_REF,100,opt,min(shield->refine * 1500,30000)); // 30 sec duration on +20 shield.
break;
case 2: // Increases DEF and Status Effect resistance depending on Shield refine rate.
val = (10 * shield->refine) + (status_get_lv(src) / 100);
splash = (2 * shield->refine) + (status_get_luk(src) / 10);
sc_start4(src,bl,SC_SHIELDSPELL_REF,100,opt,val,splash,0,shield->refine * 20000);
break;
case 3: // Recovers HP depending on Shield refine rate.
if( sc_start(src,bl,SC_SHIELDSPELL_REF,100,opt,INVALID_TIMER) )
status_change_end(bl,SC_SHIELDSPELL_REF,INVALID_TIMER);
val = sstatus->max_hp * (status_get_lv(src) / 10 + shield->refine) / 100;
status_heal(bl,val,0,2);
break;
}
}
break; break;
} }
clif_skill_nodamage(src,bl,skill_id,skill_lv,1); clif_skill_nodamage(src,bl,skill_id,skill_lv,1);

View File

@ -5356,7 +5356,7 @@ static signed short status_calc_def2(struct block_list *bl, struct status_change
return 0; return 0;
if(sc->data[SC_SUN_COMFORT]) if(sc->data[SC_SUN_COMFORT])
def2 += sc->data[SC_SUN_COMFORT]->val2; def2 += sc->data[SC_SUN_COMFORT]->val2;
if( sc->data[SC_SHIELDSPELL_REF] && sc->data[SC_SHIELDSPELL_REF]->val1 == 1 ) if( sc->data[SC_SHIELDSPELL_REF] && sc->data[SC_SHIELDSPELL_REF]->val1 == 2 )
def2 += sc->data[SC_SHIELDSPELL_REF]->val2; def2 += sc->data[SC_SHIELDSPELL_REF]->val2;
if( sc->data[SC_BANDING] && sc->data[SC_BANDING]->val2 > 0 ) if( sc->data[SC_BANDING] && sc->data[SC_BANDING]->val2 > 0 )
def2 += (5 + sc->data[SC_BANDING]->val1) * (sc->data[SC_BANDING]->val2); def2 += (5 + sc->data[SC_BANDING]->val1) * (sc->data[SC_BANDING]->val2);
@ -6987,6 +6987,8 @@ int status_get_sc_def(struct block_list *src, struct block_list *bl, enum sc_typ
sc_def += sc->data[SC_SCRESIST]->val1*100; // Status resist sc_def += sc->data[SC_SCRESIST]->val1*100; // Status resist
else if (sc->data[SC_SIEGFRIED]) else if (sc->data[SC_SIEGFRIED])
sc_def += sc->data[SC_SIEGFRIED]->val3*100; // Status resistance. sc_def += sc->data[SC_SIEGFRIED]->val3*100; // Status resistance.
else if (sc->data[SC_SHIELDSPELL_REF] && sc->data[SC_SHIELDSPELL_REF]->val1 == 2)
sc_def += sc->data[SC_SIEGFRIED]->val3*100;
} }
// When tick def not set, reduction is the same for both. // When tick def not set, reduction is the same for both.

View File

@ -643,6 +643,7 @@ int storage_guild_storageaddfromcart(struct map_session_data* sd, int index, int
*------------------------------------------*/ *------------------------------------------*/
int storage_guild_storagegettocart(struct map_session_data* sd, int index, int amount) int storage_guild_storagegettocart(struct map_session_data* sd, int index, int amount)
{ {
short flag;
struct guild_storage *stor; struct guild_storage *stor;
nullpo_ret(sd); nullpo_ret(sd);
@ -660,8 +661,12 @@ int storage_guild_storagegettocart(struct map_session_data* sd, int index, int a
if(amount < 1 || amount > stor->items[index].amount) if(amount < 1 || amount > stor->items[index].amount)
return 0; return 0;
if(pc_cart_additem(sd,&stor->items[index],amount,LOG_TYPE_GSTORAGE)==0) if((flag = pc_cart_additem(sd,&stor->items[index],amount,LOG_TYPE_GSTORAGE)) == 0)
guild_storage_delitem(sd,stor,index,amount); guild_storage_delitem(sd,stor,index,amount);
else {
clif_dropitem(sd,index,0);
clif_cart_additem_ack(sd,(flag==1)?ADDITEM_TO_CART_FAIL_WEIGHT:ADDITEM_TO_CART_FAIL_COUNT);
}
return 1; return 1;
} }

View File

@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D356871D-58E1-450B-967A-E4E9646175AF}</ProjectGuid>
<RootNamespace>char-server_sql</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">char-server_sql</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">char-server_sql</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
<ExceptionHandling>
</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;LIBCONFIG_STATIC;YY_USE_CONST;FD_SETSIZE=4096;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\3rdparty\libconfig\grammar.h" />
<ClInclude Include="..\3rdparty\libconfig\libconfig.h" />
<ClInclude Include="..\3rdparty\libconfig\parsectx.h" />
<ClInclude Include="..\3rdparty\libconfig\scanctx.h" />
<ClInclude Include="..\3rdparty\libconfig\scanner.h" />
<ClInclude Include="..\3rdparty\libconfig\strbuf.h" />
<ClInclude Include="..\3rdparty\libconfig\wincompat.h" />
<ClInclude Include="..\3rdparty\mt19937ar\mt19937ar.h" />
<ClInclude Include="..\src\common\cbasetypes.h" />
<ClInclude Include="..\src\common\core.h" />
<ClInclude Include="..\src\common\conf.h" />
<ClInclude Include="..\src\common\db.h" />
<ClInclude Include="..\src\common\ers.h" />
<ClInclude Include="..\src\common\malloc.h" />
<ClInclude Include="..\src\common\mapindex.h" />
<ClInclude Include="..\src\common\mempool.h" />
<ClInclude Include="..\src\common\mmo.h" />
<ClInclude Include="..\src\common\mutex.h" />
<ClInclude Include="..\src\common\nullpo.h" />
<ClInclude Include="..\src\common\raconf.h" />
<ClInclude Include="..\src\common\random.h" />
<ClInclude Include="..\src\common\showmsg.h" />
<ClInclude Include="..\src\common\socket.h" />
<ClInclude Include="..\src\common\sql.h" />
<ClInclude Include="..\src\common\strlib.h" />
<ClInclude Include="..\src\common\thread.h" />
<ClInclude Include="..\src\common\timer.h" />
<ClInclude Include="..\src\common\utils.h" />
<ClInclude Include="..\src\common\cli.h" />
<ClInclude Include="..\src\common\msg_conf.h" />
<ClInclude Include="..\src\char\char.h" />
<ClInclude Include="..\src\char\int_auction.h" />
<ClInclude Include="..\src\char\int_elemental.h" />
<ClInclude Include="..\src\char\int_guild.h" />
<ClInclude Include="..\src\char\int_homun.h" />
<ClInclude Include="..\src\char\int_mail.h" />
<ClInclude Include="..\src\char\int_mercenary.h" />
<ClInclude Include="..\src\char\int_party.h" />
<ClInclude Include="..\src\char\int_pet.h" />
<ClInclude Include="..\src\char\int_quest.h" />
<ClInclude Include="..\src\char\int_storage.h" />
<ClInclude Include="..\src\char\inter.h" />
<ClInclude Include="..\src\common\winapi.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\3rdparty\libconfig\grammar.c" />
<ClCompile Include="..\3rdparty\libconfig\libconfig.c" />
<ClCompile Include="..\3rdparty\libconfig\scanctx.c" />
<ClCompile Include="..\3rdparty\libconfig\scanner.c" />
<ClCompile Include="..\3rdparty\libconfig\strbuf.c" />
<ClCompile Include="..\3rdparty\mt19937ar\mt19937ar.c" />
<ClCompile Include="..\src\common\core.c" />
<ClCompile Include="..\src\common\conf.c" />
<ClCompile Include="..\src\common\db.c" />
<ClCompile Include="..\src\common\ers.c" />
<ClCompile Include="..\src\common\malloc.c" />
<ClCompile Include="..\src\common\mapindex.c" />
<ClCompile Include="..\src\common\mempool.c" />
<ClCompile Include="..\src\common\mutex.c" />
<ClCompile Include="..\src\common\nullpo.c" />
<ClCompile Include="..\src\common\raconf.c" />
<ClCompile Include="..\src\common\random.c" />
<ClCompile Include="..\src\common\showmsg.c" />
<ClCompile Include="..\src\common\socket.c" />
<ClCompile Include="..\src\common\sql.c" />
<ClCompile Include="..\src\common\strlib.c" />
<ClCompile Include="..\src\common\thread.c" />
<ClCompile Include="..\src\common\timer.c" />
<ClCompile Include="..\src\common\utils.c" />
<ClCompile Include="..\src\common\cli.c" />
<ClCompile Include="..\src\common\msg_conf.c" />
<ClCompile Include="..\src\char\char.c" />
<ClCompile Include="..\src\char\int_auction.c" />
<ClCompile Include="..\src\char\int_elemental.c" />
<ClCompile Include="..\src\char\int_guild.c" />
<ClCompile Include="..\src\char\int_homun.c" />
<ClCompile Include="..\src\char\int_mail.c" />
<ClCompile Include="..\src\char\int_mercenary.c" />
<ClCompile Include="..\src\char\int_party.c" />
<ClCompile Include="..\src\char\int_pet.c" />
<ClCompile Include="..\src\char\int_quest.c" />
<ClCompile Include="..\src\char\int_storage.c" />
<ClCompile Include="..\src\char\inter.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,259 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\src\common\core.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\conf.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\db.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\ers.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\malloc.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mapindex.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\nullpo.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\random.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\showmsg.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\socket.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\sql.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\strlib.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\timer.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\utils.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\char\char.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_auction.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_elemental.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_guild.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_homun.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_mail.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_mercenary.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_party.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_pet.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_quest.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\int_storage.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\char\inter.c">
<Filter>char_sql</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\mt19937ar\mt19937ar.c">
<Filter>3rdparty\mt19937ar</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\grammar.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\libconfig.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\scanctx.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\scanner.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\strbuf.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\src\common\thread.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mutex.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mempool.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\raconf.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\cli.c" />
<ClCompile Include="..\src\common\msg_conf.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\common\cbasetypes.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\core.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\conf.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\db.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\ers.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\malloc.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mapindex.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mmo.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\nullpo.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\random.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\showmsg.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\socket.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\sql.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\strlib.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\timer.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\utils.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\char\inter.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\char.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_auction.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_elemental.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_guild.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_homun.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_mail.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_mercenary.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_party.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_pet.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_quest.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\char\int_storage.h">
<Filter>char_sql</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\mt19937ar\mt19937ar.h">
<Filter>3rdparty\mt19937ar</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\grammar.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\libconfig.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\parsectx.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\scanctx.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\scanner.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\strbuf.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\wincompat.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\src\common\winapi.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\thread.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mutex.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mempool.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\raconf.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\cli.h" />
<ClInclude Include="..\src\common\msg_conf.h" />
</ItemGroup>
<ItemGroup>
<Filter Include="common">
<UniqueIdentifier>{623f21b1-c166-4848-83d8-8b4fe0e2e2df}</UniqueIdentifier>
</Filter>
<Filter Include="char_sql">
<UniqueIdentifier>{83b1ecf5-21d1-4dac-915f-95ff77a90899}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty">
<UniqueIdentifier>{b3f5c857-79c0-4a55-b8c5-7e7f56a8f948}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty\mt19937ar">
<UniqueIdentifier>{847768ab-8c4b-431b-8667-00f8ae3b915c}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty\libconfig">
<UniqueIdentifier>{9e8badd7-548f-4eb4-9e87-613e87e772ff}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,209 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D356871D-58E1-450B-967A-E5E9646175AF}</ProjectGuid>
<RootNamespace>login-server_sql</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">login-server_sql</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">login-server_sql</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;WITH_SQL;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
<ExceptionHandling>
</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4100;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;WITH_SQL;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<PrecompiledHeaderFile>
</PrecompiledHeaderFile>
<PrecompiledHeaderOutputFile>
</PrecompiledHeaderOutputFile>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4100;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\3rdparty\libconfig\grammar.h" />
<ClInclude Include="..\3rdparty\libconfig\libconfig.h" />
<ClInclude Include="..\3rdparty\libconfig\parsectx.h" />
<ClInclude Include="..\3rdparty\libconfig\scanctx.h" />
<ClInclude Include="..\3rdparty\libconfig\scanner.h" />
<ClInclude Include="..\3rdparty\libconfig\strbuf.h" />
<ClInclude Include="..\3rdparty\libconfig\wincompat.h" />
<ClInclude Include="..\src\common\mempool.h" />
<ClInclude Include="..\src\common\mutex.h" />
<ClInclude Include="..\src\common\raconf.h" />
<ClInclude Include="..\src\common\thread.h" />
<ClInclude Include="..\src\common\winapi.h" />
<ClInclude Include="..\src\login\account.h" />
<ClInclude Include="..\src\login\ipban.h" />
<ClInclude Include="..\src\login\login.h" />
<ClInclude Include="..\src\login\loginlog.h" />
<ClInclude Include="..\src\common\cbasetypes.h" />
<ClInclude Include="..\src\common\core.h" />
<ClInclude Include="..\src\common\conf.h" />
<ClInclude Include="..\src\common\db.h" />
<ClInclude Include="..\src\common\ers.h" />
<ClInclude Include="..\src\common\malloc.h" />
<ClInclude Include="..\src\common\md5calc.h" />
<ClInclude Include="..\src\common\mmo.h" />
<ClInclude Include="..\src\common\nullpo.h" />
<ClInclude Include="..\src\common\random.h" />
<ClInclude Include="..\src\common\showmsg.h" />
<ClInclude Include="..\src\common\socket.h" />
<ClInclude Include="..\src\common\sql.h" />
<ClInclude Include="..\src\common\strlib.h" />
<ClInclude Include="..\src\common\timer.h" />
<ClInclude Include="..\src\common\utils.h" />
<ClInclude Include="..\src\common\cli.h" />
<ClInclude Include="..\src\common\msg_conf.h" />
<ClInclude Include="..\3rdparty\mt19937ar\mt19937ar.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\3rdparty\libconfig\grammar.c" />
<ClCompile Include="..\3rdparty\libconfig\libconfig.c" />
<ClCompile Include="..\3rdparty\libconfig\scanctx.c" />
<ClCompile Include="..\3rdparty\libconfig\scanner.c" />
<ClCompile Include="..\3rdparty\libconfig\strbuf.c" />
<ClCompile Include="..\src\common\mempool.c" />
<ClCompile Include="..\src\common\mutex.c" />
<ClCompile Include="..\src\common\raconf.c" />
<ClCompile Include="..\src\common\thread.c" />
<ClCompile Include="..\src\login\account_sql.c" />
<ClCompile Include="..\src\login\ipban_sql.c" />
<ClCompile Include="..\src\login\login.c" />
<ClCompile Include="..\src\login\loginlog_sql.c" />
<ClCompile Include="..\src\common\core.c" />
<ClCompile Include="..\src\common\conf.c" />
<ClCompile Include="..\src\common\db.c" />
<ClCompile Include="..\src\common\ers.c" />
<ClCompile Include="..\src\common\malloc.c" />
<ClCompile Include="..\src\common\md5calc.c" />
<ClCompile Include="..\src\common\nullpo.c" />
<ClCompile Include="..\src\common\random.c" />
<ClCompile Include="..\src\common\showmsg.c" />
<ClCompile Include="..\src\common\socket.c" />
<ClCompile Include="..\src\common\sql.c" />
<ClCompile Include="..\src\common\strlib.c" />
<ClCompile Include="..\src\common\timer.c" />
<ClCompile Include="..\src\common\utils.c" />
<ClCompile Include="..\src\common\cli.c" />
<ClCompile Include="..\src\common\msg_conf.c" />
<ClCompile Include="..\3rdparty\mt19937ar\mt19937ar.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,211 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\src\login\account_sql.c">
<Filter>login_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\login\ipban_sql.c">
<Filter>login_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\login\login.c">
<Filter>login_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\login\loginlog_sql.c">
<Filter>login_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\common\core.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\conf.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\db.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\ers.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\malloc.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\md5calc.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\nullpo.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\random.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\showmsg.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\socket.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\sql.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\strlib.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\timer.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\utils.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\mt19937ar\mt19937ar.c">
<Filter>3rdparty\mt19937ar</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\grammar.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\libconfig.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\scanctx.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\scanner.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\strbuf.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\src\common\thread.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mutex.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mempool.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\raconf.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\cli.c" />
<ClCompile Include="..\src\common\msg_conf.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\login\account.h">
<Filter>login_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\login\ipban.h">
<Filter>login_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\login\loginlog.h">
<Filter>login_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\login\login.h">
<Filter>login_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\common\cbasetypes.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\core.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\conf.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\db.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\ers.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\malloc.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\md5calc.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mmo.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\nullpo.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\random.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\showmsg.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\socket.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\sql.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\strlib.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\timer.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\utils.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\mt19937ar\mt19937ar.h">
<Filter>3rdparty\mt19937ar</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\grammar.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\libconfig.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\parsectx.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\scanctx.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\scanner.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\strbuf.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\wincompat.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\src\common\winapi.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\thread.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mutex.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mempool.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\raconf.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\cli.h" />
<ClInclude Include="..\src\common\msg_conf.h" />
</ItemGroup>
<ItemGroup>
<Filter Include="common">
<UniqueIdentifier>{b50ee803-e71d-4d41-8f7d-2dad5839df50}</UniqueIdentifier>
</Filter>
<Filter Include="login_sql">
<UniqueIdentifier>{8eea96ed-d379-4694-ae2e-ffb0be95170c}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty">
<UniqueIdentifier>{ab5c90ec-923d-4847-a214-45b40818211e}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty\mt19937ar">
<UniqueIdentifier>{68e3bcee-28d9-4b2d-8701-614d50f32999}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty\libconfig">
<UniqueIdentifier>{779e8145-9bb2-4a88-9149-60586ab0bdd4}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,303 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D356871D-58E1-450B-967A-E6E9646175AF}</ProjectGuid>
<RootNamespace>map-server_sql</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">map-server_sql</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">map-server_sql</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;PCRE_SUPPORT;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
<ExceptionHandling>
</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4018;4100;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;PCRE_SUPPORT;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<DisableSpecificWarnings>4018;4100;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\3rdparty\libconfig\grammar.h" />
<ClInclude Include="..\3rdparty\libconfig\libconfig.h" />
<ClInclude Include="..\3rdparty\libconfig\parsectx.h" />
<ClInclude Include="..\3rdparty\libconfig\scanctx.h" />
<ClInclude Include="..\3rdparty\libconfig\scanner.h" />
<ClInclude Include="..\3rdparty\libconfig\strbuf.h" />
<ClInclude Include="..\3rdparty\libconfig\wincompat.h" />
<ClInclude Include="..\3rdparty\mt19937ar\mt19937ar.h" />
<ClInclude Include="..\src\common\cbasetypes.h" />
<ClInclude Include="..\src\common\conf.h" />
<ClInclude Include="..\src\common\core.h" />
<ClInclude Include="..\src\common\db.h" />
<ClInclude Include="..\src\common\des.h" />
<ClInclude Include="..\src\common\ers.h" />
<ClInclude Include="..\src\common\grfio.h" />
<ClInclude Include="..\src\common\malloc.h" />
<ClInclude Include="..\src\common\mapindex.h" />
<ClInclude Include="..\src\common\md5calc.h" />
<ClInclude Include="..\src\common\mempool.h" />
<ClInclude Include="..\src\common\mmo.h" />
<ClInclude Include="..\src\common\mutex.h" />
<ClInclude Include="..\src\common\nullpo.h" />
<ClInclude Include="..\src\common\raconf.h" />
<ClInclude Include="..\src\common\random.h" />
<ClInclude Include="..\src\common\showmsg.h" />
<ClInclude Include="..\src\common\socket.h" />
<ClInclude Include="..\src\common\sql.h" />
<ClInclude Include="..\src\common\strlib.h" />
<ClInclude Include="..\src\common\thread.h" />
<ClInclude Include="..\src\common\timer.h" />
<ClInclude Include="..\src\common\utils.h" />
<ClInclude Include="..\src\common\winapi.h" />
<ClInclude Include="..\src\common\cli.h" />
<ClInclude Include="..\src\common\msg_conf.h" />
<ClInclude Include="..\src\map\atcommand.h" />
<ClInclude Include="..\src\map\battle.h" />
<ClInclude Include="..\src\map\battleground.h" />
<ClInclude Include="..\src\map\buyingstore.h" />
<ClInclude Include="..\src\map\cashshop.h" />
<ClInclude Include="..\src\map\channel.h" />
<ClInclude Include="..\src\map\chat.h" />
<ClInclude Include="..\src\map\chrif.h" />
<ClInclude Include="..\src\map\clif.h" />
<ClInclude Include="..\src\map\date.h" />
<ClInclude Include="..\src\map\duel.h" />
<ClInclude Include="..\src\map\elemental.h" />
<ClInclude Include="..\src\map\guild.h" />
<ClInclude Include="..\src\map\intif.h" />
<ClInclude Include="..\src\map\itemdb.h" />
<ClInclude Include="..\src\map\log.h" />
<ClInclude Include="..\src\map\mail.h" />
<ClInclude Include="..\src\map\map.h" />
<ClInclude Include="..\src\map\mapreg.h" />
<ClInclude Include="..\src\map\homunculus.h" />
<ClInclude Include="..\src\map\instance.h" />
<ClInclude Include="..\src\map\mercenary.h" />
<ClInclude Include="..\src\map\mob.h" />
<ClInclude Include="..\src\map\npc.h" />
<ClInclude Include="..\src\map\party.h" />
<ClInclude Include="..\src\map\path.h" />
<ClInclude Include="..\src\map\pc.h" />
<ClInclude Include="..\src\map\pc_groups.h" />
<ClInclude Include="..\src\map\pet.h" />
<ClInclude Include="..\src\map\quest.h" />
<ClInclude Include="..\src\config\const.h" />
<ClInclude Include="..\src\config\core.h" />
<ClInclude Include="..\src\config\renewal.h" />
<ClInclude Include="..\src\config\secure.h" />
<ClInclude Include="..\src\config\classes\general.h" />
<ClInclude Include="..\src\map\script.h" />
<ClInclude Include="..\src\map\searchstore.h" />
<ClInclude Include="..\src\map\skill.h" />
<ClInclude Include="..\src\map\status.h" />
<ClInclude Include="..\src\map\storage.h" />
<ClInclude Include="..\src\map\trade.h" />
<ClInclude Include="..\src\map\unit.h" />
<ClInclude Include="..\src\map\vending.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\3rdparty\libconfig\grammar.c" />
<ClCompile Include="..\3rdparty\libconfig\libconfig.c" />
<ClCompile Include="..\3rdparty\libconfig\scanctx.c" />
<ClCompile Include="..\3rdparty\libconfig\scanner.c" />
<ClCompile Include="..\3rdparty\libconfig\strbuf.c" />
<ClCompile Include="..\3rdparty\mt19937ar\mt19937ar.c" />
<ClCompile Include="..\src\common\conf.c" />
<ClCompile Include="..\src\common\core.c" />
<ClCompile Include="..\src\common\db.c" />
<ClCompile Include="..\src\common\des.c" />
<ClCompile Include="..\src\common\ers.c" />
<ClCompile Include="..\src\common\grfio.c" />
<ClCompile Include="..\src\common\malloc.c" />
<ClCompile Include="..\src\common\mapindex.c" />
<ClCompile Include="..\src\common\md5calc.c" />
<ClCompile Include="..\src\common\mempool.c" />
<ClCompile Include="..\src\common\mutex.c" />
<ClCompile Include="..\src\common\nullpo.c" />
<ClCompile Include="..\src\common\raconf.c" />
<ClCompile Include="..\src\common\random.c" />
<ClCompile Include="..\src\common\showmsg.c" />
<ClCompile Include="..\src\common\socket.c" />
<ClCompile Include="..\src\common\sql.c" />
<ClCompile Include="..\src\common\strlib.c" />
<ClCompile Include="..\src\common\thread.c" />
<ClCompile Include="..\src\common\timer.c" />
<ClCompile Include="..\src\common\utils.c" />
<ClCompile Include="..\src\common\cli.c" />
<ClCompile Include="..\src\common\msg_conf.c" />
<ClCompile Include="..\src\map\atcommand.c" />
<ClCompile Include="..\src\map\battle.c" />
<ClCompile Include="..\src\map\battleground.c" />
<ClCompile Include="..\src\map\buyingstore.c" />
<ClCompile Include="..\src\map\cashshop.c" />
<ClCompile Include="..\src\map\channel.c" />
<ClCompile Include="..\src\map\chat.c" />
<ClCompile Include="..\src\map\chrif.c" />
<ClCompile Include="..\src\map\clif.c" />
<ClCompile Include="..\src\map\date.c" />
<ClCompile Include="..\src\map\duel.c" />
<ClCompile Include="..\src\map\elemental.c" />
<ClCompile Include="..\src\map\guild.c" />
<ClCompile Include="..\src\map\intif.c" />
<ClCompile Include="..\src\map\itemdb.c" />
<ClCompile Include="..\src\map\log.c" />
<ClCompile Include="..\src\map\mail.c" />
<ClCompile Include="..\src\map\map.c" />
<ClCompile Include="..\src\map\mapreg_sql.c" />
<ClCompile Include="..\src\map\homunculus.c" />
<ClCompile Include="..\src\map\instance.c" />
<ClCompile Include="..\src\map\mercenary.c" />
<ClCompile Include="..\src\map\mob.c" />
<ClCompile Include="..\src\map\npc.c" />
<ClCompile Include="..\src\map\npc_chat.c" />
<ClCompile Include="..\src\map\party.c" />
<ClCompile Include="..\src\map\path.c" />
<ClCompile Include="..\src\map\pc.c" />
<ClCompile Include="..\src\map\pc_groups.c" />
<ClCompile Include="..\src\map\pet.c" />
<ClCompile Include="..\src\map\quest.c" />
<ClCompile Include="..\src\map\script.c" />
<ClCompile Include="..\src\map\searchstore.c" />
<ClCompile Include="..\src\map\skill.c" />
<ClCompile Include="..\src\map\status.c" />
<ClCompile Include="..\src\map\storage.c" />
<ClCompile Include="..\src\map\trade.c" />
<ClCompile Include="..\src\map\unit.c" />
<ClCompile Include="..\src\map\vending.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<Target Name="AfterBuild">
<Copy SourceFiles="..\conf\import-tmpl\battle_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\battle_conf.txt')" />
<Copy SourceFiles="..\conf\import-tmpl\char_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\char_conf.txt')" />
<Copy SourceFiles="..\conf\import-tmpl\inter_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\inter_conf.txt')" />
<Copy SourceFiles="..\conf\import-tmpl\log_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\log_conf.txt')" />
<Copy SourceFiles="..\conf\import-tmpl\login_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\login_conf.txt')" />
<Copy SourceFiles="..\conf\import-tmpl\map_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\map_conf.txt')" />
<Copy SourceFiles="..\conf\import-tmpl\packet_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\packet_conf.txt')" />
<Copy SourceFiles="..\conf\import-tmpl\script_conf.txt" DestinationFolder="..\conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\import\script_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_chn_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_chn_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_eng_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_eng_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_frn_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_frn_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_grm_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_grm_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_idn_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_idn_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_mal_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_mal_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_por_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_por_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_rus_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_rus_conf.txt')" />
<Copy SourceFiles="..\conf\msg_conf\import-tmpl\map_msg_spn_conf.txt" DestinationFolder="..\conf\msg_conf\import\" ContinueOnError="true" Condition="!Exists('..\conf\msg_conf\import\map_msg_spn_conf.txt')" />
</Target>
</Project>

View File

@ -0,0 +1,449 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\src\map\atcommand.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\battle.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\battleground.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\buyingstore.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\channel.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\cashshop.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\chat.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\chrif.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\clif.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\date.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\duel.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\elemental.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\guild.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\homunculus.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\instance.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\intif.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\itemdb.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\log.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\mail.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\map.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\mapreg_sql.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\mercenary.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\mob.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\npc.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\npc_chat.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\party.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\path.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\pc.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\pet.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\quest.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\script.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\searchstore.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\skill.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\status.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\storage.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\trade.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\unit.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\map\vending.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\common\core.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\des.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\db.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\ers.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\grfio.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\malloc.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mapindex.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\md5calc.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\nullpo.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\random.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\socket.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\sql.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\strlib.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\timer.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\utils.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\conf.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\map\pc_groups.c">
<Filter>map_sql</Filter>
</ClCompile>
<ClCompile Include="..\src\common\showmsg.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\mt19937ar\mt19937ar.c">
<Filter>3rdparty\mt19937ar</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\grammar.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\libconfig.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\scanctx.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\scanner.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\3rdparty\libconfig\strbuf.c">
<Filter>3rdparty\libconfig</Filter>
</ClCompile>
<ClCompile Include="..\src\common\thread.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mutex.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\mempool.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\raconf.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\cli.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\msg_conf.c">
<Filter>common</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\map\atcommand.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\battle.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\battleground.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\buyingstore.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\channel.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\cashshop.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\chat.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\chrif.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\clif.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\date.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\duel.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\elemental.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\guild.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\homunculus.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\instance.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\intif.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\itemdb.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\log.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\mail.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\map.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\mapreg.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\mercenary.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\mob.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\npc.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\party.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\path.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\pc.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\pet.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\quest.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\script.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\searchstore.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\skill.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\status.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\storage.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\trade.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\unit.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\map\vending.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\common\cbasetypes.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\core.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\db.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\des.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\ers.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\grfio.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\malloc.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mapindex.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\md5calc.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mmo.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\nullpo.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\random.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\socket.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\sql.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\strlib.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\timer.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\utils.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\config\const.h" />
<ClInclude Include="..\src\config\core.h" />
<ClInclude Include="..\src\config\renewal.h" />
<ClInclude Include="..\src\config\secure.h" />
<ClInclude Include="..\src\config\classes\general.h" />
<ClInclude Include="..\src\common\conf.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\map\pc_groups.h">
<Filter>map_sql</Filter>
</ClInclude>
<ClInclude Include="..\src\common\showmsg.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\mt19937ar\mt19937ar.h">
<Filter>3rdparty\mt19937ar</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\grammar.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\libconfig.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\parsectx.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\scanctx.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\scanner.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\strbuf.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\3rdparty\libconfig\wincompat.h">
<Filter>3rdparty\libconfig</Filter>
</ClInclude>
<ClInclude Include="..\src\common\winapi.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\thread.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mutex.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mempool.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\raconf.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\cli.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\msg_conf.h">
<Filter>common</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="common">
<UniqueIdentifier>{3a137217-ebf7-44ee-95d9-3d7c51d2a199}</UniqueIdentifier>
</Filter>
<Filter Include="map_sql">
<UniqueIdentifier>{8c01a080-5a78-4fb7-96f2-862c33a02230}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty">
<UniqueIdentifier>{c4845ea8-bcc7-411b-af29-e3842adb6714}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty\mt19937ar">
<UniqueIdentifier>{fcf23386-ddba-4a72-9b41-62f8e2d0e6c0}</UniqueIdentifier>
</Filter>
<Filter Include="3rdparty\libconfig">
<UniqueIdentifier>{9caf40b7-c4d1-43b4-bd1f-0376b4f920e7}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

155
vcproj-13/mapcache.vcxproj Normal file
View File

@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D356871D-58E1-450B-967A-E7E9646175AF}</ProjectGuid>
<RootNamespace>mapcache</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">mapcache</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">mapcache</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\zlib\include;..\3rdparty\msinttypes\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MINICORE;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
<ExceptionHandling>
</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalOptions>/FIXED:NO %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>libcmtd.lib;oldnames.lib;zdll.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)mapcache.exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\zlib\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\zlib\include;..\3rdparty\msinttypes\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MINICORE;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>false</FunctionLevelLinking>
<AdditionalOptions>
</AdditionalOptions>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>CompileAsC</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>libcmt.lib;oldnames.lib;zdll.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)mapcache.exe</OutputFile>
<AdditionalLibraryDirectories>..\3rdparty\zlib\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\src\common\core.c" />
<ClCompile Include="..\src\common\des.c" />
<ClCompile Include="..\src\common\grfio.c" />
<ClCompile Include="..\src\common\malloc.c" />
<ClCompile Include="..\src\common\showmsg.c" />
<ClCompile Include="..\src\common\strlib.c" />
<ClCompile Include="..\src\common\utils.c" />
<ClCompile Include="..\src\tool\mapcache.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\common\cbasetypes.h" />
<ClInclude Include="..\src\common\core.h" />
<ClInclude Include="..\src\common\des.h" />
<ClInclude Include="..\src\common\grfio.h" />
<ClInclude Include="..\src\common\malloc.h" />
<ClInclude Include="..\src\common\mmo.h" />
<ClInclude Include="..\src\common\showmsg.h" />
<ClInclude Include="..\src\common\strlib.h" />
<ClInclude Include="..\src\common\utils.h" />
<ClInclude Include="..\src\common\winapi.h" />
<ClInclude Include="..\src\config\renewal.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\src\common\core.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\des.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\grfio.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\malloc.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\showmsg.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\strlib.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\common\utils.c">
<Filter>common</Filter>
</ClCompile>
<ClCompile Include="..\src\tool\mapcache.c">
<Filter>mapcache</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\common\cbasetypes.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\core.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\des.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\grfio.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\malloc.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\mmo.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\showmsg.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\strlib.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\utils.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\common\winapi.h">
<Filter>common</Filter>
</ClInclude>
<ClInclude Include="..\src\config\renewal.h" />
</ItemGroup>
<ItemGroup>
<Filter Include="common">
<UniqueIdentifier>{a9c2444c-ffec-4e89-8412-e530231d79dc}</UniqueIdentifier>
</Filter>
<Filter Include="mapcache">
<UniqueIdentifier>{5ea9d6f7-0a10-4bfb-ad39-478e4b1d8a0d}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>