From a3d689043402ec7de5b04bcc68016f6e8541ec47 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 21 Jun 2013 10:26:39 -0300 Subject: Fixed MSVC2010 Problem Special Thanks to Emistry! Signed-off-by: shennetsind --- Hercules-10.sln | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) mode change 100644 => 100755 Hercules-10.sln diff --git a/Hercules-10.sln b/Hercules-10.sln old mode 100644 new mode 100755 index 997df68af..f8bbc88c1 --- a/Hercules-10.sln +++ b/Hercules-10.sln @@ -1,5 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 +# Visual C++ Express 2010 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "char-server", "vcproj-10\char-server.vcxproj", "{D356871D-58E1-450B-967A-E4E9646175AF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "login-server", "vcproj-10\login-server.vcxproj", "{D356871D-58E1-450B-967A-E5E9646175AF}" @@ -8,7 +8,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "map-server", "vcproj-10\map EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mapcache", "vcproj-10\mapcache.vcxproj", "{D356871D-58E1-450B-967A-E7E9646175AF}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "plugin-sample", "vcproj-10\plugin-sample.vcxproj", "{E64C56D3-CDFB-483B-900B-A62D216B6D2F}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "plugin-sample", "vcproj-10\plugin-sample.vcxproj", "{F4A5705B-BED6-47AB-9135-2D39838F14DC}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -32,10 +32,8 @@ Global {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 - {E64C56D3-CDFB-483B-900B-A62D216B6D2F}.Debug|Win32.ActiveCfg = Debug|Win32 - {E64C56D3-CDFB-483B-900B-A62D216B6D2F}.Debug|Win32.Build.0 = Debug|Win32 - {E64C56D3-CDFB-483B-900B-A62D216B6D2F}.Release|Win32.ActiveCfg = Release|Win32 - {E64C56D3-CDFB-483B-900B-A62D216B6D2F}.Release|Win32.Build.0 = Release|Win32 + {F4A5705B-BED6-47AB-9135-2D39838F14DC}.Debug|Win32.ActiveCfg = Debug|Win32 + {F4A5705B-BED6-47AB-9135-2D39838F14DC}.Release|Win32.ActiveCfg = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE -- cgit v1.2.3-70-g09d2 From 3c8c0539e9ec580bbb10fad980040bf2a668ad86 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 21 Jun 2013 10:31:54 -0300 Subject: Fixed Bug #7406 sd->idletime would be empty until first clif action, now it starts right on pc_authok. http://hercules.ws/board/tracker/issue-7406-checkidle-acting-weird-onpcloginevent/ Signed-off-by: shennetsind --- src/map/pc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/pc.c b/src/map/pc.c index c2d50a7ce..d8e2a0537 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -986,6 +986,8 @@ bool pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_tim sd->cansendmail_tick = tick; sd->hchsysch_tick = tick; + sd->idletime = last_tick; + for(i = 0; i < MAX_SPIRITBALL; i++) sd->spirit_timer[i] = INVALID_TIMER; for(i = 0; i < ARRAYLENGTH(sd->autobonus); i++) -- cgit v1.2.3-70-g09d2 From 9066912f74010dca38b151681faf4496e74ec612 Mon Sep 17 00:00:00 2001 From: jaBote Date: Sat, 22 Jun 2013 14:03:54 +0200 Subject: Updated db/pre-re/skill-tree.conf Added a some documentation to the file. Since Github doesn't allow me to edit some files at once and I haven't Git tools right now, a follow up will come right now with the db/re/skill-tree.conf file doc. Thanks to Gepard for pointing it out on the forum topic. --- db/pre-re/skill_tree.conf | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/db/pre-re/skill_tree.conf b/db/pre-re/skill_tree.conf index 9853c97f2..248d9bf1f 100644 --- a/db/pre-re/skill_tree.conf +++ b/db/pre-re/skill_tree.conf @@ -9,7 +9,22 @@ //= http://hercules.ws/board/ //================= More Information ================= // http://hercules.ws/board/topic/1188-skill-tree-db-redesign/ +//================ Structure Example ================= +/* +Job_Name: { /* Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there) */ + inherit: ( "Other_Job_Name" ); /* Base job from which this job will inherit its skill tree. NV_TRICKDEAD inheritance is skipped for non-novices from the source */ + + skills: { /* SKILL_NAMEs come from the Name (16th column) value in db/pre-re/skill_db.txt */ + SKILL_NAME1: Max_Level /* Use this for skills that don't have other skill prerequisite; Max_Level is a numeric value that should match your client side files */ + SKILL_NAME2: { /* Use this for skills which have other skills as prerequisites */ + MaxLevel: Max_Level /* Max_Level is a numeric value that should match your client side files */ + SKILL_NAME_PREREQUISITE: Level_Prerequisite /* The prerequisite skill and min level for having this skill available. Should also match your client side files */ + SKILL_NAME_PREREQUISITE2: Level_Prerequisite2 /* You can add as many prerequisite skills as you want. Minimum of 1 if you add a skill this way */ + } +} +*/ //==================================================== + Novice: { skills: { NV_BASIC: 9 @@ -3833,4 +3848,4 @@ Oboro: { OB_ZANGETSU: 2 } } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2 From 7649864de078d9d72f0a554439562c883a77d64b Mon Sep 17 00:00:00 2001 From: jaBote Date: Sat, 22 Jun 2013 15:13:28 +0300 Subject: Updated db/re/skill_db.txt (Follow up 9066912f74010dca38b151681faf4496e74ec612) Added some doc for this file. Sorry for the follow up, but I don't have Git tools at the moment at Github only lets me to edit files one by one. Thanks to Gepard for pointing it out on the forum topic. --- db/re/skill_tree.conf | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf index f61205cfa..ebcd5b663 100644 --- a/db/re/skill_tree.conf +++ b/db/re/skill_tree.conf @@ -9,7 +9,22 @@ //= http://hercules.ws/board/ //================= More Information ================= // http://hercules.ws/board/topic/1188-skill-tree-db-redesign/ +//================ Structure Example ================= +/* +Job_Name: { /* Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there) */ + inherit: ( "Other_Job_Name" ); /* Base job from which this job will inherit its skill tree. NV_TRICKDEAD inheritance is skipped for non-novices from the source */ + + skills: { /* SKILL_NAMEs come from the Name (16th column) value in db/re/skill_db.txt */ + SKILL_NAME1: Max_Level /* Use this for skills that don't have other skill prerequisite; Max_Level is a numeric value that should match your client side files */ + SKILL_NAME2: { /* Use this for skills which have other skills as prerequisites */ + MaxLevel: Max_Level /* Max_Level is a numeric value that should match your client side files */ + SKILL_NAME_PREREQUISITE: Level_Prerequisite /* The prerequisite skill and min level for having this skill available. Should also match your client side files */ + SKILL_NAME_PREREQUISITE2: Level_Prerequisite2 /* You can add as many prerequisite skills as you want. Minimum of 1 if you add a skill this way */ + } +} +*/ //==================================================== + Novice: { skills: { NV_BASIC: 9 @@ -3830,4 +3845,4 @@ Oboro: { OB_ZANGETSU: 2 } } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2