Jump to content
  • 0

Limit number of MultiClient


SaruSnow

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  09/27/18
  • Last Seen:  

Hello, is it possible to limit the number of multiclients to just 2? we want to allow dual client but not more then 2 clients!

Any help is apreciated.

Thank you

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   22
  • Joined:  10/24/14
  • Last Seen:  

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;

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

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)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   22
  • Joined:  10/24/14
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...