cracki,boty,mc,tibia
Strony: 1
Administrator
Postanowiłem napisac poradnik
Ringi:
Dwarven Ring: - Nakłada ringa gdy jesteś pijany, w tym przypadku po 15 sec zdejmuje i sprawdza czy jestes nadal upity jeżeli tak nakłada go spowrotem jeżeli nie to nie nakłada.
nit start
local ringid = 3097 --Ring ID
local ringuseid = 3099 --Ring in use ID
local timetocheck = 15 --Time in seconds to check if you are still drunk
init end
auto(100) listas('dontlist')
if $drunk then
equipitem(ringid,'finger','backpack')
wait(500)
end
if $finger.id == ringuseid then
wait((timetocheck+math.random(-4,4))*1000)
moveitems(3099,'backpack','finger')
wait(500)
end
Life Ring - Nałoży life ringa gdy masz 70-80% Many, Zdejmnie gdy masz 85-90% lub jestes w PZ
init start
local ringequip,ringunequip
local ringid = 3052 --Ring ID
local ringuseid = 3089 --Ring in use ID
init end
if ringequip == nil then
ringequip = math.random(70,80) --70~80 is the mana percent range to equip the life ring
end
if ringunequip == nil then
ringunequip = math.random(85,95) --85~95 is the mana percent range to unequip the life ring
end
auto(100) listas('dontlist')
if ($mppc <= ringequip) and not $pzone and $finger.id ~= ringuseid then
equipitem(ringid,'finger','backpack')
ringequip = nil
wait(500,1000)
elseif (($mppc >= ringunequip) or $pzone) and $finger.id == ringuseid then
moveitems(ringuseid,'backpack','finger')
ringunequip = nil
wait(500,1000)
end
Energy Ring: - Nakłada energy ringa gdy masz 40-50 % hp a zdejmuje gdy masz 85-95% hp, można sobie zmienić
init start
local ringequip,ringunequip
local ringid = 3051 --Ring ID
local ringuseid = 3088 --Ring in use ID
local timetocheck = 10 --Time in seconds to check if your health is higher enough
init end
if ringequip == nil then
ringequip = math.random(40,50) --40~50 is the health percent range to equip the energy ring
end
if ringunequip == nil then
ringunequip = math.random(85,95) --85~95 is the health percent range to unequip the energy ring
end
auto(100) listas('dontlist')
if ($hppc <= ringequip) and not $pzone and $finger.id ~= ringuseid then
equipitem(ringid,'finger','backpack')
ringequip = nil
wait(500,1000)
if $finger.id == ringuseid then
wait((timetocheck+math.random(-4,4))*1000)
end
elseif (($hppc >= ringunequip) or $pzone) and $finger.id == ringuseid then
moveitems(ringuseid,'backpack','finger')
ringunequip = nil
wait(500,1000)
end
Time Ring: - Nakłada Time Ringa gdy masz 40-50% hp i gdy wrzucisz Haste, zdejmuje gdy minie Haste.
init start
local ringequip
local ringid = 3053 --Ring ID
local ringuseid = 3090 --Ring in use ID
local timetocheck = 10 --Time in seconds to check if you are still hasted
init end
if ringequip == nil then
ringequip = math.random(40,50) --40~50 is the safe health percent range, it will only equip the time ring if you are above this percentage
end
auto(100) listas('dontlist')
if $hasted and $hppc > ringequip and $finger.id ~= ringuseid then
equipitem(ringid,'finger','backpack')
ringequip = nil
wait(500,1000)
wait((timetocheck+math.random(-4,4))*1000)
elseif not $hasted and $finger.id == ringuseid then
moveitems(ringuseid,'backpack','finger')
wait(500,1000)
end
Stealth Ring - Nakłada Stealth Ringa gdy wiecej niz X niebezpiecznych potworków w koło i jestemsy widzialni gdy zabijesz potwory lub znikną z ekranu zdejmie ringa
init start
local ringid = 3049 --Ring ID
local ringuseid = 3086 --Ring in use ID
local dangermonsters = {'Cyclops Smith', 'Cyclops'} --Names of dangerous monsters
local monstersamount = 5 --How many monsters must be on screen to wear the energy ring?
local monstersrange = 3 --What is the range you want to consider?
init end
auto(100) listas('dontlist')
local i
local monsterscount = 0
for i=1, #danger do
monsterscount = monsterscount+maround(monstersrange,danger[i])
end
if monsterscount >= monstersamount and $self.outfit ~= 0 then
if $finger.id ~= ringuseid then
equipitem(ringid,'finger','backpack')
wait(500,1000)
end
elseif monsterscount < monstersamount and $finger.id == ringuseid then
moveitems(ringuseid,'backpack','finger')
wait(500,1000)
end
Boots:
Soft Boots - jeżeli masz x % many załozy softy, zdejmie je gdy masz y % many, lub jestes w pz i załozy BoHy
init start
local softequip,softunequip
local softid = 6529 --Soft Boots ID
local softuseid = 3549 --Soft Boots in use ID
local wornsoftid = 6530 --Used Soft Boots ID
local bootsid = 'boots of haste' --Boots to be weared ID or name
local alertifnosoft = true --true or false. Do you want it to play a sound if no softs was found?
local soundfile = 'monster.wav' --It is the file name
if type(bootsid) ~= 'number' then bootsid = itemid(bootsid) end
init end
if softequip == nil then
softequip = math.random(70,80) --Mana percent range to equip soft boots
end
if softunequip == nil then
softunequip = math.random(85,95) --Mana percent range to equip boots of haste back
end
auto(100) listas('dontlist')
if ($mppc <= softequip or ($feet.id == wornsoftid and itemcount(softid) > 0)) and not $pzone and $feet.id ~= softuseid then
equipitem(softid,'feet','backpack')
softequip = nil
wait(500,1000)
elseif ($mppc >= softunequip or ($feet.id == wornsoftid and itemcount(softid) == 0) or $pzone) and $feet.id ~= bootsid then
equipitem(bootsid,'feet','backpack')
softunequip = nil
wait(500,1000)
end
if $feet.id ~= softuseid and itemcount(softid) == 0 and itemcount(wornsoftid) > 0 and alertifnosoft then
playsound(soundfile)
end
Soft Boots - jeżeli masz x % HP załozy softy, zdejmie je gdy masz y % HP, lub jestes w pz i załozy BoHy
init start
local softequip,softunequip
local softid = 6529 --Soft Boots ID
local softuseid = 3549 --Soft Boots in use ID
local wornsoftid = 6530 --Used Soft Boots ID
local bootsid = 'boots of haste' --Boots to be weared ID or name
local alertifnosoft = true --true or false. Do you want it to play a sound if no softs was found?
local soundfile = 'monster.wav' --It is the file name
if type(bootsid) ~= 'number' then bootsid = itemid(bootsid) end
init end
if softequip == nil then
softequip = math.random(40,50) --Health percent range to equip soft boots
end
if softunequip == nil then
softunequip = math.random(85,95) --Health percent range to equip boots of haste back
end
auto(100) listas('dontlist')
if ($hppc <= softequip or ($feet.id == wornsoftid and itemcount(softid) > 0)) and not $pzone and $feet.id ~= softuseid then
equipitem(softid,'feet','backpack')
softequip = nil
wait(500,1000)
elseif ($hppc >= softunequip or ($feet.id == wornsoftid and itemcount(softid) == 0) or $pzone) and $feet.id ~= bootsid then
equipitem(bootsid,'feet','backpack')
softunequip = nil
wait(500,1000)
end
if $feet.id ~= softuseid and itemcount(softid) == 0 and itemcount(wornsoftid) > 0 and alertifnosoft then
playsound(soundfile)
end
Weapon:
Zamiana broni dist ( kamieni, spear ) na Melee Bron:
init start
local handn,hand = findweapon()
local weapon = 'serpent sword' -- Enter the weapon ID or its name you want to use.
local distweapon = 'small stone' -- Enter the distance weapon ID or its name you want to use.
local amounttotrain = 10 -- Enter the amount of distance weapons to equip the distweapon again. Default: 10 (10 small stones to start training)
local safehp = 70 -- Enter the amount of HP (percentage amount) needed to use a distance weapon.
local safemp = 40 -- Enter the amount of MP (absolute amount) needed to use a distance weapon.
if type(weapon) ~= 'number' then weapon = itemid(weapon) end
if type(distweapon) ~= 'number' then distweapon = itemid(distweapon) end
init end
auto(100) listas('dontlist')
if (hand.id == 0 and itemcount(distweapon) == 0) or $hppc < safehp or $mp < safemp then
equipitem(weapon,handn) wait(300,700)
elseif (hand.id == weapon and itemcount(distweapon) > amounttotrain) or (itemcount(distweapon)-hand.count > amounttotrain) or hand.id == 0 then
moveitems(distweapon,handn) wait(300,700)
end
Blood Hit Kontroler - Jeżeli nie zadajesz blood hita przez x czasu słabszą bronią to zakłada lepszą zadaje blood hit i znowu zmienia na słabszą.
init start
local strongweapon = 'barbarian axe' -- Enter the ID or its name to use while you are not dealing any damage.
local strongattackmode = 'offensive stand' -- Enter the attack mode you want to use while you are not dealing any damage.
local weakweapon = 'sickle' -- Enter the ID or its name to use when you dealed a damage.
local weakattackmode = 'defensive stand' -- Enter the attack mode you want to use when you dealed a damage.
local safehp = 70 -- Enter the amount of HP (percentage amount) needed to use a weak weapon.
local safemp = 40 -- Enter the amount of MP (absolute amount) needed to use a weak weapon.
local handn,hand = findweapon()
local lasthittime = 0
local waittime
if type(strongweapon) ~= 'number' then strongweapon = itemid(strongweapon) end
if type(weakweapon) ~= 'number' then weakweapon = itemid(weakweapon) end
weakattackmode = {weakattackmode:token(1), weakattackmode:token(2)}
strongattackmode = {strongattackmode:token(1), strongattackmode:token(2)}
init end
if not waittime then
waittime = math.random(15000,25000) -- It is the maximum time to wait until you do a damage
end
auto(100) listas('dontlist')
foreach newmessage d do
if d.content:sub(1,8) == 'You deal' and d.type == MSG_STATUSLOG then
lasthittime = $timems
end
end
if $timems-waittime >= lasthittime and $hppc >= safehp and $mp >= safemp then
if hand.id ~= strongweapon then setattackmode(strongattackmode[1],strongattackmode[2]) equipitem(strongweapon,handn) waittime = nil wait(300,700) end
else
if hand.id ~= weakweapon then setattackmode(weakattackmode[1],weakattackmode[2]) equipitem(weakweapon,handn) waittime = nil wait (300,700) end
end
Offline
Administrator
Wąski napisał:
a masz moze skrypt na anty idle???
Oto skrypt :
local rand auto(100000) rand = math.random(1,4) if (rand == 1) then face("w") elseif (rand == 2) then face("e") elseif (rand == 3) then face("n") elseif (rand == 4) then face("s") end
Offline
Strony: 1