Jump to content
  • 0

who you killed in woe and woe score ladder


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Hello o:! may i ask for a script that announces you via disbottom when you kill someoe during woe hours?

 

i already got this one that says who killed you

 

http://rathena.org/board/topic/54142-see-who-kills-you-in-woe/

-	script	woeded	-1,{
OnPCKillEvent:
if( getmapflag( strcharinfo(3),mf_gvg_castle ) ){
if(AttachRID(killedrid))
   DispBottom("You were killed by " + RID2Name(killerrid) + ".");
	}
end;
}

also i want one that will tell you via disbottom who you killed o: i know it has something to do with rids but i just don't get them ):

 

to not open a second post and if may i ask, a woe ladder with how many players you killed and how many times you got kill during woe only , i just found ladders for mvp tester rooms but i want it for live woe

 

thank you so much in advance !

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  


- script WoEKillMessage -1,{

OnPCKillEvent:

if((AgitCheck() && CallSub(IsWoE1Map, StrCharInfo(3))) || (AgitCheck2() && CallSub(IsWoE2Map, StrCharInfo(3))))

{

DispBottom("You killed " + RID2Name(killedrid) + ".");

if(AttachRID(killedrid))

DispBottom("You were killed by " + RID2Name(killerrid) + ".");

}

End();

IsWoE1Map:

for(Set(.@i, GetArraySize(.WoE1Maps$) - 1); .@i >= 0; Set(.@i, .@i - 1))

if(.WoE1Maps$[.@i] == GetArg(0))

return 1;

return 0;

IsWoE2Map:

for(Set(.@i, GetArraySize(.WoE2Maps$) - 1); .@i >= 0; Set(.@i, .@i - 1))

if(.WoE2Maps$[.@i] == GetArg(0))

return 1;

return 0;

OnInit:

SetArray(.WoE1Maps$[0], "aldeg_cas01", "aldeg_cas02", "aldeg_cas03", "aldeg_cas04", "aldeg_cas05"

, "gefg_cas01", "gefg_cas02", "gefg_cas03", "gefg_cas04", "gefg_cas05"

, "payg_cas01", "payg_cas02", "payg_cas03", "payg_cas04", "payg_cas05"

, "prtg_cas01", "prtg_cas02", "prtg_cas03", "prtg_cas04", "prtg_cas05");

SetArray(.WoE2Maps$[0], "arug_cas01", "arug_cas02", "arug_cas03", "arug_cas04", "arug_cas05"

, "schg_cas01", "schg_cas02", "schg_cas03", "schg_cas04", "schg_cas05");

End();

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

ow thankie o:! it worls pretty good :33!

 

huh i think the woe ladder would be more hard right x_x because sql things are kinda weird o:!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


- script sdfdfbng -1,{

OnPCKillEvent:

if ( !getmapflag( strcharinfo(3),mf_gvg_castle ) ) end;

dispbottom "You killed " + rid2name( killedrid );

attachrid killedrid;

dispbottom "killed by " + rid2name( killerrid );

end;

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

-	script	sdfdfbng	-1,{
OnPCKillEvent:
	if ( !getmapflag( strcharinfo(3),mf_gvg_castle ) ) end;
	dispbottom "You killed " + rid2name( killedrid );
	attachrid killedrid;
	dispbottom "killed by " + rid2name( killerrid );
	end;
}

 

huh that one works too, but is shorter o: 

 

those script do the same but one is shorter than other, i just don't get it @_@ the first one is more complete (?) or the second one is more optimized (?)

 

huh i better open a second post for a WoE ladder o:!

 

ty both :333

  • Upvote 1
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...