Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LF A Simple script..DC When flaged
Author Message
maloukos Offline
Gremlin
*

Posts: 9
Joined: Jan 2013
Reputation: 0
Version: 1.4.1.118
Post: #1
LF A Simple script..DC When flaged

Am lf a script or an option to dc when i flag or when a screen message appears!
01-23-2014 02:34 AM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 634
Version: 1.4.2.133
Post: #2
RE: LF A Simple script..DC When flaged

u cant dc u can only crash client Wink

dc or logout why cant? coz in combat Wink

add if varibales bla bla

    LUA Programming
function KillProcess()
	os.execute("taskkill /PID " .. tostring(GetCurrentProcessId()));
end;



u can use for attach check...

    LUA Programming
function OnAttack(user, target)
 if (target:IsMe() or target:IsMyPartyMember()) and (user:IsPlayer()) then
--ur code to do if attacked from player...
 end; 
end;



example
how it works, simple if some player attacks u, that window will crash...

y, and it's a PLUGIN
    LUA Programming
function OnAttack(user, target)
 if (target:IsMe() or target:IsMyPartyMember()) and (user:IsPlayer()) then
KillProcess()
 end; 
end;
 
function KillProcess()
	os.execute("taskkill /PID " .. tostring(GetCurrentProcessId()));
end;



rep if help Wink

PUSH [Image: knUu53] IF HELPED
(This post was last modified: 01-23-2014 10:52 AM by TheQQmaster.)
01-23-2014 10:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
maloukos Offline
Gremlin
*

Posts: 9
Joined: Jan 2013
Reputation: 0
Version: 1.4.1.118
Post: #3
RE: LF A Simple script..DC When flaged

I want this cause of anti bot.there is some mobs that spawned randomly with same id and name with farm ones.but if you hit them for 30hits you flag 1st and then you go jail.so i want if i flag= hit this mob to crash the client.i dont know how to write it as fuction..
01-23-2014 17:45 PM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 634
Version: 1.4.2.133
Post: #4
RE: LF A Simple script..DC When flaged

(01-23-2014 17:45 PM)maloukos Wrote:  I want this cause of anti bot.there is some mobs that spawned randomly with same id and name with farm ones.but if you hit them for 30hits you flag 1st and then you go jail.so i want if i flag= hit this mob to crash the client.i dont know how to write it as fuction..
    LUA Programming
repeat 
if GetMe():IsPvPFlag() then
	os.execute("taskkill /PID " .. tostring(GetCurrentProcessId()));
end;
Sleep(1000)
until false;


PUSH [Image: knUu53] IF HELPED
(This post was last modified: 01-23-2014 20:29 PM by TheQQmaster.)
01-23-2014 20:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
maloukos Offline
Gremlin
*

Posts: 9
Joined: Jan 2013
Reputation: 0
Version: 1.4.1.118
Post: #5
RE: LF A Simple script..DC When flaged

maybe there is a way to just dc from server?like to kill packets from the server and not close the procc?Realy realy ty you are a fckng genius!
01-24-2014 01:25 AM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 634
Version: 1.4.2.133
Post: #6
RE: LF A Simple script..DC When flaged

(01-24-2014 01:25 AM)maloukos Wrote:  maybe there is a way to just dc from server?like to kill packets from the server and not close the procc?Realy realy ty you are a fckng genius!

LogOut(); -- built in function Big Grin but u can log out if u are not in combat

makes no sense log safe or crash Big Grin

PUSH [Image: knUu53] IF HELPED
(This post was last modified: 01-24-2014 01:41 AM by TheQQmaster.)
01-24-2014 01:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
maloukos Offline
Gremlin
*

Posts: 9
Joined: Jan 2013
Reputation: 0
Version: 1.4.1.118
Post: #7
RE: LF A Simple script..DC When flaged

the problem is that when i flag and the script acts i still make the 30 hits and end up in jail this not happens always.For example the 1st time i crashed the 2nd time i still crashed but end up in jail..i dunno why

And i meant to crash like to disconect to kill the connectio with server ip.
(This post was last modified: 01-24-2014 03:05 AM by maloukos.)
01-24-2014 03:04 AM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 634
Version: 1.4.2.133
Post: #8
RE: LF A Simple script..DC When flaged

(01-24-2014 03:04 AM)maloukos Wrote:  the problem is that when i flag and the script acts i still make the 30 hits and end up in jail this not happens always.For example the 1st time i crashed the 2nd time i still crashed but end up in jail..i dunno why

And i meant to crash like to disconect to kill the connectio with server ip.

anyway i think mobs cant be same type, u ever tryed use /ignore ??? one mob with same ids etc can be, idk man ... Big Grin

in l2off bit harder if ban, need week for 85 lvl, few months for 99, that just lvl. we will not talk about gear, coz cant be max

in past time i think l2 is just a waste of time, pay to win and bot to win Big Grin

PUSH [Image: knUu53] IF HELPED
01-24-2014 09:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
maloukos Offline
Gremlin
*

Posts: 9
Joined: Jan 2013
Reputation: 0
Version: 1.4.1.118
Post: #9
RE: LF A Simple script..DC When flaged

well y..but what sleep means in script?and why cmd opens everytime i flag?like i flag=cmd will open and close 10 times.i know that we need cmd to taskkill but why it repeats?
01-24-2014 17:00 PM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 634
Version: 1.4.2.133
Post: #10
RE: LF A Simple script..DC When flaged

idk i dont develop l2t Big Grin

PUSH [Image: knUu53] IF HELPED
01-24-2014 19:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Simple memorization Jasmn18 0 200 09-14-2019 18:05 PM
Last Post: Jasmn18
  SIMPLE SHOUT SCRIPT L2TOWER wtfunoob2 1 1,499 07-07-2016 16:36 PM
Last Post: blaaam
Thumbs Up A simple trick to bypass GG even without cracking/disable gameguard vahnong 0 14,621 09-03-2015 10:50 AM
Last Post: vahnong
Rainbow LF Simple Script-DC when dead teoftw7 1 1,071 01-25-2014 12:50 PM
Last Post: thawk
  Any Mod or Admin, A simple questions about logs. colomaza 11 3,097 09-20-2013 16:48 PM
Last Post: colomaza
  Simple Edit NaoJogoMais 12 3,889 05-12-2013 01:30 AM
Last Post: Kalnayak
  A simple question SatanBarr41 2 1,147 08-04-2012 17:22 PM
Last Post: TheBl4ckPhoenix
Smile Simple Thank You Hellion 0 1,049 04-12-2011 00:01 AM
Last Post: Hellion



User(s) browsing this thread: 1 Guest(s)