10-08-2023, 12:49 PM
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.
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.
|
Skinning using obsidian knife, checking condition of obsidian knife
|
|
10-22-2023, 07:04 PM
tried deleting the is around but it just error'ed out
local SETTINGS = { KNIFE_ID = 5238, -- Obsidian knife id MAX_RANGE = 2, -- Max range/distance away to skin bodies BODIES = { 0000, 0000, 4011 } -- Bodies IDs that you wanna skin. } islooting() == false and lootbodies() == 0 then local tiles = gettiles() local player_x, player_y, player_z = posx(), posy(), posz() for _, tile in ipairs(tiles) do if tile.posz == player_z and math.abs(player_x - tile.posx) <= SETTINGS.MAX_RANGE and math.abs(player_y - tile.posy) <= SETTINGS.MAX_RANGE and tile.itemcount > 1 and table.find(SETTINGS.BODIES, tile.topitem.id) ~= nil then pausewalking(10000) if iswalking() then stop() wait(500) end local flag = true if proximity(player_x, player_y, tile.posx, tile.posy) > 1 then flag = reachlocation(tile.posx, tile.posy, tile.posz, false) wait(500, 1000) end if flag then useitemon(SETTINGS.KNIFE_ID, tile.posx, tile.posy, tile.posz) wait(500, 1000) end end end pausewalking(500) end
10-22-2023, 07:14 PM
Hello. You didn’t mention the error, there’s a piece of code missing before islooting(). Just compare my code with yours.
10-22-2023, 07:23 PM
14:21:37 - LUA Script -> Persistent01: 7: unexpected symbol near '=='
also after it skins it sits there sometimes i have to move it manually not really sure what went wrong compared to when i first used it
10-22-2023, 09:10 PM
As I said, there's a piece of code missing before islooting(). Just compare my code with yours.
10-22-2023, 11:17 PM
yeah because you said to remove "Yes, remove maround() == 0 in conditional." so i did but i messed something up
if at possible can you remove the if maaround for me please because i figured out if i change the frequency in which it skins the monsters and it just skins after i kill one theres no need for the pause walking i can just set it to 0
10-23-2023, 11:51 AM
Well, i disagree because can mess up with Cavebot, but it's up to you. local SETTINGS = {
10-23-2023, 01:02 PM
(This post was last modified: 10-23-2023, 01:16 PM by gamefreak777.)
or better yet i just though about this in the car is it possible to change ifmaround = 0 to ifmaround = true/false?
ok i figured it out i was missing if at the start so if is looting instead of is looting but now it doesn't loot at all it just skins even though i have looter enabled
10-23-2023, 02:15 PM
Hello. 1. Your request makes no sense, since (maround == 0) = true/false 2. I have absolutely no idea what you are talking about. Because the script i've posted is fine. 3. The script doesn't touches Looter, so it's not related. |

