@accinfo modification

vBrenth

New member
Messages
392
Points
0
Age
35
Location
Philippines
Discord
Brenth
Github
vBrenth
Emulator
Client Version
RE
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.)

 
Last edited by a moderator:
Try this.

Code:
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);
 
Last edited by a moderator:
Back
Top