Jump to content
  • 0

[KoE] able to hit own emperium


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

//===== eAthena Script ============================================
//= King of Emperium Hill
//===== By: =======================================================
//= AnnieRuru
//===== Current Version: ==========================================
//= 1.0
//===== Compatible With: ==========================================
//= hercules 2014-02-18
//===== Description: ==============================================
//= defends the emperium in the middle of the map until times up
//===== Topic =====================================================
//= http://hercules.ws/board/topic/4495-gvg-king-of-emperium-hill/
//===== Additional Comments: ======================================
//= Finally there is a topic for this !
//=================================================================


- script KoE -1,{
OnInit:
disablenpc "The King#KoE";
disablenpc "Exit#KoE";
bindatcmd "koe", strnpcinfo(0)+"::OnCommand", 99,100;
end;
OnCommand:
if ( compare( .@atcmd_parameters$, "on" ) ) goto L_start;
else if ( compare( .@atcmd_parameters$, "off" ) ) goto L_end;
else {
dispbottom "type - '@koe on' to start the event";
dispbottom "type - '@koe off' to end the event";
}
end;
OnMon2100:
OnMon2200: // everyday 8pm starts


OnWed2100:
OnWed2200:


OnSat2100:
OnSat2200:
L_start:
if ( .start ) end;
gvgon "guild_vs1";
announce "The King of Emperium Hill has begun!", bc_all;
.start = 1;
enablenpc "The King#KoE";
disablenpc "Exit#KoE";
$koegid = 0;
donpcevent "::OnRevKoE";
maprespawnguildid "guild_vs1", $koegid, 7;
monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
end;
OnMon2130:
OnMon2230: // everyday 8pm starts




// getitem 675, 5;
Zeny += 10; // configure prize here
end;
}


// Flags
guild_vs1,49,38,4 script King of Emperium Hill#1::koe_flag 722,{
if ( !$koegid ) end;
mes "[King of Emperium Hill]";
mes "The Current King of Emperium Hill is the ["+ getguildname($koegid) +"] guild.";
close;
//OnInit: // Uncomment this line to make the emblem stay after @reloadscript
OnRevKoE:
flagemblem $koegid;
end;
}

After i destroyed the emperium, i still able to hit own emperium again although the empeerium belongs to me. how do i solve it?

 

 

Edited by donkeyg
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2351
  • Joined:  10/28/11
  • Last Seen:  

you didnt apply the source mod patch given by AnnieRuru.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

you didnt apply the source mod patch given by AnnieRuru.

 

oh ya.. thanks for reminding, an

 

 

Edited by donkeyg
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...