Jump to content

Request Script


Zelek

Recommended Posts

Good Morning,

 

Dear Admin,

 

Please make two scripts for me:

1) Character will always stand face to monster(its very usefully on rots when play gohan and need to use masenko during bot),

2) When play with teammate on rots then to heal him need to mark him in "Team console" and then use spell, so can you make script for me that when teamamte will have e.g 90% of hppc then bot will mark him in Team Console heal and unmark when hp will be more than e.g 95%.

 

Thank you in advance and have a nice day !

Link to comment
Share on other sites

7 hours ago, neelix said:

Hi, could you give me script for making targeting on / off ? I mean, when i use cavebot and made action, on 1sqm - targetnig = on, and second one targeting = on - to make lure 

 

look on lure script on forum (works good)

Link to comment
Share on other sites

4 hours ago, Lucyfer said:

Good Morning,

 

Dear Admin,

 

Please make two scripts for me:

1) Character will always stand face to monster(its very usefully on rots when play gohan and need to use masenko during bot),

 

 

you can take my long script few posts upper, and just adjust to rotation 

Link to comment
Share on other sites

On 10/8/2020 at 12:37 PM, Zelek said:

Write a brief explanation of what you would like the script to do.

Please make sure that the script you requested isn't already available at the forum, otherwise your post will be removed.

 

List of scripts:

  1. Use spell based on player's soul
  2. Auto fishing
  3. Wave/area spell
  4. Turn to target
  5. Eat food
  6. Drop specified items on the ground
  7. Use item on the map based on character's position
  8. Cast targeted spell with health check

turn the character in front of the monster and use X spell
if a player appears on the screen, stop using the spell
 

Link to comment
Share on other sites

6 hours ago, danielbhte said:

turn the character in front of the monster and use X spell
if a player appears on the screen, stop using the spell
 

 

use database to add conditions

 

local playersOnScreen = 0 for _,
creature in pairs(g_game.getCreatures()) do 
  if creature:isPlayer() then 
    playersOnScreen = playersOnScreen + 1 
  end
end

if playersOnScreen = 1 then
   ...

 

Link to comment
Share on other sites

6 hours ago, zakne11 said:

 

use database to add conditions

 


local playersOnScreen = 0 for _,
creature in pairs(g_game.getCreatures()) do 
  if creature:isPlayer() then 
    playersOnScreen = playersOnScreen + 1 
  end
end

if playersOnScreen = 1 then
   ...

 

it didn't work for me
I wanted him to face the monster and use spell "exemple exori vis"
 

Link to comment
Share on other sites

7 hours ago, victinhods said:

 

someone?! Script to use spell to heal friend?! 

its possible?

@Zelek

local player
local playerhp
local playername = xxxx

for v, k in pairs(g_game.getCreatures()) do
        if k:getName() == "playername" and k:isPlayer() then
          player = k
    	  player:getHealthPercent() = playerhp
          break
        end
      end
if playerhp <= 70 then 
  g_game.talk("exura sio" playername)
end

auto(250)

 

Link to comment
Share on other sites

2 hours ago, lediv said:

if player on screen then type message on default. If he replies type another massage on default. and some pause delay with ~~10mins so that bot does not spam this. Is that script doable?

local playersOnScreen = 0
if i == nill then i = 0 end

for _, creature in pairs(g_game.getCreatures()) do 
  if creature:isPlayer() then 
    playersOnScreen = playersOnScreen + 1 
  end
end

if playersOnScreen > 1 and i >= 1200 then
   g_game.talk("xxxx")
   i = 0
end
i = i + 1

auto(500)

 

Link to comment
Share on other sites

21 hours ago, zakne11 said:

local playersOnScreen = 0
if i == nill then i = 0 end

for _, creature in pairs(g_game.getCreatures()) do 
  if creature:isPlayer() then 
    playersOnScreen = playersOnScreen + 1 
  end
end

if playersOnScreen > 1 and i >= 1200 then
   g_game.talk("xxxx")
   i = 0
end
i = i + 1

auto(500)

 

Doesnt work I get lua error and script turns off itself

Link to comment
Share on other sites

Hello!

 

Im very happy with your bot. Unfortunately i lack scripting skills. Thats why i ask for one.

I need a script that pauses every activity of the bot, when character leaves certain X Y box. If the character leaves it, script plays alarm. Also, after a little delay it presses a button (f1-f12).  End.

 

To explain it better - if GM tp's me out of my respawn when i cavebot to another resp with same monsters, the bot will run ASAP to them. This is a sure ban, as human player would never act like this. He would stay and write some "??". 
I had it on blackd back in the days. Thanks!

 

Link to comment
Share on other sites

Also - if the script for MsgCheck on dbl doesnt work - is there a way for you to make a script that interracts with the chat window that opens - and based on that alarm player? Or some other creative way to get alarmed on MsgCheck?

As for now, there is no way to use the bot safely...

Link to comment
Share on other sites

×
×
  • Create New...