View Single Post
  #1  
Old 09-13-2009, 09:15 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Detecting Multi-Clienting

Well I stumbled upon this while using scripthelp, thought I'd spread the knowledge.

Variable: player.computerfirstlogin - basically when the computer first logged in, I'm sure how accurate it is but it's at least by the second.

There's also player.logintime.

PHP Code:
function onCreated() {
  
// Cycle through players and get hashes.
  
for (temp.aallplayers) {
    if (!(
temp.a.computerfirstlogin in temp.hashes)) {
      
temp.hashes.add(temp.a.computerfirstlogin);
    }
    
temp.("hash_" temp.a.computerfirstlogin).add(temp.a.account);
  }
  
// Print List
  
for (temp.hashtemp.hashes) {
    echo(
temp.("hash_" temp.hash));
  }

__________________
Quote:

Last edited by fowlplay4; 09-13-2009 at 09:35 PM..
Reply With Quote