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
Advanced X-log
#1
It's me again

1. I need a faster x-log script. This built-in x-log is kinda slow or exhausted

I'm pretty sure it's possible to do a script which is catching players out of screen so they can't even see your nickname on screen or battle.
I had similar script on medivia when i was botting using mediviabotter and its looked like this: 
|Only Registered members can see download links. | Click here to buy subscription or here to register.
 

2. I would have something to save somewhere the nickname of a player who did make disconnect my characters if possible (console or txt file idk).
3. I would have a condition, where x-log is working only on specific sqm-range from character(s) (whitelist ={character1, character2 etc.})
example: 
|Only Registered members can see download links. | Click here to buy subscription or here to register.

#2
Hello.

Alerts->Player on Screen->XLog works pretty fast and you can setup to try to detect people outside your screen. This option is on Alerts->Settings.

I think this code works like you asked.
local SAFE_LIST = { 'player one', 'friendly guy' }

table.lower(SAFE_LIST)

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

local creatures = getcreatures('p')
for _, creature in ipairs(creatures) do
    if table.find(SAFE_LIST, creature.name:lower()) == nil and math.abs(player_x - creature.posx) >= 3 and math.abs(player_y - creature.posy) >= 3 and player_z == creature.posz then
        xlog()
        print(creature.name .. ' appears.')
        flashclient()
        playsound('alert_playeronscreen')
    end
end

#3
You did a mistake by put AND between X and Y coordinates, should be OR

also need add '(' and ')'

if table.find(SAFE_LIST, creature.name:lower()) == nil and (math.abs(player_x - creature.posx) >= 3 or math.abs(player_y - creature.posy) >= 3) and player_z == creature.posz then



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016