LCKB
[fix] Loginserver banning and last accessed chanel showing - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Tutorials & Guides (https://lckb.dev/forum/forumdisplay.php?fid=124)
+----- Forum: Ep1 Guides (https://lckb.dev/forum/forumdisplay.php?fid=178)
+----- Thread: [fix] Loginserver banning and last accessed chanel showing (/showthread.php?tid=1032)

Pages: 1 2 3


- Wizatek - 08-19-2012


As u all might noticed its not possible with the current settings to block a user from the moment he logs in.

Its only possible to make it show when they choose a channel.

 

This is due to the Loginserver is searching for t_users in newproject_data.

 

It can be fixed easily by setting the [Data DB] DBName=newproject_data to DBName=newproject_auth in newstobm.bin

 

The only thing u need to change in the database is move the table t_clientversion from newproject_data to newproject_auth




- Blackfire - 08-19-2012

I see but their isn't really much of a difference right?




- Wizatek - 08-19-2012


Well, the banned account will be stopped at loginserver level like it should be, and not when it trys to select a server.

And like this it will also select the last channel u were in.

 

It aren't big fixes, just some small annoyances got rid of




- Blackfire - 08-19-2012

hmm ok, I just don't feel like editing up my whole staff control panel to work for this Maybe I will eventually




- Wizatek - 08-19-2012


U dont have to, its a setting only on the loginserver.

Everything else remains the same.




- Blackfire - 08-19-2012

Ah I misread the fix, thanks




- Blackfire - 08-19-2012


Ok, i tried it but some people were getting this error :

 

 

So did you mean newproject_db? Or am I doing something wrong.




- Infinity - 08-19-2012


The only thing u need to change in the database is move the table t_clientversion from newproject_data to newproject_auth

 

Did you do this too?

 

Att: Infinity

P.D.: Read the full post ...




- Blackfire - 08-19-2012

Yes I did




- Wrong - 08-19-2012

I'll try it thx, btw the field to ban users is still the same in the t_users table right?