PDA

View Full Version : [Update] Loot Watcher



~Tziki~
08-13-2012, 01:04 AM
So, the bot has a "Recent Loot" HUD,

But when it shows up, it just shows a line of text of each monster.


What i propose is that similar to Neobot, you make a function to add the ability to tell the bot to Change font colour, of X, Y, Z items if they drop.

E.g.


loot of a Nighstalker: 52 gold coins, a strong mana potion
loot of an Earth Elemental: 90 gold coins, lump of earth, a blank rune
loot of a Nighstalker: boots of haste, 72 gold coins, a strong mana potion


This makes it easier to check the bot hasnt accidently bugged and not looted something of great value, as the bots looting isnt quite 100% yet.

Thoughts?

Crown Royal
08-13-2012, 01:14 AM
I think that would be an awesome deal. If that and an 'Alarm' when the items highlighted, [Like you mentioned], was dropped, it would be a fantastic update for many people. It seems to be a popular wanted thing, just as a Minimize.Backpacks() function! Lets hope to see this stuff in the future!

DarkstaR

~Tziki~
08-13-2012, 02:57 AM
I like that alarm idea also, just a little bell chime to let you know, so if your watching movie the bot alerts you of loot so you can check it was put in bp.

BIRDIE13
08-13-2012, 07:39 AM
Also if the bot could have more lines then just 4 or whatever there is now.

soul4soul
08-13-2012, 01:29 PM
Also if the bot could have more lines then just 4 or whatever there is now.
press advanced options you can make it display more lines.

stefnaf
08-13-2012, 08:59 PM
i dont really get how to do it, i did press advanced options but then what?

Alastorsz
08-13-2012, 10:03 PM
soul4soul are u sure of that? I pressed advanced and there is no options to show more lines

Jakob Miller
08-13-2012, 10:06 PM
you can make lua that makes alarm when x drop. Although, the alarm is way too high.

soul4soul
08-13-2012, 10:46 PM
soul4soul are u sure of that? I pressed advanced and there is no options to show more lines
your right. I could of sworn it was there. I dont know what the hell I was thinking.

Jizzor
08-14-2012, 07:44 PM
soul4soul
Alastorsz

You could go to [HUD] -> Recent loot -> Advanced... -> Hide "nothing"
This saves up a little space for the creatures that don't drop any loot. However I still agree you should be able to list at least like 10 lines of recent loot.

Crown Royal
08-27-2012, 04:08 AM
you can make lua that makes alarm when x drop. Although, the alarm is way too high.

Lets see one then. We don't want a script that will play 'alert()' when <= 1 Item is contained. That would defeat the purpose of checkin if it was looted or not. Lets see one done..

