Jump to content
  • 0

is there a script for breaker emperium announcer?


Famous

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

I need a script that who ever distroy the emp the name will announce

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  107
  • Reputation:   91
  • Joined:  01/19/12
  • Last Seen:  

Search "OnAgitBreak:" label in npc/guild/agit_template.txt

Replace this line:

mapannounce strnpcinfo(2),"The emperium has been destroyed.",bc_map|bc_woe,"0x00CCFF",FW_NORMAL,12;

With this:

mapannounce strnpcinfo(2),"The emperium has been destroyed by " + strcharinfo(0),bc_map|bc_woe,"0x00CCFF",FW_NORMAL,12;

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   597
  • Joined:  11/25/11
  • Last Seen:  

For rAthena, the thing is a bit different.

The file is: npc/guild/agit_main.txt

Then, inside the Label OnAgitBreak:

Find:

announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by the [" + getguildName(.@GID) + "] guild.",bc_all|bc_woe;

Replace:

announce "[" + strcharinfo(0) + "] conquered [" + getcastlename(strnpcinfo(2)) + "] castle for [" + getguildName(.@GID) + "] guild!",bc_all|bc_woe;

The answer of Myzter is not incorrect, but, the line he said is only shown to the ones inside the Castle.

Edited by Haziel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

and for the WoE_SE agits you have to them one by one plus make sure the castle name is correct.

example at npc/guild2/schg_cas04.txt

announce "[ " + strcharinfo(0) + " ] of [ " + getguildname(.@gid) + " ] conquered [ " + GetCastleName("schg_cas04") + " ] of Schwarzwald Region.",bc_all|bc_woe;

Edited by Emnaj
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

thanks guys problem solve!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  212
  • Reputation:   5
  • Joined:  01/24/12
  • Last Seen:  

Guys how about this

i want also when player destroy the emp the name will be announce

im using

//===== eAthena Script =======================================

//= Euphy's WOE Controller

//===== By: ==================================================

//= Euphy

//===== Current Version: =====================================

//= 1.3a - eAthena

//===== Description: =========================================

//= A controller for War of Emperium designed for

//= simplicity and ease of use.

//= Many concepts taken from ToastOfDoom's script,

//= and "rewards" function originally by Goddameit.

//===== Additional Comments: =================================

//= Be sure to disable the default agit controllers!

//== npc\guild\agit_controller.txt

//== npc\guild2\agit_start_se.txt

http://pastebin.com/6Ug6rgEv

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...