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 target that gfbs u.
#1
Hello! Im looking for a script on my makers that if some1 gfbs or attacks one of them all of them SD's the target! Couldnt find if there was such a script already!
Reply

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

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

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


All makers attack the PK

This script will check if character is being attacked by a PK and write PK id in a file. Every other character that's using this same script will check this file and attack PK.
local SAFE_LIST = { 'player one', 'pk two', 'another player' }
local RUNE = 'sudden death rune'
local MUST_ATTACK = false -- Should it attack (red-square) either?



local file_name = 'attack_pk'

table.lower(SAFE_LIST)

if connected() then

    local player_x = posx()
    local player_y = posy()
    local player_z = posz()

    local attacked_pk = false
    local creatures = getcreatures('pfs')
    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
        attacked_pk = true
            file.rewrite(file_name, os.time(os.date("!*t")))
            file.writeline(file_name, creature.id)
            if MUST_ATTACK then
                attack(creature.id)
            end
            useitemoncreature(RUNE, creature.id)
            wait(1000)  
            break
        end
    end

    if attacked_pk == false then
        local time = file.readline(file_name, 0)
        local tmp = tonumber(time)
        if tmp ~= nil then
            if (os.time(os.date("!*t")) - time) <= 30 then
                local creature_id = file.readline(file_name, 1)
                if MUST_ATTACK then
                    attack(creature_id)
                end
                useitemoncreature(RUNE, creature_id)              
            end
        end
    end
end
Reply

#3
Thx ur a god dude!
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016