01-23-2014, 02:34 AM
Pages: 1 2
01-23-2014, 10:51 AM
u cant dc u can only crash client
dc or logout why cant? coz in combat
add if varibales bla bla
u can use for attach check...
example
how it works, simple if some player attacks u, that window will crash...
y, and it's a PLUGIN
rep if help
dc or logout why cant? coz in combat
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
01-23-2014, 17:45 PM
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, 20:29 PM
(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;
01-24-2014, 01:25 AM
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:40 AM
(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 but u can log out if u are not in combat
makes no sense log safe or crash
01-24-2014, 03:04 AM
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.
And i meant to crash like to disconect to kill the connectio with server ip.
01-24-2014, 09:48 AM
(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 ...
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
01-24-2014, 17:00 PM
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, 19:55 PM
idk i dont develop l2t
Pages: 1 2