Posts: 15
Threads: 5
Joined: Nov 2019
Reputation:
1
Hi Arkilys. Runemaker works pretty well but I need 1 thing to make it 100% safe of death. This night 1 guy killed 6 of my runemakers just shooting energy/firefields to the sqms below my characters staying in 1 sqm in front of the house. Characters walked back but after pk dissappeared from screen they "alana sio" from house to the energized/burned/poisoned sqm. How to make a persistent which check the sqm if its burned poisoned or energized?
I was trying with burning(), poisoned(), energized() but characters still will alana sio to the energized sqm (and just immediately walk back and wait)
Thx for help
Posts: 2,948
Threads: 492
Joined: Jul 2018
Reputation:
84
11-20-2019, 05:33 PM
(This post was last modified: 11-20-2019, 07:50 PM by Arkilys.)
Hello.
I see your point, but it's not a bug on Runemaker. You can make a Persistent to check if you are burning or so like you tried and/or check player's tile to make sure there's no field. So if there's such thing, you disable runemaker and make character go inside house and logout or whatever you need.
I will add an option to Runemaker->Refill Settings->Danger->Field Dmg, which will consider "Danger" if your character is burning, poisoned or energized. So it will go to "On danger" location then you will be able to do anything. Also three LUA variables will be added to let you check if you are refilling, on danger and which kind of danger, so you will be able to make better persistents using it.
This script will check if you are on specific X/Y/Z (which must be the X/Y/Z that your character stands at (Runemaker->Reffil Settings->Character X/Y/Z). So if your character is burning, poisoned or energized it will DISABLE RUNEMAKER (so it will not walkback if you have that option), reach the "SAFE_LOCATION" and logout. IF it fails to reach "SAFE_LOCATION", it will play a sound and flashclient().
local CHARACTER_LOCATION = { X = 12345, Y = 12345, Z = 6 } -- The location that your character stand making runes.
local SAFE_LOCATION = { X = 12345, Y = 12345, Z = 6 } -- Safe location to walk to. It must be in your screen!!
if (burning() or energized() or paralyzed()) and posx() == CHARACTER_LOCATION.X and posy() == CHARACTER_LOCATION.Y and posz() == CHARACTER_LOCATION.Z then
setsettings('Runemaker/Enabled', false)
if reachlocation(SAFE_LOCATION.X, SAFE_LOCATION.Y, SAFE_LOCATION.Z) then
wait(500)
logout()
else
playsound('default')
flashclient()
end
end
Posts: 15
Threads: 5
Joined: Nov 2019
Reputation:
1
Great, thanks for fast reply. If you will add to runemaker the sqm check if its burned/poisoned/energized it will be great and totally 100% afk. Anti bot noob retards will cry because of no free runes ;P. If you can write me down how to check the sqm for if its pois/ener/burn I will rewrite the script on my own to open bp with uh in house and heal char and then go back to make runes when field dissappeares.
Thanks!
Posts: 2,948
Threads: 492
Joined: Jul 2018
Reputation:
84
11-20-2019, 07:51 PM
(This post was last modified: 11-20-2019, 07:53 PM by Arkilys.)
Hello.
This is not a perfect script, just shows how to make to check tile for fields. It works like script above, but also check for fields.
Notice the TILE must be on your screen to check for the field.
local CHARACTER_LOCATION = { X = 12345, Y = 12345, Z = 6 } -- The location that your character stand making runes.
local SAFE_LOCATION = { X = 12345, Y = 12345, Z = 6 } -- Safe location to walk to. It must be in your screen!!
local FIELDS_IDS = { 2118, 2119 } -- Field ids. You must find and add fields that can damage you and add here.
local tile = gettile(CHARACTER_LOCATION.X, CHARACTER_LOCATION.Y, CHARACTER_LOCATION.Z)
local foundFields = false
for _, item in ipairs(tile.items) do
if table.find(FIELDS_IDS, item.id) ~= nil then
foundFields = true
break
end
end
if burning() or energized() or paralyzed() or foundFields then
setsettings('Runemaker/Enabled', false)
if reachlocation(SAFE_LOCATION.X, SAFE_LOCATION.Y, SAFE_LOCATION.Z) then
wait(500)
logout()
else
playsound('default')
flashclient()
end
end
Posts: 15
Threads: 5
Joined: Nov 2019
Reputation:
1
Posts: 15
Threads: 5
Joined: Nov 2019
Reputation:
1
11-21-2019, 07:15 PM
(This post was last modified: 11-21-2019, 07:19 PM by Barney92.)
Hi again, I did it that way:
You need to add 1 safe stand waypoint in cavebot.
I know its primitive bcs I know only the basics of C++ not lua but it works 100% afk with just 1 stand waypoint in cavebot which is repeating all the time after burned/poisoned/energized. None of my makers died.
Noobs realized that I have added fields ids to the bot and just put trash on the fields and my chars are going back with alana sio and then hiding and waiting.
My suggesstion is (when you will be upgrading runemaker) to make it this way: If any fire field rune/energy field rune/poison bomb rune was visible on the screen just
wait xxx time. Its gonna be super unkillable runemaker. Thanks!
local CHARACTER_LOCATION = { X = 32640, Y = 31689, Z = 6 } -- The location that your character stand making runes.
local FIELDS_IDS = { 2118, 2119, 2121 } -- Field ids. You must find and add fields that can damage you and add here.
local tile = gettile(CHARACTER_LOCATION.X, CHARACTER_LOCATION.Y, CHARACTER_LOCATION.Z)
local foundFields = false
for _, item in ipairs(tile.items) do
if table.find(FIELDS_IDS, item.id) ~= nil then
foundFields = true
break
end
end
if burning() or energized() or poisoned() or foundFields then
setsettings('Runemaker/Enabled', false)
setsettings('Cavebot/Enabled', true)
end
if burning() or energized() or poisoned() or foundFields then
wait()
else
if posx() ~= 32636 or posy() ~= 31689 or posz() ~= 6 then
if getsettings('Runemaker/Enabled') == false then
if hppc() > 50 then
setsettings('Cavebot/Enabled', false)
say('alana sio', 'Default')
setsettings('Runemaker/Enabled', true)
end
end
end
end
|