![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 93
|
The bigger problem of big servers are "fake" GMs that stole passwords of the other users. Simple solution to remove every possibility for those bstrds to use "GM like" names put this inside the StoredProc lin_CreateChar (inside lin2world)
Code:
IF @char_name LIKE '%GM%'
BEGIN
RAISERROR ('Character name error : name = [%s]', 16, 1, @char_name)
RETURN -1
END
end of game ![]() Of course to let you make a GMchar you can put some "(AND account_name <> 'your_builder_account')" or put an external script to allow you to give GM names to your Gms... |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
What happens if theres a "DraGMan" or such? I see that it wouldnt be possible xD.
Oso |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2005
Posts: 93
|
It wouldnt be possible. But is not a problem.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 13
|
Nice work!
![]() Guess 'GM%' is better? Since we usually use GMTest for instance. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2005
Posts: 93
|
Think %GM% is the best.
Think also about xGMasterx or _GMnoob_ or other stuffs... |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|