• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

2 little things

kito2

www.masteria.net
Joined
Mar 9, 2009
Messages
3,764
Solutions
1
Reaction score
227
Location
Chile, Santiago
Hi... I need 2 things:

1) Making a login.lua that if check that player is using client 8.41 it doesnt let log in, just if he use 8.42.

2) A command to check al players online with cliente 8.41.


Thanks!
 
Not possible in LUA.

If you know to compile then its really easy:

Go to resources.h and find this:

Code:
#define CLIENT_VERSION_MIN 841
#define CLIENT_VERSION_MAX 842
#define CLIENT_VERSION_STRING "Only clients with protocol 8.41 or 8.42 allowed!"

And replace it for this:

Code:
#define CLIENT_VERSION_MIN 842
#define CLIENT_VERSION_MAX 842
#define CLIENT_VERSION_STRING "Only clients with protocol 8.42 allowed!"
 
Last edited:
Back
Top