Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SD PK back
#1
Exclamation 
Hey guys, i've looked pretty much every topic and i couldnt find it, perhaps someone can help me.

I would like to set a script that would atk back using SDs if someone opens white skull on me while i'm using the cave bot.

Thanks everyone.

Best,

I've noted that this guys has it, so should be something feasible.

|Only Registered members can see download links. | Click here to buy subscription or here to register.


Thanks again
Reply

#2
local RUNE = 'sudden death rune'
local MUST_ATTACK = false -- Should it attack (red-square) either?
local SAFE_LIST = { 'player one', 'pk two', 'another player' }

table.lower(SAFE_LIST)

if connected() then
  local creatures = getcreatures('pfs')
  local player_x = posx()
  local player_y = posy()
  local player_z = posz()
  for _, creature in ipairs(creatures) do
      if creature.isattackme and (creature.skull == 3 or creature.skull == 4) and (creature.posx ~= player_x or creature.posy ~= player_y) and player_z == creature.posz and table.find(SAFE_LIST, creature.name:lower()) == nil then
          if MUST_ATTACK then
              attack(creature.id)
          end
          useitemoncreature(RUNE, creature.id)
          wait(1000)      
      end
  end
end
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Thanks Ark, very helpful.
Best,
Henrique
Reply

#4
But he need to atack me and then my char will sd back. Is it possible to change it when skull enter screen sd? Cuz that way just 1 of 6 makers will sd
Reply

#5
local RUNE = 'sudden death rune'
local MUST_ATTACK = false -- Should it attack (red-square) either?
local SAFE_LIST = { 'player one', 'pk two', 'another player' }

table.lower(SAFE_LIST)

if connected() then
  local creatures = getcreatures('pfs')
  local player_x = posx()
  local player_y = posy()
  local player_z = posz()
  for _, creature in ipairs(creatures) do
      if (creature.skull == 3 or creature.skull == 4) and (creature.posx ~= player_x or creature.posy ~= player_y) and player_z == creature.posz and table.find(SAFE_LIST, creature.name:lower()) == nil then
          if MUST_ATTACK then
              attack(creature.id)
          end
          useitemoncreature(RUNE, creature.id)
          wait(1000)     
      end
  end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016