Jump to content
  • 0

Different custom aura for different top 3 pvp player


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

Request Different custom aura for different top 3 pvp player

can anyone share it to me :D

Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

@cydh, after implement this, the aura automatically work for top 3 pvp ladder ?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

no, just made it based on Nana's comment. xD

 

you can improve it by your custom script, maybe PVP ladder.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

@Cydh 

 

it's the patch you put together. I think its based on what nana had though?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

I think so.

**I just deleted my .patch file just deleted, there are some wrong lines. I'll re-attach it **

 

Uhmm, Nana's comment based on old release from eAthena and I add some lines based on this post to avoid map crash after monster attacking.

 

I've tried, when using skill Cloaking, Hiding, Exceed cloaking, Camouflade, (I think all of) effects doesn't disappear from player that has it.

and int aura; on pc.h is useless, it's never be called. :D

Edited by Cydh
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

Here's how I would do it.

 

1. Apply this: http://upaste.me/raw/d4055407f84041e0 (I based the diff from rev 17088)

 

2. Then put up a npc with something like this event(depending on how your ranking works, in this case i use fame)

 

OnPCLoginEvent:
query_sql("select char_id from `char` ORDER BY fame DESC LIMIT 3", @fame);
for(set .@i,0; .@i<3; set .@i,.@i+1){
	if(getcharid(0) == @fame[.@i]){
		atcommand "@auraset "+(.@i+16);
		end;
	}
}
atcommand "@auraset 0";
end;
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

I think so.

**I just deleted my .patch file just deleted, there are some wrong lines. I'll re-attach it **

 

Uhmm, Nana's comment based on old release from eAthena and I add some lines based on this post to avoid map crash after monster attacking.

 

I've tried, when using skill Cloaking, Hiding, Exceed cloaking, Camouflade, (I think all of) effects doesn't disappear from player that has it.

and int aura; on pc.h is useless, it's never be called. :D

 

can u make a source script also :D 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  04/10/12
  • Last Seen:  

@clyd does that patch file works fixed the bug of hiding, cloaking etc??? im using version 17012

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

Here's how I would do it.

 

1. Apply this: http://upaste.me/raw/d4055407f84041e0 (I based the diff from rev 17088)

 

2. Then put up a npc with something like this event(depending on how your ranking works, in this case i use fame)

 

OnPCLoginEvent:
query_sql("select char_id from `char` ORDER BY fame DESC LIMIT 3", @fame);
for(set .@i,0; .@i<3; set .@i,.@i+1){
	if(getcharid(0) == @fame[.@i]){
		atcommand "@auraset "+(.@i+16);
		end;
	}
}
atcommand "@auraset 0";
end;

edit: problem fix. thanks for this clydelion

 

Edited by TrojanWorm
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  04/10/12
  • Last Seen:  

 

Here's how I would do it.

 

1. Apply this: http://upaste.me/raw/d4055407f84041e0 (I based the diff from rev 17088)

 

2. Then put up a npc with something like this event(depending on how your ranking works, in this case i use fame)

 

OnPCLoginEvent:
query_sql("select char_id from `char` ORDER BY fame DESC LIMIT 3", @fame);
for(set .@i,0; .@i<3; set .@i,.@i+1){
	if(getcharid(0) == @fame[.@i]){
		atcommand "@auraset "+(.@i+16);
		end;
	}
}
atcommand "@auraset 0";
end;

edit: problem fix. thanks for this clydelion

 

 

still doesn't fix the cloaking/hiding bug...  /oops

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