Jump to content

Hale

Members
  • Content Count

    9
  • Joined

  • Last visited

About Hale

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. rAthena Pre-Renewal 2015 Client Good day! I downloaded sa script for King of Hill at AnnieRuRu's content. The script works but the problem is, even tho I'm the owner of the Emperium, I can still hit the Emperium itself. I saw one post recently that you need to patch your server using the koe_1.2.diff file/patch file for rAthena. But I can't seem to find tutorials online on how to do it What I did earlier was to upload the diff file into the root folder of my server using WinSCP (shown in the first image below) and then I did the git apply using terminal in my server using VNCviewer and it has error (shown in the second image below). I really don't have the slightest idea on how to do this the correct way. I hope you could help me asap. Thanks a lot! Here's the patch content I got from AnnieRuRu's most update KOE Files and Patch // ===== rAthena Patch ======================================== // = King of Emperium Hill // ===== By: ================================================== // = AnnieRuru // ===== Current Version: ===================================== // = 1.2 // ===== Compatible With: ===================================== // = rAthena 2018-04-08 // ===== Description: ========================================= // = stop guild owner from hitting the emperium over and over // ===== Topic ================================================ // = http://herc.ws/board/topic/4495-king-of-emperium-hill/ // ===== Additional Comments: ================================= // = finally a patch for this popular script // ============================================================ db/castle_db.txt | 2 ++ src/map/battle.cpp | 7 +++++++ src/map/battle.hpp | 1 + 3 files changed, 10 insertions(+) diff --git a/db/castle_db.txt b/db/castle_db.txt index ceb74dd..0fc8231 100644 --- a/db/castle_db.txt +++ b/db/castle_db.txt @@ -60,3 +60,5 @@ 41,te_prtcas03,Gloria 3,Manager_TE#Wigner 42,te_prtcas04,Gloria 4,Manager_TE#Heine 43,te_prtcas05,Gloria 5,Manager_TE#Nerious + +100,guild_vs1,King of Emperium Hill,koe \ No newline at end of file diff --git a/src/map/battle.cpp b/src/map/battle.cpp index e845c5e..4234ba7 100644 --- a/src/map/battle.cpp +++ b/src/map/battle.cpp @@ -7643,6 +7643,13 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f if( (s_bl = battle_get_master(src)) == NULL ) s_bl = src; + if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { + struct map_session_data *sd = BL_CAST( BL_PC, s_bl ); + if ( ( ( (TBL_MOB*)target )->mob_id == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) && + ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) ) + return 0; + } + if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOB diff --git a/src/map/battle.hpp b/src/map/battle.hpp index b5fe7d4..f8e8908 100644 --- a/src/map/battle.hpp +++ b/src/map/battle.hpp @@ -10,6 +10,7 @@ #include "../config/core.h" #include "map.hpp" //ELE_MAX +#include "mapreg.hpp" //fwd declaration struct map_session_data;
  2. 1.) I'm having a problem with my Gypsy class wherein its etc tab/3rd tab skills are still disabled after being soul linked as show in the first image below, Comparing it to my Ministrel wherein its etc tab/3rd tab skills are enabled after being soul linked as shown in the second image below. How do I enable the skills of my Gypsy in etc/3rd tab skills after being soul linked? Thanks a lot for the help!
  3. Before we start. I would like to give credits to Annieruru for this script. Thank you! I'm done setting up the SQL Table and the dotapvpladder2.9.txt in my server and its working (text-based) along with the ladder. But............. I have two problems: 1.) The map where the player is killed doesn't show or blank. For example, Hale just pawned heyheyhey's head at ____________ 2.) I already downloaded the dotasoundeffect_2.rar, I don't have the idea where to put this wav files. Well for the mean time, I placed them inside my "ROClient/data" folder and it doesn't work. Please refer to the images and the program below. dota_pvpladder_2.9.txt
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.