Jump to content
  • 0
Sign in to follow this  
vBrenth

@accinfo modification

Question

The @accinfo sourcecode are different from the one i use from IND

I want to enable @accinfo for lower-gm levels by not showing the password only GM 99 can see the password by using @accinfo (can't find it.)

Edited by Godric

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Try this.

 

diff --git a/src/login/login.c b/src/login/login.cindex 43883c6..6c5b567 100644--- a/src/login/login.c+++ b/src/login/login.c@@ -845,7 +845,7 @@ int parse_fromchar(int fd) 					WFIFOHEAD(fd,183); 					WFIFOW(fd,0) = 0x2737; 					safestrncpy((char*)WFIFOP(fd,2), acc.userid, NAME_LENGTH);-					if (u_group >= acc.group_id) {+					if (u_group >= 98) { 						safestrncpy((char*)WFIFOP(fd,26), acc.pass, 33); 					} 					safestrncpy((char*)WFIFOP(fd,59), acc.email, 40);
Edited by hemagx

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.