Jump to content
  • 0

guild logo not show up


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

- script Revenge -1,{
OnInit:
disablenpc "The King";
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:
OnTue2200:
OnWed2200:
OnThu2200:
announce "The King of Emperium Hill is over!", 0;
agitend;
enablenpc "Hamavel";
disablenpc "The King";
killmonsterall "bat_a01";
end;

L_start:
OnTue2100:
OnWed2100:
OnThu2100:
announce "The King of Emperium Hill has begun!", 0;
agitstart;
enablenpc "The King";
disablenpc "Hamavel";
setcastledata "bat_a01", 1, 0;
// getcastledata "bat_a01", 0, "::OnRevRevenge"; // I think this command broken
donpcevent "::OnRevRevenge";
maprespawnguildid "bat_a01", 0, 7;
monster "bat_a01",168,345,"EMPERIUM",1288,1,"Revenge::OnEmpDead";
end;

OnEmpDead:
set .@gid, getcharid(2);
setcastledata "bat_a01", 1, .@gid;
announce "The current King of Emperium Hill is the [" + strcharinfo(2) + "] guild.", 0;
// getcastledata "bat_a01", 0, "::OnRevRevenge";
donpcevent "::OnRevRevenge";
maprespawnguildid "bat_a01", .@gid, 6;
sleep 500;
if ( agitcheck() == 1 )
monster "bat_a01",168,345,"EMPERIUM",1288,1,"Revenge::OnEmpDead";
end;
}

// KoE Entrance
prontera,166,190,4 script The King 58,{
mes "[The King]";
if ( getcharid(2) == 0 ) {
mes "You must have a guild to participate in the ^FF0000King of Emperium Hill Tournament^000000.";
close;
}
mes "Hello.";
mes "Would you like to participate in the ^FF0000King of Emperium Hill Tournament^000000?";
if ( select ( "Yes", "No" ) == 2 ) close;
switch( rand(1,4) ){
	case 1: warp "bat_a01", 50, 88; end;
	case 2: warp "bat_a01", 88, 50; end;
	case 3: warp "bat_a01", 50, 11; end;
	case 4: warp "bat_a01", 11, 50; end;
}
}

// KoE Exit
guild_vs1,57,49,5 script Hamavel 453,{
mes "Hamavel";
mes "Thanks for join ValhallaRO, See ya ";
if ( getcharid(2) == getcastledata("guild_vs1",1) )
getitem 501, 400; // configure prize here
next;
warp "Save",0,0;
close;
}


// Flags
prontera.gat,153,190,4 script King of Emperium Hill#1::koe_flag 722,{
set .@gid, getcastledata("bat_a01",1);
if ( .@gid == 0 ) end;
mes "[King of Emperium Hill]";
mes "The Current King of Emperium Hill is the ["+ getguildname(.@gid) +"] guild.";
close;
OnRevKoE:
flagemblem getcastledata("bat_a01",1);
end;
}
guild_vs1,61,49,6 duplicate(koe_flag) King of Emperium Hill#2 722
guild_vs1,38,49,2 duplicate(koe_flag) King of Emperium Hill#3 722
guild_vs1,49,61,0 duplicate(koe_flag) King of Emperium Hill#4 722

bat_a01 mapflag gvg_castle
bat_a01 mapflag nobranch
bat_a01 mapflag nomemo
bat_a01 mapflag nopenalty
bat_a01 mapflag noreturn
bat_a01 mapflag nosave SavePoint
bat_a01 mapflag noteleport
bat_a01 mapflag pvp_noparty
bat_a01 mapflag nowarp
bat_a01 mapflag nowarpto

here my castle_db

0,bat_a01,RevengeBattleground,Agit#bat_a01,1 // kRO : Hohensyubangawoo

the problem logo guild notshow up

how to make show the logo guld

Edited by Arcenciel
Codeboxed
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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