SaruSnow Posted October 8, 2018 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 09/27/18 Last Seen: November 14, 2018 Share Posted October 8, 2018 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 Quote Link to comment Share on other sites More sharing options...
0 NakedWolf Posted October 8, 2018 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 120 Reputation: 2 Joined: 03/21/17 Last Seen: February 18, 2021 Share Posted October 8, 2018 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 1 Quote Link to comment Share on other sites More sharing options...
0 Sehrentos Posted October 9, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Share Posted October 9, 2018 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; Quote Link to comment Share on other sites More sharing options...
0 NakedWolf Posted October 9, 2018 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 120 Reputation: 2 Joined: 03/21/17 Last Seen: February 18, 2021 Share Posted October 9, 2018 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) Quote Link to comment Share on other sites More sharing options...
0 Sehrentos Posted October 9, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Share Posted October 9, 2018 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 Quote Link to comment Share on other sites More sharing options...
Question
SaruSnow
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.