Jump to content
  • 0

Block Dual Mac Adress in Same Map


brunoshp

Question


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  180
  • Reputation:   7
  • Joined:  12/19/12
  • Last Seen:  

i use Internalguard and this guard  capture UniqueID i need to block dual account in same Map.

if have 1 account map not enter other in same Map.

 

In table Ragnarok guard put infomations about account in tables.

 

xxxxx_ragnarok

 Jogadoresid

 id , UniqueID , IP , Date , time

 

 

create table jogadoresid (

id int(10) unsigned not null auto_increment,
UniqueID varchar(255) not null,
IP varchar(255) not null,
Data date not null,
Hora time not null,
primary key (id));

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  180
  • Reputation:   7
  • Joined:  12/19/12
  • Last Seen:  

im basied in Skorm script.

this

getuid(strcharinfo(0)) 

 get UniqueID Of Player

 

 

set .@len, query_sql("select account_id from `char` right join login on login.account_id = `char`.account_id where `char`.online = 1 and (select UniqueID from `jogadoresid` where `UniqueID` = '"+getuid(strcharinfo(0))+"')" );

this to.

 

query_sql("SELECT DISTINCT `account_id` FROM `char` WHERE `account_id` IN (SELECT `account_id` FROM `login` WHERE `last_ip` = (SELECT `IP` FROM `jogadoresid` WHERE `UniqueID`="+getuid(strcharinfo(0))+")) AND `last_map` = '"+strnpcinfo(4)+"' AND `online` <> 0;",.a);

 

 but not ok! pls help me

Edited by brunoshp
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...