PDA

View Full Version : [Sharing] No more "GMs" around...


drugolo
08.07.2005, 00:58
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)


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

Osito2Dancer
08.07.2005, 03:11
What happens if theres a "DraGMan" or such? I see that it wouldnt be possible xD.

Oso

drugolo
08.07.2005, 09:23
It wouldnt be possible. But is not a problem.

Awhite
11.07.2005, 22:20
Nice work! :)
Guess 'GM%' is better?
Since we usually use GMTest for instance.

drugolo
12.07.2005, 02:05
Think %GM% is the best.
Think also about xGMasterx or _GMnoob_ or other stuffs...