Jump to content
  • 0

Limit number of MultiClient


Question

4 answers to this question

Recommended Posts

  • 0
Posted

I dont think its possible to duel client

Either you can disable multiple clients by using NEMO diff

Or

You need to buy shield like gpard where you have the option to limitize clients for players n gm/admin 

Also gpard as cool feature. Contact "functor"

He sell the gpard shield

  • Upvote 1
  • 0
Posted

A possible workaround would be to use IP detection script with login event:

OnPCLoginEvent:
	.@rows = query_sql("SELECT login.account_id FROM login INNER JOIN `char` ON char.account_id=login.account_id WHERE login.last_ip='"+getcharip()+"' AND char.online=1;", .@account_id);
	if (.@rows > 2) {
		mes "[IP notice]";
		mes "Too many online from same IP address.";
		// Block, Kick, etc.
		pcblockmove getcharid(3),1;
		pcblockskill getcharid(3),1;
		sleep2 5000;
		atcommand "@kick " + getcharid(0);
		close;
	}
	end;

 

  • 0
Posted
4 hours ago, Sehrentos said:

A possible workaround would be to use IP detection script with login event:


OnPCLoginEvent:
	.@rows = query_sql("SELECT login.account_id FROM login INNER JOIN `char` ON char.account_id=login.account_id WHERE login.last_ip='"+getcharip()+"' AND char.online=1;", .@account_id);
	if (.@rows > 2) {
		mes "[IP notice]";
		mes "Too many online from same IP address.";
		// Block, Kick, etc.
		pcblockmove getcharid(3),1;
		pcblockskill getcharid(3),1;
		sleep2 5000;
		atcommand "@kick " + getcharid(0);
		close;
	}
	end;

 

but if there are players playing from a cafe if the script is using IP fetch all the players in the cafe will be kick out rite ? like only one player from the cafe can login rest all will be kicked
correct me if a wrong. ^_^
if you are using gpard shield it fetches mac address and also uniqueID so other players wont be effected

so i think the better option is either diff your client to disabled multiple login from abusing some scripts
or buy gpard (best option)

  • 0
Posted
42 minutes ago, NakedWolf said:

but if there are players playing from a cafe if the script is using IP fetch all the players in the cafe will be kick out rite ? like only one player from the cafe can login rest all will be kicked

Yup, forgot. Same public IP over wi-fi ? but, you can limit the coffee house users at least :heh

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...