I'll start to train and I want to close completely the tibia client (exit tibia) if a player is on my screen thanks
and also would be nice if you can put a script to take screenshoot if player on screen.
thanks in advance
Printable View
I'll start to train and I want to close completely the tibia client (exit tibia) if a player is on my screen thanks
and also would be nice if you can put a script to take screenshoot if player on screen.
thanks in advance
thanks somuch rep for you <3
@veritho
Made one with a White List for you, if you have other chars that need to enter the screen or have friends that are sneaking up and checking on you. Could be useful.
init start
local WhiteList = {"Bubble", "Eternal Oblivion"} -- People to be allowed on screen
local MinPlayers = 1 -- Min. amount of players on screen to logout
local Screenshot = true -- true/false to enable/disable screenshotting
init end
auto(400)
foreach creature p "ps" do
if (paround(7) >= MinPlayers) and (not table.find(WhiteList, p.name)) then
if (Screenshot) then
focusclient()
waitping()
screenshot()
end
closeclient()
end
end
aww thanks :) I'll try that one rep 4 you <3
I didn't know that :( sorry
haha okay.. xD fight of helpers! xD
I have another problem, I would like to keep backpacks always open if I get kick or disconnected can you make a script for that?
I use main bp, supplies, gold bp and rares bp (4 bp in total) can you guys help me? :3
Inb4 @noxvia says;
setsetting('Looting/OpenBPsAtLogin', 'yes')
But on a real note though @veritho this is a simple BP opener, not the most flashy thing but works;
-->> Do not edit anything below!
--// aZe Scripts ~
init start
local MainBp = "Brocade Backpack"
local SupplyBp = "Blue Backpack"
local LootBp = "Golden Backpack"
local GoldBp = "Santa Backpack"
local closeEquip = true -- Minimize Equipment
local Section = "Hunt" -- Waypoint Section name
local Monsters = {"Rat", "Cave Rat", "Snake"} -- Monsters to kill first
init end
auto(5000)
if ($connected) and (windowcount() < 4) and ($wptsection == Section) and maround(7, unpack(Monsters)) < 1 then
pausewalking(15000)
closewindows()
wait(1234, 2345)
openitem(MainBp, "back", true)
wait(1234, 2345)
resizewindows()
if (closeEquip) then
minimizewindows("equip")
end
openitem(SupplyBp, MainBp, true)
wait(1234, 2345)
resizewindows()
openitem(LootBp, MainBp, true)
wait(1234, 2345)
resizewindows()
openitem(GoldBp, MainBp, true)
wait(1234, 2345)
resizewindows()
wait(1234, 2345)
pausewalking(0)
end
If you don't know what Waypoint Sections are then...
http://i.imgur.com/F5ACQoP.png
Green Border = Original sections, those are not waypoint sections, they are other sections, ignore them for this unless you want to put this persistant in Cavebot/Scripter.
Red Border = Waypoint sections and there is always a guy running next to the section you are currently at.
I got an error :( is that a persisten script? or cavebot script?
12:13:22 error in Persistent script NewPersistentScript:
["if ($connected) and ($windowcou..."]:NewPersistentScript:14 attempt to compare nil with number
@veritho change $windowcount for windowcount()
@veritho
Oh my, my bad lol. Copy/paste the script again. I edited it.
Put it in either Cavebot/Scripter or Scripter/Persistent.
The difference for the two is that Cavebot/Scripter will only perform the scripts listed there when cavebot is active, the other one will always perform the scripts ;)
aw thanks guys:3 xD I loved your script aze :)
@veritho
If you need anything else you can think of just PM me or post here I guess even though it might become a bit off-topic.
Speaking of off-topic.. What world do you play on?
I play on unitera:) thanks so much:3 sorry again I'm looking for a script to close client when I have -40 stamina and close on protection zone,
which world you play?
@veritho
It's 2400/60 gives 40. Means 40H.
init start
local MinStamina = 40 -- In Hours
init end
auto(500)
if ($pzone == true) and ($stamina <= MinStamina*60) then
closeclient()
end
@Riku :3 thanks!