Jakob Miller
08-27-2012, 08:15 AM
local items = {"Magic Light Wand", "Orb", "Wand of Cosmic Energy", "Wand of Decay", "Wand of Draconia", "Wand of Dragonbreath", "Wand of Inferno", "Wand of Starstorm", "Wand of Voodoo", "Wand of Vortex", "Angelic Axe", "Blue Robe", "Bonelord Shield", "Boots of Haste", "Broadsword", "Butcher's Axe", "Crown Armor", "Crown Helmet", "Crown Legs", "Crown Shield", "Crusader Helmet", "Dragon Lance", "Dragon Shield", "Earth Spike Sword", "Earth War Hammer", "Energy Spike Sword", "Energy War Hammer", "Fiery Spike Sword", "Fiery War Hammer", "Fire Axe", "Fire Sword", "Glorious Axe", "Guardian Shield", "Ice Rapier", "Icy Spike Sword", "Icy War Hammer", "Noble Armor", "Obsidian Lance", "Queen's Sceptre", "Royal Helmet", "Shadow Sceptre", "Spike Sword", "Thaian Sword", "War Hammer", "Ancient Shield", "Black Shield", "Bonebreaker", "Dark Armor", "Dark Helmet", "Dragon Hammer", "Dreaded Cleaver", "Earth Knight Axe", "Energy Knight Axe", "Fiery Knight Axe", "Giant Sword", "Haunted Blade", "Icy Knight Axe", "Knight Armor", "Knight Axe", "Knight Legs", "Mystic Turban", "Onyx Flail", "Poison Dagger", "Scimitar", "Serpent Sword", "Skull Staff", "Strange Helmet", "Titan Axe", "Tower Shield", "Vampire Shield", "Warrior Helmet", "Hailstorm Rod", "Moonlight Rod", "Mysterious Fetish", "Necrotic Rod", "Northwind Rod", "Snakebite Rod", "Springsprout Rod", "Strange Talisman", "Terra Rod", "Underworld Rod", "Abyss Hammer", "Amber Staff", "Ancient Amulet", "Assassin Dagger", "Bandana", "Beastslayer Axe", "Beetle Necklace", "Berserker", "Blacksteel Sword", "Blessed Sceptre", "Bone Shield", "Bonelord Helmet", "Brutetamer's Staff", "Castle Shield", "Chaos Mace", "Coconut Shoes", "Composite Hornbow", "Cranial Basher", "Crocodile Boots", "Crystal Mace", "Crystal Necklace", "Crystal Ring", "Crystal Sword", "Crystalline Armor", "Daramanian Mace", "Daramanian Waraxe", "Dark Shield", "Death Ring", "Demon Shield", "Demonbone Amulet", "Demonrage Sword", "Devil Helmet", "Diamond Sceptre", "Doll", "Dragon Scale Mail", "Dragon Slayer", "Dragonbone Staff", "Dreaded Cleaver", "Earth Cranial Basher", "Earth Dragon Slayer", "Earth Heroic Axe", "Earth Mystic Blade", "Earth Relic Sword", "Earth War Axe", "Elvish Bow", "Emerald Bangle", "Energy Cranial Basher", "Energy Dragon Slayer", "Energy Heroic Axe", "Energy Mystic Blade", "Energy Relic Sword", "Energy War Axe", "Epee", "Fiery Cranial Basher", "Fiery Dragon Slayer", "Fiery Heroic Axe", "Fiery Mystic Blade", "Fiery Relic Sword", "Fiery War Axe", "Flower Dress", "Flower Wreath", "Fur Boots", "Furry Club", "Glacier Amulet", "Glacier Kilt", "Glacier Mask", "Glacier Robe", "Glacier Shoes", "Gold Ring", "Golden Armor", "Golden Legs", "Guardian Halberd", "Hammer of Wrath", "Heavy Mace", "Heavy Machete", "Heavy Trident", "Heroic Axe", "Hibiscus Dress", "Icy Cranial Basher", "Icy Dragon Slayer", "Icy Heroic Axe", "Icy Mystic Blade", "Icy Relic Sword", "Icy War Axe", "Jade Hammer", "Krimhorn Helmet", "Leaf Legs", "Leopard Armor", "Leviathan's Amulet", "Light Shovel", "Lightning Boots", "Lightning Headband", "Lightning Legs", "Lightning Pendant", "Lightning Robe", "Lunar Staff", "Magic Plate Armor", "Magma Amulet", "Magma Boots", "Magma Coat", "Magma Legs", "Magma Monocle", "Mammoth Fur Cape", "Mammoth Fur Shorts", "Mammoth Whopper", "Mastermind Shield", "Medusa Shield", "Mercenary Sword", "Mystic Blade", "Naginata", "Nightmare Blade", "Noble Axe", "Norse Shield", "Orcish Maul", "Paladin Armor", "Pirate Boots", "Pirate Hat", "Pirate Knee Breeches", "Pirate Shirt", "Pirate Voodoo Doll", "Platinum Amulet", "Ragnir Helmet", "Relic Sword", "Ring of the Sky", "Ruby Necklace", "Ruthless Axe", "Sacred Tree Amulet", "Sapphire Hammer", "Scarab Amulet", "Scarab Shield", "Shockwave Amulet", "Silver Brooch", "Silver Dagger", "Skull Helmet", "Skullcracker Armor", "Spiked Squelcher", "Steel Boots", "Swamplair Armor", "Taurus Mace", "Terra Amulet", "Terra Boots", "Terra Hood", "Terra Legs", "Terra Mantle", "The Justice Seeker", "Tortoise Shield", "Vile Axe", "Voodoo Doll", "War Axe", "War Horn", "Witch Hat", "Wyvern Fang", "Black Pearl"} -- Items by ID or name

