Jump to content
  • 0

King Of Emperium [KoE]


bingo

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  06/28/13
  • Last Seen:  

how i make my own woe's castle, for this script.

why i break my own emperium again and again many times? Help plz 

 

This is script

//Script by [email protected]
//Do not removed credits
-    script    KoE    -1,{
OnInit:
disablenpc "Rey de la colina#KoE";
disablenpc "Exit#KoE";
end;
OnWhisperGlobal:
if ( getgmlevel() < 99 ) end;
else if ( compare ( @whispervar0$, "on" ) ) goto L_start;
else if ( compare ( @whispervar0$, "off" ) ) goto L_end;
else end;

L_end:
OnClock0816:
//OnClock0916:
OnClock1016:
//OnClock1116:
OnClock1216:
//OnClock1316:
OnClock1416:
//OnClock1516:
OnClock1616:
//OnClock1716:
OnClock1816:
//OnClock1916:
OnClock2016:
//OnClock2116:
OnClock2216:
//OnClock2316:
announce "Evento Rey de La Colina Ha Terminado", 0;
sleep2 2000;
announce "Felicitaciones a los ganadores", 0;
set .koe_start, 0;
enablenpc "Exit#KoE";
disablenpc "Rey de la colina#KoE";
killmonsterall "guild_vs1";
sleep2 2000;
announce "En 1 hora volverá el evento", 0;
sleep2 2000;
mapannounce "guild_vs1","Exit: Tienen 30 segundos para reclamar su premio o desapareceré ",0;
sleep 50000;
disablenpc "Exit#KoE";
enablenpc "Salida#KoE";
end;
L_start:
OnClock0800:
//OnClock0900:
OnClock1000:
//OnClock1100:
OnClock1200:
//OnClock1300:
OnClock1400:
//OnClock1500:
OnClock1600:
//OnClock1700:
OnClock1800:
//OnClock1900:
OnClock2000:
//OnClock2100:
OnClock2200:
//OnClock2300:
announce "Evento Rey de la colina Va a Comenzar!", 0;
sleep2 6000;
announce "El Evento es Guild Vs Guild Para Ganar La Colina", 0;
sleep2 6000;
announce "Solo tendrán 15 minutos para Jugar, Luchar Por La Colina", 0;
sleep2 6000;
announce "Deben hablar con el NPC que aparecerá en Prontera Al Lado de la Curadora", 0;
sleep2 6000;
announce "Los Miembros de la guild Ganadora Se Llevarán 40 Poring Coins!", 0;
sleep2 6000;
announce "Comenzará en 5 Segundos", 0;
sleep2 6000;
announce "Comenzará en 4 Segundos", 0;
sleep2 6000;
announce "Comenzará en 3 Segundos", 0;
sleep2 6000;
announce "Comenzará en 2 Segundos", 0;
sleep2 6000;
announce "Comenzará en 1 Segundo", 0;
sleep2 6000;
announce "Evento rey de la colina ha comenzado", 0;
sleep2 1000;
set .koe_start, 1;
enablenpc "Rey de la colina#KoE";
disablenpc "Exit#KoE";
disablenpc "Salida#KoE";
set $koegid, 0;
set .Defender, getcharid(2);
donpcevent "::OnRevKoE";
maprespawnguildid "guild_vs1", $koegid, 6;
monster "guild_vs1",49,49,"Rey de la colina",1288,1,"KoE::OnEmpDead";
end;
OnEmpDead:
set $koegid, getcharid(2);
announce "El Rey de la Colina es [" + strcharinfo(2) + "] guild.", 0;
donpcevent "::OnRevKoE";
maprespawnguildid "guild_vs1", $koegid, 6;
sleep 500;
if ( .koe_start )
  monster "guild_vs1",49,49,""+ getguildname($koegid) +"",1288,1,"KoE::OnEmpDead";
end;
}
// KoE Entrance
prontera,151,186,5    script    Rey de la colina#KoE    415,{
    mes "[Rey de la colina]";
if ( getcharid(2) == 0 ) {
  mes "Tu debes tener guild para poder participar en ^FF0000El Rey de la Colina^000000.";
  close;
}
    mes "Hola";
    mes "Quieres participar en ^FF0000El Rey de la colina?^000000?";
if ( select ( "Si", "No" ) == 2 ) close;
    switch( rand(1,4) ){
        case 1: warp "guild_vs1", 50, 88; end;
        case 2: warp "guild_vs1", 88, 50; end;
        case 3: warp "guild_vs1", 50, 11; end;
        case 4: warp "guild_vs1", 11, 50; end;
}
}
// KoE Exit
guild_vs1,49,56,5    script    Exit#KoE    51,{
mes "[Salida]";
mes "Te veo luego.";
if ( getcharid(2) == $koegid )
  getitem 7539, 50; // configure prize here
next;
warp "Save",0,0;
close;
}
// KoE Exit Without Reward
guild_vs1,52,56,5    script    Salida#KoE    53,{
mes "[Salida]";
mes "Lo siento no has reclamado tu premio a tiempo solo puedo devolverte a la ciudad Adiós.";
if ( getcharid(2) == $koegid )
next;
warp "Save",0,0;
close;
}
// Flags
guild_vs1,49,38,4    script    Rey de la colina#1::koe_flag    722,{
set .@gid, $koegid;
if ( .@gid == 0 ) end;
mes "[King of Emperium Hill]";
mes "Actualmente el Rey de la colina es ["+ getguildname(.@gid) +"] guild.";
close;
OnRevKoE:
flagemblem $koegid;
end;
}
guild_vs1,61,49,6    duplicate(koe_flag)    Rey de la colina#2    722
guild_vs1,38,49,2    duplicate(koe_flag)    Rey de la colina#3    722
guild_vs1,49,61,0    duplicate(koe_flag)    Rey de la colina#4    722
guild_vs1    mapflag    gvg_castle
guild_vs1    mapflag    nobranch
guild_vs1    mapflag    nomemo
guild_vs1    mapflag    nopenalty
guild_vs1    mapflag    noreturn
guild_vs1    mapflag    nosave SavePoint
guild_vs1    mapflag    noteleport
//guild_vs1     mapflag    gvg_noparty
guild_vs1    mapflag    nowarp
guild_vs1    mapflag    nowarpto

 

Edited by Emistry
changed to code bbcode.
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


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

official Emperium Behaviours only applicable to Guild Castle .. 

 

anyway i remember AnnieRuru has made a patch for it somewhere in her KOE topic ...

check her topic and grab the patch file and apply it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  06/28/13
  • Last Seen:  

I don't find this topic, help plz

 

i put that map in castle_db and not working :/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  06/28/13
  • Last Seen:  

i don't use that script.

 

the script posted is more different than the link

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   9
  • Joined:  09/22/12
  • Last Seen:  

That link isnt about the script, Emistry told you to check her topic as it contains a source edit to fix your Emp issue.

And you apparently werent able to find that topic, "I don't find this topic, help plz".

So was kind enough to search for that topic, posted a link just for you, leading to not only that topic, but even directly to the post featuring that source edit.


"Unless you have the KoE patch you will be able to hit the emperium even if you control it."

Now even a direct link to that source edit (even a more updated version) http://rathena.org/board/index.php?app=core&module=attach&section=attach&attach_id=4462

(File Source: http://rathena.org/board/topic/70567-peopleperson49s-scripts/)

 

I got enough work to do, why am i doing someone elses search work? -.-

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

If you go to my script collection there is the koe patch that Annie made there with my KoE script.

 

Peopleperson49

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