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

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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