badneko Posted November 26, 2015 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 37 Reputation: 1 Joined: 06/09/14 Last Seen: February 10, 2019 Share Posted November 26, 2015 (edited) Hi!, i installed Harmony. And i want to test some player with the same mac. Check if multiple people use the same router or just one guy playing with 2 or more computers. Edited November 26, 2015 by badneko Quote Link to comment Share on other sites More sharing options...
0 RoxasV Posted November 26, 2015 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 59 Reputation: 4 Joined: 11/20/12 Last Seen: June 1, 2018 Share Posted November 26, 2015 I don't really understand your question m8.I mean, what do you want to test? a script to avoid DL by MAC? Quote Link to comment Share on other sites More sharing options...
0 Elsa Mist Posted November 26, 2015 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Share Posted November 26, 2015 - script dualbgclientkicker -1,{ OnPCLoadMapEvent: set .@charmap$, strcharinfo(3); if(!compare(.tmp$,.@charmap$)) end; set .@len, query_sql("select account_id from `char` right join login on login.account_id = `char`.account_id where `char`.online = 1 and login.last_mac = '"+ getcharip() +"'",.@a ); if(.@len-1) { for(set(.@d,0);.@d<.@len;set(.@d,.@d+1)) { getmapxy(.@map$,.@x,.@y,0,rid2name(.@a[.@d])); if(.@charmap$==.@map$&&rid2name(.@a[.@d])!=strcharinfo(0)) { dispbottom "Dual is not allowed in Battleground."; warp "pronter",0,0; } } } end; OnInit: setarray .maps$ , "BG map 1", "BG map 2", "BG map 3", "BG map 4"; // add more mpas if you have more BG maps set .lens , getarraysize(.maps$) ; for(set(.a,0);.a<.lens;set(.a,.a+1)) { setmapflag .maps$[.a], mf_loadevent ; set .tmp$ ,.tmp$+.maps$[.a]+","; } } This script is not mine, but use it 3+ years ago save on my external storage. not tested yet with current git. Quote Link to comment Share on other sites More sharing options...
0 badneko Posted November 26, 2015 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 37 Reputation: 1 Joined: 06/09/14 Last Seen: February 10, 2019 Author Share Posted November 26, 2015 (edited) I don't really understand your question m8. I mean, what do you want to test? a script to avoid DL by MAC? People enter to Bg with autofollow. So is just one guy using other pc. What i want is a script how test if there real people playing. Something like, you have 10 seconds to answer or do something. Edited November 26, 2015 by badneko Quote Link to comment Share on other sites More sharing options...
0 RoxasV Posted November 26, 2015 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 59 Reputation: 4 Joined: 11/20/12 Last Seen: June 1, 2018 Share Posted November 26, 2015 (edited) I don't really understand your question m8. I mean, what do you want to test? a script to avoid DL by MAC? People enter to Bg with autofollow. So is just one guy using other pc. What i want is a script how test if there real people playing. Something like, you have 10 seconds to answer or do something. IMO that is a little hard. Not the script itself but it would be annoying for the users. Also you cannot put an anti DL IP script because there is a lot of people who play with their brother/sister/girlfriend/friend etc. I suggest you to put a anti DL by MAC and if you find people doing that shit just kick/jail/ban them. Kick by MAC using harmony: - script dual_mac_5 -1,{ OnPCLoadMapEvent: getmapxy(.@amap$,.@mapx,.@mapy,0); if(.@amap$!="bat_room") end; set .@name$,strcharinfo(0); query_sql("SELECT last_hwid FROM `login` WHERE account_id = "+getcharid(3)+"", .@LastMac$); query_sql("SELECT account_id FROM `login` WHERE last_hwid = '"+.@LastMac$+"'", .@AccountId); set .@aidtemp,getcharid(3,strcharinfo(0)); for(set .@i ,0;.@i<getarraysize(.@AccountId);set .@i,.@i+1) { if(attachrid(.@AccountId[.@i])) { getmapxy(.@qmap$,.@qmapx,.@qmapy,0); if (.@qmap$== .@amap$) { logmes "[ "+ .@name$ +" - "+.@aidtemp+" ] es DL de [ "+ strcharinfo(0) +" - "+ .@AccountId[.@i] +" ] - HWID [ "+ .@LastMac$ +" ]"; set .@j,.@j+1; } } detachrid; } attachrid .@aidtemp; //if(.@j > $@MaxWimdows) { //dispbottom "Prohibited Double Login in this map..."; //warp "prontera",156,179; //} end; OnInit: //set $@MaxWimdows,1; end; } //------Enable map OnPCLoadMapEvent------------------- bat_room mapflag loadevent Edited November 26, 2015 by Skorm Added Code box. Quote Link to comment Share on other sites More sharing options...
0 Skorm Posted November 26, 2015 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: Thursday at 10:36 PM Share Posted November 26, 2015 This script is not mine, but use it 3+ years ago save on my external storage. not tested yet with current git. That's actually one of my scripts 1 Quote Link to comment Share on other sites More sharing options...
0 badneko Posted November 26, 2015 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 37 Reputation: 1 Joined: 06/09/14 Last Seen: February 10, 2019 Author Share Posted November 26, 2015 Thanks guys for answer I don't really understand your question m8.I mean, what do you want to test? a script to avoid DL by MAC? People enter to Bg with autofollow. So is just one guy using other pc. What i want is a script how test if there real people playing. Something like, you have 10 seconds to answer or do something. IMO that is a little hard. Not the script itself but it would be annoying for the users.Also you cannot put an anti DL IP script because there is a lot of people who play with their brother/sister/girlfriend/friend etc.I suggest you to put a anti DL by MAC and if you find people doing that shit just kick/jail/ban them. Kick by MAC using harmony: - script dual_mac_5 -1,{ OnPCLoadMapEvent: getmapxy(.@amap$,.@mapx,.@mapy,0); if(.@amap$!="bat_room") end; set .@name$,strcharinfo(0); query_sql("SELECT last_hwid FROM `login` WHERE account_id = "+getcharid(3)+"", .@LastMac$); query_sql("SELECT account_id FROM `login` WHERE last_hwid = '"+.@LastMac$+"'", .@AccountId); set .@aidtemp,getcharid(3,strcharinfo(0)); for(set .@i ,0;.@i<getarraysize(.@AccountId);set .@i,.@i+1) { if(attachrid(.@AccountId[.@i])) { getmapxy(.@qmap$,.@qmapx,.@qmapy,0); if (.@qmap$== .@amap$) { logmes "[ "+ .@name$ +" - "+.@aidtemp+" ] es DL de [ "+ strcharinfo(0) +" - "+ .@AccountId[.@i] +" ] - HWID [ "+ .@LastMac$ +" ]"; set .@j,.@j+1; } } detachrid; } attachrid .@aidtemp; //if(.@j > $@MaxWimdows) { //dispbottom "Prohibited Double Login in this map..."; //warp "prontera",156,179; //} end; OnInit: //set $@MaxWimdows,1; end; } //------Enable map OnPCLoadMapEvent------------------- bat_room mapflag loadevent Uhmmmm i thinking something like ... Player 1 enter to bat_room Player 2 talk to bg recruiter {Ops we got same mac with other player, wanna test?} yes: Pick all player with same Mac, Recall players for verification test: One idea: Warp-> test room. Count player in that room Map broadcast-> You guys need to talk to the npc and answer in least 7 seconds. (short captcha) Count answers == Player at room{Free pass to Bg for 1 Hour} if(gettimetick(2) - $passbg[0] > (60 * 60 )) then players dont need to verification until the hour end. Quote Link to comment Share on other sites More sharing options...
0 Elsa Mist Posted November 26, 2015 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Share Posted November 26, 2015 This script is not mine, but use it 3+ years ago save on my external storage. not tested yet with current git. That's actually one of my scripts Thank you Skorm for the script. Quote Link to comment Share on other sites More sharing options...
0 Azura Skyy Posted November 28, 2015 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 545 Reputation: 221 Joined: 03/01/13 Last Seen: January 2, 2023 Share Posted November 28, 2015 This script is not mine, but use it 3+ years ago save on my external storage. not tested yet with current git. That's actually one of my scripts Thank you Skorm for the script. Skorm's scripts get lost because he doesn't label them properly. Regards, ~Azura Skyy Quote Link to comment Share on other sites More sharing options...
Question
badneko
Hi!, i installed Harmony.
And i want to test some player with the same mac.
Check if multiple people use the same router or just one guy playing with 2 or more computers.
Edited by badnekoLink to comment
Share on other sites
8 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.