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
GFB Stalker
#1
Hi!
Trying to get this to work.
GFB on Stalker

--EDITED TO ADD CREDITS--
Credits:
|Only Registered members can see download links. | Click here to buy subscription or here to register.

local RuneToUse = 'great fireball rune'


local Messages = getnewmessages()
local REGEX_DMG_TAKEN     = '^You lose (%d+) (%l+) due to an attack by ?a?n? (.-)%.$'

if type(Messages) == 'table' then
   for _, msg in ipairs(Messages) do
       if msg.channel == 'Server Log' then
           local dmgAmount, dmgType, dmgCreature = msg.content:match(REGEX_DMG_TAKEN)
           if dmgCreature == "stalker" then
               if maround(5, "Stalker") == 0 then
                   useitemoncreature(RuneToUse, id)
                   wait(2000)
               end
           end
       end
   end
end
Reply

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

I am not good at scripting yet... But maybe try to use the rune on yourself instead of on creature? and you are missing number for variable of ID... 
You have inserted id, but didn't gave any number for it / you did not initialize it
Reply

#3
Hi, 

It is working when its seeing the Stalker but not when its invisible.
Reply

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

Yeah, have you tried it useruneonurself?
Reply

#5
Not really sure how to change that, please assist me.
Reply

#6
Hello.

This script wasn't developed for Classictibia Bot, so it will not work. To make it work, you must adapt to work on this bot and I will not be able to help you with that, sorry mate.
Otherwise, I already would have done that and posted it in the scripts section.

Basically, you are copying my scripts and not even giving me credits for such work.
Reply

#7
Haha, no all of the scripts I posted are probably yours. I just want them to work, thats why I'm asking you since you are the creator of them.

You are very good at scripting.
Reply

#8
Hello.

Both (this and "spears) are and you just admitted on your post. lol. But that's not only about credits.
I mean, I'm just glad you want to those scripts, but i've developed for MediviaPRO Bot, not Classictibia Bot, so it will not work here.
I didn't converted it yet because i'm out of time and few other reasons. Otherwise I would have done it, just like I did with others.

So i will leave this thread opened and if someone have time to do this work for you.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016