dofile("Forgee.lua") -- getSpotByID() saves me a few lines of code :P
while true do
Corpse = Container.GetLast()
if string.find(Corpse:Name(), "Dead") or string.find(Corpse:Name(), "Slain") or string.find(Corpse:Name(), "Remains") then
for i = 1, #items do
if type(items[i]) == "string" then
Spot = getSpotByID(Item.GetID(items[i]), Corpse:Name())
else
Spot = getSpotByID(items[i], Corpse:Name())
end
if Spot then
alert()
sleep(1000)
break
end
end
end
wait(200, 600)
end

You're welcome!

Crown Royal
08-27-2012, 08:27 AM
Worried about using Forgee.lua, but uses 200000000 Items in Items List.. SMH
Nice though, testing now..

Jakob Miller
08-27-2012, 08:40 AM
Worried about using Forgee.lua, but uses 200000000 Items in Items List.. SMH
Nice though, testing now..

I have used this, and working. Although, the volume is like 100x higher than the rest, nothing I can do about it since it is something DarkstaR has to fix!

Crown Royal
08-27-2012, 08:46 AM
Yes works great. But I removed Forgees lines for Print, since it was spamming up my Server log. LOL.
The first time the alert() played, volume on my PC is on 100% and my laptop has Beats by Dre speakers, and it played loud as fuck, I jumped 10ft high, like a little punk ass bitch :O

Jakob Miller
08-27-2012, 08:51 AM
Yes works great. But I removed Forgees lines for Print, since it was spamming up my Server log. LOL.
The first time the alert() played, volume on my PC is on 100% and my laptop has Beats by Dre speakers, and it played loud as fuck, I jumped 10ft high, like a little punk ass bitch :O

Ye, this is a problem in my opinion "the sound", since that will majke the other alarms barely noticeable. I posted a suggestion of this a while back, but do not know if he has tuned the volume down of that file yet. I tried to do it manually, but did not work.

Crown Royal
08-27-2012, 05:20 PM
Yes other than that, and the fact that its pointless if you have noobs around you (which is why you would use it to begin with), its pretty good. Now only if we can have it scan the Server Log for the items dropped, it would be awesome. It sucks when people throw empty flasks, or gold coins on your monsters body before you can open them. In this case, the looter alarm is kinda pointless :P

Jakob Miller
08-27-2012, 05:22 PM
Yes other than that, and the fact that its pointless if you have noobs around you (which is why you would use it to begin with), its pretty good. Now only if we can have it scan the Server Log for the items dropped, it would be awesome. It sucks when people throw empty flasks, or gold coins on your monsters body before you can open them. In this case, the looter alarm is kinda pointless :P

Scanning server log gotta be requested since it is not supported atm. I would like this for detecting stealth creatures like stalkers.

kreoo
11-18-2012, 11:03 PM
To remove the crazy sound (Siren.wav):
1- go to C:\Program Files (x86)\XenoBot\Sounds (may change depending on your OS)
2- Rename Siren.wav to Siren Backup.wav
3- Download a sound you like from http://www.wavsource.com/ or any other source
4- Move the new file to C:\Program Files (x86)\XenoBot\Sounds and name it as Siren.wav

no need to restart anything, just call alarm() and you should hear the new sound.

ps. Thx Jakob for the script!
I recommend you(user of the script) to remove all loot that is not important to you from the list provided by Jakob, this way it will run faster.

Matthew597
12-01-2012, 07:07 AM
I know this a smll amount of editing, and I have to credit Stusse since I saw this in one of his settings first, but you just click advanced. Check "use list" and "hide nothing" and you just put a list of the expensive items you dont want to miss. This way it will only report loot when one of these expensive items drops. It doesn't have any alarms, but it works pretty good.

Was this overlooked? Or its just not good enough?

I'm not being sarcastic, I know those last questions might come across that way, but I am genuinly just curious.

What I want to a HUD like Soul4Soul's thats easy to integrate into every script!!

Raziol
12-01-2012, 07:22 AM
Jacob Miller you it doesnt check zao items, just for noobs to know not to copy/paste blindly

nacho_125
01-17-2013, 01:49 PM
that alarm woke me up at 3am and i was so scared i couldnt go back to sleep =./

Infernal Bolt
01-17-2013, 01:53 PM
I have my recent loot setup so it only shows if i loot something.