Jump to content
  • 0

No dual or multi client in geffen for gpack


Question

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

you can try something like this.

-	script	sample	-1,{
	OnInit:
		.map$ = "geffen";
		setmapflag .map$, mf_loadevent;
		end;
		
	OnPCLoadMapEvent:
		if (strcharinfo(3) == .map$) {
			.@size = query_sql("SELECT c.`account_id` FROM `char` c INNER JOIN `login` acc ON acc.`account_id` = c.`account_id` WHERE c.`account_id` <> "+getcharid(3)+" AND c.`online` = 1 AND acc.`last_ip` = '"+getcharip()+"'", .@aid);
			.@cid = getcharid(0);
			for (.@i = 0; .@i < .@size; .@i++)
				if (attachrid(.@aid)) {
					if (strcharinfo(3) == .map$) {
						.@count++;
						if (.@count >= 2) {
							warp "SavePoint", 0, 0, .@cid;
							end;
						}
					}
				}
		}
		end;
}

you should just disable dual client feature when diff the client.

and implement client hash checking to avoid other using custom hexed client to bypass that.

-- seem like i read wrong the topic contents

Edited by Emistry

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...