kathgar,
I have had problems using multiple accounts with minilogin and 5.3DR2. My miniloginaccounts.ini is setup correctly with a space after every line but the last and the usernames are <= 8 characters. However I don't think it is worth wasting time trying to figure this out since people can use the real login server. Also, people can do what I did below.
siberiaic,
Here's a kludge which will allow you to use multiple accounts with minilogin. Add the following after line 219 in world/client.cpp:
Code:
struct in_addr login_ip_s;
login_ip_s.s_addr = ip;
char* login_ip = inet_ntoa(login_ip_s);
if( !strcmp(login_ip, "192.168.0.101") )
{
strcpy(name, "youruser");
strcpy(password, "yourpass");
}
else if( !strcmp(login_ip, "192.168.0.102") )
{
strcpy(name, "youruser");
strcpy(password, "yourpass");
}
// ... and so on with more else ifs for each of your servers
Replace the 192.168.0.x addresses with the addresses of your clients. Replace the "youruser" and "yourpass" with the appropriate username and password for that ip address. If you really feel like getting fancy you can write a method which parses the information from miniloginaccounts.ini and change the code above to use the parsed information. However I am too lazy to do that right now.
